---
title: "system.mes.spc.analysis.getSPCDataFormatEnum(name)"
id: "system-mes-spc-analysis-getspcdataformatenum-name"
project: "MES User Manual"
url: "https://docs.sepasoft.com/articles/user-manual/system-mes-spc-analysis-getspcdataformatenum-name"
updated: 2026-07-31T14:54:36Z
---

# system\.mes\.spc\.analysis\.getSPCDataFormatEnum\(name\)

**Sepasoft MES Module Suite**

### 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**