C-Link Protocol Commands
Datalogging
B-24
Model 42
i
Trace Level Instruction Manual
Thermo Fisher Scientific
Send:
set malloc lrec 10
Receive:
set malloc lrec 10 ok
set copy sp to lrec
set copy sp to srec
set copy sp to stream
These commands copy the current selections in scratch pad (sp) into the
long record, short record, or streaming data list. The example below copies
the current list in scratch pad into the long records list.
Send:
set copy sp to lrec
Receive:
set copy sp to lrec ok
set copy lrec to sp
set copy srec to sp
set copy stream to sp
These commands copy the current contents of the long record, short
record, or streaming data list into the scratch pad (sp). These commands
are useful in easy modification of current long record, short record, or
streaming data lists. The example below copies the current list of long
records into the scratch pad.
Send:
set copy lrec to sp
Receive:
set copy lrec to sp ok
sp field
number
This command reports the variable
number
and name stored at index in the
scratch pad list. The example below shows that the field 5 in the scratch
pad is set to index number 13, which is for the variable pressure.
Send:
sp field 5
Receive:
sp field 5 13 pres
set sp field
number value
number
= 1-32 is the maximum number of fields in long and short record
lists.
number
= 1-18 is for streaming data lists.
This command sets the scratch pad field
number
(item number in scratch
pad list) to
value
, where
value
is the index number of a variable in the
analog out variable list. Available variables and their corresponding index
numbers may be obtained using the command “list var aout”. The “set sp
field” command is used to create a list of variables which can then be
transferred into the long record, short record, or streaming data lists, using
the “set copy sp to lrec”, “set copy sp to srec”, or “set copy sp to stream”
commands.