Block Category: Integration


      x1: Derivative input signal.

      b (x2): Boolean signal. If the signal is floating point, it will be automatically truncated to integer. When the signal is 0, the resetIntegrator behaves like a normal integrator. When the signal goes to 1, the resetIntegrator takes the value of the reset input (r) for as long as the Boolean value stays high.

      r (x3): : Reset input.

Description: The resetIntegrator block integrates the input signal with an optional reset capability. It integrates the input signal using the integration algorithm established in the System Properties dialog. You can reset the resetIntegrator block to zero using Reset States.

Code Generation: When generating code for C2000 or ARM Cortex targets and you include one or more resetIntegrator blocks in your diagram and you activate Check for Performance Issues in the Code Generation dialog, Embed warns you that large RAM blocks are not supported for the target. You can continue with code generation; however, the generated code may not fit in the target RAM and the code will run slower.

When generating code for Arduino or MSP430 targets, you cannot include resetIntegrator blocks in your diagram. Embed halts code generation and issues a message to replace the block.

Checkpoint State: Contains the value of the integrator state at the checkpoint. If you have not checkpointed your simulation in the System Properties dialog, the default is 0. You can also enter a value in hexadecimal notation or as a C expression.

ID: Represents an identification number for the block. This number keeps track of the state number that Embed assigns to the integrator. The number of states in any diagram equals the number of integrators. The default is 0.

Initial Condition: Indicates the initial value of the integrator upon simulation start-up. This parameter can be overridden if  is non-zero on the first step of the simulation. The default is 0. You can also enter a value in hexadecimal notation or as a C expression.

Label: Indicates a user-defined block label that appears when View > Block Labels is activated.