Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

"File permission error" occurs sometimes when deleting a file in XP

Unable to delete a textfile created by a different application(non-LabView) sometime in a loop. The failure only happens in XP system. NT runs okay. The textfile properties does not have any permission settings, can be deleted manually. It happens consistently in a large loop where the textfile is created by a different application and then deleted by the LabView application. Any ideas??
Error message:
"LabVIEW: File permission error.
---
NI-488: DMA hardware error detected."
0 Kudos
Message 1 of 2
(2,770 Views)
Hi,

Make sure that the file is closed before you try to delete it. You may also want to add a delay between closing the file and deleting the file just to make sure Windows had enough time to close the file.

Regards,
Ankita A.
0 Kudos
Message 2 of 2
(2,756 Views)