Standalone Logtool for MPE/iX

- 160 bits (32 chars) of printed in ascii.
- A 3 bit integer printed in octal
- 13 bits of junk which it not printed
- A 64 bit (8 char max) string - only valid chars printed.
- A 64 bit (8 bytes) array printed as HEX/ASCII
- A 12 bit integer tag field printed in decimal
20 additional bits [identified by the tag] follow.
A TAG`ID must be used to describe the data.
VAR`LABELS
This command provides the ability to give each field a label. The string provided will be what is used to label the field
when LOGTOOL decodes the log record. If the label is longer than the maximum number of allowable characters, the
user is warned that the label is truncated. Error checking is performed to prevent duplicate labels within the current
record. If a field is not given a VAR`LABEL, a null string will be used.
Syntax:
VAR`LABELS <label def>
<label def> ::= <label index> "<label>" <label def> |
<label index> "<label>" | <nil>
<label index> ::= [ <field#> ]
<label> ::= ASCII<\esc> text (up to 20 chars)
<field#> ::= an integer
Notes:
Single or double quotes may be used to bracket the label.
The maximum # of characters is 20.
Examples:
VAR`LABELS [ 1 ] "Name for field 1 : "
[ 2 ] "field 2 name : "
[ 4 ] "field 3 is unlabeled"
VALUE`LABELS
This command allows the binding of values in a field with ASCII descriptions of those values. Error checking is
performed to ensure that only numeric (INTEGER) data has VALUE`LABELS. The value is not limited to a single
value, but a range of values may be specified for a particular label. All ranges must be unique and may not overlap
with any other value or range.
Syntax:
VALUE`LABELS <label def>
<label def> ::= <label index> (<label list>) <label def> | <nil>
<label index> ::= [ <field#> ]
<label list> ::= <value range>, "<label>" |
<value range>, "<label>" ; <label list> | <nil>
<value range> ::= <value> | <value>/<value>
<value> ::= an integer
<label> ::= ASCII<\esc> text (up to 20 chars)
<field#> ::= an integer
Notes:
Single or double quotes may be used to bracket the label.
The maximum number of characters is 20.
If a value label is given and data in the log file does not match one of the indicated values, it will simply be