Table 14. Typical Data Table
TOA5 CR1000 CR1000 1048 CR1000.Std.13.06 CPU:Data.cr1 35723 OneMin
TIMESTAMP RECORD BattVolt_Avg PTempC_Avg TempC_Avg(1) TempC_Avg(2)
TS RN Volts Deg C Deg C Deg C
Avg Avg Avg Avg
7/11/2007 16:10 0 13.18 23.5 23.54 25.12
7/11/2007 16:20 1 13.18 23.5 23.54 25.51
7/11/2007 16:30 2 13.19 23.51 23.05 25.73
7/11/2007 16:40 3 13.19 23.54 23.61 25.95
7/11/2007 16:50 4 13.19 23.55 23.09 26.05
7/11/2007 17:00 5 13.19 23.55 23.05 26.05
7/11/2007 17:10 6 13.18 23.55 23.06 25.04
The table Typical Data Table (p. 140) shows a data file as it appears after the
associated data table is downloaded from a CR1000 programmed with the code in
CRBasic example Definition and Use of a Data Table
(p. 142). The data file
consists of five or more lines. Each line consists of one or more fields. The first
four lines constitute the file header. Subsequent lines contain data.
Note Discrete data files (ASCII or binary) can also be written to a CR1000
memory drive using the TableFile() instruction.
The first header line is the environment line. It consists of eight fields, listed in
table TOA5 Environment Line
(p. 141).
Table 15. TOA5 Environment Line
Field Description Changed By
1
TOA5
2
Station name
DevConfig or CRBasic program acting on
the setting
3 Datalogger model
4 Datalogger serial number
5 Datalogger OS version New OS
6 Datalogger program name New program
7 Datalogger program signature New or revised program
8 Table name Revised program
The second header line reports field names. This line consists of a set of comma-
delimited strings that identify the name of individual fields as given in the
datalogger program. If the field is an element of an array, the name will be
followed by a comma-separated list of subscripts within parentheses that
identifies the array index. For example, a variable named Values, which is
declared as a two-by-two array in the datalogger program, will be represented by
four field names: Values(1,1), Values(1,2), Values(2,1), and Values(2,2). Scalar
variables will not have array subscripts. There will be one value on this line for
141