![OmniTek OTR 1001 User Manual Download Page 375](http://html1.mh-extra.com/html/omnitek/otr-1001/otr-1001_user-manual_739908375.webp)
OmniTek OTR 1001 User Guide, v3.1
I-11
Each Switch statement is followed by a BitField element, together with one or more Case
elements (see below). The BitField element defines the data whose value will determine which of
the Case elements will be selected. The location of this data is given relative to the word selected
by the WordOffset included in the associated Switch statement.
Case Statement
Switch elements include one or more Case elements. These specify how data should be both
selected and displayed in the different cases identified by the bit field data selected by the Switch
element as the control.
Examples of Case elements may be found in the
RP 188ATCDef.xml
file.
There is no limit on the number of Case elements that may be included in any Switch element.
<Case
Attributes
>
…
</Case>
Attributes:
Target="
integer
"
where
integer
is the value of the bit field data for which the following BitField element(s) should
be applied.
e.g.
Target="0"
Title="
string
"
where
string
is an optional side-heading that may be inserted before the data extracted by the
following BitField elements.
e.g.
Title="Longitudinal TimeCode"
Example:
<Case Target="0" Title="Longitudinal TimeCode">
Each Case statement is followed by one or more BitField elements.
BREAK Statements
PacketType elements may include one or more BREAK statements.
BREAK statements are used where multiple items of data are presented on the same line (e.g. in
a table) to specify where one line ends and another begins. They can also be used to insert a label
at the start of the current line of data.
<BREAK
Attributes
/>
Attributes:
WordOffset="
integer
"
(required)
where
integer
identifies the word within the UDW after which the break should be inserted.
Where appropriate, the offset is calculated from the start of the current repetition.
e.g.
WordOffset="14"
Label="
string
"
where
string
is the required side-heading. This is inserted at the start of the line of data
e.g.
Label="Ch 3 : "
Example:
<BREAK WordOffset="14" Label="Ch 3 : " />
Summary of Contents for OTR 1001
Page 1: ...Advanced Measurement Technology OTR 1001 User Guide Software Version 3 1 October 2013...
Page 28: ...OmniTek OTR 1001 User Guide v3 1a A 16...
Page 52: ...OmniTek OTR 1001 User Guide v3 1 B 24...
Page 96: ...OmniTek OTR 1001 User Guide v3 1a E 24...
Page 116: ...OmniTek OTR 1001 User Guide v3 1 G 6...
Page 124: ...OmniTek OTR 1001 User Guide v3 1 H 8...
Page 184: ...OmniTek OTR 1001 User Guide v3 1 J 22...
Page 238: ...OmniTek OTR 1001 User Guide v3 1 M 14...
Page 250: ...OmniTek OTR 1001 User Guide v3 1 N 12...
Page 254: ...O 4 OmniTek OTR 1001 User Guide v3 1...
Page 292: ...Q 26 OmniTek OTR 1001 User Guide v3 1...
Page 326: ...OmniTek OTR 1001 User Guide v3 1a S 26...
Page 358: ...OmniTek OTR1001 User Guide v3 1 U 12...
Page 364: ...OmniTek OTR 1001 User Guide v3 1 V 6...
Page 379: ...OmniTek OTR 1001 User Guide v3 1 I 15 Example XML Statements Example Result...
Page 386: ...OmniTek OTR 1001 User Guide v3 1 II 6...
Page 389: ...OmniTek OTR 1001 User Guide v3 1...