NumPy based Python module for reading TDMS files produced by LabView
Python Shell
Latest commit 546a1d6 May 10, 2016 @adamreeve Merge pull request #47 from adamreeve/object_properties
Add group and channel properties to TdmsObject
Failed to load latest commit information.
docs Work on packaging Jun 11, 2014
.gitignore Ignore vim .swp files Jul 12, 2015
CHANGES.txt Bump version to 0.8.0 May 10, 2016
COPYING Fix licensing files Jul 28, 2015
COPYING.LESSER Fix licensing files Jul 28, 2015 Update manifest and for documentation changes Feb 27, 2012
README.rst Update links to readthedocs documentation Apr 28, 2016 Add script to run nosetests with coverage Jun 12, 2014
setup.cfg Work on packaging Jun 11, 2014 Work on packaging Jun 11, 2014
wercker.yml Attempt to fix pypi upload error not being picked up by wercker Feb 12, 2016



wercker status

Cross-platform module for reading TDMS files as produced by LabView. Data is stored as a numpy array, and is loaded using numpy's fromfile routine so is very fast.

Typical usage might look like:

#!/usr/bin/env python

from nptdms import TdmsFile
tdms_file = TdmsFile("path_to_file.tdms")
channel = tdms_file.object('Group', 'Channel1')
data =
time = channel.time_track()
# do stuff with data

For more information, see the npTDMS documentation.


npTDMS is available from the Python Package Index, so the easiest way to install it is by running (as root):

pip install npTDMS

Alternatively, after downloading the source code you can extract it and change into the new directory, then run:

python install


Source code lives at and any issues can be reported at Documentation is available at

What Currently Doesn't Work

This module doesn't support TDMS files with XML headers or with extended floating point data.

Files with DAQmx raw data are not supported either.


Thanks to Floris van Vugt who wrote the pyTDMS module, which helped when writing this module.

Thanks to Tony Perkins, Ruben De Smet, Martin Hochwallner and Peter Duncan for contributing support for converting to Pandas DataFrames.