Stores data from one execution or loop iteration to the next when the enable input is True.
This node operates similarly to shift registers in loops. The node stores data when the loop completes an iteration and then sends the stored data to the next loop iteration. The next iteration reads the data, writes a new value to the data, and sends it through the loop again. This process continues until the loop completes execution.
By default, the node stores data from only the previous execution or iteration. However, you can configure the node to store n samples of data by delaying the output of the node for multiple executions or iterations. If you increase Delay to more than one execution or iteration, the node outputs only the initial value until the delay you set is complete. The node then begins to output the stored values in sequential order. The number on the node represents the number of delays you set.
The data to be stored and sent to the next execution or iteration.
The value for the first execution or loop iteration.
Default: 0
A Boolean value that determines whether this node stores data from one execution or loop iteration to the next.
True | The node stores data from one execution or loop iteration to the next. |
False | The node continues to output the value from the last execution or iteration where enable? was set to True. |
The data stored from the previous execution or iteration.
When you set Delay to two or more executions or iterations, you can wire an array to the initial value input to initialize each iteration value. The first element in the array initializes the first iteration value, the second element in the array initializes the second iteration value, and so on.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Not supported in VIs that run in a web application