07-07-2009 01:48 PM
I am having trouble using the Storage VIs with a DataPlugin. When I run the attached code, the file is not closed properly. If I try to move the data file while the VI is running, I receive a Windows error telling me that the file is being used by another person or program. The file reference only seems to be released once I stop execution.
Since my application will run in the background and read files in an active data directory as they appear, the code needs to be able to close the files so they can be manipulated manually. Please let me know if you have any ideas.
Thanks,
Mike
07-08-2009 06:28 PM
07-10-2009 02:52 AM
Chris,
you can double-click the URI file to register the DataPlugin so that you can open the data file with the DataPlugin.
Mike,
I was not able to reproduce the issue even by inserting a delete file node.
Could it be that you were trying to move the file before the Close Data Storage ran to completion ?
Mavis