NI-DAQmx .NET Framework 4.5 API Reference

ReferenceTrigger Properties

  • Updated2023-02-21
  • 4 minute(s) read
ReferenceTrigger Properties

The ReferenceTrigger type exposes the following members.

Properties

  NameDescription
Public propertyAnalogEdge
Public propertyAnalogMultiEdge
Public propertyAnalogWindow
Public propertyAutoTriggered
Indicates whether a completed acquisition was triggered by the auto trigger. If an acquisition has not completed after the task starts, this property returns . This property is only applicable when AutoTriggerEnable is .
Public propertyAutoTriggerEnable
Specifies whether to send a software trigger to the device when a hardware trigger is no longer active in order to prevent a timeout.
Public propertyDelay
Specifies in seconds the time to wait after the device receives the Reference Trigger before switching from pretrigger to posttrigger samples.
Public propertyDigitalEdge
Public propertyDigitalPattern
Public propertyMaximumNumberOfTriggersToDetect
Specifies the maximum number of times the task will detect a reference trigger during the task. The number of times a trigger is detected and acted upon by the module may be less than the specified amount if the task stops early because of trigger/retrigger window expiration. Specifying the Maximum Number of Triggers to Detect to be 0 causes the driver to automatically set this value to the maximum possible number of triggers detectable by the device and configuration combination. Note: The number of detected triggers may be less than number of trigger events occurring, because the devices were unable to respond to the trigger.
Public propertyPretriggerSamples
Specifies the minimum number of pretrigger samples to acquire from each channel before recognizing the reference trigger. Post-trigger samples per channel are equal to SamplesPerChannel minus the number of pretrigger samples per channel.
Public propertyRetriggerable
Specifies whether a finite task resets, acquires pretrigger samples, and waits for another Reference Trigger after the task completes. When you set this property to TRUE, the device will acquire post-trigger samples, reset, and acquire pretrigger samples each time the Reference Trigger occurs until the task stops. The device ignores a trigger if it is in the process of acquiring signals.
Public propertyRetriggerWindow
Specifies the duration in seconds after each trigger during which the device may trigger. Once the window has passed, the device stops detecting triggers, and the task will stop after the device finishes acquiring post-trigger samples that it already started. Specifying a Retrigger Window of -1 causes the window to be infinite.
Public propertyTerminal
Indicates the name of the internal Reference Trigger terminal for the task. This property does not return the name of the trigger source terminal.
Public propertyTimestamp
Gets the reference trigger timestamp.
Public propertyTimestampEnable
Specifies whether the reference trigger timestamp is enabled. If the timestamp is enabled but no resources are available, an error will be returned at run time.
Public propertyTimestampTimescale
Specifies the reference trigger timestamp timescale.
Public propertyTriggerWindow
Specifies the duration in seconds after the task starts during which the device may trigger. Once the window has passed, the device stops detecting triggers, and the task will stop after the device finishes acquiring post-trigger samples that it already started. If no triggers are detected during the entire period, then no data will be returned. Specifying a Trigger Window of -1 causes the window to be infinite.
Public propertyType
Specifies the type of trigger to use to mark a reference point for the measurement.
Top

See Also

Log in to get a better experience