Appendix B RS-232 Commands
B-21
Records
There are two types of records that can be stored: long records (lrec) and short (srec)
records. In addition, there is dynamic data (erec) that is constantly updated during the
operation of the instrument.
Both long and short records contain the time, date, flags, and concentrations; long records
also contain internal temperature, chamber temperature, pressure, sample flow, motor
speed, bias voltage, and agc intensity. The memory used to store data is organized in 15
blocks.
Each block contains 8192 bytes. Typically, a long record equals 40 bytes and a short
record equals 20 bytes. Therefore, the number of long records per block is approximately
8192/40=204 whereas the number of short records per block is approximately
8192/20=409.
The maximum number of records stored in the clink memory is equal to (the number of
long records per block multiplied by the number of blocks reserved) minus two.
set lrec blocks
dd
dd = 0 to 15
This command sets the number of blocks to be used for saving long records. 15 minus dd
equals the number of blocks to be used to save short records.
Send: "set lrec blocks 10"
Receive: "set lrec blocks 10 ok"
lrec mem size
These commands report the maximum number of long records that can be stored with the
current settings and the number of blocks reserved for long records. The example below
is for a long record.
Send: "lrec mem size"
Receive: "lrec mem size 2038 recs, 10 blocks"