LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling VIs in succession

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,

0 Kudos
Message 1 of 3
(2,548 Views)

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

Regards
Guru (CLA)
0 Kudos
Message 2 of 3
(2,541 Views)
Typically your RT and fpga runs all the time. You need to build and executable in the project right click the build and choose run at startup. This will deploy your vi and any time the RT powers on your program will run.
0 Kudos
Message 3 of 3
(2,532 Views)