ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Compiled Code Error Running Excel

Writing to Excel works fine with source code but gives this error with compiled code:
 
Open VI Reference in Dispose Report.vi->Write_to_Excel.vi->Golden_Thread_V2.vi<APPEND>
VI Path: <b>C:\Golden Thread\Golden Thread V2.2.exe\Excel_Quit.vi</b>
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.
 
Any thoughts???
 
Thanks.
 
 
0 Kudos
Message 1 of 5
(3,735 Views)
Hi SJT,
if you use the report generation toolkit, it could be that there are some dynamically loaded vi´s, so make sure that all these vi´s are in your executable and that the paths are correct.

Mike
0 Kudos
Message 2 of 5
(3,723 Views)

Mike,

Thanks for the reply.  I have a few follow-ups, though:

1. How do I determine if a VI is flagged as dynamically loaded.  I'm sure I didn't select it.

2. How do I make sure they're in the executable.  I'm using LV8.5 and I have a project created.  Do I add the VI as a file to the project?

Thanks for your help..

Steve

0 Kudos
Message 3 of 5
(3,711 Views)
 
 

Hi Steve,

if you use for example the "Append Table to Report.vi", then you have in the "Excel" case a dynamic loaded vi, also in the "New Report.vi". See the picture.

See this KB: http://digital.ni.com/public.nsf/allkb/C38CE3F30542D65B86256F0E00740DD8 

Mike



Message Edited by MikeS81 on 06-18-2008 03:42 PM

0 Kudos
Message 4 of 5
(3,707 Views)

Mike,

That worked!  Thanks for the help.

Steve

0 Kudos
Message 5 of 5
(3,688 Views)