Versions Compared

Key

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

...

A current example for doing this is done by executing:

(ps-4.5.24) bash-4.2$ python 2$ python ~/lclsii/daq/lcls2/psdaq/psdaq/seq/seqprogram.py -h
usage: seqprogram.py [-h] --pv PV --seq SEQ [SEQ ...] [--start] [--engine ENGINEverbose] seq pv

sequence pva programming

positional optional arguments:
  seq -h, --help              sequence scriptshow this help message and exit
  --pv PV               sequence  sequence engine pv; e.g. DAQ:NEH:DAQ:XPM:0
optional arguments:  --seq SEQ [SEQ ...]  sequence engine:script pairs; e.g. 0:train.py
  -h, --help -start             show this help message and exit start the sequences
  --engine ENGINE  sequence engineverbose            verbose output

(ps-4.5.24) bash-4.2$ python psdaq/psdaq/seq/seqprogram.py --seq 0:psdaq/psdaq/seq/33k_35k.py --pv DAQ:NEH:XPM:62

The event codes generation by an XPM may be queried via a status PV.

...