Example Code

Writing Units and Description to a TDMS File

Code and Documents

Attachment

Overview


This program is an example of TDMS file manipulation.

The TDM data model offers three levels of hierarchy: root, group, and channel. Each level accepts an unlimited number of user-defined attributes, which makes the files search-ready.
This example demonstrates how to write units and/or description to the channel level using the TDMS Set Properties function.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors