LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

When using "Dispose Report.vi" from the report generation toolkit, my excel file gets deleted but the .tmp file created by windows remains.

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.

Cheers,
~~~ GladiatorLV ~~~
0 Kudos
Message 1 of 3
(2,942 Views)

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.

Capture.PNG

aputman
Message 2 of 3
(2,917 Views)

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

0 Kudos
Message 3 of 3
(2,894 Views)