Specifications
Section 6. Data Table Declarations and Output Processing Instructions
Parameter
& Data Type
Enter
BinSelect
Variable or
Array
The variable that is tested to determine which bin is selected. The Histogram4D
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 Data Format
IEEE4 IEEE 4 byte floating point
FP2 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.
Histogram4D (BinSelect, DataType, DisableVar, Bins1, Bins2, Bins3,
Bins4, Form, WtVal, LoLim1, UpLim1, LoLim2, UpLim2, LoLim3,
UpLim3, LoLim4, UpLim4)
Processes input data as either a standard histogram (frequency distribution) or
a weighted value histogram of up to 4 dimensions.
The description of the Histogram instruction also applies to the Histogram4D
instruction. The difference is that the Histogram4D instruction allows up to
four bin select inputs (dimensions). The bin select values are specified as
variable array. Each of the bin select values has its own range and number of
bins. The total number of bins is the product of the number of bins in each
dimension (Bins1 x Bins2 x Bins3 x Bins4).
6-19