EasyManua.ls Logo

Thermo 42i - Format Specifier for Front-Panel Layout

Thermo 42i
314 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
C-Link Protocol Commands
Record Layout Definition
Thermo Electron Corporation Model 42i Low Source Instruction Manual B-45
t - parse a time specifier (2 bytes)
D - parse a date specifier (3 bytes)
i - ignore one 8-bit character (1 byte)
e - parse a 24-bit floating point number (3 bytes: n/x)
E - parse a 24-bit floating point number (3 bytes: N/x)
f - parse a 32-bit floating point number (4 bytes)
c - parse an 8-bit signed number (1 byte)
C - parse an 8-bit unsigned number (1 byte)
n - parse a 16-bit signed number (2 bytes)
N - parse a 16-bit unsigned number (2 bytes)
m - parse a 24-bit signed number (3 bytes)
M - parse a 24-bit unsigned number (3 bytes)
l - parse a 32-bit signed number (4 bytes)
L - parse a 32-bit unsigned number (4 bytes)
There is an optional single digit d which may follow any of the numeric
fields which indicates that after the field has been parsed out, the resulting
value is to be divided by 10^d. Thus the 16-bit field 0xFFC6 would be
interpreted with the format specifier 'n3' as the number -0.058.
Format Specifier for
Front-Panel Layout
The subsequent lines in the ERec Layout response describe the appearance
of the full panel. The full instrument panel as it appears on the screen has
two columns of lines. Each line is composed of three major components: (1)
a text field, (2) a value field, and (3) a button. None of these three
components is required. The text field contains statically displayed text.
The value field displays values which are parsed out of the response to a
DATA/ERec command. It also displays, though background changes, alarm
status. The button, when pressed, triggers input from either a dialog box or
a selection list. There are five kinds of buttons, B, I, L, T, and N.
Each line in the layout string corresponds to one line on the display. The
layout string describes each of the three major fields as well as translation
mechanisms and corresponding commands.
Text The first field in the layout string is the text. It is delimited by a ':'. The
string up to the first ':' will be read and inserted in the text field of the line.
Value String This is followed by a possible string, enclosed in quotes. This is used to
place a string into the value field.
Value Source The value source, which is the item (or word) number in the DATA/ERec
response, appears next. This is followed by an optional bitfield designator.
The datum identified by the value source can be printed as a string 's',

Table of Contents

Related product manuals