Computes single points for the x and moving Range Control Charts, and moving Average and moving Range Control Charts. This is useful for plotting control charts one point at a time while samples are collected. You must still use the x & mR or mX-bar & mR Chart VI to calculate the control limits for the chart. This VI saves the previous n-1 individual x values internally for calculating the moving Average and Range. This VI is reentrant so that multiple copies can be used simultaneously. FORMULAS: x = x mX-bar = mean(x, x1,...xn-1) mR = MAX(x, x1,...xn-1) - MIN(x, x1,...xn-1)


icon

Inputs/Outputs

  • cdbl.png individual x

    (DBL) - sample on which to compute the control chart points. Sample contains two or more individual observations.

  • ci32.png n: sample size (2)

    (I32) The number of individuals to use for the moving Range calculation. Min value is 2, max value is 25. Default value is 2.

  • cbool.png first point (F)

    (Boolean) - Use this to initialize the VI. This should be true for the first point, false afterwards. First point moving Range will be calculated as 0. By default this is False.

  • idbl.png individual x

    (DBL) - This is plotted on the x control chart.

  • idbl.png moving Average mX-bar

    (DBL) - This is plotted on the x control chart.

  • idbl.png moving Range mR

    (DBL) - the moving range of the individual x against the previous individual x which is saved internally. This is plotted on the moving Range control chart. For the first point, this will be 0.

  • ibool.png valid mX-bar/mR

    [Boolean] - This is set to TRUE when the VI has accumulated sample size n points to calculate the moving Average and Range.