You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Software Dependencies

Command Line Arguments

'lab3_bluesky_scan.py -h' output
$ python psdaq/psdaq/control/lab3_bluesky_scan.py -h

usage: lab3_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]
                            [--scantype SCANTYPE] [-v]

optional arguments:
  -h, --help            show this help message and exit
  -p {0,1,2,3,4,5,6,7}  platform (default 1)
  -C COLLECT_HOST       collection host (default drp-tst-dev009)
  -t TIMEOUT            timeout msec (default 10000)
  -c READOUT_COUNT      # of events to aquire at each step (default 10)
  -g GROUP_MASK         bit mask of readout groups (default 2)
  --config ALIAS        configuration alias (default BEAM)
  --detname DETNAME     detector name (default 'scan')
  --scantype SCANTYPE   scan type (default 'scan')
  -v                    be verbose

Experiment tstx00217 run 205

$ python psdaq/psdaq/control/lab3_bluesky_scan.py -c 2

Transient Scan ID: 1     Time: 2021-04-19 23:51:29
Persistent Unique Scan ID: 'eec76443-6dea-4e16-b3ca-e11b6bef8f68'
New stream: 'primary'
+-----------+------------+------------+------------+
|   seq_num |       time |     motor1 | step_value |
+-----------+------------+------------+------------+
|         1 | 23:51:32.9 |    -10.000 |      0.000 |
|         2 | 23:51:33.2 |     -8.571 |      1.000 |
|         3 | 23:51:33.5 |     -7.143 |      2.000 |
|         4 | 23:51:33.8 |     -5.714 |      3.000 |
|         5 | 23:51:34.1 |     -4.286 |      4.000 |
|         6 | 23:51:34.3 |     -2.857 |      5.000 |
|         7 | 23:51:34.6 |     -1.429 |      6.000 |
|         8 | 23:51:34.9 |      0.000 |      7.000 |
|         9 | 23:51:35.2 |      1.429 |      8.000 |
|        10 | 23:51:35.5 |      2.857 |      9.000 |
|        11 | 23:51:35.8 |      4.286 |     10.000 |
|        12 | 23:51:36.1 |      5.714 |     11.000 |
|        13 | 23:51:36.4 |      7.143 |     12.000 |
|        14 | 23:51:36.7 |      8.571 |     13.000 |
|        15 | 23:51:37.0 |     10.000 |     14.000 |
+-----------+------------+------------+------------+
generator scan ['eec76443'] (scan num: 1)
  • No labels