2 short cut, 1 overview – Campbell Scientific RTDAQ Software User Manual

Page 91

Advertising
background image

Section 5. Program Creation and Editing

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

5.2 Short Cut

Although RTDAQ does not support the older “mixed-array”
group of Campbell Scientific dataloggers (such as the CR10X,
CR23X, and CR510), the Short Cut application included with
RTDAQ is the same one included for use with LoggerNet and
other Campbell Scientific support software. Because of this, the
documentation included here contains references to mixed-array
dataloggers. For most RTDAQ implementations these
references can be ignored.

NOTE

5.2.1 Overview

The Short Cut program generator creates programs for Campbell Scientific
dataloggers in five easy-to-follow steps. Using a wizard-like interface, you
create a new or open an existing program, select the datalogger and specify
how often to make measurements, choose which sensors you wish to measure,
select intervals or trigger conditions on which to store data and what
processing to perform on the raw measurements for final storage, and finally

5-31

Advertising