Single Point x_mX-bar & mR VI
- Updated2024-11-20
- 3 minute(s) read
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)

Inputs/Outputs
![]() (DBL) - sample on which to compute the control chart points. Sample contains two or more individual observations. ![]() (I32) The number of individuals to use for the moving Range calculation. Min value is 2, max value is 25. Default value is 2. ![]() (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. ![]() (DBL) - This is plotted on the x control chart. ![]() (DBL) - This is plotted on the x control chart. ![]() (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. ![]() [Boolean] - This is set to TRUE when the VI has accumulated sample size n points to calculate the moving Average and Range. |