User`s guide
7 Storing Adaptor Information in an IMDF File
7-18
Specifying Hardware Trigger Information
To specify hardware trigger information in an IMDF file, use the TriggerInfo node.
A TriggerInfo node can be the child of the ImageAcquisitionInfo, Device,
VideoFormat, and Section nodes.
You specify the source of the hardware trigger in a TriggerSource node that is the
child of the TriggerInfo node. You specify the conditions under which trigger fires in
one or more TriggerCondition nodes, which are children of the TriggerSource node.
The following example outlines how to use these elements to specify trigger information.
The words in italics represent text you define.
<ImageAcquisitionInfo>
<Device device=devicename>
<TriggerInfo>
<TriggerSource id=ID name=triggername>
<TriggerCondition id=ID name=conditionname>
</TriggerInfo>
</Device>
.
.
.
</ImageAcquisitionInfo>
The following table lists the elements used to specify hardware trigger information.
Element Description Attributes
<TriggerInfo> Defines information about a
hardware trigger.
None
<TriggerSource> Defines the source of
the hardware trigger.
A Triggerinfo node
must contain or more
TriggerSource nodes.
See “Specifying Trigger
Sources” on page 7-19.
<TriggerCondition> Defines a condition that
must be met before a
hardware trigger fires.
A TriggerSource node
See “Specifying Trigger
Conditions” on page 7-19.