Get Control Limit Value

Sepasoft MES Module Suite

Getting Control Limit Value

Warning

Stable Version: 3.81.5 and later

Release Candidate: 3.81.4 RC6 and later

Python
defName = 'Single Attribute'
definition = system.mes.spc.definition.getSampleDefinition(defName)
locationPath = 'Enterprise\El Dorado Hills\Packaging Area\Packaging Line 1\Inspection Station 1'
attributeName = 'Diameter'
limitName = 'Individual UCL'
print system.mes.spc.controllimit.getControlLimitValue(definition, locationPath, attributeName, limitName)

Getting Control Limit Value when Only if Save Control Limits by Product Code is set on the Enterprise Root

Python
defName = 'Single Attribute'
definition = system.mes.spc.definition.getSampleDefinition(defName)
locationPath = 'Enterprise\El Dorado Hills\Packaging Area\Packaging Line 1\Inspection Station 1'
attributeName = 'Diameter'
limitName = 'Individual UCL'
product = 'Product A'
print system.mes.spc.controllimit.getControlLimitValue(definition, locationPath, attributeName, limitName, productCode=product)





Sepasoft MES Module Suite