User`s guide

5 Acqu iring Image Data
Example: Using a
Hardware Trigger
To use a hardware
trigger,createavideoinputobjectandsetthevalueofthe
TriggerType pro
perty to
'hardware'. You must also specify the source of the
hardware trigge
r and the condition type. The hardware monitors the source
you specify for
the condition you specify. The following figure illustrates a
hardware trigg
er. For hardware triggers, the video stream does n ot start
until the trigg
er occurs.
Note Trigger so
urces and the conditions that control hardware triggers are
device specifi
c. Use the
triggerinfo function to determine whether your
image acquisi
tion device supports hardware triggers and, if it does, which
conditions yo
u can configure. Refer to the documentation that came with
your device f
or more detailed information ab out its hardware triggering
capabilitie
s.
Hardware Trigger
The following example illustrates how to use a hardware trigger:
1 Create an im age acquisition object Th i s example creates a video
input o bj ect for a M atrox ima ge acquisition device. To run th is example on
your system, use the
imaqhwinfo function to get the object constructor for
5-16