---
title: "CP Event"
id: "cp-event"
project: "MES User Manual"
url: "https://docs.sepasoft.com/articles/user-manual/cp-event"
updated: 2026-07-31T14:53:57Z
---

# CP Event

**Sepasoft MES Module Suite**

### Event properties

getCp()
Description

Returns the process capability value.
 
Syntax

**getCp()**

* Parameters

None

* Returns

[Double](/articles/user-manual/Data-Types-and-Formats) cp - The process capability value.

getCpk()
Description

Gets the process capability index.
 
Syntax

**getCpk()**

* Parameters

None

* Returns

[Double](/articles/user-manual/Data-Types-and-Formats) cpk - The index of the process capability.

getCpl()
Description

Gets the lower process capability index.
 
Syntax

**getCpl()**

* Parameters

None

* Returns

[Double](/articles/user-manual/Data-Types-and-Formats) cpl - The lower process capability index.

getCpm()
Description

Gets the process capability mean.
 
Syntax

**getCpm()**

* Parameters

None

* Returns

[Double](/articles/user-manual/Data-Types-and-Formats) cpm - The process capability mean.

getCpu()
Description

Gets the upper process capability index.
 
Syntax

**getCpu()**

* Parameters

None

* Returns

[Double](/articles/user-manual/Data-Types-and-Formats) cpu - The upper process capability index.

getCr()
Description

Gets the reciprocal of the process capability.
 
Syntax

**getCr()**

* Parameters

None

* Returns

[Double](/articles/user-manual/Data-Types-and-Formats) cr - The reciprocal of the process capability.

getData()
Description

Gets the data corresponding to this event.
 
Syntax

**getData()**

* Parameters

None

* Returns

AnalysisDataset data - Results of the process capability event.

getLcl()
Description

Gets the lower control limit.
 
Syntax

**getLcl()**

* Parameters

None

* Returns

[Double](/articles/user-manual/Data-Types-and-Formats) lcl - The lower control limit.

getLsl()
Description

Gets the lower specification limit.
 
Syntax

**getLsl()**

* Parameters

None

* Returns

[Double](/articles/user-manual/Data-Types-and-Formats) lsl - The lower specification limit.

getMean()
Description

Gets the mean.
 
Syntax

**getMean()**

* Parameters

None

* Returns

[Double](/articles/user-manual/Data-Types-and-Formats) mean - The mean.

getMeasurementCount()
Description

Gets the measurement.
 
Syntax

**getMeasurementCount()**

* Parameters

None

* Returns

[int](/articles/user-manual/Data-Types-and-Formats) measurementCnt - The measurement count.

getStandardDeviation()
Description

Gets the estimated standard deviation.
 
Syntax

**getStandardDeviation()**

* Parameters

None

* Returns

[Double](/articles/user-manual/Data-Types-and-Formats) standardDeviation - The estimated standard deviation.

getTarget()
Description

Gets the target.
 
Syntax

**getTarget()**

* Parameters

None

* Returns

[Double](/articles/user-manual/Data-Types-and-Formats) target - The target.

getUcl()
Description

Gets the upper control limit.
 
Syntax

**getUcl()**

* Parameters

None

* Returns

[Double](/articles/user-manual/Data-Types-and-Formats) ucl - The upper control limit.

getUsl()
Description

Gets the upper specification limit.
 
Syntax

**getUsl()**

* Parameters

None

* Returns

[Double](/articles/user-manual/Data-Types-and-Formats) usl - The upper specification limit.

setCp(cp)
Description

Sets the process capability value.
 
Syntax

**setCp(cp)**

* Parameters

[Double](/articles/user-manual/Data-Types-and-Formats) cp - The value to set as the process capability.

* Returns

Nothing

setCpk(cpk)
Description

Sets the process capability index.
 
Syntax

**setCpk(cpk)**

* Parameters

[Double](/articles/user-manual/Data-Types-and-Formats) cpk - The process capability index to set for.

* Returns

Nothing

setCpl(cpl)
Description

Sets the lower process capability index.
 
Syntax

**setCpl(cpl)**

* Parameters

[Double](/articles/user-manual/Data-Types-and-Formats) cpl - The lower process capability index to set for.

* Returns

Nothing

setCpm(cpm)
Description

Sets the process capability mean.
 
Syntax

**setCpm(cpm)**

* Parameters

[Double](/articles/user-manual/Data-Types-and-Formats) cpm - The process capability mean to set for.

* Returns

Nothing

setCpu(cpu)
Description

Sets the upper process capability index.
 
Syntax

**setCpu(cpu)**

* Parameters

[Double](/articles/user-manual/Data-Types-and-Formats) cpu - The upper process capability index to set for.

* Returns

Nothing

setCr(cr)
Description

Sets the reciprocal of the process capability.
 
Syntax

**setCr(cr)**

* Parameters

[Double](/articles/user-manual/Data-Types-and-Formats) cr - The reciprocal of the process capability to set for.

* Returns

Nothing

setLcl(lcl)
Description

Sets the lower control limit.
 
Syntax

**setLcl(lcl)**

* Parameters

[Double](/articles/user-manual/Data-Types-and-Formats) lcl - The lower control limit to set for.

* Returns

Nothing

setMean(mean)
Description

Sets the mean.
 
Syntax

**setMean(mean)**

* Parameters

[Double](/articles/user-manual/Data-Types-and-Formats) mean - The mean value to set for.

* Returns

Nothing

setStandardDeviation(standardDeviation)
Description

Sets the estimated standard deviation.
 
Syntax

**setStandardDeviation(standardDeviation)**

* Parameters

[Double](/articles/user-manual/Data-Types-and-Formats) standardDeviation - The estimated standard deviation to set for.

* Returns

Nothing

setUcl(ucl)
Description

Sets the upper control limit.
 
Syntax

**setUcl(ucl)**

* Parameters

[Double](/articles/user-manual/Data-Types-and-Formats) ucl - The upper control limit to set for.

* Returns

Nothing

**Sepasoft MES Module Suite**