05-13-2009 10:19 AM
I have created an .exe file from my project which includes a report generation. The the application executes with no problems until it calls for the report to be generated and then I get an
Error 7:
Get LV class Default Value.vi
NI_Report.LVclass:New Report.vi
Write to Excel Report.vi
(Project name).vi
I think this has something to do with the paths/directories but I have checked these vi's are in my source files? any help would be great. The project works fine running from the main vi, only when I build the application does this problem arise, its like all the paths to my templates etc have been lost/changed.
05-13-2009 11:14 AM
Looks like you need to include them either:
1) In your project
2) In your executable build
and/or
3) In your installer build
Can't tell from what you've said which one it is, but I would bet on 3 -- you probably need to include the Report toolkit in "Additional Installers"
05-13-2009 05:38 PM
I know you aren't getting error 7 but this document has helped me in the past.
http://digital.ni.com/public.nsf/allkb/8A0E6274D9BD7B1986256F62006AD402
And it's been updated to 8.6
Hope this helps
05-14-2009 02:09 AM
05-14-2009 03:07 AM
05-14-2009 03:13 AM
05-14-2009 03:21 AM
Hi Alan,
Sorry to hear you are having trouble with your application, this is a well documented issue as was pointed out we use dynamic linking so LabVIEW does not know some VIs are needed so they are not included in the build. Please see this KB article that explains the issue and how to build the application.
Regards
JamesC
NIUK and Ireland