Sepasoft MES Module Suite
system.mes.spc.analysis.getSPCStoredResults(name, fromDate, toDate)
Returns SPC results for the specified stored SPC settings and date range.
|
Scripting Function modifications in MES 3.79.3 RC 5 and later |
Syntax
system.mes.spc.analysis.getSPCStoredResults(name, fromDate, toDate)
- Parameters
String name - The name of the stored SPC settings to base the results.
Date fromDate - The start of the date range to include in the results.
Date toDate - The end of the date range to include in the results.
- Returns
SPCResults - An instance of a SPCResults object containing the SPC data.
- Scope
All
Code Example
Python |
storedSPCSettingsName = 'Fill Level - CpPp' fromDate = system.date.addHours(system.date.now(), -1) toDate = system.date.now() results = system.mes.spc.analysis.getSPCStoredResults(storedSPCSettingsName, fromDate, toDate) print results.getTableResults() |
>>> Dataset [17R x 33C] >>>
Sepasoft MES Module Suite