Skip to main content

Open National Instruments TDM/TDX files as NumPy structured arrays.

Project description

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

It can be installed in the standard way:

python setup.py install

Sample usage:

import tdm_loader
data_file = tdm_loader.OpenFile('filename.tdm' [, encoding='utf-8'])

Access a channel by number or name for the first channel_group:

data_file[channel]

Access a channel in a channel_group by name or number:

data_file[channel_group, channel]

Access a column by number or name:

data_file.col(column_num)

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

data_file.channel(channel_group, channel)

Get a whole channel group as dict:

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tdm_loader-1.1.12.tar.gz (8.1 kB view details)

Uploaded Source

Built Distributions

tdm_loader-1.1.12.macosx-10.13-intel.exe (71.6 kB view details)

Uploaded Source

tdm_loader-1.1.12-py2.7.egg (17.7 kB view details)

Uploaded Egg

File details

Details for the file tdm_loader-1.1.12.tar.gz.

File metadata

  • Download URL: tdm_loader-1.1.12.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tdm_loader-1.1.12.tar.gz
Algorithm Hash digest
SHA256 63c2b8f92a3d7aa61d835875809c4ef703725a72f5e21ee8cc464b1f08756661
MD5 363e915240eff453728d4c99928f3872
BLAKE2b-256 5ab7cac1f57ef19b59491bb241685bc523aedc13acc8d2220a43a113a37b54a3

See more details on using hashes here.

File details

Details for the file tdm_loader-1.1.12.macosx-10.13-intel.exe.

File metadata

File hashes

Hashes for tdm_loader-1.1.12.macosx-10.13-intel.exe
Algorithm Hash digest
SHA256 dadc3286026334082f94860c2656efd80324f90d228c5c4bf1db9c928a635537
MD5 99a915d22cfc93204a8ee185ca4b17ba
BLAKE2b-256 8528c720c456d60d7c6c4808a16a5f936ee73e22f59dab018d0bd32932886b9a

See more details on using hashes here.

File details

Details for the file tdm_loader-1.1.12-py2.7.egg.

File metadata

File hashes

Hashes for tdm_loader-1.1.12-py2.7.egg
Algorithm Hash digest
SHA256 25b1bed6364c49084d0b285db72ca700560068667c7d9daa6013d4f94b642471
MD5 3fc4f80a2a10fd7d3038754471c12e92
BLAKE2b-256 0c2f5414a887313f48dcfd9336d8638c86b0c292b17dec0d7caae28b0799f163

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page