beautypg.com

Totalize (reps, source, datatype, disablevar) – Campbell Scientific CR5000 Measurement and Control Module User Manual

Page 121

background image

Section 6. Data Table Declarations and Output Processing Instructions

6-27

Parameter
& Data Type

Enter

Reps

Constant

The number of standard deviations to calculate. When repetitions are greater than 1, the
source must be an array.

Source

Variable

The name of the Variable that is the input for the instruction.

DataType

A code to select the data storage format.

Constant

Alpha Code

Numeric Code

Data Format

IEEE4

24

IEEE 4 byte floating point

FP2

7

Campbell Scientific 2 byte floating point

DisableVar

Constant,
Variable, or
Expression

A non-zero value will disable intermediate processing. Normally 0 is entered so all inputs
are processed. For example, when the disable variable is

0 the current input is not

included in the standard deviation. The standard deviation that is eventually stored is the
standard deviation of the inputs that occurred while the disable variable was 0.
Value

Result

0

Process current input

0

Do not process current input

Totalize (Reps, Source, DataType, DisableVar)

This instruction stores the total(s) of the values of the source(s) over the given
output interval.

Parameter
& Data Type

Enter

Reps

Constant

The number of totals to calculate. When repetitions are greater than 1, the source must be
an array.

Source

Variable

The name of the Variable that is the input for the instruction.

DataType

A code to select the data storage format.

Constant

Alpha Code

Numeric Code

Data Format

IEEE4

24

IEEE 4 byte floating point

FP2

7

Campbell Scientific 2 byte floating point

DisableVar

Constant,
Variable, or
Expression

A non-zero value will disable intermediate processing. Normally 0 is entered so all inputs
are processed. For example, when the disable variable is

0 the current input is not

included in the total. The total that is eventually stored is the total of the inputs that
occurred while the disable variable was 0.
Value

Result

0

Process current input

0

Do not process current input

WindVector (Repetitions, Speed/East, Direction/North, DataType,

DisableVar, Subinterval, SensorType, OutputOpt)

WindVector processes wind speed and direction from either polar (wind speed
and direction) or orthogonal (fixed East and North propellers) sensors. It uses
the raw data to generate the mean wind speed, the mean wind vector
magnitude, and the mean wind vector direction over an output interval. Two
different calculations of wind vector direction (and standard deviation of wind
vector direction) are available, one of which is weighted for wind speed.