Section 9. Programming
78
DataTable ()
Output Trigger Condition(s)
Output Processing Instructions
EndTable
A data table is essentially a file that resides in CR200(X) memory. The file is
written to each time data are directed to that file. The trigger that initiates data
storage is tripped either by the CR200(X)'s clock, or by an event, such as a high
temperature. Up to 8 data tables can be created by the program for a CR200(X)
(4 data tables for a CR200). The data tables may store individual measurements,
individual calculated values, or summary data such as averages, maxima, or
minima to data tables.
Each data table is associated with overhead information that becomes part of the
ASCII file header (first few lines of the file) when data are downloaded to a PC.
Overhead information includes:
•
table format
•
datalogger type and operating system version,
•
name of the CRBASIC program running in the datalogger
•
name of the data table (limited to 16 characters)
•
alphanumeric field names to attach at the head of data columns
This information is referred to as "table definitions."
TABLE. Typical Data Table
(p. 79) shows a data file as it appears after the
associated data table has been downloaded from a CR200(X) programmed with
the code in
CRBASIC EXAMPLE. Definition and Use of a Data Table
(p. 79).
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.
The first header line is the Environment Line. It consists of eight fields, listed in
TABLE. TOA5 Environment Line
(p. 78).
Table 8.
TOA5 Environment Line
Field Description
Changed
via
1
file type (always TOA5)
No Change
2
station name
DevConfig or Program
3
datalogger model
No Change
4
datalogger serial number
No Change
5
datalogger OS version
Send New OS
6
datalogger program name
Send New Program
7
datalogger program signature
Send / Change Program
8
table name
Change Program
Содержание CR200
Страница 32: ...Section 2 Quickstart Tutorial 22 ...
Страница 45: ...Section 3 Overview 35 3 3 Specifications ...
Страница 46: ...Section 3 Overview 36 ...
Страница 58: ...Section 4 Sensor Support 48 ...
Страница 62: ...Section 5 Measurement and Control Peripherals 52 ...
Страница 78: ...Section 8 CR200 X Configuration 68 ...
Страница 102: ...Section 9 Programming 92 ...
Страница 138: ...Section 11 Programming Resource Library 128 ...
Страница 156: ...Section 16 Support Software 146 ...
Страница 160: ...Section 17 Care and Maintenance 150 ...
Страница 166: ...Section 18 Troubleshooting 156 18 3 3 Diagnosis and Fix Procedures 18 3 3 1 Battery Voltage Test ...
Страница 167: ...Section 18 Troubleshooting 157 18 3 3 2 Charging Circuit Test Solar Panel ...
Страница 168: ...Section 18 Troubleshooting 158 18 3 3 3 Charging Circuit Test Transformer ...
Страница 169: ...Section 18 Troubleshooting 159 18 3 3 4 Adjusting Charging Circuit Voltage ...
Страница 170: ...Section 18 Troubleshooting 160 ...
Страница 184: ...Appendix A Glossary 14 ...
Страница 190: ...Appendix B Status Table and Settings 20 ...
Страница 192: ...Appendix C Serial Port Pin Outs 22 ...
Страница 211: ......