Campbell Scientific PC208 Datalogger Support Software User Manual

Page 63

Advertising
background image

SECTION 4. SPLIT

4-9

TABLE 4.3-5. Effect of Out of Range Values for Given Output Options

OUTPUT OPTION

ON SCREEN

OUTPUT FILE

default, /#,

asterisk, blinking screen

blanks for bad data

/F

/P, /R, /S

asterisk, blinking screen

blanks for bad data in default file, asterisk
for printed or .RPT file, followed by Out of
Range value

/O

nothing

blanks for bad data

/G

data line; asterisk preceding Out

data line; asterisk preceding Out of

of Range element; blinking screen

Range value

/[comment]

asterisk, blinking screen

comment

Element numbers may be entered individually
(e.g., 2,3,4,5,6,7), or, in groups (e.g., 2..7) if
sequential. Range limits (lower to upper
boundary conditions) may be placed on
elements or groups of elements specified in the
SELECT or COPY lines. For example,
3[3.7..5],4..7[5..10] implies that element 3 is
selected only if it is between 3.7 and 5,
inclusive, and elements 4,5,6, and 7 must be
between 5 and 10, inclusive. Range testing is a
quick way to identify data problems. Table
4.3-5 summarizes what is seen on the screen
and in the OUTPUT file if out of range data are
encountered and various OUTPUT file options
are enabled.

Variables can be assigned names in the
SELECT parameter. For example, x = 4-
5(6*3.0) means that x is equal to element 4
minus the quantity of element 5 times the
product of element 6 times the number 3. A
numeric value is distinguished from an array
element by the inclusion of a decimal point.

Variables must be declared before they can be
used as a SELECT parameter. A variable
name must start with an alpha character, can
include numbering and must not exceed 8
characters. Variable names can start with the
same character but they must not start with
another complete variable name (e.g., the
variable XY is not valid if there is also the
variable X). A comma must follow each
variable statement, as with all SELECT
parameters. Once the variables have been
declared they can be used later in the SELECT
parameters (i.e., x = 4-5(6*3.0), y = 6/3, 2, 3, 6,
7, 7*x, 6+y). Variables can be defined in the
first 4 select lines only, but may be used in
subsequent select lines.

Processing is accomplished through arithmetic
operators, math functions, spatial functions, and
time series functions. The following is a list of
operators, math functions, and Time Series
functions supported by SPLIT.

OPERATORS

OPERATOR PRECEDENCE ORDER

(3 = high, 1 = low)

+ -

= addition, subtraction

1

* /

= multiplication, division

2

x Mod y

= Modulo divide of x by y

2

^

= exponentiation

3

Advertising