Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

My application will not open or create an Excel report.

When I run the vi in LabView, it runs fine, and It will open Excel and/or save an Excel report depending on what I select on the express vi for report generation. After I build it with application builder, it runs like normal and displays the resulst on the front panel, but it does not open Excel or save an Excel file for a report. I get an error 7 and the source is listed as "New Report.vi -> subMS Office Report Block.vi -> MS Office Report.vi -> sound.vi" where sound.vi is my top level vi. I have added the _excel dynamicvis.vi and _word dynamicvis.vi as dynamic vi's and I've added _excelsub.llb and _wordsub.llb as support files. I searched for the new report.vi and added the library it was in as a support file. I have saved sound.vi as a library and included vi.lib files, external subroutines, and run-time menus, and I used this version of the sound.vi and added sound.llb as a support file. Is there anything else I'm forgetting?
0 Kudos
Message 1 of 5
(3,180 Views)
Hello mwallace,

The behavior you are seeing is probably due to one of the VIs being added as a support file instead of a dynamic VI. When adding a file as a dynamic VI, Application builder will ensure that all subVIs are included.

The following knowledgebase examples this issue in some more detail.

Error 7 When Building Applications and DLLs That Use the LabVIEW Report Generation Toolkit

Please let me know if you have any questions.

Regards,

Matt F
0 Kudos
Message 2 of 5
(3,163 Views)
What it turned out to be is that I wasn't adding the Excel template as a support file. Thanks for the response though.
0 Kudos
Message 3 of 5
(3,156 Views)
hello
Do you know How can I add my question on Discussion Forums
Where is botton AddNewQuestion ???
0 Kudos
Message 4 of 5
(3,150 Views)
The "new message" link is at the top of the thread list.
0 Kudos
Message 5 of 5
(3,145 Views)