LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tdms data recovery

Help!
I closed a Labview app I wrote before it finished flushing the data to the hard drive. I am using the TDMS file format. I have 3 files one is a tmds file, the other a tdms_index file and the 3rd is a tdms~ file. The tdms~ file has about 3Mb of data so I am hoping this is the actual data I need. How do I get the tdms~ file into a usable format?
 
I am obviosly doing something wrong in the tdms file output.
 
Thanx.
0 Kudos
Message 1 of 3
(3,048 Views)
This is rather mindblowing in that LabVIEW does not create any tdms~ files at any time. Are you using the DIAdem DataFinder? Or any other software that accesses the file?

Even if your application is aborted in the middle of writing, writing a tdms file should be finished correctly. The only way of actually corrupting the file would be a complete power out during hard drive access. With that said, there is a very small chance that e.g. crashing the application can get the tdms and the tdms_index file out of synch. In that case, try deleting the tdms_index file. Next time you open the tdms file, LabVIEW will generate a new one.

Hope that helps,
Herbert
0 Kudos
Message 2 of 3
(3,033 Views)
Yep, I have diadem running also. What would killing labview in task manager do to a tdms file? I'll try killing the index file.
0 Kudos
Message 3 of 3
(3,020 Views)