system.mes.spc.analysis.loadStoredSPC(name)

Sepasoft MES Module Suite

system.mes.spc.analysis.loadStoredSPC(name)

Returns the SPC settings for the specified saved SPC settings name.

Warning

Scripting Function modifications in

MES 3.79.3 RC 5 and later
MES 3.81.4 RC 5 and later

Syntax

system.mes.spc.analysis.loadStoredSPC(name)

  • Parameters

String name - The name of the stored SPC settings.

  • Returns

SPCSettings - An instance of a SPCSettings object.

  • Scope

All

Code Example

Python
storedSetting = system.mes.spc.analysis.loadStoredSPC('Fill Level - CpPp')
results = system.mes.spc.analysis.executeMiscCalculation(spcsettings, 'Cppp')
print 'CPK', results.getValue('Cpk')
print 'PPK',results.getValue('Ppk')
>>> 
CPK 0.0689333333333
PPK 0.0701882527634
>>> 





Sepasoft MES Module Suite