-
Notifications
You must be signed in to change notification settings - Fork 2
Decoding Binary Data Files on the DAQ Server
Tom Eichlersmith edited this page Dec 11, 2025
·
3 revisions
There are two kinds of binary data files.
-
*.raw: written by internal pedestals, decoded withecond-decoder -
*.dat: written by Rogue using Run Control, decoded withrogue-decoder.py
How you run these programs depends on which conda environment you are in.
You are using this environment to develop pflib, so I'm assuming you have a build of pflib somewhere.
Running the C++ program can be done from the build
./build/econd-decoder -h
Running the Python rogue decoder needs the PYTHONPATH to be updated.
PYTHONPATH=${PWD}/build ./app/rogue-decoder.py
(I'm open to ideas on how to simplify this.)
Just extracting the raw words without attempting to decode. This can maybe help if there are a lot of warnings from the decoding and you want to make sure its not the decoding's fault.
./app/rogue-extract.py
The Rogue decoding is installed
rogue-decoder.py -h
or
econd-decoder -h