ConvertTDMS (v10)

Import or convert a LabView TDMS file into the MATLAB workspace or a mat file
22.4K Downloads
Updated 16 Jun 2017

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Import or convert a LabView TDMS file (version 1.0 through 2.0). Interleaved and Non-Interleaved tdms files are supported.
These functions also work with tdms files that contain channels using the DAQmxRaw data typr (raw ADC data written by LV), if the files are translated first using the information found at: https://decibel.ni.com/content/docs/DOC-32817

Adding another submission so that Robert Seltzer who has provided a great deal of support for several years and is no longer actively working with TDMS files can hand back off development.

It was written in MATLAB 2010b. The original function was based on the work by Brad Humphreys of ZIN Technologies and Grant Lohsen & Jeff Sitterle of GTRI (versions 1 through 4 of this function). The Version 9 function (written by Philip Top), in addition to incorporating the various updates that were added to previous versions, can process files that have been "optimized" by LabView. Robert Seltzer of Borg Warner has provided a great deal of support and input. this version is the first using FileEx's new GitHub interface (thanks Mathworks!).

This function has been tested with a limited number of diverse TDMS files.

Cite As

Brad Humphreys (2024). ConvertTDMS (v10) (https://github.com/humphreysb/ConvertTDMS), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on LabVIEW in Help Center and MATLAB Answers
Acknowledgements

Inspired by: ConvertTDMS (v9)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.5.0.0

Added error check per G. Lohsen for stopping when non-TDMS file is selected. replaced call to strsplit per Randy82. Added option to simpleConvertTdms to allow for group name not to be included in variable name.

1.4.0.0

Added information to the submission description about how to work with tdms files that have the LV DAQmxRaw data type in them.

1.1.0.0

Added help information on how to convert a file with DAQmxRaw data to the help documentation of convertTDMS.

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.