C-Link Protocol Commands
Record Layout Definition
Thermo Fisher Scientific
Model 42
i
Trace Level Instruction Manual
B-51
'Mode:6.12-13x{local remote service service}(0 1)Tset mode
%s\n'
This is a line which has a title of 'Mode', and value taken from the sixth
field of the data response. There is a bitfield extraction of bits 12 through
13 from the source (the value type is not important here because the value
is being translated to an output string). Once the bits have been extracted,
they are shifted down to the bit-zero position. Thus, the possible values of
this example will be 0 through 3. The translation list shows the words
which correspond to each input value, the zeroth value appearing first (0 ->
local, 1 -> remote, etc.). The selection list shows that only the first two
values, in this case, are to be shown to the user when the button is pressed.
The 'T' button indicates full translation, input code to string, and user
selection number to output string.
'\xC'
This is a line that starts a new column (the \xC or ^L),
' Comp:6.11x{off on}Tset temp comp %s\n'
This shows that the bitfield end (the second part of a bitfield specification)
is optional. The bitfield will be one bit long, starting in this case at the
eleventh bit.
'Background:7f*8Bd.ddd;set o3 bkg %s\n'
This shows the use of indirect precision specifiers for floating point
displays. The background value is taken from the 7th element, and the
precision specifier is taken from the 8th. If the asterisk were not present, it
would indicate instead that 8 digits after the decimal point should be
displayed.