DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

File recovery die to power failure

Solved!
Go to solution
Hello,

after a power failure while a measurement was running the *.TDM file is broken and shows no data. Nevertheless the files *.TD0 and *.TS01 are saved an contain data. Is thereany way to recovery this data?

Besteht regards!
0 Kudos
Message 1 of 7
(5,177 Views)

With a little luck you can measure a sample with the same setup and name.

Just copy the tdm header to the old files. Does it work?

 

The TDM header is an XML file. The length of the signals are given in two positions.

So it is possible to adjust them acording to the size of the binary files.

 


 

 

Does the TDM header exist?

Does DIAdem create a logfile FILENAME.tdm.log when reading the crashed file.

What does it contain?

0 Kudos
Message 2 of 7
(5,169 Views)

Thanks for the Help!

 

 

  • Does the TDM header exist?

Yes, the header exists.

 

  • Does DIAdem create a logfile FILENAME.tdm.log when reading the crashed file.

No logfile is created. It even works to read the *.tdm file, but it contains no data.

 

  • What does it contain
  • Unbenannt.PNG

I have the following Files:

 

Unbenannt2.PNG

 

The size of the TD01 File indicates that there is data, but I can't acess it.

 

 

0 Kudos
Message 3 of 7
(5,132 Views)
Solution
Accepted by topic author UIBK

Thank you for the Information.

 

What you found is an error related to the "Kanalorientierte Speicherung" in DIAdem DAQ.

I have attached the corrected header that should be able to load the binaries correctly.

 

The blocksize in the TDM header is accidentially set to the expected channel lenght instead of the binary block size.

 

To determine the correct blocksize the byte length of the values in a single file needs to be determined.

In your example :

40000000 => 8 + 8 + 8 = 24 (3 float64 values) ;
20000000 => 4 + 4 + 4 + 4 = 16 (4 float32 values)

 

If such crashes occure often in an environment I would suggest to switch The "Channel oriented" mode off as a workaround.

 

Sorry for the incovenience.

 

Andreas

 

 

0 Kudos
Message 4 of 7
(5,124 Views)

Thank you a lot for your help! It worked. I will try out your advice!

0 Kudos
Message 5 of 7
(5,109 Views)

Hello, 

 

i have a similar issue but cannot quite follow the steps you provided to make the TDM work again. The TDM file itself is filled with Data but when I open it in Diadem it doesn't show the gathered data.

MaxDr_0-1723036907952.png

MaxDr_1-1723037051015.png

I need to understand what changes I do have to make to the TD01 in order to make the TDM work again.

 

Thanks in advance!

 

Max

 

 

0 Kudos
Message 6 of 7
(422 Views)

It is the TDM XML file that has been adjusted.

AndreasK_0-1723106805612.png

Here is the compare from the TDM header in the thread.

 

0 Kudos
Message 7 of 7
(403 Views)