08-25-2014 12:57 PM
I am using NI_report.lvclass:Save report to File by feeding it with an Excel report from NI_report.lvclass:Append Report Txt. Debug mode work perfect. When I create an executable I get an error that points to a non-exsistant path in the build directory:
LabVIEW attempted to load the class at this path:
W:\CVI\LabView\builds\SSDtsDB\Main Application\Main.exe\1abvi3w\vi.lib\Utility\NIReport.llb\Excel\NI_Excel.lvclass
08-25-2014 01:40 PM
08-25-2014 02:49 PM
This does not seem to be the problem. I have reduced my VI back to minimal with only a create report and dispose report. If I select Word or Excel for the poly type to the create report I get an error in the compiled executable. It still works in debug mode. If I select HTML or Standard, no error.
08-25-2014 07:35 PM
The problem you are having is due to "missing a function"-- you are issuing a "Dispose Report" without first doing a "Save Report" (which requires you to specify a path and filename for the report). I posted an example (which, if I can find, I'll include a link) here earlier this year. If I can't figure out how to insert the link, search for -- Revised "Generate Excel Report" Example, posted 14 Jan 2014.
Bob Schor