User`s guide
stop
Purpose Stop video input object
Syntax stop(obj)
Description stop(obj) halts an a cquisition associated with the video input object
obj. obj can be either a single video input object or an array of video
input objects.
The
stop function
• Sets the object’s
Running property to 'Off'
• Sets the object’s L oggi ng property to 'Off',ifneeded
• Executes the object’s
StopFcn callback
An image acquisition object can also stop running under one of the
following conditions:
• The requested number of frames is acquired. This occurs when
FramesAcquired = Fram esPerTrigger * (Trigger Repeat + 1)
where F ramesAcquired, FramesPerTrig ger,andTriggerRepeat are
properties of the video input object.
• A run-time error occurs.
• The object’s
Timeout value is reached.
The stop event is recorded in the object’s
EventLog property.
Examples The stop function can be called by a video input object’s event callback.
obj.TimerFcn = {'stop '};
See Also imaqfind, st art, trigger, pr opin fo, videoinput
12-54