TriggerCondition

Specify condition that must be satisfied before trigger executes

Description

The available trigger conditions depend on the value of TriggerType. If TriggerType is Immediate or Manual, the only available TriggerCondition is None. If TriggerType is Software, then TriggerCondition can be Rising, Falling, Leaving, or Entering. These trigger conditions require one or more voltage values to be specified for the TriggerConditionValue property.

Based on the hardware you are using, additional trigger conditions might be available. Refer to the values listed below.

Values

All Supported Hardware

The following trigger condition is used when TriggerType is Immediate or Manual.

{None}

No trigger condition is required.

The following trigger conditions are available when TriggerType is Software.

{Rising}

The trigger occurs when the signal has a positive slope when passing through the specified value.

Falling

The trigger occurs when the signal has a negative slope when passing through the specified value.

Leaving

The trigger occurs when the signal leaves the specified range of values.

Entering

The trigger occurs when the signal enters the specified range of values.

Measurement Computing

The following trigger conditions are available when TriggerType is HwDigital.

GateHigh

The trigger occurs as long as the digital signal is high.

GateLow

The trigger occurs as long as the digital signal is low.

TrigHigh

The trigger occurs when the digital signal is high.

TrigLow

The trigger occurs when the digital signal is low.

TrigPosEdge

The trigger occurs when the positive (rising) edge of the digital signal is detected.

{TrigNegEdge}

The trigger occurs when the negative (falling) edge of the digital signal is detected.

The following trigger conditions are available when TriggerType is HwAnalog.

{TrigAbove}

The trigger occurs when the analog signal makes a transition from below the specified value to above.

TrigBelow

The trigger occurs when the analog signal makes a transition from above the specified value to below.

GateNegHys

The trigger occurs when the analog signal is more than the specified high value. The acquisition stops if the analog signal is less than the specified low value.

GatePosHys

The trigger occurs when the analog signal is less than the specified low value. The acquisition stops if the analog signal is more than the specified high value.

GateAbove

The trigger occurs as long as the analog signal is more than the specified value.

GateBelow

The trigger occurs as long as the analog signal is less than the specified value.

GateInWindow

The trigger occurs as long as the analog signal is within the specified range of values.

GateOutWindow

The trigger occurs as long as the analog signal is outside the specified range of values.

National Instruments

The following trigger conditions are available for AI objects when TriggerType is HwDigital.

PositiveEdge

The trigger occurs when the positive (rising) edge of a digital signal is detected.

{NegativeEdge}

The trigger occurs when the negative (falling) edge of a digital signal is detected.

The following trigger conditions are available for AO objects on NI-DAQmx devices when TriggerType is HwDigital.

PositiveEdge

The trigger occurs when the positive (rising) edge of a digital signal is detected.

{NegativeEdge}

The trigger occurs when the negative (falling) edge of a digital signal is detected.

The following trigger conditions are available when TriggerType is HwAnalogChannel or HwAnalogPin.

{AboveHighLevel}

The trigger occurs when the analog signal is above the specified value.

BelowLowLevel

The trigger occurs when the analog signal is below the specified value.

InsideRegion

The trigger occurs when the analog signal is inside the specified region.

LowHysteresis

The trigger occurs when the analog signal is less than the specified low value with hysteresis given by the specified high value.

HighHysteresis

The trigger occurs when the analog signal is greater than the specified high value with hysteresis given by the specified low value.

Was this topic helpful?