DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Compressed TDM file loading in Matlab

Solved!
Go to solution

Hi,

We process our data in DIAdem, saved as TDM/TDX format, but have some users that subsequently read those TDM/TDX files in MATLAB.

 

DIAdem 2019 SP1 automatically saves TDM files as compressed (FileSaveCompressedTDMHeader = True), and they can no longer load these files.

 

I see that TDM compression was introduced in DIAdem 2018, but the Matlab loading example has the last update listed at May 2010:

https://forums.ni.com/t5/Example-Code/Reading-TDM-TDMS-Files-with-The-MathWorks-Inc-MATLAB-Software/...

 

I do not know if they are using the code behind this example (if it should still work), just that however they are loading the file no longer works and that the example is older than the feature.

 

Do you know what the compression is for TDM files (maybe they can decompress it first), whether the old load example should still work, or if we can get an updated example/dll that supports TDM lossless compression?

 

If not, we will have to turn the compression off and lose a valuable feature...

 

Thanks!

-Josh

0 Kudos
Message 1 of 2
(2,307 Views)
Solution
Accepted by topic author JoshRew

Please download


https://www.ni.com/content/dam/web/product-documentation/c_dll_tdm.zip 

 

The zip contains a new versions of some dlls

 

c_dll_tdm.zip\TDM C DLL\dev\bin

 

If you pick copy the content of the correct bitness into your folder overwriting the old ones the compressed files should work.

0 Kudos
Message 2 of 2
(2,247 Views)