LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to zero array within loop that displays 3 numbers when program is started?

i am starting a loop that displays 3 pieces of data that is updated throught the cycle. At the end it displaces the last result. When the program is run again i need these values to be reset. This is a loop inside of a loop inside of a loop.
0 Kudos
Message 1 of 2
(2,538 Views)
The most evident approach is just to use initialise array function on the first iteration of your loop, but... There are really many loops in your vi, so may be its better to use zeros as defaul values for your array indicaters and before each run apply a "Reset to Defaults" method. But for this you must make some kind of a higher level vi which will perform "reset to defaults" method on your vi as this method doesn't work in run-time (or may be I'm wrong?)...
0 Kudos
Message 2 of 2
(2,538 Views)