User`s guide

Specifying the Trigger Type
0
Verify that the object has still not acquired any frames.
get(vid,'FramesAcquired')
ans =
0
4 Execute the manual trigger —Callthetrigger function to execute
the m anual trigger.
trigger(vid)
The object initiates the acquisition of five frame s. Check the
FramesAcquired property again to verify that five frames have been
acquired.
get(vid,'FramesAcquired')
ans =
5
After it acquires the specified number of frames, the video input object
stops running.
isrunning(vid)
ans =
0
To execute another manual trigger, you must first restart the v ideo input
object. Note that this deletes the frames acquired by the first trigger. To
execute multiple manual triggers, specify a value for the
TriggerRepeat
property. See “Specifying Multiple Triggers” on page 5-29 for more
information.
5 Clean up A lways rem ove image acquisition objects from mem ory, and
the variables that re ference them, when you n o longer need them.
delete(vid)
clear vid
5-15