User`s guide

7 Storing Adaptor Information in an IMDF File
7-10
Specifying Device Information
To specify information about a particular device in an IMDF file, use the Device
element. You can include as many Device nodes in an IMDF file as you want but they
must all be children of the root node.
In a Device node, you specify the name of the device as an attribute. The name is
typically a text string defined by the device's SDK. Using other IMDF elements as
children of the Device node, you can specify information about device-specific properties,
video formats, and trigger information.
The following example outlines how to use these elements to create Device nodes. The
words in italics represent text you define.
<ImageAcquisitionInfo>
<Device device=devicename>
<VideoFormat name=formatname>
</VideoFormat>
<Property constraint=constraint_value
deviceSpecific=true_or_false
name=property_name
readOnly=always_never_or_whileRunning
type=cell_double_int_or_string
min=minimum_value
max=maximum_value
optional=on_or_off
default=default_value>
</Property>
<TriggerInfo>
<TriggerSource id=ID name=string>
<TriggerCondition id=ID name=string/>
</TriggerSource>
</TriggerInfo
</Device>
.
.
.
</ImageAcquisitionInfo>