Ai Reference Trigger Signal - National Instruments NI 6238 User Manual

Daq m series isolated current input/c urrent output devices
Hide thumbs Also See for NI 6238:
Table of Contents

Advertisement

AI Reference Trigger Signal

© National Instruments Corporation
complete description of the use of ai/StartTrigger and ai/ReferenceTrigger
in a pretriggered DAQ operation.
Use a reference trigger (ai/ReferenceTrigger) signal to stop a measurement
acquisition. To use a reference trigger, specify a buffer of finite size and a
number of pretrigger samples (samples that occur before the reference
trigger). The number of posttrigger samples (samples that occur after the
reference trigger) desired is the buffer size minus the number of pretrigger
samples.
After the acquisition begins, the DAQ device writes samples to the buffer.
After the DAQ device captures the specified number of pretrigger samples,
the DAQ device begins to look for the reference trigger condition. If the
reference trigger condition occurs before the DAQ device captures the
specified number of pretrigger samples, the DAQ device ignores the
condition.
If the buffer becomes full, the DAQ device continuously discards the oldest
samples in the buffer to make space for the next sample. This data can be
accessed (with some limitations) before the DAQ device discards it. Refer
to the KnowledgeBase document, Can a Pretriggered Acquisition be
Continuous?, for more information. To access this KnowledgeBase, go to
and enter the info code
ni.com/info
When the reference trigger occurs, the DAQ device continues to write
samples to the buffer until the buffer contains the number of posttrigger
samples desired. Figure 4-14 shows the final buffer.
Reference Trigger
Pretrigger Samples
Figure 4-14. Reference Trigger Final Buffer
rdcanq
Posttrigger Samples
Complete Buffer
4-23
Chapter 4
Analog Input
.
NI 6238/6239 User Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ni 6239Daq m series

Table of Contents