Is Measurement Value within Control Limits

Sepasoft MES Module Suite

Is Measurement Value within Control Limits

Warning

Stable Version: 3.81.5 and later

Release Candidate: 3.81.4 RC6 and later

Python
locationPath = 'New Enterprise\California\Quality\Location A'
defUUID = 'dde09f41-0d73-4212-afcc-957571915930'
defName = 'Def 1'
attributeName = 'Temperature'
limits = 'XBar UCL,XBar LCL' #If '' then evaluate all limits for the default chart
productCode = ''
value = 100.5
result = system.mes.spc.controllimit.isValueWithinLimitsByDefUUID(defUUID, locationPath, attributeName, limits, productCode, value)
#Where result = List<ControlLimitResult> : [{XBar UCL, Upper, 134.0, True}, {XBar LCL, Lower, 85.0, True}]
print result
result = system.quality.spc.controllimit.isValueWithinLimitsByDefName(defName, locationPath, attributeName, limits, productCode, value)
print result[0].getLimitName()
print result[0].getLimitType()
print result[0].getLimitValue()
print result[0].getResult()





Sepasoft MES Module Suite