DIAdem Help

Command: SPCProcessCapab

  • Updated2024-09-12
  • 5 minute(s) read

Display all  Hide all

Command: SPCProcessCapab

Calculates the mean, the sigma, and the capability indices of a process.

Call SPCProcessCapab(ChnList, SPCUSL, SPCLSL, SPCSigmaType, SPCSigmaMult, SPCMovingRangeNo, SPCSigmaTol)

Input Parameters

ChnList Specifies one or more channels.
SPCUSL Specifies the upper specification limit of a process.
SPCLSL Specifies the lower specification limit of a process.
SPCSigmaType Specifies which method to use for calculating the process sigma.
SPCSigmaMult Specifies the sigma multiplier for calculating the upper and the lower natural process limits.
SPCMovingRangeNo Specifies the number of samples that are to be included in the moving range if the sample size is 1, which means the channels with length 1.
SPCSigmaTol Specifies the sigma multiplier for calculating the process capability index.

Return Parameters

SPCProcessMeanReceives the mean value of a process.
SPCProcessSigmaReceives the standard deviation (sigma) of a process.
SPCUpperNPLReceives the upper natural process limit of a process.
SPCLowerNPLReceives the lower natural process limit of a process.
SPCCpUReceives the one-sided upper process capability index CpU.
SPCCpLReceives the one-sided lower process capability index CpL.
SPCCpReceives the process capability index Cp.
SPCCpkReceives the process capability index Cpk.
SPCFracNConfReceives the estimated fraction nonconforming in ppm based on a normal process distribution
SPCUFracNConfReceives the estimated fraction nonconforming in ppm above the upper spec limit based on a normal process distribution.
SPCLFracNConfReceives the estimated fraction nonconforming in ppm below the lower spec limit based on a normal process distribution.
Note  Additionally DIAdem saves the calculation results in the following custom properties of the result channel: Result~SPC~ProcessMean, Result~SPC~ProcessSigma, Result~SPC~Limits~UpperNPL, Result~SPC~Limits~LowerNPL, Result~SPC~CapabilityIndexes~CpU, Result~SPC~CapabilityIndexes~CpL, Result~SPC~CapabilityIndexes~Cp, Result~SPC~CapabilityIndexes~Cpk, Result~SPC~NonconformingParts~FracNConf, Result~SPC~NonconformingParts~UpperFracNConf, and Result~SPC~NonconformingParts~LowerFracNConfResultSPCCp.

Example

The following example calculates the mean, the standard deviation, and the capability indexes of a process. The upper specification limit is 5.2 and the lower specification limit is 4.8. DIAdem uses the average sample standard deviation from samples (number of channels) to calculate the standard deviation of the process with the respective sample size N (respective channel length).

VBScriptPython

 

Dim oMyChannelList
Set oMyChannelList = Data.GetChannels("Grp/Sample*")
Call SPCProcessCapab(oMyChannelList, 5.2, 4.8, "From StdDev", 3, 2, 6)

Dialog Box Call

Call SUDDlgShow("Main", ResourceDrv & "AnaSPCProcessCapab")

Process capability