Versions Compared

Key

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

...

There is a similar "traingenerator" script which you can read about in Matt's documentation.

Visualizing Sequences

NOTE: this sequence browser currently only exists in the "allow_order" branch of git, but presumably will be migrated to the main branch.

This can be done on rhel6-64.stanford.edu (or other machine with access to afs) to visualize patterns:with the same environment used to generate the sequences above.

Code Block
git clone https://github.com/slaclab/lcls2-timing-patterns.git
cd lcls2-timing-patterns
make
source cd ~tmoopr/daq
source setup_env.sh
python tools/seqbrowser.py seqplot --seq 0:codes.py 3:beam.py --time 2.0

...

Code Block
traingenerator -s 14000 -b 28 -n 32001 -r 2 -d "burst" -t 910000 > beam.py
periodicgenerator -p 91 91000 -s 0 0 -d '10kHz' '10Hz' --repeat 3 --notify > codes.py

The seqbrowser.py seqplot command brings up this window which shows the two periodic event codes (programmed into the first simulated sequence engine) and the one "beam burst" event code (programmed into the fourth simulated sequence engine):

Image RemovedImage Added

Sequence Start/Stop

...