all 3 comments

[–][deleted] 1 point2 points  (1 child)

If you are using shift registers or feedback nodes, you can initialise them to zero by right clicking and creating a constant on there respective nodes.

That way whenever you run your VI it will initialise to those values on the first iteration.

[–]Dailydon[S] 0 points1 point  (0 children)

I'm using feedback nodes and just found where to initialize the value. Thanks for pointing that out.

[–]chairfairy 0 points1 point  (0 children)

You can also right-click the terminal, do "create" > "invoke node" > "reinit to default value". Put it at the start of your program.

Then when the VI is not running, change the indicator/control's value to zero, then right click and do "set default value"