Campbell Scientific RTDAQ Software User Manual

Page 360

Advertising
background image

Appendix A. Campbell Scientific File Formats

The TOB2 or TOB3 binary file format has the following structure with each
header line terminated with a carriage return and line feed (CRLF):

ASCII Header Line 1

ASCII Header Line 2

ASCII Header Line 3

ASCII Header Line 4

ASCII Header Line 5

ASCII Header Line 6

Frame Header

Frame Body n

Frame Footer


Header line one describes the file environment with the following fields:

• Data file type (TOB2 or TOB3).

• Station name.

• Model name of the datalogger.

• Serial number of the datalogger.

• Operating system on the datalogger.

• Name of the program running in the datalogger.

• Signature of the program running in the datalogger.

• The time that the file was created.

Header line two contains:

• The name of the table as declared in the datalogger program.

• The non-timestamped record interval.

• The data frame size.

• The intended table size.

• The validation stamp.

• The frame time resolution.

Header line three describes the names for each field in a table record as
determined by the datalogger program.

Header line four describes the units associated with each field in the record.
Units are optional and are specified in the datalogger program, if they are
included. If no units are provided in the program, then an empty string
placeholder is placed in this line for that specific field.

A-4

Advertising