This repository has been archived and is no longer maintained. The code is provided for historical reference and may contain unpatched or unknown vulnerabilities. It should not be used in production systems.
APS-U Beam line Data Pipelines - experiment controls with EPICS and Bluesky
Copyright (c) 2022 - Advanced Photon Source, ANL Open Source License
Provides
See the bluesky-queueserver section below.
The instrument configuration is based on the bluesky_training repository.
It is defined here in the qserver/instrument directory.
catalog name: bdp2022
See the plans listed as the queueserver environment is opened (which loads the instrument devices & plans and starts a RunEngine instance).
See README
- https://github.com/bluesky/bluesky-queueserver
- https://github.com/bluesky/bluesky-queueserver-api
- https://github.com/bluesky/bluesky-httpserver
See the README in the tiled section.
These commands in sequence in a terminal starting from an APS workstation with X11 running.
ssh -X bdp@terrierbecome_blueskycd ~/qserver/queue-monitor &- ... the GUI starts in its own window
- click
Connectin the Queue Server box on theMonitor Queueside tab - click on the
Edit and Control Queueside tab - In the
HISTORYtable, find the lastcompletedrun and click it - Above the table, click the
Copy to Queuebutton - New item should appear in the
QUEUEtable - In the
Queuesection (near top of window), clickStartbutton - Watch things work... Console output will indicate when things are done.
- Under
RE Manager Status, all is done whenManager stateisIDLE
qserver-console-monitor- Leave this running in the terminal window. It shows any/all output from the bluesky queueserver.
Sometimes, the queueserver stalls while trying to open the RunEngine environment. Have not yet identified the root cause. This is the symptom of a stuck process. To resolve:
- login to
bdp@terrier become_blueskycd qserverexport BDP_DEMO=M15./qserver.sh restart
The export step is easily forgotten. This step configures the
bluesky devices & plans for the current demo. Use M16 as the
value for the BDP M16 milestone in September 2023.