B.4 default tables, B.4 default – Campbell Scientific PC400 Datalogger Support Software User Manual

Page 231

Advertising
background image

Appendix B. Table-Based Dataloggers

Data tables can also be event driven rather than interval driven. That is, a new
record is stored when a specified event occurs rather than based on time.

Each table is completely independent of any other tables and all records in a
given table have the same number of fields.

B.4 Default Tables

Each table-based datalogger has a set of default tables plus the tables created
by the datalogger program. The four default tables in the CR10X-TD family of
dataloggers, are Timeset, Errorlog, Inlocs, and Status. The only default table in
CR800, CR1000, CR5000, CR9000, and CR200 dataloggers is Status.

Timeset Table – The Timeset table contains a history of clock sets for the

datalogger. It includes three fields: TimeStamp, RecordNumber, and
OldTime. TimeStamp is the time and date the clock was set.
RecordNumber is incremented each time the clock is set. When the
datalogger is reset or a new program is loaded, RecordNumber is reset to 1.
OldTime is the datalogger’s clock value before the time was set (CR10X-
TD family dataloggers only).

Errorlog Table – The Errorlog table contains any errors that occur in the

datalogger. It includes three fields: TimeStamp, RecordNumber, and
ErrorCode. TimeStamp is the time and date the error occurred.
RecordNumber is incremented each time an error occurs. When the
datalogger is reset or a new program is loaded, RecordNumber is reset to 1.
ErrorCode is the code returned by the datalogger when an error occurs.
Refer to the datalogger user’s manual for a list of all error codes (CR10X-
TD family dataloggers only).

Inlocs Table (CR10X-TD family dataloggers) or Public Table (CR-x000

dataloggers) – When a datalogger measures a sensor, the sensor reading is
stored in a temporary register called an input location or variable. With
each new measurement, the old value is overwritten by the new value. The
Inlocs or Public table contains a time stamp, record number, flag status,
port status, and the reading from each sensor scanned or user created input
locations.

Status Table – The Status table contains information on the datalogger.

Data is written to the table with each datalogger program execution. Note
that the actual fields contained in the table are datalogger-specific. Table
B-1 below describes typical fields that are given in the Status table. Not
all fields will be present or applicable for all dataloggers. See the
datalogger operator’s manual for specifics.

B-7

Advertising