Can I Reset the Iteration Terminal on a While or For Loop?

Updated Sep 14, 2023

Reported In

Software

  • LabVIEW

Issue Details

I am using the iteration count terminal in a while or for loop, but need to reset it when a certain condition happens in my program. Is there a way to reset the value to zero?

Solution

No, there is no way to reset the value of the iteration count terminal. Instead, use a feedback node or shift register to implement a custom counter as seen in the image below: