
55
13.5 Commands
The following commands can be sent from a PC to the
smart
CHEM
-C
. Note that <cr> denotes
carriage return and <lf> denotes a line feed.
Action
Command Notes
Request current data ?D<cr>
Returns the current data of all parameters plus date and
time from the
smart
CHEM
-C
. The log number returned is
set to Zero.
Request logged data ?R<cr>
Returns all logged records from the
smart
CHEM
-C
memory. A <cr> needs to be sent back to the meter after
each line of data is received. The data ends with the
message
ENDS
<cr>
Erase logged data
?E<cr>
Erases all logged records from the
smart
CHEM
-C
memory. Returns the message
ERASED
<cr> to confirm that the records have been erased.
Request status
information
?S<cr>
Returns the model name, firmware version number,
instrument serial number and number of logged readings in
memory, for example…
smartCHEM-C•V1.0•S1234•2730•%<cr>,
where
•
are spaces. Note that the number of logged
readings is right-justified. The “
%
” is used internally by the
Win
TPS
software.
Request GLP
information
?G<cr>
Returns all calibration GLP information, plus the
instrument model, serial number and current date (see
section 13.7 for data format and hand-shaking).
Positions of Data
Fields
?P<cr>
Returns the number of data fields, along with their position
and length as follows…
5,1,10,12,8,21,4,26,10,42,5
This denotes 5 fields, the first of which is at column 1 and
is 10 characters long. The second field is at column 12 and
is 8 characters long and so on.
Data Column Header ?H<cr>
Returns a text string which can be used to provide headers
for each data field. Spaces are included to ensure that the
headers are correctly aligned with the data.