LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically run VI in built executable

In my main vi, I call the OpenFP and RunVI methods on a reference to a
VI in the local directory. This works fine in Development environment
and the VI starts like it should. After I build the executable, the VI
doesn't run. Does my other VI get built into the executable or is my
main VI still looking for the copy on disk and can't find it???

Thanks,
s
0 Kudos
Message 1 of 2
(2,447 Views)
I think you need to explicitly include the dynamcially-called VI when compiling the executable. It's under the heading "support files" I believe. The compiler has no way of knowing which VI is dynamically linked (hence the term "Dynamic").

Don't worry, I've made this mistake more often than I care to remember.

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
Message 2 of 2
(2,447 Views)