User`s guide

6 Acquiring Image Data
6-16
'hardware' 'risingEdge' 'TTL'
'hardware' 'fallingEdge' 'TTL'
3
Configure properties — Configure the video input object trigger properties to one
of the valid combinations returned by triggerinfo. You can specify each property
value as an argument to the triggerconfig function
triggerconfig(vid, 'hardware','risingEdge','TTL')
Alternatively, you can set these values by passing one of the structures returned by
the triggerinfo function to the triggerconfig function.
configs = triggerinfo(vid);
triggerconfig(vid,configs(3));
This example also sets the value of the FramesPerTrigger property to 5. (The
default is 10 frames per trigger.)
vid.FramesPerTrigger = 5
4
Start the image acquisition object — Call the start function to start the image
acquisition object.
start(vid)
The object is running but not logging any data.
isrunning(vid)
ans =
1
islogging(vid)
ans =
0
The hardware begins monitoring the trigger source for the specified condition. When
the condition is met, the hardware executes a trigger and begins providing image
frames to the object. The object acquires the number of frames specified by the
FramesPerTrigger property. View the value of the FramesAcquired property to
see how much data was acquired. The object updates the value of this property as it
acquires data.