Look at a TDMS file before writing Python
Drop a .tdms file here, with its .tdms_index if you have one.
The file is read in this browser tab. It is never uploaded.
Not supported: DAQmx raw data, ExtendedFloat and FixedPoint channels, arrays of dimension other than 1. They are reported, and the rest of the file stays readable.
With npTDMS
The npTDMS library reads TDMS files in Python. It is installed with pip install npTDMS.
from nptdms import TdmsFile
tdms = TdmsFile.read("measurement.tdms")
for group in tdms.groups():
for channel in group.channels():
print(group.name, channel.name, len(channel))
df = tdms.as_dataframe() For files larger than memory, TdmsFile.open reads values on demand instead of loading them all.
Without code
To see what a file contains before writing a script, or to hand it to a colleague who does not use Python, drop it above. The groups, channels and properties are listed, the channels are plotted, and the export writes CSV or Parquet. The file is read in the browser and never uploaded.
import pandas as pd
df = pd.read_parquet("measurement_Group.parquet") Same values
This reader is tested against npTDMS: on every test file, the channels, properties and values it reads are compared with what npTDMS reads, and so are the exported CSV and Parquet files.