FANDOM


Data-File FormatEdit

(Global Header) + (Event Header 0) + (Event Data 0) + (Event Header 1) + (Event Data 1) + ...


Global Header (File Header)Edit

The global Header will be at the very beginning of each data file. It contains a total of 64 32 bit words:

Offset (Hex) Type, Length Description
00 32 bit unsigned int Run number
04 32 bit unsigned int Sampling frequency
08 32 bit unsigned int Presamples
0C

32 bit unsigned int,

61

reserved space for special information

So that the event Header for the first Event is at 0x0100.


Event Header + Event DataEdit

The Eventheader is placed at the beginning of each event. It contains:

Offset (Hex) Type, Length Description
00 32 bit unsigned int Event Number
04 32 bit unsigned int Type, (set to zero for normal data)
08 32 bit unsigned int

timeinformation in milliseconds

not absolute time, see http://forums.ni.com/t5/LabVIEW/millisecond-timer-value/td-p/781796

0C 32 bit unsigned int reserved (for some use in future)
10 32 bit unsigned int fpga event id
14 32 bit unsigned int fpga timestamp
18 32 bit unsigned int number of channels ("Y")
1C 32 bit unsigned int number of samples ("X")
20

16 bit unsigned int,

X*Y

Event Data: X*Y 16 bit data.

All samples of channel 0 followed by all samples of channel 1 etc.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.