09-23-2009 12:00 PM
ok, the error that is returned for the exe is: Error 7 occurred at Get LV Class Default Value.vi, and the call chain is: Get LV Class Default Value.vi > NI_reportlvclass: New Report.vi
in my project explorer, I found this under Dependencies > vi.lib >
does this need to be elsewhere in the project or explicitly included somehow?
09-23-2009 01:22 PM
09-23-2009 01:43 PM
thank you sir, that was the fix
10-29-2009 10:12 PM
Dear Lawrence M. David Jr.
I meet the same problems as you mentioned:That is, the program can read data from excel in code,but it generate error in exe.My LabVIEW version is also 8.6. I read messages in the NI forum,but I can not resove it.So Please tell me how to do exe.
Thank you
Sincerely yours,
Wang Ligang
10-29-2009 10:29 PM
Here is the attachment
10-30-2009 12:01 AM
The problem is that when you're running as an EXE, you're adding a 'data' folder to the path to the excel file that you're passing to the Report Gen VIs. This is happening in your AutoSelPath.vi. Since you're getting the path from a file dialog, you should just use the value you get from the dialog directly, as opposed to trying to manipulate it in your code.
10-30-2009 12:18 AM
Thank you . I modiy the problem in AutoSelPath,but I can not run in exe.How can I config it in the project files?
Thank you
The attachment is new Program.
10-30-2009 01:40 AM
10-30-2009 02:16 AM