beautypg.com

Campbell Scientific PC400 Datalogger Support Software User Manual

Page 62

background image

Section 5. Split

Table data files contain the time and date as a single quoted string at the
beginning of each data record. Split handles the dates as long as you
include a colon separator as a placeholder for each of the fields in the
timestamp. 1[Year]:1[Day of Year]:1[Time of Day]:1[Seconds]

NOTE

See the examples below:

:1[60]::

Day of Year 60

1[2002]:1[60]:1[1250]: Year 2002, Day of Year 60, Time of Day 12:50

::1[1445]:1[30] Time of Day 14:45, Seconds 30

Logical “and” and “or” statements can be used when specifying the Start
Condition. A logical “and” statement means that all conditions must be true
for the statement to be true. Up to three conditions can be connected with
“and” statements. If too many “and” statements are used, an error message will
be displayed when you run Split.

The logical “or” statement means that if any of the conditions are true, then the
statement is true. Split allows up to six conditions to be connected with “or”
statements. Additionally, each “or” statement can contain up to three “and”
conditions. As with the “and” statements, if the maximum number of valid
statements is exceeded, an error message will be displayed.

These rules for logical statements also apply to the Stop and Copy Conditions.

An example of a simple logical “and” statement follows:

2[189]and3[1200]

Element two (the Julian day) must equal 189, and element three (the time in
hours/minutes) must equal 1200.

If the following “and” statement was used:

2[189]and3[1200]and4[92]and5[67]

an error would be returned because the maximum number of allowable “and”
statements has been exceeded.

A range can be specified for val

i

by putting “..” between the lower and upper

limit. For example:

2[189]and7[200..275]

In this example two conditions must be satisfied to start processing data. First,
the day of year must be 189, and second, element 7 must be between 200 to
275 degrees, inclusive.

5-14