How to the Rogue FileWriter and FileReader
Rogue includes a general purpose file write and file reader to quickly write data to disk and analysis offline.
Start up the PyDM gui (refer to How to run the Software Development GUI with KCU105 Hardware)
Go to the
Systemtab (A), click onAuto Name(B), then click onOpen(C)
# Go to the Debug Tree tab and nagivate to Root.App.AppTx and execute 0x100 for SendFrame
Go to the
Systemtab and click onClose
Close the PyDM GUI
Run the fileReader python script
$ python scripts/fileReader.py --dataFile data_20220614_114953.dat Rogue/pyrogue version v5.14.0. https://github.com/slaclab/rogue Start: Started zmqServer on ports 9099-9101 To start a gui: python -m pyrogue gui --server='localhost:9099' To use a virtual client: client = pyrogue.interfaces.VirtualClient(addr='localhost', port=9099) eventFrame.header = 0 eventFrame.header = 1 eventFrame.header = 2 ... ... ... eventFrame.header = 253 eventFrame.header = 254 eventFrame.header = 255
As you can see, the 256 (0x100) headers are printed out (1 header per frame)
