
Section 6. Data Table Declarations and Output Processing Instructions
6-18
To obtain the average of the weighted values that occurred while the bin select
value was within a particular sub-range, the weighted value output must be
divided by the fraction of time that the bin select value was within that
particular sub-range (i.e., a standard histogram of the bin select value must also
be output; for each bin the weighted value output must be divided by the
frequency distribution output).
The frequency distribution histogram is specified by entering a constant in the
weighted value parameter. Enter 1 to have frequency output as the fraction of
the total time that the bin select value was within the bin range. Enter 100 to
have the frequency output as the percent of time. Enter a variable name for the
weighted value histogram.
At the user's option, the histogram may be either closed or open. The open
form includes all values below the lower range limit in the first bin and all
values above the upper range limit in the last bin. The closed form excludes
any values falling outside the histogram range.
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 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.
Kommentare zu diesen Handbüchern