C-Link Protocol Commands
Datalogging
Thermo Fisher Scientific
Partisol 2000
i
and Partisol 2000
i
-D Instruction Manual
B-13
lrec
aa:bb oo-pp-qq yy
srec
aa:bb oo-pp-qq yy
rec
= The starting record index number (1=most recent)
num
= The number of records to return (1 to 10)
x
= | 0 | 1 |
: Reply termination format (see “set format
format
”
command)
y = | 0 | 1 | 2 | : Output format (see “set lrec/srec format
format
”
command)
aa
= hours (01 to 23)
bb
= minutes (01 to 59)
oo
= month (01 to 12)
pp
= day (01 to 31)
= year
These commands output lrec or srec logged data. The output format is
determined by the “set lrec format”, and “set srec format” commands. The
logging time is determined by the “set lrec per” and “set srec per”
commands. For details on how to decode the flag fields within these
records, see
Figure B–1
.
Send:
lrec
5
Receive: lrec
5
12:30,2010Mar01,flags,20130000,flow,0.00,p-amb,778,p-
flt,777,p-pmp,0.0,t-amb,24.6,t-flt,-99.9,t-
fcmp,26.5,tdelt,-
124.53,rh,9.5,wspd,1548.0,wdir,3096.0,wvel,242.5,elap-
tm,1,statcode,00000402
lrec format
srec format
erec format
These commands report the output format for lrecs and srecs, and erec data
in various formats such as ASCII without text, ASCII with text, or binary.
The following example shows the output format for lrecs is ASCII with
text, according to
Table B–2
.
Send:
lrec
format
Receive: lrec
format
1
set lrec format
format
set srec format
format
set erec format
format
These commands set the output format for lrecs and srecs, and erec data,
according to
Table B–2
. The following example sets the lrec output format
to ASCII with text.
Send:
set lrec format 1
Receive:
set lrec format 1 ok