Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Create Histogram

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Computes a histogram for Signal.

Example

Dialog Box Options
Block Diagram Inputs
Block Diagram Outputs

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 in (no error)Describes error conditions that occur before this VI or function runs.

Block Diagram Outputs

ParameterDescription
HistogramReturns the resulting histogram.
error outContains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.

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

Histogram

Example

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


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit