-
Notifications
You must be signed in to change notification settings - Fork 3
JeffersonLab/dataDecode
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
# dataDecode
Program to decode several different types of module data words.
Currently Supports:
JLAB Modules:
f1TDC v2/v3
fADC250 v2 Firmware Version Ctrl: 2v41 Proc: C0C
fADC125 v2.0.10
Pipeline TI and TS
Lecroy Fastbus Modules:
1881 ADC
1877(s) TDC
CAEN Modules:
775 TDC
792 ADC
1190/1290 TDC
Usage: dataDecode [OPTION] [FILENAME]
If [FILENAME] is not specified, user input is accepted.
Press <Enter> twice to exit.
OPTIONs:
-h, --help This help page.
-b, --byteswap Byteswap (32bit) before decoding.
There's an executable for each module.
A compiled version is available for use here:
/site/coda/contrib/devel/dataDecode/
DEMO!!!
> tidec -b
0x1e2011ff 0x030001cd 0x01000000 0x36c86e26
0x0000402e 0x030001cd 0x02000000 0x7add6e26 0x00005083
0x030001cd 0x03000000 0x9e486f26 0x0000e02f 0x030001cd
0x04000000 0x82e06f26 0x0000708f 0x030001cd 0x05000000
0x56407026 0x0000c00e
FF11201E - TRIGGER BANK HEADER - timestamp = 1 blocklevel = 30
CD010003 - EVENT HEADER ( 1 / 30) - trigtype = 205 len = 3
1 - EVENT DATA ( 1 / 3)
266EC836 - EVENT DATA ( 2 / 3)
2E400000 - EVENT DATA ( 3 / 3)
CD010003 - EVENT HEADER ( 2 / 30) - trigtype = 205 len = 3
2 - EVENT DATA ( 1 / 3)
266EDD7A - EVENT DATA ( 2 / 3)
83500000 - EVENT DATA ( 3 / 3)
CD010003 - EVENT HEADER ( 3 / 30) - trigtype = 205 len = 3
3 - EVENT DATA ( 1 / 3)
266F489E - EVENT DATA ( 2 / 3)
2FE00000 - EVENT DATA ( 3 / 3)
CD010003 - EVENT HEADER ( 4 / 30) - trigtype = 205 len = 3
4 - EVENT DATA ( 1 / 3)
266FE082 - EVENT DATA ( 2 / 3)
8F700000 - EVENT DATA ( 3 / 3)
CD010003 - EVENT HEADER ( 5 / 30) - trigtype = 205 len = 3
5 - EVENT DATA ( 1 / 3)
26704056 - EVENT DATA ( 2 / 3)
EC00000 - EVENT DATA ( 3 / 3)
About
Useful command-line tool to decode several different types of module data words quickly.
Resources
Code of conduct
Contributing
Security policy
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published