10-01-2022 06:57 PM
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)
10-01-2022 07:39 PM
This thread has a bunch of ideas - https://forums.ni.com/t5/LabVIEW/Corrupted-TDMS-File/td-p/2165954
10-02-2022 06:15 AM
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
10-02-2022 10:12 AM - edited 10-02-2022 10:15 AM
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…
10-02-2022 10:33 AM
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.
10-02-2022 11:10 AM - edited 10-02-2022 11:25 AM
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!