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 5
(4,649 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 5
(4,641 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 5
(4,604 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 5
(4,596 Views)

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

0 Kudos
Message 5 of 5
(4,581 Views)