Page History
...
EPICS PV step scans use the BlueSky software from BNL (https://nsls-ii.github.io/bluesky/). In this mode one or more PV's are modified while the DAQ is paused, then data is acquired (, either for a :
- a fixed number of shots,
- a fixed time, or
- until the event code sequencer completes.
Then or a fixed time) then the DAQ is paused again and the PV is modified again for the next "step". BlueSky supports complex coordinated motion of multiple PV's.
An example python script has been created to demonstrate support for PV scans with the RIX instrument.
...
Code Block | ||||
---|---|---|---|---|
| ||||
usage: rix_bluesky_scan.py [-h] [-p {0,1,2,3,4,5,6,7}] [-C COLLECT_HOST] [-t TIMEOUT] [-c READOUT_COUNT] [-g GROUP_MASK] [--config ALIAS] [--detname DETNAME] [--config ALIAS] [--detname DETNAME] [--scantype SCANTYPE] [--seqctl SEQCTL [SEQCTL ...]] [--record] [-v] optional arguments: -h, --help help show this help message and exit -p {0,1,2,3,4,5,6,7} platform (default 2) -C COLLECT_HOST collection collection host (default drp-neh-ctl001) -t TIMEOUT TIMEOUT timeout msec (default 10000) -c READOUT_COUNT COUNT # of events to aquire at each step (default 120) -g GROUP_MASK bit mask of readout groups (default 36) --config ALIAS ALIAS configuration alias (default BEAM) --detname DETNAME detector name (default 'scan') --scantype SCANTYPE scan type (default 'scan') --record seqctl SEQCTL [SEQCTL ...] sequence control (e.g. DAQ:NEH:XPM:0:SeqReset 4 [DAQ:NEH:XPM:0:SeqDone]) --record enable recording of data -v v be verbose |
step_value Handling
...
Overview
Content Tools