LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Call a SubVi in Labview

Solved!
Go to solution

Hello,

 

I have a Main VI running. Now by pushing a Button, I wouldl like to open another VI or a SubVi.

 

How do I do that?

 

Thanks

 

0 Kudos
Message 1 of 7
(11,555 Views)

Click on Help/Find Examples then go to Programmatically Cpontrolling VIs. Click on Dynamically Loading and Calling VIs and look for the Dynamic Load Example.vi

=====================
LabVIEW 2012


0 Kudos
Message 2 of 7
(11,552 Views)

Hello,

 

Yes I have been playing with that example. But it has too many functions in it. I have used Labview about 6 years

ago writing Device drivers. But moved to Labwindows CVI and Visual C. I just want a very simple VI call

from another VI. To just have a button in the Main VI. By pushing the Button, the SubVi will come on.

 

I tried doing that by using Call By reference but not successfull.

 

Thanks

 

0 Kudos
Message 3 of 7
(11,537 Views)
Solution
Accepted by topic author bobby_y

Hi,


You may have a look at the attached VIs.


Regards,

Nitzz

(Give Kudos to good Answers, Mark it as a Solution if your porblem is Solved;)) 

 

Download All
Message 4 of 7
(11,525 Views)

why dont you use Event Case?

0 Kudos
Message 5 of 7
(11,523 Views)
With the help of SUB FRAME you can call any sub vi inside your main VI.. rachit kapoor www.rachitkapoor.leehoan.com
0 Kudos
Message 6 of 7
(11,521 Views)

Thanks

 

Regards

 

Bobby

 

0 Kudos
Message 7 of 7
(11,484 Views)