1. What it does - tdms_to_mat.py is a python script that converts a tdms file to a .mat file. - tdms_to_mat_many.py converts all the tdms files in a folder Given the name of the folder containing the file and its timecode, it will automatically read: - folder/analog-timecode.tdms - folder/encoder-timecode.tdms and write the file -folder/data-timecode.mat 2. How to use it line 8: write in the local binaries's folder (tdms\bin) line 66: write the name of the folder containing the tdms line 67: write the file's timecode line 75: comment or uncomment the plot(data) depending on needs 3. Content tdmc_to_mat.py : python script to convert a tdms file to a .mat file tdms/tdmc_file.py : wrapper for nilibddc.dll tdms/bin : national instrument binaries 4. Dependencies numpy, matplotlib.pyplot,scipy.io 5. Development notes There's a couple of tdms converters for python and Matlab but they all assume 32-bit data. They worked fine on tdms files generated by Labview, but crashed on the 24-bit data generated by DAQmx. National Instruments recently made available a c-binary library to read/write tdms files, so I used ctypes to write a Python wrapper around the most critical calls.