LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sub panel vi cannot be loaded properly when main vi is converted to exe

Solved!
Go to solution

Hi All, I have a main vi that uses sub panel to call another single vi during the operation. The code is working well in vi level. However, When I converted the main vi to exe file, this sub panel cannot load that single vi properly.

 

The error shows"  Built Application or Shared Library (DLL): Make sure all dynamically loaded VIs were properly included in the build specification for the application or shared library.  LabVIEW Real-Time: VIs built into executables cannot be accessed through VI Server calls. Use Source Distributions to dynamically call VIs on Real-Time targets."

 

Here is how it is used in sub panel, could you tell me how can I change the path building to make this work in exe file? Thank you very much!

path.PNG

 

Message 1 of 2
(3,007 Views)
Solution
Accepted by topic author bhl3302

Path-specific issues are typically caused by this: http://digital.ni.com/public.nsf/allkb/FD7DE8BC8FFC256C862565F4006BE363

 

In terms of the build, you must explicitly add dynamic VIs to the list of source files. These need to be in the "Always included" list on the "Source Files" tab. Please review the documentation for the App Builder for further information and details.

Message 2 of 2
(2,991 Views)