ReferenceTrigger Members

NI-DAQmx 17.1 .NET Class Library Help

Edition Date: June 2017

Part Number: 370473J-01

»View Product Info
Download Help (Windows Only)

ReferenceTrigger Class Methods Properties See Also


The ReferenceTrigger type exposes the following members.

Methods

NameDescription
ConfigureAnalogEdgeTriggerConfigures the task to stop the acquisition when the device acquires all pretrigger samples; an analog signal reaches the level you specify; and the device acquires all post-trigger samples.
ConfigureAnalogMultiEdgeTrigger Configures the task to stop the acquisition when the device acquires all pretrigger samples, any of the configured analog signals reaches the levels you specify, and the device acquires all post-trigger samples.
ConfigureAnalogWindowTriggerConfigures the task to stop the acquisition when the device acquires all pretrigger samples; an analog signal enters or leaves a range you specify; and the device acquires all post-trigger samples.
ConfigureDigitalEdgeTriggerConfigures the task to stop the acquisition when the device acquires all pretrigger samples, detects a rising or falling edge of a digital signal, and acquires all post-trigger samples.
ConfigureDigitalPatternTriggerConfigures a task to stop the acquisition when the device acquires all pretrigger samples, matches a digital pattern, and acquires all posttrigger samples.
ConfigureNoneDisables reference triggering for the measurement.
CreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
EqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
GetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
GetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
GetTypeGets the Type of the current instance. (Inherited from Object.)
InitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
MemberwiseClone

Overloaded. Creates a shallow copy of the current Object.

ToStringReturns a string representation of the object. (Overrides Object.ToString()()().)

Properties

NameDescription
AnalogEdgeGets the AnalogEdgeReferenceTrigger.
AnalogMultiEdgeGets the AnalogMultiEdgeReferenceTrigger.
AnalogWindowGets the AnalogWindowReferenceTrigger.
AutoTriggeredIndicates whether a completed acquisition was triggered by the auto trigger. If an acquisition has not completed after the task starts, this property returns false (False in Visual Basic). This property is only applicable when AutoTriggerEnable is true (True in Visual Basic).
AutoTriggerEnableSpecifies whether to send a software trigger to the device when a hardware trigger is no longer active in order to prevent a timeout.
DelaySpecifies in seconds the time to wait after the device receives the Reference Trigger before switching from pretrigger to posttrigger samples.
DigitalEdgeGets the DigitalEdgeReferenceTrigger.
DigitalPatternGets the DigitalPatternReferenceTrigger.
MaximumNumberOfTriggersToDetectSpecifies 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.
PretriggerSamplesSpecifies 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.
RetriggerableSpecifies 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.
RetriggerWindowSpecifies 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.
TerminalIndicates the name of the internal Reference Trigger terminal for the task. This property does not return the name of the trigger source terminal.
TimestampGets the reference trigger timestamp.
TimestampEnableSpecifies 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.
TimestampTimescaleSpecifies the reference trigger timestamp timescale.
TriggerWindowSpecifies 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.
TypeSpecifies the type of trigger to use to mark a reference point for the measurement.

See Also

Reference

ReferenceTrigger Class

NationalInstruments.DAQmx Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful