#define
NDIGO PACKET FLAG HOST BUFFER FULL
32
If the bit with weight 32 is set, the host buffer was full. Triggers only got lost if a subsequent
package has the bit with weight 8 set.
#define
NDIGO PACKET FLAG TDC NO EDGE
64
If the bit with weight 64 is set, the packet from the TDC does not contain valid data and the
timestamp is not corrected. No valid edge was found in TDC packet.
unsigned int
length
Number of 64-bit elements (each containing 4 samples) in the data array if type
<
128.
If type = 128 this is the pattern of trigger sources that where active in the clock cycle given
by the timestamp. Bits are set according to the trigger sources, i.e. bit 0 is set if trigger A0 was
active, bit 29 is set if trigger BUS3 PE was active. Use the
NDIGO TRIGGER SOURCE *defines
to check for the bits set.
unsigned
int64
timestamp
ADC channels A to D: Timestamp of the last word in the packet in ps.
TDC: Timestamp of the trigger event (falling edge) on the TDC channel in ps.
When
ndigo process tdc packet()
is called once on the packet the timestamp is replaced with the precise
timestamp for the edge.
Timestamp channel: Timestamp of the trigger event in ps.
unsigned
int64
data[]
Sample data. For the Ndigo5G each 64 bit word contains four 16 bit signed words from the
ADC. The user can cast the array to short* to directly operate on the sample data.
cronologic GmbH & Co. KG
42
Ndigo5G User Guide
Summary of Contents for Ndigo5G-10
Page 2: ......
Page 3: ......
Page 7: ......
Page 45: ...cronologic GmbH Co KG 40 Ndigo5G User Guide...
Page 54: ...on page 47 cronologic GmbH Co KG 49 Ndigo5G User Guide...