Specify type of trigger to execute
Note: You cannot use the legacy interface on 64-bit MATLAB®. See Working with the Session-Based Interface to acquire and generate data on a 64-bit MATLAB.
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.
AI, AO, common to all channels
Read-only when running
The trigger executes immediately after start is issued. Pretrigger data cannot be captured.
The trigger executes immediately after the trigger function is issued.
The trigger executes when the associated trigger condition is satisfied. Trigger conditions are given by the TriggerCondition property. (AI only).
The trigger source is an external digital signal (AI only). Pretrigger data cannot be captured.
The trigger source is an external analog signal (AI only).
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.
The trigger source is an external analog signal (AI only). To set the trigger source, see TriggerChannel property.
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.