OmniTek OTR 1001 User Guide, v3.1
I-5
PacketType Statements
The PacketType is the second-level element within the file. It is nested within the Protocol
element.
There must be at least one PacketType element within the file but there is no maximum number.
Each PacketType element describes an individual packet among the ones defined for the selected
protocol. Only those packets that are of interest need be defined: for any other packets, the
Extended DataView will simply display the message ‘No Definition Found’ together with the
packet’s Data ID.
<PacketType
Attributes
>
…
</PacketType>
Attributes:
PacketIdentifier="
string
"
(required)
where
string
specifies the Data ID that (together with any Secondary Data ID, see below)
identifies the type of ANC packet that is being described – as given in the specification for the
packet. This identifier must be unique to the packet as it is the item by which the software
identifies which XML description to use to analyse the data it contains.
e.g.
PacketIdentifier="0x2E7"
PacketName="
string
"
(required)
where
string
describes the Packets decoded by this PacketType element. This name is displayed
at the start of the description of the packet.
e.g.
PacketName="HDTV audio Group 1"
DescriptionLabel="
string
"
where
string
defines a heading to go above the data. This is particularly useful where a tabular
layout is used for the data.
e.g.
DescriptionLabel=" Sample Z V U C F"
LabelOffset="
integer
"
where
integer
specifies that the above label should be positioned one or more lines below its
default position in the Extended DataView display.
e.g.
LabelOffset="1"
Repetative="
boolean
"
where
boolean
is set to
"true"
where the target packet consists of a repeated sequence of bit
fields and
"false"
in all other instances.
Note:
You aren’t asked to specify the number of
repetitions because this can be deduced in any particular case from the length information given
in the packet header.
e.g.
Repetative="false"
SecondaryPacketIdentifier="
string
"
where
string
specifies the Secondary Data ID (SDID) associated with a Type 2 ANC packet.
Note:
This attribute is optional and may be omitted for Type 1 PacketType definitions.
e.g.
SecondaryPacketIdentifier="0x260"
Example:
<PacketType PacketIdentifier="0x2E7" PacketName="HDTV audio Group 1"
Repetative="false" DescriptionLabel=" Sample Z P C U V" LabelOffset="1">
Содержание OTR 1001
Страница 1: ...Advanced Measurement Technology OTR 1001 User Guide Software Version 3 1 October 2013...
Страница 28: ...OmniTek OTR 1001 User Guide v3 1a A 16...
Страница 52: ...OmniTek OTR 1001 User Guide v3 1 B 24...
Страница 96: ...OmniTek OTR 1001 User Guide v3 1a E 24...
Страница 116: ...OmniTek OTR 1001 User Guide v3 1 G 6...
Страница 124: ...OmniTek OTR 1001 User Guide v3 1 H 8...
Страница 130: ...OmniTek OTR 1001 User Guide v3 1 I 6 Figure I 3 Difference view Figure I 4 Anaglyph representation...
Страница 184: ...OmniTek OTR 1001 User Guide v3 1 J 22...
Страница 238: ...OmniTek OTR 1001 User Guide v3 1 M 14...
Страница 250: ...OmniTek OTR 1001 User Guide v3 1 N 12...
Страница 254: ...O 4 OmniTek OTR 1001 User Guide v3 1...
Страница 280: ...Q 14 OmniTek OTR 1001 User Guide v3 1 Figure Q 12 Video Index options within the Gen window Properties...
Страница 283: ...OmniTek OTR 1001 User Guide v3 1 Q 17 Figure Q 15 Save File settings within the Gen window Properties...
Страница 292: ...Q 26 OmniTek OTR 1001 User Guide v3 1...
Страница 326: ...OmniTek OTR 1001 User Guide v3 1a S 26...
Страница 358: ...OmniTek OTR1001 User Guide v3 1 U 12...
Страница 364: ...OmniTek OTR 1001 User Guide v3 1 V 6...
Страница 379: ...OmniTek OTR 1001 User Guide v3 1 I 15 Example XML Statements Example Result...
Страница 386: ...OmniTek OTR 1001 User Guide v3 1 II 6...
Страница 389: ...OmniTek OTR 1001 User Guide v3 1...