LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I call a VI in Application Builder as a 'Pop Up' VI

Hi all.

 

I am currently using LV2011 Full Professional Version and am having problems when trying to build a .exe file. Any help would be much appreciated

 

In my application I have created a main VI which calls another VI to pop up when asked (click of boolean button), using "Call VI Reference after building a file path).This works fine in the development zone of LabVIEW, however, I am now trying to build a stand alone executable which runs the main VI and calls up the pop up VIs.

 

I have attached an example of the current code I use for calling up a VI (Pop Up Example.vi) and the Pop Up VI (Example Image.vi). (Please note, for the code to execute the two files must be stored in the same directory).

 

What modifications do I have to do to the code/what do I do in Application Builder to get these VIs to run as an executable file?

 

Many Thanks.

 

Regards,

 

George Hill 

 

 

 

Download All
0 Kudos
Message 1 of 3
(2,344 Views)

Georg,

 

you really should not move outside the exe when doing such things except you want to build a plug-in architecture (adding/changing functions without recreating the exe).

You have to include the depending subVI into the project and add it into the exe by selecting it as "always include".

Make sure that paths are correct for both exe and development environment.

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 3
(2,331 Views)

Hi George,

 

Norbert is absolutely correct. You will have more success if you put all the files you require in the same project at which point you can then create a new .exe. In the Application Builder you can then add the support vi files (the one you want added as a pop up) and this will then be included.

 

In order to see the front panel of the .vi called, there are settings that you can employ from the VI Properties dialoge box specifically for run-time.

 

I hope that this helps.

 

Many thanks

Liam A.
National Instruments
Applications Engineer
0 Kudos
Message 3 of 3
(2,311 Views)