Do Nested Loops in LabVIEW Execute in Parallel?

Updated May 3, 2018

Reported In


  • LabVIEW

Issue Details

I have a for loop nested in a while loop (or a similar nested loop combination) that performs an operation like taking data or calculating a value in the outer loop, and does a different operation in the inner loop. When I run it, it works, except the outer while loop operation only executes once every time the for loop completes every iteration. How do I get it to run simultaneously? Is it expected that the while loop only runs when the for loop is done running?


Yes, it is expected that the inner, nested loop will complete its run before the outer loop runs again. To run them in parallel, the loops cannot be nested and the inner loop must be pulled out of the outer loop.