1 file format, 2 file processing, File format -88 – Campbell Scientific LoggerNet Datalogger Support Software User Manual

Page 386: File processing -88

Advertising
background image

Section 8. Working with Data Files on the PC

8.3.2.1 File Format

The File Format is used to specify the format in which the data file should be

saved. Select the desired option from the list box:

ASCII Table Data (TOA5) – Data is stored in an ASCII comma separated

format. Header information for each of the data values is included, along

with field names and units of measure if they are available.

Binary Table Data (TOB1) – Data is stored in a binary format. Though

this format saves disk storage space, it must be converted before it is

usable in other programs.

Array Compatible CSV – Data is stored in a user-defined comma

separated format. This option can be used to produce output files from

table data dataloggers that are similar to those created by mixed array

dataloggers. When this option is chosen, the Array CSV Options button

becomes available, so that you can customize the data string for the CSV

file.

If an array ID is desired, select the

Include Array ID check box and enter

a value into the field. The value can range from 1 to 1023. The array ID

will be the first value in the array of data.

Select the appropriate timestamp options for the type of timestamp to

write to the file. Each time element will be output as a separate data value

in the array and the data values will be separated by a comma. Selecting

Year will output the year represented by four digits, YYYY (e.g., 2006).

The

Day will be represented as a Julian Day. The Hour/Minutes will be

represented by four digits (hhmm). When

Midnight is 2400 is selected,

the timestamp will reflect midnight as the current date with 2400 for the

Hour/Minutes. Otherwise, the timestamp will reflect midnight as the next

day’s date, with the Hours/Minutes as 0000.

The

Max and Min Timestamp Options is used to determine the type of

timestamp that will be used for Maximum and Minimum outputs that

include a timestamp along with the value. You can choose to output No

Timestamp, a timestamp that includes Hours/Minutes/Seconds (produces

two values, hhmm and seconds), a timestamp that includes Hours/Minutes

only, or a timestamp that includes Seconds only.

CSIXML – Data is stored in XML format with Campbell Scientific

defined elements and attributes. For more information, refer to Appendix

B, Campbell Scientific File Formats.

The file format is reflected in the default filename by the prefix of TOA5,

TOB1, CSV, or CSIXML added to the table name.

8.3.2.2 File Processing

Use Filemarks – CRBasic dataloggers have a FileMark instruction that allows

you to store a filemark along with the data. These filemarks are ignored by the

LoggerNet or PC400 data collection process. However, in CardConvert you

can convert the file with the

Use Filemarks option selected, and the file will be

stored as multiple files, based upon the filemarks. Each file created will be

given a numeric suffix prior to the *.dat extension. The first file is stored with a

8-88

Advertising