LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read MATLAB imported data from a .tdms file?

Hello!

 

I want to read MATLAB imported data from a .tdms file. The original MATLAB .mat file contains three structs A, B, and C. Each struct contains dozens of fields, and each field contains one-dimensional or multidimensional data. After importing LabVIEW NXG, a .tdms file is generated, and three stucts are imported into three clusters. There are six channels in total, namely A, A_Index, B, B_Index, C, C_Index. I read the example and tried many controls, but I still can't figure out how to read the data accurately.

 

Any help would be much appreciated.

 

image.png

0 Kudos
Message 1 of 2
(1,741 Views)

The new MAT files are actually h5(hdf) files underneath. I don't have NXG, but you need to import correctly, separate the structures, and then save to to TDMS.

 

mcduff

0 Kudos
Message 2 of 2
(1,721 Views)