LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to execute a while loop continously without iterating the for loop inside if a condition is satisfied

Solved!
Go to solution

I am attaching a VI in which when the reply 28 comes the for loop should stop and while loop should continue iterating. Can you show me one way for it

0 Kudos
Message 1 of 3
(2,187 Views)
Solution
Accepted by topic author perumpadapu

You can stop the for loop when a certain condition occur: http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/add_cond_to_for_loop/

Add a shift register to the while loop and implement the functionality like below:

disable.png


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 2 of 3
(2,173 Views)

thank you for your help. I'am very happy

0 Kudos
Message 3 of 3
(2,147 Views)