Create Histogram Express VI

Owning Palette: Signal Analysis Express VIs

Requires: Base Development System

Computes a histogram for Signal.

Example

Dialog Box Options
Block Diagram Inputs
Block Diagram Outputs
 Add to the block diagram  Find on the palette

Dialog Box Options

ParameterDescription
ConfigurationContains the following options:
  • Number of bins—Specifies the number of bins in the histogram. The default is 10.
  • Maximum value—Specifies the maximum value to include in the histogram. The default is 3. This is best used with floating-point inputs. The maximum value is not included, so values that match it exactly are not included in the histogram.
  • Minimum value—Specifies the minimum value to include in the histogram. The default is –3.
  • Auto Configure—Automatically configures the histogram settings based on the input data. The Auto Configure button is enabled only after you wire valid data to Signal.
Amplitude RepresentationContains the following options:
  • Percent of total—Represents the value of each bin as a percentage of the total.
  • Sample count—Represents the value of each bin as the number of samples in that bin.
Input SignalDisplays the input signal. If you wire data to the Express VI and run it, Input Signal displays real data. If you close and reopen the Express VI, Input Signal displays sample data until you run the Express VI again.
Result PreviewDisplays a preview of the measurement. The Result Preview plot indicates the value of the selected measurement with a dotted line. If you wire data to the Express VI and run the VI, Result Preview displays real data. If you close and reopen the Express VI, Result Preview displays sample data until you run the VI again. If the cutoff frequency values are invalid, Result Preview does not display valid data.

Block Diagram Inputs

ParameterDescription
SignalSpecifies the input signal. The signal can be a waveform, a real array, or a complex array.
EnableEnables or disables the Express VI. The default is ON or TRUE.
ResetControls the initialization of the internal state of the VI. The default is FALSE.
error inDescribes error conditions that occur before this node runs.

Block Diagram Outputs

ParameterDescription
HistogramReturns the resulting histogram.
error outContains error information. This output provides standard error out functionality.

This Express VI operates similarly to the following VIs and functions:

Histogram

Example

Refer to the Express VI - Statistics VI in the labview\examples\Express VIs directory for an example of using the Create Histogram Express VI.

 Open example  Find related examples