Integrates a real-valued signal and allows resetting. The integral is computed by multiplying i by the sample time and accumulating the result. If rst is 1, the integration is reset to 0. The integral is 0 in the first execution cycle.
Standard\Dynamic\IntegralWithReset
Name | Type | Description |
---|---|---|
i | real | The signal to integrate. |
rst | bool | 1 to reset the integration to 0, 0 otherwise. |
Name | Type | Description |
---|---|---|
o | real | The integral of i since rst was 1. |