Owning Palette: Probability & Statistics PtByPt VIs
Requires: Full Development System
Finds the discrete histogram of the set of input data points specified by sample length based on the given bin specifications.
This VI is similar to the General Histogram VI.
![]() | Note By default, reentrant execution is enabled in all Point By Point VIs. |
![]() |
![]() |
![]() |
initialize, when TRUE, initializes the internal state of the VI. | ||||||||||||||
![]() |
max specifies the maximum value to include in the histogram. LabVIEW ignores this control if the Bins input array is not empty. | ||||||||||||||
![]() |
x is an input data point. | ||||||||||||||
![]() |
Bins specifies the boundaries of each bin of the histogram. The input Bins is an array of clusters where each cluster defines the range of values for a bin.
| ||||||||||||||
![]() |
inclusion specifies how to handle the boundaries of each bin. If array Bins is not empty, LabVIEW ignores the max, min, # bins, and inclusion inputs.
|
||||||||||||||
![]() |
sample length is the length of each set of incoming data. The VI processes each set of data. The default is 100. sample length must be greater than zero. | ||||||||||||||
![]() |
min specifies the minimum value to include in the histogram. LabVIEW ignores this control if the Bins input array is not empty. | ||||||||||||||
![]() |
# bins specifies the number of bins in the histogram. # bins is ignored if the Bins input array is not empty. The default behavior is to determine the number of bins according to Sturges' Rule, number of bins = 1 + 3.3log(size of(X)). | ||||||||||||||
![]() |
Histogram Graph displays the bar graph of the histogram of the input sequence x. The y-axis is the histogram count, and the x-axis is the histogram center values of the intervals (bins) of the histogram. | ||||||||||||||
![]() |
Histogram specifies the resulting histogram. | ||||||||||||||
![]() |
Axis specifies the center values for each bin of Histogram. The centers of each bin are set according to the following equation and returned in the output array Axis.
center[i] = (lower + upper)/2, where lower is the lower boundary of bin i, and upper is the upper boundary of bin i. |
||||||||||||||
![]() |
# outside contains information about points not falling in any bin upon successful execution of the VI.
| ||||||||||||||
![]() |
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
Submit feedback on this topic.
Visit ni.com/support for technical support.