User`s guide

Specifying Property Information
7-13
Specifying Property Information
To specify property information in an IMDF file, use the Property element. You can
include as many Property nodes in an IMDF file as you want. Property nodes can be
children of the root node, a Device node, or a Videoformat node. Property nodes can
also be children of Section nodes.
Note Property nodes that are children of the root node affect all devices accessed
through the adaptor. Property nodes that are children of a Device or VideoFormat
node affect only that device or video format.
You use attributes of the Property element to specify characteristics of the property,
such as its name, type, and constraints. For more information about Property
attributes, see “Specifying Property Element Attributes” on page 7-14.
The following example outlines how to use these elements to specify property
information. The example shows the Property node as a child of the root node but you
use it the same way as a child of a Device or VideoFormat node. The words in italics
represent text you define.
<ImageAcquisitionInfo>
<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>
.
.
.
</ImageAcquisitionInfo>