LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Report Generation for Excel does not work after using the Application Builder

I have a VI that writes data to an Excel file using the Report Generation Toolkit. I recently compiled the VI into a single Application (EXE) using the Application Builder. My VI runs its tests properly, but no data is written to Excel. What could be the cause? I don't receive any error messages.
0 Kudos
Message 1 of 4
(2,954 Views)
You should read this thread.

CC

http://forums.ni.com/ni/board/message?board.id=170&message.id=112148
Chilly Charly    (aka CC)
0 Kudos
Message 2 of 4
(2,941 Views)
Hi

I usually build exe-files, which sometimes also have report functionality.
Open the Application Builder and check the following things:

1. Add the following vis: _Word Dynamic VIs.vi, _Excel Dynamic VIs.vi They should be located in the directory ..\LabVIEW X.X\vi.lib\addons\_office in the llbs _wordsub.llb and _exclsub.llb (report1.jpg)

2. If you use an Installer, go to the Advanced Settings. There you can select some things to include in the Installer. Check if "NI Reports Support" is selected. (report2.jpg)

These are the things I always do, if I need reports and I never had problems up to now. I made two screen-shots of these settings.

Hope this helps.

Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 3 of 4
(2,941 Views)
That was it. I needed to add the dynamic VI from the excel library. Thanks!
0 Kudos
Message 4 of 4
(2,922 Views)