11-06-2011 05:24 PM
I have a rather large VI that runs multiple while loops with case strutures inside.
I would like to be able to shut off and on the while loops programmatically depending on events.(cycle complete or cycle started)
I need to store my measured data in a table but everytime I shut off the while loop the data I gathered is lost.
So it goes like this- measure analog voltage-put it in a numeric indicator...now I want to put in a table only once per cycle of my machine.
If the opeator pushes the reset button the table is available for a report generation acquisition.
Any help would be appreciated.
Thanks
Solved! Go to Solution.
11-07-2011 03:56 AM
Hi Schaef,
It sounds like Notifiers would be what you need to use. The link here shows how they can be used to synchronise parallel loops as well as how queues and local variables can achieve similar results. There is also a lot of information on Notifiers and how to use them in the LabVIEW Help pages.
I hope this is of use to you.
11-07-2011 10:30 AM
Do you want something like this?
11-07-2011 12:09 PM
Thanks David.
Can you send me the Loop_Control Sub VI so I can try it.
Thanks again,
Schaef.
11-08-2011 05:35 PM
Here it is.
11-09-2011 05:11 AM
Thank you very David.