LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

corrupted tdms due to accidental ctrl-shift delete file

I accidently shift-delete the whole folder in my C:\ drive which contains 2 tiny tdms files.

I used Wondershare Recoverit program (in an USB external D:\ drive), then recovered the files in my C:\ drive to the D:\. But the files were corrupted.

When viewing by TDMS file viewer, it has error right away (Hex 0xFFFFF639) Specified file does not comply with TDMS file format standards.

 

I'm looking for help to recover the data out of this small tdms file.

 

Thank you

(PS. I'm able to attached only 1 tdms file here.

The other file, this ni.com board shows me this message:

The attachment's dem1.tdms content type (application/octet-stream) does not match its file extension and has been removed)

0 Kudos
Message 1 of 6
(1,061 Views)

This thread has a bunch of ideas - https://forums.ni.com/t5/LabVIEW/Corrupted-TDMS-File/td-p/2165954

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 2 of 6
(1,045 Views)

Thanks. I've tried those ideas, and did not work:

1) Convert tdms to txt: tdms couldn't be read (could not be opened to start with)

2) RecoveryTDMSFile.vi: could not find “mSDT” search string

 

0 Kudos
Message 3 of 6
(1,012 Views)

Hi ngthai,

 


@ngthai wrote:

I accidently shift-delete the whole folder in my C:\ drive which contains 2 tiny tdms files.

I used Wondershare Recoverit program (in an USB external D:\ drive), then recovered the files in my C:\ drive to the D:\. But the files were corrupted.

When viewing by TDMS file viewer, it has error right away (Hex 0xFFFFF639) Specified file does not comply with TDMS file format standards.

 

I'm looking for help to recover the data out of this small tdms file.


When the files are corrupted then how should we recover your data without having access to your harddrive?

The file content of "Demo2" doesn't look like TDMS data. At the end it contains some garbled data completely different to usual TDMS data…

 

General recommendation:

When those files are important then you should have made a backup of those files!

Are the files important and did you make a backup?

 


@ngthai wrote:

(PS. I'm able to attached only 1 tdms file here.

The other file, this ni.com board shows me this message:

The attachment's dem1.tdms content type (application/octet-stream) does not match its file extension and has been removed)


You can always attach ZIP files. Zip your files (both into one ZIP file) and attach it…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(997 Views)

Please find 4 files here (2 more files I also need help with opening). Unfortunately I did not have backup. Thank you for your help.

0 Kudos
Message 5 of 6
(987 Views)

Hi ngthai,

 


@ngthai wrote:

Unfortunately I did not have backup.


I'm sorry, but there's a saying: "No backup, no ruth!"

 


@ngthai wrote:

Please find 4 files here (2 more files I also need help with opening).


They all show garbled data, with lots of (also garbled) text in between. No similarity to TDMS data structures at all!

 

Your "Demo1.tdms" is a plain text file containing (most probably) JSON data: no chance to recreate a TDMS file from that!

 


@ngthai wrote:

I used Wondershare Recoverit program…


Just because you used some Undeleter tool doesn't mean it will undelete all files uncorrupted!

When the files have been overwritten on your disk drive then that Undeleter will only recover overwritten (aka garbled) data…

 

You should have learned by now to create backups for important data. Or even better to use some SCC tool (like SVN or GIT) to even have history revisions of your important data!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(979 Views)