LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RUn While loop once

I have a VI that is building a 2d array from 1d arrays. I want the vi to just run once every time i run it and only add one line to the new array. Any help is Greatly appreciated.

Mike
0 Kudos
Message 1 of 4
(3,717 Views)
Instead of using a while loop you should use a FOR loop for this type of operation.
0 Kudos
Message 2 of 4
(3,713 Views)
When i use a for loop the array writes over the previous value. is there a way i can just keep adding new values everytime i run it.

Thanks for thr reply

Mike
0 Kudos
Message 3 of 4
(3,709 Views)
The answer is here at the end of the thread.
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
Message 4 of 4
(3,701 Views)