Versions Compared

Key

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

...

Matt's higher level way of programming a burst with 2 slow andor rates:.  Note that this generates an infinite sequence.  To generate a finite "burst" sequence one needs to use periodicgenerator.py and traingenerator.py above.

python ~weaver/lcls2-new/psdaq/psdaq/seq/rixgeneratory.py --periods 1.0 0.01  (units in seconds. generates two files beam.py and codes.py in the current directory which should be programmed with "seqprogram")

...

A hutch-python scan in "burst mode" (need to use sequences generated by traingenerator.py/burstgenerator.py):

In [4]: daq.configure(motors=[sim.fast_motor1],group_mask=36, events=0, detname='andor_dir_0', seq_ctl=['DAQ:NEH:XPM:3:SeqReset',9,'DAQ:NEH:XPM:3:SeqDone'])
INFO     configure - configure: 1 motors
INFO     configure - Found readout group 5 for andor_dir_0.
Out[4]: ({}, {})
In [5]: RE(bp.scan([daq], sim.fast_motor1, -10, 10, 5))

...