LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Break a For loop in LV8.2

 

I have Labview 8.2 and I need to break a for Loop before finish. I'm looking inside an array a word line by line and I need to breake it at the moment than find it.

Thank you 

 

0 Kudos
Message 1 of 2
(2,606 Views)

You cannot do that in LV 8.2  A conditional for loop was added in a later version of LV.

 

You can do what you want with a while loop.  Set it to stop when you find the desired value or when it reaches the end of the array.

 

Lynn 

0 Kudos
Message 2 of 2
(2,602 Views)