8 variables, 9 numerical limitations – Campbell Scientific RTDAQ Software User Manual

Page 305

Advertising
background image

Section 10. Utilities

In this instance, out of range data refers to data outside of the
specified output range. It is not to be confused with out of range
data generated by the logger.

NOTE

10.3.3.1.8 Variables

Variables can be assigned names in the Select line. For example, x = 4-5

∗(6∗

3.0) means that x is equal to element 6, times the number 3, times element 5,
subtracted from element 4. 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 in the Select line. A variable name must start with an alpha
character, can include numbers and must not exceed eight 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
parameters in the Select line. Once the variables have been declared they can
be used later in the Select line (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 four Input File’s Select
lines
only, but may be used in subsequent Input File’s Select
lines.

NOTE

Illegal operations (e.g., logarithm of a negative number) will cause Split to
store blanks for the Output. It is possible to get a run time error (error 0/1) if
the floating point math exceeds the limits of the PC.

10.3.3.1.9 Numerical Limitations

The greatest number that can be output is determined by the field width (Output
File tab). If the width is eleven or greater, the maximum number is 99,999,999;
for widths from eight through ten the maximum is 99,999; for widths less than
eight the maximum is 9999. If a column is not large enough for a value, it will
be stored as a 9,999, 99,999 or 99,999,999 based on the column width. In some
instances, such as when a column is not large enough for the date function, you
will see the text "bad data" on the Split Runtime window.

10-35

Advertising