17-2000 C
2020-09-17
45(50)
ADQ8-8C Manual
17-2000 C 2020-09-17
45(50)
7.9 Record header
7.9.1
Metadata
The record header contains the information described in
. Example code is available to pack
this information to a header and write to disk. The example C-code defines a struct which reads the
header information from the header buffer.
7.9.2
Record Status
The status parameters indicates if the record was transferred correctly,
Over-range or under-range condition within the data is indicated. Over-range and under-range can
appear at various stages in the signal chain and the result is not easy to predict. A more detailed
description of over-range and under-range is in
#
DESCRIPTION
REF
a
Copy the data to disk for offline analysis. Header is in default format.
b
Copy the data to disk for offline analysis. Additional information about e.g. the experiment, is added
to the header.
c
Header and data is analyzed in real-time and only requested parameters are stored.
Figure 35: Data flow through the system
PARAMETER
FORMAT
DESCRIPTION
REF
Record Status
Byte
Over/under range, FIFO fill factor and lost data.
User ID
Byte
A user-configurable value to identify the ADQ unit.
Channel
Byte
The channel number.
Data format
Byte
Information about data.
Serial number
uint32
Serial number of the ADQ digitizer.
Record number
uint32
The current record number.
SAMPLE_PERIOD
int32
Time between two samples in steps of 25 ps.
TIME_STAMP
uint64
Timestamp of trigger event in steps of 25 ps.
RECORD_START
int64
Time between trigger event and record start in steps of 25 ps.
Record length
uint32
Length in number of samples of data in record.
General purpose
vector
uint16
Usage varies with option.
Timestamp reset
uint16
Number of times that the timestamp was reset.
Table 4: Header data.
)*
)+*
)*
,
- .+ "/
0
1
1
"2
- .
,
- .+ "/
0
1
1
"2
2345
- .
1
- .
,
- .+ "/
0
"2
"
- .
67
1