|Download Help (Windows Only)|
For example, consider a statechart that implements logic similar to a programmable logic controller (PLC). This statechart might read input data, execute an action, and then return output data. The output data from one iteration does not depend on output data from any previous iteration. In this situation, you can configure the statechart to reset the output data between iterations. Resetting output data frees up memory for other uses.
Conversely, consider a statechart that implements logic similar to a proportional-integral-derivative (PID) controller. PID controllers must take into account the history of the error. In this situation, you can configure this statechart to cache the output data between iterations. Storing output data requires memory in which LabVIEW stores the data.
Complete the following steps to specify either behavior.
The new setting takes effect after you generate code for the statechart.