08-08-2007 11:23 PM
08-09-2007 02:51 PM
Hi IO,
I tested my report generation toolkit, and for me it closed excel entirely. To test it simply had a New Report and Dispose Report with excel selected as the type. I saw excel open up and then close back down. Then I checked the Task Manager and sure enough Excel was not there. Have you cut you program down to only those 2 VIs. Maybe there is something else preventing Excel from closing.
08-10-2007 06:53 AM
08-10-2007 07:22 AM
Hui,
New Report.vi has a terminal labeled Display Alerts, it defaults to False. Set it to True so that any warnings generated by Excel will be displayed when your vi runs.
08-12-2007 08:23 PM
08-13-2007 06:38 AM
08-13-2007 09:22 PM
08-13-2007 09:35 PM
08-14-2007 07:15 AM
I didn't have time to redraw your diagram but I think I know what is wrong. It appears that you have used the create report.vi twice in your vi and have only used the dispose report.vi once. That means that you opened up two copies of excel and only closed one.
Suggest you clean up your code a bit and remove the extra create report.vi in the inner while loop and all the extra save report to file.vi and see what happens.