06-08-2010 08:43 AM
Hello,
I am new to LabVIEW (and programming in general). I am working on an old LabVIEW project at work that I have to improve. The project is using a camera to take a video, processing the frames, and showing the procesed image on the front pannel. So I need to create a buffer (I believe it should be a ring buffer) so taking the images and processing work in parallel (as close as possible to parallel). I am kinda lost as to how to do this, so I was wondering if someone could explain it to me.
Thanks!
Solved! Go to Solution.
06-09-2010 09:01 AM
06-09-2010 09:01 AM
06-09-2010 09:12 AM
06-11-2010 01:57 PM
06-11-2010 02:46 PM - edited 06-11-2010 02:46 PM
They are doing anything but running in parallel. You have a data connection from loop1 to loop2. Loop2 will not even start until loop1 finishes and the only data you'll get in in loop2 is the very last iteration from loop1.
You've already been told to look at producer/consumer architecture. Just go to File>New... and look at VI>From Template>Frameworks>Design Patterns.
06-14-2010 02:57 AM
06-15-2010 02:16 PM
I got it to work using the producer consumer pattern.
Thanks for all the help