LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help with parallel processes

Solved!
Go to solution

I'm trying to get a handel on parallel processes.  In the attached VI, I've started with the Producer/Consumer Design Pattern (Events).  I want to start two independant processes with two separate button pushes.  Each process works, but not independantly.  The second process waits for the first process to finish its execution before the second process starts.  Can anyone recommend what changes I need to make to be able to make the two process run independantly at the same time?

 

Thanks in advance.

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

Use two consumer loops and two queues.

 

Lynn 

Message 2 of 3
(2,598 Views)

Producer condumer is not running independently by design, you can add a specified timeout to your consumer to allow the bottom process to run independently but this is not really producer consumer, see attached

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 3 of 3
(2,596 Views)