Versions Compared

Key

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

...

This can be done on rhel6-64.stanford.edu (or other machine with access to afs) to visualize patterns:

Code Block
git clone git@githubhttps://github.com:/slaclab/lcls2-timing-patterns.git
cd lcls2-timing-patterns
make
source env.sh
python psdaqtools/rixgeneratorseqbrowser.py -o /tmp/rix
python psdaq/rixtriggers-seq 0:codes.py 3:beam.py --path /tmp/rix
python tools/patternbrowser.py --path /tmp/rix   (should bring up gui)time 2.0

codes.py and beam.py were created with:

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 last command brings up this window which shows the two periodic event codes and the one "beam burst" event code:

Image Added

There currently appears to be problems with some file names: rixtriggers.py complains about not finding dest.json and ctrl.json (I do see destn.json and pcdef.json in /tmp/rix/).  It looks like these need to be created by seqsim.py somehow?

...