From 6:00 PM CST Friday, Feb 15th - 2:00 AM CST Sunday, Feb 17th, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

# Measures of Integral of Error (G Dataflow)

Measures the performance of a control system by calculating the integral of the controller error.

## reset

A Boolean or a Boolean array that specifies the initialization of the internal state of the node.

 True Initializes the output to the current input value. False Does not initialize the output to the current input value.

Default: False

## error

Error of the controller.

This input accepts a double-precision, floating-point number or an array of double-precision, floating-point numbers.

This input changes to error signal when the data type is a waveform or a cluster of two arrays.

Default: 0

## error signal

Error signal of the controller.

This input accepts a waveform or a cluster of two arrays.

This input changes to error when the data type is a double-precision floating-point number or an array of double-precision floating-point numbers.

## type of integral

Criterion for calculating the integral of the controller error.

Name Value Description
Integral Error (IE) 0 Calculates the integral of error using the following equation: $\mathrm{IE}={\int }_{0}^{\infty }e\left(t\right)dt$.
Integral Absolute Error (IAE) 1 Calculates the integral of absolute error using the following equation: $\mathrm{IAE}={\int }_{0}^{\infty }|e\left(t\right)|dt$.
Integral Square Error (ISE) 2 Calculates the integral of square error using the following equation: $\mathrm{ISE}={\int }_{0}^{\infty }{\left[e\left(t\right)\right]}^{2}dt$.
Integral Time Absolute Error (ITAE) 3 Calculates the integral of time multiplied by absolute error using the following equation: $\mathrm{ITAE}={\int }_{0}^{\infty }t|e\left(t\right)|dt$.
Integral Time Error (ITE) 4 Calculates the integral of time multiplied by error using the following equation: $\mathrm{ITE}={\int }_{0}^{\infty }te\left(t\right)dt$.
Integral Time Square Error (ITSE) 5 Calculates the integral of time multiplied by square error using the following equation: $\mathrm{ITSE}={\int }_{0}^{\infty }t{\left[e\left(t\right)\right]}^{2}dt$.
Integral Square Time Error (ISTE) 6 Calculates the integral of square time multiplied by error using the following equation: $\mathrm{ISTE}={\int }_{0}^{\infty }{t}^{2}e\left(t\right)dt$.

Default: Integral Error (IE)

## dt

Loop-cycle time, or interval in seconds, at which this node is called.

If dt is less than or equal to zero, this node uses an internal timer with a one millisecond resolution.

This input is available only if you wire a double-precision, floating-point number or an array of double-precision, floating-point numbers to error.

Default: -1

## integral of error

Calculated integral of the controller error.

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices

Web Server: Not supported in VIs that run in a web application