LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS to Matlab .mat format help

Is there code out there (either LV or Matlab) that can make reading large TDMS data into MATLAB a slam dunk.  If not, is the TDMS binary format published? Or ... ??

Thanks
LV 8.6 on Windoze XP
0 Kudos
Message 1 of 3
(4,642 Views)
 
The answers are yes and yes.

Here's a C DLL that reads TDMS directly into MatLab: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019NdwSAE&l=en-US

Here's the description of the TDMS binary layout:
https://www.ni.com/en/support/documentation/supplemental/07/tdms-file-format-internal-structure.html

Hope that helps,
Herbert

0 Kudos
Message 2 of 3
(4,631 Views)
 
Dear all,
 
I want to read my tdms files on MATLAB 7.5, (r2007b); when I tried using the script provided on "Reading TDM/TDMS Files with The MathWorks, Inc. MATLAB® Software" page, (Report Date: 05/22/2007,Last Updated: 05/30/2007,Document ID: 49L3K6FN)
URL: [broken link removed]
 
 
running loadTDM (on the provided TDM file, only the examplePath was changed to the current directory), I got the following error:
 
 
>> loadTDM
??? There was an error loading the library "D:\MatLab TDM Example\bin\nilibddc.dll"
Error using ==> loaddefinedlibrary
The specified procedure could not be found.
 
Error in ==> loadTDM at 16
loadlibrary([examplePath '\nilibddc'], hfile);
>>
 
 
Anybody else notice this problem?
 
Any help would be gratefully appreciated!!
 
Thanks dearly,
 
Raphael
0 Kudos
Message 3 of 3
(4,446 Views)