User`s guide

6 Acquiring Image Data
6-10
Immediate Trigger
The following example illustrates how to use an immediate trigger:
1
Create an image acquisition object — This example creates a video input object
for a Matrox image acquisition device. To run this example on your system, use the
imaqhwinfo function to get the object constructor for your image acquisition device
and substitute that syntax for the following code.
vid = videoinput('matrox',1);
Verify that the object has not acquired any frames.
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 =