The tdmsinfo CommandΒΆ

npTDMS comes with a command line program, tdmsinfo, which lists the contents of a TDMS file. Usage looks like:

tdmsinfo [--properties] tdms_file

Passing the --properties or -p argument will include TDMS object properties in the printed information.

The output of tdmsinfo including properties will look something like:

/
properties:
name: test_file
  /'group_1'
  properties:
  group_property: property value
    /'group_1'/'channel_a'
      data type: tdsTypeU8
      properties:
      wf_start_time: 2016-12-3014:56:00+00:00
      wf_increment: 0.0005
      wf_samples: 2000

There is also a --debug or -d argument that will output debug information to stderr, which can be useful when debugging a problem with a TDMS file.