LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV8 app doesn't find sub VIs on target machine

Hello
I had a running application, which I compiled and copied to a target PC.
Now I added some more features (subFile dlg, mergeErrors, Spline) and the built exe can't find the corresponding VIs when I copy the exe to the system it is supposed to run on.
The same VIs are used in a second app within the same project. No trouble - all VIs are found when I run that exe. I have checked all build params to be the same. When asked to locate the missing VIs, I point the RTE to the LV8/vi.lib/etc files. But it does not memorize the position - instead I have to run through the locating process again on new start.
What am I doing wrong - how can I teach LV to include the respective VIs in the app?
Thank you for your input.
Michael
0 Kudos
Message 1 of 2
(2,483 Views)

Hi Michael,

      Are the "new" VIs actually part of the hierarchy being compiled, or are they called dynamically?  If they are called dynamically (or part of a VI that's called dynamically) they need to be explicitly included in list of "Source Files" for the compile.  I only have 7.1 to look at now, it provides a "Add Dynamic VI" button - the concept is the same for 8.x.

Cheers!

"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
0 Kudos
Message 2 of 2
(2,464 Views)