LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

calling a VI in another VI

What I want to do is have 4 buttons on the front panel of one program. This program will be the one mailny in use. But now I need help with:
If I hit one button, then that code should run. If I hit the 2nd button, another VI should run. If I hit the 3rd button, the 3rd program should run and if I hit the 4th butotn the 4th programs hould run.
What I want ot know is how to lik these buttons to 4 different programs and be able to call all from one main program?
0 Kudos
Message 1 of 2
(2,203 Views)
 

The easiest way is to use an event structure and a value change event for each boolean. Put the subVI in each event.

This is very basic. You should probably look at the learning LabVIEW resources available at https://learn.ni.com/learn/article/labview-tutorial.

0 Kudos
Message 2 of 2
(2,200 Views)