Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.16 KB

README.md

File metadata and controls

29 lines (18 loc) · 1.16 KB

PyPI Pytest Coverage Status Documentation Status

This module allows National Instruments TDM/TDX files to be accessed like NumPy structured arrays.

To install the newest version use::

pip install tdm-loader

Sample usage::

import tdm_loader
data_file = tdm_loader.OpenFile('filename.tdm')

Access a channel by channel group and channel index combination::

data_file.channel(channel_group, channel)

Get a dict of all channels in a channel group:

data_file.channel_dict(channel_group)

Search for a column name. A list of all column names that contain search_term and their indices will be returned::

data_file.channel_search(search_term)