LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem of building .exe with VI template as subVI

I'm having trouble to successfully build an .exe with VI template as a subvi. Please see the image for the error when executing the built file.

In my toplevel VI, I use two subpanels (side by side comparison), each subpanel loads the same subVI (saved as template in order to show the front panel). The code executes beautifully in development mode, but once it is built into executable (the subvi is added as dynamically loaded vi), only one subpanel loads the subvi, the other one is just blank, and an error message is displayed.

I understand there are other options here, but I would like to see if there are solutions before considering an alternative route. Any help will be greatly appreciated.

System
setup: WinXP Pro SP1 with LV7.

Thank you,

-Joe
0 Kudos
Message 1 of 3
(2,818 Views)
Hi Joe,

We've seen this error when using express VI's inside of template VI's which are loaded using VI server. Are you doing that? If yes, then take all the express VIs that are inside the template VI and turn them into static subVIs.

I don't know if it will help in your case, but let's try it.

Regards,
Luca
Regards,
Luca
Message 2 of 3
(2,818 Views)
Thanks, Luca. It worked!

-Joe
0 Kudos
Message 3 of 3
(2,818 Views)