LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help on Error Message

Hi All,
 
I am trying to write a program with LV's "MS Report Generator". I have an Excel template file that I read and write into to save the data read from a text file. This VI runs perfectly when not compiled. However, when compiled and ran, it shows this:
 
Possible reason(s):
LabVIEW:  File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
=========================
NI-488:  Non-existent board.
VI Path: C:\Temp Work Directory\builds\Excel\Report Generator\ReportGen.exe\Excel_Quit.vi
Built Application or Shared Library (DLL): Make sure all dynamically loaded VIs were properly included in the build specification for the application or shar
 
I have also attached a screenshot of my VI. If you know anything abour this type of error, please let me know.
 
I did include the Excel template file as a support file during compile.
 
Thanks in advance!
 
Ke
0 Kudos
Message 1 of 3
(2,589 Views)
You must also include some dynamic VIs in your build (this is discussed in the User Manual for the Report Generation Toolkit).  Add the following two VIs to your project and include them in your build as Dynamic VIs:
 
vi.lib\addons\_office\_exclsub.llb\_Excel Dynamic VIs.vi
vi.lib\addons\_office\_wordsub.llb\_Word Dynamic VIs.vi
 
This should solve the problem.
 
Good luck,
-D
Message 2 of 3
(2,581 Views)

Wow, thanks D! It works like a charm. 🙂

Ke

0 Kudos
Message 3 of 3
(2,576 Views)