LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

parallel process in labview

I have an image that i split in 2; left and right, and they both go through the same process of plotting a line. In order to see the process for both images, I have to do parallel processing to see the lines for both left and right graphs.

I put a while loop on both left an right image processes, but i still have the same output. Can someone help me? 

 

screen.JPG 

0 Kudos
Message 1 of 6
(3,260 Views)
Your picture doesn't help us help you, i'm afraid, can you post the code?

There's generally no need for parallel processing to show 2 graphs, it's usually quite sufficient to plot them sequentially.

/Y
G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 6
(3,250 Views)
front panel.JPG
0 Kudos
Message 3 of 6
(3,244 Views)

It doesn't look like a lot of processing, so like suggested above, just put both graphs / all code in one loop. See what happens.

 

Richard






0 Kudos
Message 4 of 6
(3,232 Views)
As a rule of thumb, copy-paste code is not usually a good thing. Like was stated above, there is not much processing, no need to do it in parallel. I would build the two arrays you have into a 2-d array. Then use an auto indexing for loop with all the identical processing in it. From there you can build your x input and y input arrays for your graph and feed them to your xy graphs. Hopefully this is clear. If you post your code in version 8.5 I can draw it up for you.
0 Kudos
Message 5 of 6
(3,224 Views)
0 Kudos
Message 6 of 6
(3,207 Views)