ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

while-loops nested in while-loop

Hi! I'm new to labview and I've got some problems. I want to program a control for a testing facility. therefore I want to program several while-loops  nested in each other, according to a designed Nassi-Shneiderman-diagram. So if the stop condition for an inner while loop is true (e.g. measure device mistake), the program should jump out of that while loop in the next outer while-loop. is that possible?
Thank you right now!

0 Kudos
Message 1 of 2
(3,605 Views)
Yes it is possible
When you stop the inner loop, from inside the inner loop, just wire/pass an appropriate stop condition ( stop if true/ continue if true) to the conditional terminal of the outer loop
keep cascading this for all outer while loops
 
Hope this helps
 
Dev
0 Kudos
Message 2 of 2
(3,602 Views)