User`s guide

5 Acqu iring Image Data
Ve rify that the o bject has not acquired any frames.
get(vid,'FramesAcquired')
ans =
0
2 Configure properties To use an immediate trigger, you do not have to
configure the
TriggerType property because 'immediate' is the default
trigger type. You can verify this by using the
triggerconfig function to
view the current trigger configuration or by viewing the video input object’s
properties.
triggerconfig(vid)
ans =
TriggerType: 'immed iate '
TriggerCondition: 'none'
TriggerSource: 'no ne'
This example sets the value of the FramesPerTrigger property to 5.(The
default is 10 frames per trigger.)
set(vid,'FramesPerTrigger',5)
3 Start the image acquisition object —Callthestart function to start
the i m age acq uisition object. By defa ult, the object executes an immediate
trigger and acquires five frames of data, logging the data to a memory
buffer. After logging the specified number of frames, the object stops
running.
start(vid)
To verify that the object acquired data, view the value of the
FramesAcquired property. The object updates the value of this property as
it acquires data.
vid.FramesAcquired
ans =
5
5-12