system.mes.spc.analysis.getSPCDataFormatEnum

Sepasoft MES Module Suite

system.mes.spc.analysis.getSPCDataFormEnum

system.mes.spc.analysis.getSPCDataFormatEnum(value)

system.mes.spc.analysis.getSPCDataFormatEnum(value)

Returns SPCDataFormat for the specified ordinal value. The SPC data formats represent the control chart types and is used when specifying the kind SPC results to return.

Syntax

system.mes.spc.analysis.getSPCDataFormatEnum(value)

  • Parameters

Integer value - The ordinal value representing the SPCDataFormat.

0 - None
1 - XBarR
2 - XBarS
3 - Individual
4 - Median
5 - U
6 - C
7 - P
8 - NP
9 - Histogram
10 - Pareto
11 - Process Capability
12 - Process Performance
13 - Parts Per Million
14 - Anderson-Darling Test
15 - Box and Whisker
16 - Process Capability and Performance 

  • Returns

SPCDataFormat - A reference to the matching SPCDataFormat object.

  • Scope

All

Code Example

Python
for i in range(17):
	print i,'-',system.mes.spc.analysis.getSPCDataFormatEnum(i)





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

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

Returns SPCDataFormat for the specified name value. The SPC data formats represent the control chart types and is used when specifying the kind SPC results to return.

Syntax

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

  • Parameters

String name - The name value representing the SPCDataFormat.

"None"
"XBarR"
"XBarS"
"Individual"
"Median"
"U"
"C"
"P"
"NP"
"Histogram"
"Pareto"
"Process Capability"
"Process Performance"
Parts Per Million"
"Anderson-Darling Test"
"Box and Whisker"
"Process Capability and Performance"

  • Returns

SPCDataFormat - A reference to the matching SPCDataFormat object.

  • Scope

All

Code Example

Python
print system.mes.spc.analysis.getSPCDataFormatEnum('Box and Whisker')
print type(system.mes.spc.analysis.getSPCDataFormatEnum('Box and Whisker'))












Sepasoft MES Module Suite