11-30-2006 08:46 PM
11-30-2006 11:43 PM
George,
You are not passing data out of your while loop in the example vi.
To get an idea on how to go about it, in LabVIEW, Go to Find Examples>>Optimizing applications>>Synchronizing tasks Folder and take a look at how data is passed between while loops in same vi's/subvi's using Queues, Notifiers, semaphores with Global variables etc
Try incorporating the same logic in your code
After that, if you are still unable to do what you want, do not hesitate to ask us
Regards,
Dev
12-01-2006 01:11 PM
11-04-2010 08:17 AM
Hi there,
I am trying to do a very similar thing to George (who's name is strangely enough the same as mine!). I am trying to pass a true/false boolean signal out of a while loop before the loop has been stopped, and i have looked through the example codes that you suggested but i am still confused. I wonder if you could help me?
George
11-04-2010 09:51 AM
A LV programming architecture that is very useful is the producer/consumer design pattern. Read about it HERE.