Add Limit to Sample Definition 3.0

Overview

By adding a control limit to the sample definition, it will show as an option in the control charts and may also be used when evaluating signals. Creating a control limit and adding it to an existing sample definition can be done through scripting.

Applies To and Version Info

This feature applies to SPC module and is available in all versions.

Scripting

The control limit parameter must be a valid control limit that appears in the enterprise production item.


Example 1

Code
sampleDef = system.mes.loadMESObject('Case Inspection','SampleDefinition')
sampleDef.addLimit('c LCL')
system.mes.saveMESObject(sampleDef)


References

Sample Definition