LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem building application which loads external VIs dynamically

I have used the code from the loader.vi to dynamically load VIs ,which will not included in the built file (external VIs)bcos they will be replaced and changed from time to time.The built exe is placed @ c:\..app\app.exe I pasted the load folder in c:\...app\load folder with all the external VIs in the same folder as the application.
When I run the program without building ,its working perfectly fine but when I build it ,it's not loading the external VIs.I have included the code I have used.Solution will be greatly appreciated.
Thanks in advance
Rajan
0 Kudos
Message 1 of 3
(2,775 Views)
I built an executable, put the external VIs in the loadVIs folder and all started okay. I don't know why it's not working for you. The only thing I can suggest is putting some indicators on the front panel that show the path, list of VIs, and some of the error clusters. Temporarily remove the code that closes the loader so you can check them.
0 Kudos
Message 2 of 3
(2,775 Views)
I also had no problem doing this. I think that Dennis could be on correct on checking your file paths. Check out the knowledgebase regarding file paths behaving differently in development and in executable. Good luck on getting this working.
0 Kudos
Message 3 of 3
(2,775 Views)