beautypg.com

Table 9. typical data table – Campbell Scientific CR200/CR200X-series Dataloggers User Manual

Page 91

background image

Section 9. Programming

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 that is declared

as an array of four elements in the datalogger program will be represented by

four field names: values(1), values(2), values(3), and values(4). Scalar variables

will not have array subscripts. There will be one value on this line for each

scalar value that is defined by the table. Default fieldnames are a combination

of the variable names (or alias) from which data are derived and a three letter

suffix. The suffix is an abbreviation of the data process that output the data to

storage. For example, “Avg” is the abbreviation for average. If the default

fieldnames are not acceptable to the programmer, FieldNames () instruction can

be used to customized fieldnames.

The third header line identifies engineering units for that field of data. These

units are declared in the “Define Units” section of the CRBASIC program, as

shown in

CRBASIC EXAMPLE. Definition and Use of a Data Table

(p. 79).

Units are strictly for documentation.

Subsequent lines are observed data and associated record keeping. The first

field being a timestamp, the second the record (data line) number.

Read More! See

TABLE. Abbreviations of Names of Data Processes

(p. 90) for

a list of default field names.

Table 9. Typical Data Table

TOA5

CR200(X)

CR2xx

No_SN

CR200(X).Std.01

Data.CR2

4098

OneMin

TIMESTAMP

RECORD

BattV_Min

T109_C_Avg

Rain_mm_Tot

TS

RN

Volts

Deg C

Mm

Min

Avg

Tot

12/30/2010
12:59:00 PM

0

12.52359

-7.390147

0

12/30/2010
1:00:00 PM

1

12.56724

-6.412211

0

12/30/2010
1:01:00 PM

2

12.52695

-6.267832

0

12/30/2010
1:02:00 PM

3

12.56472

-6.298645

0

79