Classification
Revision
Public
PA1
Document ID
Print date
18-2074
2018-04-06
4.12
Data Collection Modes
This section describes the different data collection modes. The collection mode is configured using
the API function
PDSetupCharacterization()
. The API function
PDSetupCharacterization()
should
only be called after
PDSetupTiming()
. The collection mode determines how the arguments of
PDSetup-
Characterization()
are used. This is presented in Table
. The collection modes are listed below:
Mode
Description
0
Raw pulse data
1
Pulse metadata
2
Every Nth record
3
Raw pulse data with padding (with detection window)
4
Raw pulse data with padding (without detection window)
Important
PDSetupCharacterization()
should only be called after
PDSetupTiming()
.
Table 5: This table lists how the arguments of
PDSetupCharacterization()
are used to control
the pulse detection features.
Mode Padding frame trigger
Record trigger
Padding offset
0
N/A
trigger_mode
N/A
1
padding_trigger_mode
1
padding_trigger_mode
detection_window_length
2
N/A
trigger_mode
N/A
3
padding_trigger_mode
1
trigger_mode
detection_window_length
4
padding_trigger_mode
trigger_mode
padding_offset
1
The padding trigger is also used as the detection window trigger in these modes.
4.12.1
Raw Pulse Data
This is the default data mode. The raw pulse data mode can be used with any trigger if fixed length
records are used, and with the level trigger if variable length records are used. The raw pulse data mode
does not insert any padding. In raw pulse data mode the data received is the data sampled by the ADCs.
Fig.
illustrates the raw pulse mode in both fixed length and variable length mode using the level
trigger.
4.12.2
Every Nth Record
The every Nth record mode behaves in the same way as the raw pulse data mode with the exception
that only every Nth record is transferred to the host. The reduction factor N is specified in the API call
PDSetupCharacterization()
.
ADQ14-FWPD – User Guide
Page 20 of 28