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.

  1. Start up the PyDM gui (refer to How to run the Software Development GUI with KCU105 Hardware)

  2. Go to the System tab (A), click on Auto Name (B), then click on Open (C)

    Alternative text

# Go to the Debug Tree tab and nagivate to Root.App.AppTx and execute 0x100 for SendFrame

Alternative text
  1. Go to the System tab and click on Close

    Alternative text
  2. Close the PyDM GUI

  3. 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
    
  4. As you can see, the 256 (0x100) headers are printed out (1 header per frame)