From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Issue in Calling Dynamic VI's in exe file

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. 

0 Kudos
Message 1 of 6
(2,884 Views)

How are you calling the Dynamic VIs? Are you building path and use open VI reference? Give us some more details about the deign.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 6
(2,866 Views)

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.

Always Included.png

0 Kudos
Message 3 of 6
(2,838 Views)

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.

0 Kudos
Message 4 of 6
(2,834 Views)

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

0 Kudos
Message 5 of 6
(2,819 Views)

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. :):)

0 Kudos
Message 6 of 6
(2,777 Views)