09-29-2017 11:10 AM
When using "Dispose Report.vi" from the report generation toolkit, my excel file gets deleted but the .tmp file created in the same folder by windows remains.
I am using it with a True as the Save Changes option.
09-29-2017 12:24 PM - edited 09-29-2017 12:27 PM
Try using the Save Report to File and give it a path.
Edit: HAHA. Save Changes on the Dispose Report VI doesn't do anything. At least in Labview 2012.
09-29-2017 03:22 PM
As aputman noted, "Dispose Report" doesn't really "dispose" a report, it just closes the (possibly other) program generating the Report. If you want to save the Report you've been generating, you need to first use the "Save Report to File" VI, then "Dispose Report".
In the case of an Excel Report, "Dispose Report" closes Excel. Note that if you open Excel by double-clicking Excel.exe (i.e. "the normal way", not by using LabVIEW), if you close Excel without "saving" your work, everything disappears -- it has effectively "disposed" of your work!
Bob Schor