| Data Acquisition Toolbox™ | ![]() |
trigger(obj)
obj | An analog input or analog output object or an array of these device objects. |
trigger(obj) manually executes a trigger.
After trigger is issued,
The absolute time of the trigger event is recorded by the InitialTriggerTime property.
The Logging property or Sending property is set to On.
The M-file callback function specified by TriggerFcn is executed.
The trigger event is recorded in the EventLog property.
You can issue trigger only if TriggerType is set to Manual, Running is On, and Logging is Off.
You can specify trigger as the value for a callback property.
ai.StartFcn = @trigger;
InitialTriggerTime, Logging, Running, Sending, TriggerFcn, TriggerType
![]() | stop | wait | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |