LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Parallel Loop Processing in LabView 2015 SP1

Solved!
Go to solution

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

 

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

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

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

Thanks a lot, Preston.  That is the reason.

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