Download Model 5014i - User Manual

Transcript
C-Link Protocol Commands
Datalogging
Send:
Receive:
set malloc lrec 10
set malloc lrec 10 ok
no of lrec
no of srec
These commands report the number of lrec and srecs stored memory. The
following example shows that 50 lrecs have been stored in the memory.
Send:
Receive:
no of lrec
no of lrec 50 recs
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 1 in the scratch pad is set to index
number 3, which is for the variable PM concentration pressure.
Send:
Receive:
sp field 1
sp field 1 3 PM
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:
Receive:
set sp field 1 34
set sp field 1 34 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:
Receive:
B-26
Model 5014i Beta Instruction Manual
stream per
stream per 10 sec
Thermo Fisher Scientific