Data Acquisition Toolbox    
TriggerType

Specify the type of trigger to execute

Description

TriggerType can be Immediate, Manual, or Software. If TriggerType is Immediate, the trigger occurs immediately after the start function is issued. If TriggerType is Manual, the trigger occurs immediately after the trigger function is issued. If TriggerType is Software, the trigger occurs when the associated trigger condition is satisfied (AI only).

For a given hardware device, additional trigger types might be available. Some trigger types require trigger conditions and trigger condition values. Trigger conditions are specified with the TriggerCondition property, while trigger condition values are specified with the TriggerConditionValue property.

When a trigger occurs for an analog input object, data logging is initiated and the Logging property is automatically set to On. When a trigger occurs for an analog output object, data sending is initiated and the Sending property is automatically set to On.

Characteristics

Usage
AI, AO, Common
Access
Read/write
Data type
String
Read-only when running
Yes

Values

All Supported Hardware

{Immediate}
The trigger executes immediately after start is issued. Pretrigger data cannot be captured.
Manual
The trigger executes immediately after the trigger function is issued.
Software
The trigger executes when the associated trigger condition is satisfied. Trigger conditions are given by the TriggerCondition property. (AI only).

Agilent Technologies

HwDigital
The trigger source is an external digital signal (AI only). Pretrigger data cannot be captured.
HwAnalog
The trigger source is an external analog signal (AI only).
HwDigitalPos
The trigger source is the positive edge of an external digital signal (AO only).
HwDigitalNeg
The trigger source is the negative edge of an external digital signal (AO only).

Keithley

HwDigital
The trigger source is an external digital signal (AI only). Pretrigger data cannot be captured.

Measurement Computing

HwDigital
The trigger source is an external digital signal (AI only). Pretrigger data cannot be captured.
HwAnalog
The trigger source is an external analog signal (AI only).

National Instruments

HwDigital
The trigger source is the falling edge of an external digital signal. Pretrigger data cannot be captured.
HwAnalogChannel
The trigger source is an external analog signal (AI only).
HwAnalogPin
The trigger source is a low-range external analog signal (AI only).

For 1200 Series hardware, HwDigital is the only device-specific TriggerType value for analog input subsystems. Analog output subsystems do not support any device-specific TriggerType values.

See Also

Functions

start, trigger

Properties

Logging, Sending, TriggerCondition, TriggerConditionValue


  TriggersExecuted Type 

Learn more about the latest releases of MathWorks products:

 © 1994-2009 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS