beautypg.com

Campbell Scientific ID-2000W Software User Manual

Page 62

background image

SECTION 6. IMPORT/EXPORT

6-8

TYPE

SIZE

DESCRIPTION

string

12 + NULL

ID-2000 data file signature. Must be “IDWIN 1.0” space
padded to 12 characters followed by a NULL byte

unsigned integer

2

Must be equal to 0

string

60 + NULL

First line of data file comments

string

60 + NULL

Second line of data file comments

string

60 + NULL

Third line of data file comments

long integer

4

Recording start time in seconds since midnight (00:00:00),
January 1, 1970, Universal Coordinated Time

unsigned integer

2

Number of parameters including calculated parameters but not
including TIME if it is a recorded parameter

unsigned integer

2

Number of calculated parameters

unsigned long integer

4

Number data scans (one reading of each parameter is a scan)

byte

1

0 if time is calculated by following rate information
1 if time data is included in the file. See NOTE 1

unsigned integer

2

Number of scanrates (0 if time data included in file or >0 if time
is to be calculated)

struct RATES

see NOTE 2

Data structure containing recording rate information

struct CHAN

see NOTE 3

Data structure containing parameter information

unsigned integer

2

Number of event markers

unsigned long integer

4 * number of
event markers

Scan numbers of event markers

double

8

Reference time in delta seconds from beginning of test. See
NOTE 4

byte

1

0 = single precision data (4 bytes)
1 = double precision data (8 bytes)

NOTE 1:
The time corresponding to each data point can either be calculated based upon the recording
rate and the time of day for the first data point or actual time data can be stored in the data file.
The most efficient method of handling time is for ID-2000 to calculate it. In order to do this the
data must have been recorded using one of the following methods:

All data was recorded using a single constant rate throughout the data file.

All parameters were recorded at the same rate for any give scan but the rate changed
one or more times during the data file.

If the data was not recorded using one of these methods then time data must be contained in
the data file. The time data must start at 0.0 seconds and continually increase through the file.