LabVIEW Datalogging and Supervisory Control Module

Table of Contents

Plot Vertical Bar Graph with Limits VI

  • Updated2023-02-21
  • 3 minute(s) read

Plot Vertical Bar Graph with Limits VI

Owning Palette: Process Statistics Graphing VIs

Requires: DSC Module

Creates a vertical bar graph centered at each of the bin centers x[] and plots the specification limits and natural process limits as vertical lines against the bar graph. This type of bar graph is useful for viewing the results of a histogram against relevant limits.

You can turn on and off drawing of the specification limits or the natural process limits, and specify the sigma multiplier to use for the natural process limits (default 3), by wiring in the display mode. If you do not wire the display mode, the VI will draw the specification limits and natural process limits (at ±3 sigma) by default.

bin centers/axis x[] contains the x-axis values for the center of each histogram bin. Connect the x values output of the General Histogram VI to this input.
histogram y[] is organized so that each element of this array is arranged so that the number of observations in each bin of the histogram is from left to right. This is an output from the General Histogram VI.
upper spec limit is the upper specification limit of the process.
lower spec limit is the lower specification limit of the process.
process mean is the estimated process mean. See the description of the Process Mean & Sigma VI for an explanation of how the process mean and process sigma is calculated.
process sigma is the estimated process sigma.
display mode (T,T,3) is an optional display mode specifier. If unwired, the VI will draw the specification limits and the natural process limits by default. Cluster of the following inputs.
Note  If you wire the display mode cluster to change one of the default settings, you must specify all three elements.
show spec limits specifies whether to draw the specification limits. The default is TRUE.
show natural process limits specifies whether to draw natural process limits on the plot. The default is FALSE.
NP limit sigma specifies the sigma multiplier for the natural process limits. The natural process limits are drawn at process mean ± NPLimit sigma*process sigma. The default is 3.0.
vertical bar graph with limits is a centered vertical bar graph, in which each bar is the height given in the histogram input and is centered at the values given in the bin centers input.

Log in to get a better experience