LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Stop For loop inside of a while loop

So I have a GPIB program running inside a for loop that is all inside a while loop.  The number of iterations is determined by the number of points selected on the front panel.  I want the entire program to stop after the set amount of iterations, but because of the while loop it just keeps running?

0 Kudos
Message 1 of 5
(2,853 Views)

Can you share your vi so we can understand better what you are trying to achieve.

 

 

Naqqash
0 Kudos
Message 2 of 5
(2,844 Views)

delete the while loop? 😄

0 Kudos
Message 3 of 5
(2,837 Views)

If I delete the while loop then the for loop only executes once and I need it to execute several times at the users discretion

 

0 Kudos
Message 4 of 5
(2,824 Views)

You say you want it to keep running, but you don't want it to keep running.  Which is it?

 

Please post your VI as was already asked so we can have an understanding of what you are trying to do.

0 Kudos
Message 5 of 5
(2,820 Views)