
APDCAM User’s Guide
Page 21/32
By balancing the bit resolution, the channel number and the resampling rate the band-
width of the data transmission can be used optimally. E.g. 10 MHz/12bit measurement is
possible if one channel is selected in each block or 2 MHz/12bit if all 32 channels are
working.
3.3.3. Triggering, overload protection
The ADC measurement, digital filtering and resampling works continuously in
APDCAM. but data output to the host is enabled only when data is needed. The first re-
quirement for data transmission is that the STREAM_CTRL bits should be set to enable
data output from the four 8-channel blocks of the DAQ unit to the Gigabit card. If no
triggering scheme is enabled data transmission starts immediately.
When the data transfer is started a certain number of samples per channel (SAM-
PLE_NUMBER register) are transmitted to the host and after that the data transmission is
stopped. The exception is when SAMPLE_NUMBER=0 for which the transmission runs
for an unlimited time. The actual number of transmitted samples are shown in 4 32 bit
long ACT_SAMPLE registers.
Triggering of data transmission can be achieved using several schemes:
External trigger.
Bit 0 or 1 of the TRIGGER register should be set and the
TTL trigger signal connected to the Trigger In connector. Depending on the bit set
the trigger event happens on rising or falling edge.
Internal trigger.
This enables starting the data acquisition when the signal
level in the detector channels is above or below some level. This is not an edge trig-
ger mode, which means that if the stream inputs are enabled when the level fulfils
the condition the measurement starts immediately. Internal trigger is globally en-
abled by bit 2 of the TRIGGER register while the 32 INT_TRIG_LEVEL registers
set the internal trigger parameters for all channels independently. Bit 15 enables,
while bit 14 sets the polarity for the corresponding channel. the trigger level is set
by the 14 least significant bits. The trigger event happens when any of the 32 chan-
nels fulfils the trigger condition. It has to be emphasized that light input to the de-
tector causes negative signal, therefore for triggering on rising light negative trigger
should be set.
Trigger event
Measured data
RINGBUFSIZE
samples
Time
Figure 10. Triggered start of measurement.
SAMPLENUM samples
TRIGGER_DELAY
TRIGGER OUT signal