User`s guide
trigger
Purpose Initiate data logging
Syntax trigger(obj)
Description trigger(obj) initiates data logging for the video input object obj. obj
can be either a single video input object or an array of video input
objects.
The
trigger function
• Executes the object’s
TriggerFcn callback
• Records the absolute time of the first trigger event in the object’s
InitialTriggerTime property
• Configures the object’s
Logging property to 'On'
obj
must be running and its TriggerType property must be set to
'manual'. To start an object running, use the start function.
The trigg er event is recorded in the obje ct’s
EventLog property.
Examples The trigger function can be called by a video input object’s event
callback.
obj.StartFcn = @trigg er;
See Also imaqfind, start, stop, videoinput
12-56