User`s guide

7 Storing Adaptor Information in an IMDF File
7-14
Specifying Property Element Attributes
The following table lists the attributes of a Property node in alphabetical order. The
table gives a brief description of the property and lists which properties are required and
which are optional.
Attribute Description Required
constraint Specifies the constraints on the property —
see “Specifying Values for the Constraint
Attribute” on page 7-14.
Required
default Default value for the property. Optional
deviceSpecific Boolean value. True if property is vendor-
specific; otherwise false.
Required
min Minimum allowable value Optional
max Maximum allowable value Optional
name Name of property Required
optional If set to off, the property is created
automatically and added to the object
when the IMDF file is processed. If on, the
adaptor must explicitly create the property.
The default is off.
Optional
readOnly Read-only status of property: always,
never, or whileRunning.
Required
type Data type of the property: cell, double,
int or string.
Required
Specifying Values for the Constraint Attribute
Constraints specify information about what are valid values for a property. For example,
to specify that a property only accepts positive values, use the positive constraint value,
as follows:
constraint=positive
The following table lists all the possible values for the constraint attribute in
alphabetical order.