02-22-2018 10:35 PM
I am new to Design stand alone application (exe file) in labview. i learn basic method from tutorials to build exe file for a labview project having access to some vi's dynamically. The build is completed successfully but still it is not accessing the dynamic vi's.
Any suggestion will be appreciated.
Thanks.
02-23-2018 12:32 AM
How are you calling the Dynamic VIs? Are you building path and use open VI reference? Give us some more details about the deign.
02-23-2018 10:03 AM
Any dynamically instantiated VIs that are not referenced by your main application need to be added to the 'Always Included' section under 'Source Files' in your exe build script.
02-23-2018 10:58 AM
You should check if the the file paths of your dynamic VIs are correct. When LabVIEW builds an EXE file, the relative paths can be very different from when you run in the Development Environment.
02-24-2018 08:01 AM
Without seeing your code (as LabVIEW VIs, not as pictures of block diagrams), it is difficult to know what you are doing (there are several methods of dynamically calling VIs, with different "problems" depending on the method), and thus hard to suggest specific solutions.
Bob Schor
03-08-2018 12:29 PM
Thanks to all for reply. The issue has been solved by adding the dynamic vi's to the always added section and also by correcting the directory paths to some of the vi's where needed. :):)