Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

This script scans a simulated motor 

Software Dependencies

Image Added

Command Line Arguments

Code Block
languagetext
title'lab3_bluesky_scan.py -h' output
collapsetrue
$ 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

...