C-Link Protocol Commands
Record Layout Definition
Thermo Fisher Scientific
Partisol 2000
i
and Partisol 2000
i
-D Instruction Manual
B-37
Floating-point numbers can be followed with an optional precision
specifier which will be used as an argument to printf's %f format (e.g., a
field of '4' would be translated into the printf command of '%.3f').
Alternately, the special character '*' can precede the precision specifier; this
causes an indirection on the precision specifier (which now becomes a field
number).
This is useful when formatting, for example, numbers which have varying
precision depending on the mode of the instrument.
Binary numbers can also have an optional precision specifier which is used
to determine how many bits to print. For example, the specifier 'b4' will
print the lowest four bits of the parsed number.
There are serious restrictions on where an 's' field may appear: currently
sources 1 and 2 must be 's', and no others may be 's'.
The value source is followed by optional alarm information, indicated by a
commercial at sign '@' with a source indicator and a starting bit indicator.
All alarm information is presumed to be two bits long (low and high). The
bitfield extraction is performed on the integer part of the source. Typical
alarm information would appear as '@6.4'.
Then, there appears an optional translation table within braces '{}'. This is
a string of words separated by spaces. An example translation table would
be '{Code_0 Code_1 Code_2 Code_3}'. The value, once extracted is used
as a zero-based index into the translation table to determine the string to
display.
Then there appears an optional selection table within parentheses '(...)'.
This is a string of numbers separated by spaces '(0 1)'. The selection table
lists the translation table entries which the user may select from when
setting the parameter. This is not necessarily the same as the entries which
may be displayed.
Then there appears an optional button designator. This will be one of 'B',
'I', 'L', 'T', or 'N'.
B- Indicates a button which pops up an input dialog prompting the
user for a new value using the designated input format. The input
format is specified from the 'B' through the subsequent semicolon.
Alarm Information
Translation Table
Selection Table
Button Designator