LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

File Permission Error 8

When I open two DataStorage-Files and then close both, I can no longer delete the first opened TDM-File because of "File Permission Error 8". This Error occurs only if I open a second TDM-File. I've to have both files open at the same time, because I copy some channels from one to the other TDM-File.  What's wrong in the attached code?
0 Kudos
Message 1 of 5
(3,652 Views)

Hello,

 

I tried your VI on my machine, and I don´t see an error (yes, I activated the second structure, so that two files are opened.) I am using LabVIEW 8.0.1 Which version are you using? Maybe its an issue fixed in the latest version.

 

 

0 Kudos
Message 2 of 5
(3,633 Views)

No, I'm also using LabVIEW 8.0.1. But if you don't get an error in this VI, there's something wrong with my computer.

Thanks, Patricia

0 Kudos
Message 3 of 5
(3,628 Views)
You can breathe a sigh of relief. You're not the only one. I can reproduce the error as well. That being said, this is error is supposed to happen. You can't have more than one TDM file open at a time. To copy channels from one TDM file to another, you will need to load the data into memory from the source file, close it, then write it to the target file. If this becomes too memory intensive with large channels, try writing to an intermediary non-TDM file, such as a LabVIEW datalog file.
Jarrod S.
National Instruments
0 Kudos
Message 4 of 5
(3,614 Views)

OK, I will copy the channels in a datalog file. Thank you for your help.

Regards, Patricia

0 Kudos
Message 5 of 5
(3,612 Views)