trigger - Manually execute trigger

Syntax

trigger(obj)

Arguments

obj

An analog input or analog output object or an array of these device objects.

Description

trigger(obj) manually executes a trigger.

Remarks

After trigger is issued,

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;

See Also

Functions

start, stop

Properties

InitialTriggerTime, Logging, Running, Sending, TriggerFcn, TriggerType

  


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