Versions Compared

Key

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

...

Finite Burst Sequence With 1 Slow Andor

Summary: A 33kHz beam train simulation (28 buckets between shots) with a gap of 14000 buckets to allow a periodic 1Hz Andor to readout while not receiving beam.  A 100Hz trigger is added for other non-integrating detectors (e.g. opals).  Each sequence is repeated twice, although there appears to be an "off by one" difference in the definition of the repeat count of traingenerator (repeat=2) and periodicgenerator (repeat=1).  The "--notify" flag on periodic generator tells the DAQ to end the scan step after that finite sequence is complete after 2 andor images.  The first andor image clears out the charge at the beginning so is not usable.

export EPICS_PVA_ADDR_LIST=172.21.152.78 (allows rix-daq to talk to the XPM, e.g. to program sequences)

source /cds/group/pcds/dist/pds/rix/scripts/setup_env.sh
traingenerator -s 14000 -b 28 -n 32001 -r 2 -d "burst" -t 910000 >& /tmp/beam.py
periodicgenerator -p 910000 91000 9100 -s 0 0 -d '1Hz' '100Hz' --repeat 1 --notify >& /tmp/codes.py 
seqprogram --seq 0:/tmp/codes.py 3:/tmp/beam.py --pv DAQ:NEH:XPM:3

...