-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
62 lines (52 loc) · 1.88 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# 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)