Download Print this page

Examples - Thermo Scientific 48i Instruction Manual

Gas filter correlation co analyzer
Hide thumbs Also See for 48i:

Advertisement

Thermo Fisher Scientific

Examples

Some examples ('\n' is the C syntax for an end-of-line character):
'Concentrations\n'
This is a single text-only line.
'\n'
This is a single blank line.
' NO:3s\n'
This is a line which appears slightly indented. The text field is 'NO', the
value is taken from the third element of the data response, and interpreted
as a string.
' NO:18sBd.ddd;set no coef %s\n'
This is a line which also appears slightly indented. The next field is also
'NO', but the value is taken from the eighteenth element of the data
response, again interpreted as a string. A button appears on this line which,
when pressed, pops up an input dialog which will state "Please enter a new
value for NO using a d.ddd format." The string entered by the user is used
to construct the output command. If the user enters, for example, '1.234',
the constructed command will be 'set no coef 1.234'.
' NO:21f{Code_0 Code_1 Code_2 Code_3 Code_4 Code_5 Code_6
Code_7 Code_8 Code_9 Code_10 Code_11}Lset range no %d\n'
This is a line which appears slightly indented, the title is again 'NO', and
the value is the twenty-first element of the data response, interpreted as a
floating-point number. There is a no-translation button which creates a
selection list of twelve "Code nn" options. The number of the user
selection is used to create the output command.
'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 zero index 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
C-Link Protocol Commands
Record Layout Definition
Model 48i Instruction Manual
B-57

Hide quick links:

Advertisement

loading