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

p Chart VI

Owning Palette: Control Charts VIs

Installed With: Statistical Process Control Toolkit

Computes points and limits for a p chart, a control chart for fraction non-conforming. Number of units inspected can be constant for all or vary for each element of r. Calculates both variable and constant chart limits. Optionally, you can choose a range of indices for samples to use and indices of samples to ignore in the control calculation. The actual number of samples the VI uses to calculate the control limits is also output. By default, control limits are calculated from the input samples. You can also calculate control limits from standard values by wiring the chart limit src input.

Details  

chart limit src specifies whether or not to use standard values for the chart limit calculations. If unwired this defaults to the most common case where the chart limits are calculated from the data in the input array(s). You do not have to wire this cluster unless you want the chart limits to be calculated from standard values. When using standard values the center line for the control chart, p-bar, is set to p0.
source selects one of two sources for chart limits calculation:
0from data—(Default) chart limits are calculated from the data in the input arrays as qualified by the index spec and indices to ignore inputs.
1use std p0—chart limits are calculated from the standard value p0.
std p0 is the standard p0 value to use when calculating chart limits from standard values. The center line for the control chart p-bar will then be set to p0.
r: # units non-conforming/sample unit is the number of units non-conforming in each sample inspected.
n: sample size (variable) is the number of units inspected per sample for each value of r. Use this array if a variable number of units were inspected for each entry in r. The array length must be the same the length of the array r.
n: sample size (constant) is the number of units in sample inspected. Use this input if the same number of units were inspected for each entry in r. Otherwise, if you are providing an array for n, leave this input unwired.
std error multiplier (3) is the multiplier to use for the upper and lower control limits. Normally you leave std error multiplier unwired, and the VI sets the control chart limits to ±3.0 standard errors. The default is 3.0.
index spec is used to choose a range of samples in c to use for the control limit calculation. If you do not wire this cluster, all elements in c input array are included in the control limit calculation.
start index is the index of the first element of c to include in the control limit calculation. Default is 0 or index of the first sample in the c array.
end index is the index of the last element of c to include in the control limit calculation. Default is 0 which selects the last sample in the c array.
indices to ignore is the indices of samples to exclude from the control limit calculation. Excluding samples is useful for eliminating out of control points from the control limit calculation. By default, this is an empty array.
# samples in calc is the number of samples used in the control limits calculation.
p: fraction non-conforming is the number of units non-conforming divided by the number inspected. This is the fraction non-conforming in each input sample. This is the array plotted on the p control chart.
UCLp is the variable limit for the upper control limits. If std error multiplier is three, this will be p-bar + 3 standard errors. The standard error calculation varies with n.
LCLp ist the variable limit for the lower control limits. If std error multiplier is three, this will be u-bar - 3 standard errors. The standard error calculation varies with n.
p chart limits contains the constant limits for the p chart.
average UCLp is the average value of the variable upper control limit for the p chart. If the number inspected is constant, use this for the upper control limit.
p-bar is the estimated fraction non-conforming for the process if calculated from the input data.
average LCLp is the average value of the variable lower control limit for the p chart. If the number inspected is constant, use this for the lower control limit.
standard error is the standard error associated with CLp.

p Chart Details

The control limit calculations are as follows:If standard values are used for the control limit calculations, then p-bar is set to std p0, otherwise, p-bar is calculated from the input samples as specified by the index spec and indices to ignore inputs.

if calculated from input data, otherwise








Resources


 

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