beautypg.com

Campbell Scientific CR5000 Measurement and Control Module User Manual

Page 111

background image

Section 6. Data Table Declarations and Output Processing Instructions

6-17

The difference between the closed and open form is shown in the following
example for temperature values:

Lower range limit

10

°

C

Upper range limit

30

°

C

Number of bins

10
Closed Form

Open Form

Range of first bin

10 to <12

°

< 12

°

Range of last bin

28 to <30

°

> 28

°

Parameter
& Data Type

Enter

BinSelect
Variable or
Array

The variable that is tested to determine which bin is selected. The histogram 4D
instruction requires an array dimensioned with at least as many elements as
histogram dimensions.

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 histogram. The histogram that is eventually stored includes the inputs that
occurred while the disable variable was 0.
Value

Result

0

Process current input

0

Do not process current input

Bins

Constant

The number of bins or subranges to include in the histogram bin select range. The width
of each subrange is equal to the bin select range (UpLim - LowLim) divided by the
number of bins.

Form

Constant

The Form argument is 3 digits - ABC

Code

Form

A = 0

Reset histogram after each output.

A = 1

Do not reset histogram.

B = 0

Divide bins by total count.

B = 1

Output total in each bin.

C = 0

Open form. Include outside range values in end bins.

C = 1

Closed form. Exclude values outside range.

101 means: Do not reset. Divide bins by total count. Closed form.

WtVal

Constant or
Variable

The variable name of the weighted value. Enter a constant for a frequency distribution of
the BinSelect value.

LoLim

Constant

The lower limit of the range covered by the bin select value.

UpLim

Constant

The upper limit of the range of the bin select value.