---
title: "system.mes.spc.controllimit.getLimitInfo(filter)"
id: "system-mes-spc-controllimit-getlimitinfo-filter"
project: "MES User Manual"
url: "https://docs.sepasoft.com/articles/user-manual/system-mes-spc-controllimit-getlimitinfo-filter"
updated: 2026-07-31T14:55:55Z
---

# system\.mes\.spc\.controllimit\.getLimitInfo\(filter\)

**Sepasoft MES Module Suite**

### system.mes.spc.controllimit.getLimitInfo(controlLimitFilter)

Query information about set control limit values with associated timestamp, limit, definition, and attribute.

Returns a dataset of limit values, dates, and information on the associated definition, attribute, and product code.

Commonly Used To:

* Select an attribute and product and show a history of when control limits changed.
* Return a dataset/list of all control limits with timestamps and not just a specific value.

Syntax

**system.mes.spc.controllimit.getLimitInfo(controlLimitFilter)**

* Parameters

controlLimitFilter: A ControlLimitFilter object created from system.quality.spc.controllimit.createFilter that is used to filter what is returned.

* Returns:
    * A dataset with the following columns:
        * LimitValue
        * DefinitionName
        * DefinitionUUID
        * AttributeName
        * AttributeUUID
        * LimitName
        * LimitUUID
        * ProductCode
        * TimeStamp

* Scope

All

Code Example


```python
path = 'New Enterprise\New Site\New Area\New Line\New Location'
clFilter = system.mes.spc.controllimit.createFilter(path)
dataset = system.mes.spc.controllimit.getLimitInfo(clFilter)
sep = ",\t"
print sep.join(dataset.getColumnNames())
for row in range(dataset.getRowCount()):
	rowData = []
	for col in range(dataset.getColumnCount()):
		rowData.append(str(dataset.getValueAt(row, col)))
	print sep.join(rowData)
```

Output

```python
LimitValue,	DefinitionName,	DefinitionUUID,	AttributeName,	AttributeUUID,	LimitName,	LimitUUID,	ProductCode,	TimeStamp
0.0,	New3,	e4f8f9bd-d415-4814-9f6a-facbc9f6b4fa,	Width,	bc129775-08d8-41f4-b873-c716d1f9bd80,	Individual LCL,	ddb8f56f-589f-4167-a62c-23793d8705ed,	None,	Fri May 28 10:40:59 PDT 2021 
```


**Sepasoft MES Module Suite**