You can design custom tests and select or deselect multiple tests at once using the Customize Tests function. You specify the description, desired number, and label. This option is available only for Variables and Attribute chart types.
dt << Control Chart Builder(
qc_col is the name of the column
qc_test is the test that failed
qc_sample is the sample number
qc_firstRow is the first row in the sample
qc_lastRow is the last row in the sample
One way to generate automatic alarms is to make a script and store it with the data table as a data table script or column property named QC Alarm Script.
obj = dt << Control Chart(
KSigma( 3 ),
You can create a control chart with tests that are spoken aloud using the Speak function. Try the following example:
You can have either of these scripts use any of the JSL alert commands, such as Speak, Write, or Mail.
A phase is a group of consecutive observations in the data table. For example, phases might correspond to time periods during which a new process is brought into production and then put through successive changes. Phases generate, for each level of the specified Phase variable, a new sigma, set of limits, zones, and resulting tests.
dt << Control Chart(
KSigma( 3 ),
Sigma( .29 ),
Avg( 4.3 ),
LCL( 3.99 ),
UCL( 4.72 )
Sigma( .21 ),
Avg( 4.29 ),
LCL( 4 ),
UCL( 4.5 )