---
title: "system.mes.spc.analysis.getSPCDataFormatEnumName(displayName)"
id: "system-mes-spc-analysis-getspcdataformatenumname-displayname"
project: "MES User Manual"
url: "https://docs.sepasoft.com/articles/user-manual/system-mes-spc-analysis-getspcdataformatenumname-displayname"
updated: 2026-07-31T14:57:13Z
---

# system\.mes\.spc\.analysis\.getSPCDataFormatEnumName\(displayName\)

**Sepasoft MES Module Suite**

### system.mes.spc.analysis.getSPCDataFormatEnumName(displayName)

Returns the name of the SPCDataFormat from the specified display name. The display name is the user friendly name where the name cannot contain spaces. The SPC data formats represent the control chart types and is used when specifying the kind SPC results to return.

| ![Warning](/resources/Storage/user-manual/user-manual/Warning.png) | **Scripting Function modifications in**<br><br>MES 3.79.3 RC 5 and later<br>MES 3.81.4 RC 5 and later |
| --- | --- |

Syntax
 
system.mes.spc.analysis.getSPCDataFormatEnumName(displayName)

* Parameters

String **displayName** - The User friendly display name of the SPC data format. Ex: "Process Capability" vs. "CP"

* Returns

The name of the SPCDataFormat.

* Scope

All

Code Example

```python
print system.mes.spc.analysis.getSPCDataFormatEnumName('Process Capability')
```

```
>>> 
CP
>>> 
```


**Sepasoft MES Module Suite**