
C-Link Protocol Commands
Datalogging
B-26
Model 410
i
Instruction Manual
Thermo Fisher Scientific
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 the index in
the scratch pad list.
The scratch pad is a temporary memory area which is used to set up lists of
selections for lrec, srec, or streaming data items. The user can copy any of
these lists to the scratch pad, modify individual elements in the list, then
save the scratch pad back to the original list.
The following example shows that field 5 in the scratch pad is set to index
number 8, which is for internal temperature.
Send:
sp field 5
Receive:
sp field 5 8 int temp
set sp field
number value
number
= 1-32 for lrec and srec lists, 1-8 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 output 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 lrec, srec, or streaming data lists, using the “set copy
sp to lrec”, “set copy sp to srec”, or “set copy sp to stream” commands.
Send:
set sp field 1 5
Receive:
set sp field 1 5 ok
stream per
This command reports the current time interval in seconds for streaming
data. The following example reports the streaming period is set to 10
seconds.
Send:
stream
per
Receive: stream
per
10
set stream per
number value
number value
= | 1 | 2 | 5 | 10 | 20 | 30 | 60 | 90 |120 | 180 | 240 | 300 |
This command sets the time interval between two consecutive streaming
data strings to
number value
in seconds. The following example sets the
number value to 10 seconds.
Send:
set stream per 10
Receive:
set stream per 10 ok