NI cDAQ-9172 User Guide and Specifications 14 ni.com
The source also can be one of several other internal signals on your
NIcDAQ-9172 chassis. Refer to Device Routing in MAX in the
NI-DAQmxHelp or the LabVIEW Help in version 8.0 or later for more
information.
The NI-DAQmx Help is available after installation from Start»Programs»
National Instruments»NI-DAQ»NI-DAQmx Help. To view the
LabVIEW Help, in version 8.0 or later, select Help»Search the LabVIEW
Help in LabVIEW. Alternately, to download the LabVIEW Help, go to
ni.com/manuals.
You also can specify whether the measurement acquisition begins on the
rising edge or falling edge of ai/StartTrigger.
Using an Analog Source
Some C Series I/O modules can generate a trigger based on an analog
signal. In NI-DAQmx, this is called the Analog Comparison Event.
When you use an analog trigger source for ai/StartTrigger, the acquisition
begins on the first rising or falling edge of the Analog Comparison Event
signal, depending on the trigger properties.

Routing AI Start Trigger to an Output Terminal

You can route ai/StartTrigger to any output PFI terminal. The output is an
active high pulse.
AI Reference Trigger Signal
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.
When the acquisition begins, the NI cDAQ-9172 chassis begins to fill the
buffer. After the specified number of pretrigger samples are captured, the
NI cDAQ-9172 begins to look for the reference trigger condition. If the
reference trigger condition occurs before the NI cDAQ-9172 captures the
specified number of pretrigger samples, the NI cDAQ-9172 ignores the
condition.
If the buffer becomes full, the NI cDAQ-9172 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 NI cDAQ-9172 discards
it. Refer to the KnowledgeBase document, Can a Pretriggered Acquisition