Reference Triggering Impact on Buffers

NI-DAQmx Key Concepts

Reference Triggering Impact on Buffers

Until the Reference Trigger occurs, the acquisition runs continuously even though you must set the sample mode parameter on the Timing function/VI to Finite Samples. The number of posttrigger samples in your buffer after the acquisition has finished is equal to the value of the samples per channel parameter from the Timing function/VI minus the number of pretrigger samples from the Trigger function/VI. When using a Reference Trigger, the default read position is Relative To First Pretrigger Sample with a read Offset of 0.