LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open subvis when running an application (exe file)

Hello,
 
I am working on an application where I depend on a subvi to remain open as the main vi performs its routine.  The idea is that the user can set various settings on the subvi.  As the subvi remains open when the main vi calls it, these settings remain and don't have to be fed the subvi everytime it is called from the main vi.
 
Now as I build an exe file with application builder this doesn't seems to work anymore as I can't open the subvi of an application.  Is there a work around or do I need to change my code, feeding all parameters to the subvi every time when calling it?
 
Thanks,
 
Jerome.
0 Kudos
Message 1 of 5
(3,176 Views)
How are you calling this subVI? Is it with an invoke node and VI Server? Make sure that the path is correct since it changes when you build an exe. Also, check the VI settings in the app builder and see if the remove panel option is selected for the subVI.
0 Kudos
Message 2 of 5
(3,174 Views)
Thanks for your reply.  I am not calling the subvi with an invoke nose and VI server.  I am just making a simple call to the subvi.  Maybe I can select "open front panel when loaded" in the subvi node setup.   After building the application and running it, the subvi's front panel might pop up as well.
0 Kudos
Message 3 of 5
(3,168 Views)
If you made the subVI display it's front panel by right clicking on the subVI and selecting SubVI Setup, etc., then the app builder deleted the front panel of the subVI. The app builder will automatically remove all panels unless you change the change the VI's properties in Window Appearance>Customize. You can override this in the app builder as I mentioned by going to the VI Settings tab, selecting the subVI, and clicking the Edit Build Settings button.
0 Kudos
Message 4 of 5
(3,165 Views)

Dennis,

Thanks for your help.  I tried your suggestion but with no success.

I now have LV 7.1.  I went to the VI settings tab in the application builder, selected the subvi (of which I would like to see the front panel open when running the exe file) and changed "Remove Panel" to No.  There is another setting, called "Show Panel", but I am not able to change it.  Anyway, as I run the executable file only the main vi appears and I can't see the front panel of the subvi I selected.

What am I missing.

Thanks,

Jerome.

0 Kudos
Message 5 of 5
(3,134 Views)