2 file processing – Campbell Scientific RTDAQ Software User Manual

Page 273

Advertising
background image

Section 10. Utilities

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., 2009).
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.

The file format is reflected in the default filename by the prefix of either
TOA5, TOB1, CSV, or CSIXML added to the table name.

10.1.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 RTDAQ 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 _1 at the end of the root file name (e.g., TOA5_Mytable_1.dat). The number
is incremented by one with each new file saved. If a file with the same name is
found, the number will be incremented to the next available number.

Use Removemarks

-

When a compact flash card is removed from a CR1000

or CR3000 datalogger, a special mark is inserted in the last record. The
Removemark is similar in nature to the Filemark. In CardConvert, you can split
a file into multiple files, separated at the Removemarks, by converting the file
with the Use Removemarks option selected. As with the Use Filemarks
option, the first file stored uses a _1 at the end of the root file name and the
number is incremented by one with each new file saved.

Use Filemarks and Use Removemarks

can be selected at the same time, to

create a new file from the data table any time either of the marks is
encountered.

Use Time - This option is used to store the converted data into files based on
the timestamp of the data. When the Use Time check box is selected, the
Time Settings button becomes available. This button opens a dialog box that
is used to set a Start Date and Time, along with an Interval, which are used

10-3

Advertising