/
Byte Element
Byte Element
<byte>
The <byte> element defines the fields within a datapoint.
The following table lists the attributes for the <byte> element.
Attribute | Description | Required /Optional |
---|---|---|
index | Specifies the starting byte of the datapoint. Index 0 is the first byte. | Required |
length | Defines the number of bytes within the input datapoint. | Optional |
value | Defines the value of the byte, if any. | Optional |
Example
<nvs> <nv ... > <byte index="0" length="1"> <attribute ... /> </byte> </nv> </nvs>
XML Schema Definition
<xs:element name="byte"> <xs:complexType> <xs:sequence> <xs:element ref="attribute" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> <xs:attribute name="index" use="required" > <xs:simpleType> <xs:restriction base="xs:nonNegativeInteger"> <xs:minInclusive value="0" /> <xs:maxInclusive value="4095" /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="length" type="xs:NMTOKEN" use="optional" /> <xs:attribute name="value" type="xs:NMTOKEN" use="optional" /> </xs:complexType> </xs:element>