03-01-2011 08:48 PM
Hi Everyone,
I have written a program as a project run in LabVIEW 2010 and it is written in three different levels: Laptop Level, RIO Level and FPGA Level. So everytime, I run the program, first I have to click RUN in FPGA VI , then RIO VI and Laptop VI and then the three VIs run together, until I press STOP on one of them.
So I was of the idea that if anything exists in LabVIEW which can call VIs in succession, so that they all RUN together , and when I want to stop the whole project, I can just click a common STOP button, it could save lot more resources. But could not find such examples.
Your comments are greatly appreciated.
---REGARDS,
03-01-2011 09:04 PM
I believe you can do it in many ways.simply drop all the 3 vi's in another vi with the sequence. (you will not be able to put them in the sequence structure since only the first vi will run and not the other two). Better would be if you could launch them dynamically in a seperate thread.
The stop part also could be done by dynamically triggering an event or by making use of functional globals. (depends on your architecture). Hope this helps.
Guru
03-01-2011 10:47 PM