Campbell Scientific PC400 Datalogger Support Software User Manual

Page 193

Advertising
background image

Section 9. Datalogger Program Creation with CRBasic Editor

Tablename.record(1,n) = the record number of the record output n records ago.

Tablename.output(1,1) = 1 if data were output to the table the last time the
table was called, = 0 if data were not output.

Tablename.timestamp(m,n) = element m of the timestamp output n records ago
where:

timestamp(1,n) = microseconds since 1990
timestamp(2,n) = microseconds into the current year
timestamp(3,n) = microseconds into the current month
timestamp(4,n) = microseconds into the current day
timestamp(5,n) = microseconds into the current hour
timestamp(6,n) = microseconds into the current minute
timestamp(7,n) = microseconds into the current second

Tablename.eventend(1,1) is only valid for a data table using the DataEvent
instruction, Tablename.eventend(1,1) = 1 if the last record of an event occurred
the last time the table was called, = 0 if the data table did not store a record or
if it is in the middle of an event.

TableName.EventCount = the number of data storage events that have occurred
in an event driven DataTable.

TableName.Tablefull = 1 to indicate a fill and stop table is full or a ring-mode
table has begun overwriting its oldest data, = 0 if the data table is not
full/begun overwriting oldest data.

TableName.TableSize = the size allocation, in number of records, of the
selected DataTable.

The values of Tablename.output(1,1) and Tablename.eventend
(1,1) are only updated when the tables are called.

NOTE

9-31

Advertising