Documentation

TriggerType

Specify 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 to all channels

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).

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 an external digital signal. Pretrigger data cannot be captured. Control the trigger source with HwDigitalTriggerSource property. Specify the external digital signal with the TriggerCondition and TriggerConditionValue properties.

HwAnalogChannel

The trigger source is an external analog signal (AI only). To set the trigger source, see TriggerChannel property.

HwAnalogPin

The trigger source is a low-range external analog signal (AI only). Note that HwAnalogPin is supported only for Traditional NIDAQ devices. It is not supported for NIDAQmx devices.

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.

    Note:   The Traditional NI-DAQ adaptor will be deprecated in a future version of the toolbox. If you create a Data Acquisition Toolbox™ object for Traditional NI-DAQ adaptor beginning in R2008b, you will receive a warning stating that this adaptor will be removed in a future release. See the supported hardware page at www.mathworks.com/products/daq/supportedio.html for more information.

Was this topic helpful?