11-23-2015 01:14 AM
After saving data to a file, I closed the txt file.
Even in this case, I got OS message regarding my application hold the txt file, so I couldn't delete it.
Is it normal? How can I do for my application to release the file?
11-23-2015 02:16 AM
11-23-2015 05:20 AM - edited 11-23-2015 05:20 AM
My file routine contained some logic: close and create new file in different file name.
These error out and in are connected and no issue about that.
Even after closing the prior file, I can't delete the file in Windows only if my (buit) application is running. (LabVIEW 2012)
These handling problem seemed to be abnormal in my thinking.
Frankly, I am worrying about the allocation of memory.
11-23-2015 06:26 AM
Are you sure you are closing the file? Thsi sounds like a good place to pull out Desktop Execution Trace Toolkit. It will help you find where you open and close references.
If you want any more help, you are going to have to attach some code. I suspect a logic error is keeping you from closing the file.