07-11-2017 05:44 PM
Hi,
I was looking into the parallel processing using LabView and I created a two simple loop VI with two counters to show me the loop count for each loop. And, what I have found is that there is only one loop will keep counting up while the other loop count stayed in 0.
I wonder what is wrong? I attached my VI. I don't know if anyone can give me some ideas?
Thanks.
Peggy
Solved! Go to Solution.
07-11-2017 06:14 PM
It may not be clear from the block diagram, but the top loop is waiting for the bottom loop to exit and take the boolean output from the bottom loop as an input to the upper loop.
What you'd need to do is instead create a local variable from the Stop boolean control and use that in the upper loop instead. You also need to change the mechanical action from latch to switch.
Take a look and let me know if you've got any other questions.
-Preston
07-12-2017 11:40 AM
Thanks a lot, Preston. That is the reason.