aps_8id_bs_instrument can also use conda for dependency management, and setuptools for installation and development.
First, download the package from github:
git clone https://github.com/aps-8id-dys/bluesky
cd bluesky
conda create -n your_env_name "python<13" "pyqt=5"
conda activate your_env_name
pip install -e ".[dev]"
The below script will allow you to check if you are on the private subnet as well as check if APS Data Management tools are installed properly.
python3 ./scripts/user/check_environment_test.py
./scripts/bs_ipy_starter.sh
Then Inside the ipython shell
RE(demo_sim_1d())
Inside one terminal
./scripts/bs_qs_screen_starter.sh run
Inside another terminal
qserver environment open
qserver queue add plan '{"name": "demo_sim_1d"}'
qserver queue start
command | description |
---|---|
listObjects() |
show all ophyd devices available |
device_name.component_names |
show all parts of device_name (such as motors) |
device_name.summary() |
details of device_name |
Please refer to the cheatsheet below in case you need or desire to run commands directly through the ipython session https://bcda-aps.github.io/bluesky_training/howto/bluesky_cheat_sheet.html