The parameter tag specifies a parameter
within a message. By using the parameter tag, the value
of the parameter can be extracted from the message
received from the hardware device. The parameter tag is
also used to define how to stored a parameter into a
message to be sent to the hardware device. This value in
the message can be translated into/from the application
value by using the translate tags. Valid subtags of
parameter include those that specify where to place the
parameter within the message and a series of transforms
that manipulate the parameter''s data. You can set
the units of the parameter with the units tag.
Examples: parameter examples
| Name | Description | Use |
<parameter> elements
| <description> | Description of the parameter. | 0 to 1 |
| <deprecated> | Specifies that the contents of this element should be marked as deprecated. | 0 to 1 |
| <specreference> | Specification reference for this parameter. | 0 to unbounded |
| <key> | Specifies the parameter key. | 0 to 1 |
| <bigendian> | Specifies that the parameter data
is in big endian order. This is the default order. | 0 to 1 |
| <field> | Specifies the field parameter name. | 0 to 1 |
| <insert> | Specifies that the parameter
should be inserted into the message. | 0 to 1 |
| <littleendian> | Specifies that the parameter data
is in little endian order. | 0 to 1 |
| <offset> | Specifies the starting
bit offset of the
parameter within the message. Offset 0 is
the first bit in the message. See the index
element to specify the parameter position in
bytes. | 1 to 1 |
| <index> | Specifies the starting
byte index of the
parameter within the message. Index 0 is the
first byte of the message. See the offset
element to specify the parameter offset in
bits. | 1 to 1 |
| <length> | Specifies the parameter
length in bits. See the
size
element to specify the parameter length in
bytes. | 1 to 1 |
| <lengthtoend> | Specifies the parameter continues until the end of the message or segment. | 1 to 1 |
| <size> | Specifies the parameter size
in bytes (1 byte is 8 bits). See the length
element to specify the parameter length in
bits. | 1 to 1 |
| <enum> | Specifies a enumeration for this parameter. | 1 to 1 |
| <minimum> | Specifies the minimum value. | 1 to 1 |
| <maximum> | Specifies the maximum value. | 1 to 1 |
| <negative> | Negate the parameter value. | 1 to 1 |
| <not> | Logical not of a boolean value. | 1 to 1 |
| <scale> | Specifies the value to scale
the parameter value. | 1 to 1 |
| <shift> | Specifies the value to shift
the parameter value. | 1 to 1 |
| <translate> | Specifies the value to add
(translate) to the parameter value. | 1 to 1 |
| <units> | Specifies the optional parameter units. | 0 to 1 |