Data Acquisition Toolbox |
 |
TriggerCondition
Specify the condition that must be satisfied before a 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.
Characteristics
Usage
|
AI, Common
|
Access
|
Read/write
|
Data type
|
String
|
Read-only when running
|
Yes
|
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.
|
Agilent Technologies
The following trigger conditions are available 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 HwAnalog
.
{Rising}
|
The trigger occurs when the analog signal has a positive slope when passing through the specified range of values.
|
Falling
|
The trigger occurs when the analog signal has a negative slope when passing through the specified range of values.
|
Leaving
|
The trigger occurs when the analog signal leaves the specified range of values.
|
Entering
|
The trigger occurs when the analog signal enters the specified range of values.
|
Note that when TriggerType
is HwAnalog
, the trigger condition values are all specified as two-element vectors. Setting two trigger levels prevents the module from triggering repeatedly because of a noisy signal.
Keithley
The following trigger conditions are available when TriggerType
is HwDigital
.
{PositiveEdge}
|
The trigger occurs when the positive (rising) edge of the digital signal is detected.
|
NegativeEdge
|
The trigger occurs when the negative (falling) edge of the digital signal is detected.
|
GateHigh
|
Gated acquisition on a TTL high level on TGIN or the 8254 gate input. Note that gated acquisition mode ignores all stop trigger properties
|
GateLow
|
Gated acquisition on a TTL low level on TGIN. This option is invalid and causes an error if the device's analog input gating is set to 8254 Gate in the DriverLINX Configuration Analog Input Subsystem panel.
|
To utilize simultaneous gated and triggered acquisition, set the analog input gating to 8254 Gate
in the DriverLINX Configuration Panel Analog Input subsystem, and use GateHigh
and HwDigital
triggering through the TGIN connection pin.
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 condition is used when TriggerType
is HwDigital
.
{None}
|
No trigger condition is required.
|
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.
|
See Also
Properties
TriggerChannel
, TriggerConditionValue
, TriggerType
| TriggerChannel | | TriggerConditionValue |  |