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

Compare with Current View Page History

« Previous Version 7 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 208


$ python psdaq/psdaq/control/lab3_bluesky_scan.py -c 2 --detname Fish --scantype Chips

Transient Scan ID: 1     Time: 2021-04-20 11:36:59
Persistent Unique Scan ID: '9139bc22-680b-46b9-bc3f-7a941a8ab7c4'
New stream: 'primary'
+-----------+------------+------------+------------+
|   seq_num |       time |     motor1 | step_value |
+-----------+------------+------------+------------+
|         1 | 11:37:03.0 |    -10.000 |      0.000 |
|         2 | 11:37:03.3 |     -8.571 |      1.000 |
|         3 | 11:37:03.6 |     -7.143 |      2.000 |
|         4 | 11:37:03.9 |     -5.714 |      3.000 |
|         5 | 11:37:04.2 |     -4.286 |      4.000 |
|         6 | 11:37:04.5 |     -2.857 |      5.000 |
|         7 | 11:37:04.8 |     -1.429 |      6.000 |
|         8 | 11:37:05.1 |      0.000 |      7.000 |
|         9 | 11:37:05.3 |      1.429 |      8.000 |
|        10 | 11:37:05.6 |      2.857 |      9.000 |
|        11 | 11:37:05.9 |      4.286 |     10.000 |
|        12 | 11:37:06.2 |      5.714 |     11.000 |
|        13 | 11:37:06.5 |      7.143 |     12.000 |
|        14 | 11:37:06.8 |      8.571 |     13.000 |
|        15 | 11:37:07.1 |     10.000 |     14.000 |
+-----------+------------+------------+------------+
generator scan ['9139bc22'] (scan num: 1)
'xtcreader -d' output
$ xtcreader -d -f /cds/home/c/caf/data/tst/tstx00217/xtc/tstx00217-r0208-s001-c000.xtc2
  • No labels