Download MATLAB IMAGE ACQUISITION TOOLBOX 3 User`s guide

Transcript
4
Connecting to Hardware
Configure an acquisition that takes several seconds so that you can see the
video input in logging state.
vid.FramesPerTrigger = 100;
4 Start the image acquisition object — Call the start function to start
the image acquisition object.
start(vid)
5 Verify that the image is running but not logging — Use the isrunning
and islogging functions to determine the current state of the video input
object. With manual triggers, the video input object is in running state
after being started but does not start logging data until a trigger executes.
isrunning(vid)
ans =
1
islogging(vid)
ans =
0
6 Execute the manual trigger — Call the trigger function to execute
the manual trigger.
trigger(vid)
While the acquisition is underway, check the logging state of the video
input object.
islogging(vid)
ans =
1
4-26