TDM Data Model
- Updated2026-05-01
- 2 minute(s) read
The TDM data model arranges data in three hierarchical levels: files, channel groups, and channels. You can associate custom properties with each level of hierarchy.
- The file level can contain an unlimited number of channel groups.
- Each channel group can contain an unlimited number of channels.
- Each channel contains a 1D array of data values.
- Each level of hierarchy can have associated properties that you define.
The TDM Data Model has distinct benefits:
- You can organize your data flexibly and make the data easy to
understand. For example:
- You can have one group for raw data and another group for the analyzed data in one single file.
- You can also have multiple groups that correspond to sensor types or locations.
- At each level of the hierarchy, you can store an unlimited number of
custom scalar properties. Each level accepts an unlimited number of custom properties to
achieve well-documented and search-ready data files.
The descriptive information located in the file is a key benefit of this data model. This information provides an easy way to document the data without having to design your own header structure. As your documentation requirements increase, you do not have to redesign your application. Because of this structure, you only need to extend the current model to meet the specific requirements.
The more custom properties you use to document the measurement data, the more easily you can locate the data at a later time.
Related Information
- TDM versus TDMS
The TDM data model supports two file formats: TDM and TDMS. These formats differ in how they store metadata, in what functionality they support, and in what operating systems they support.
- Interacting with TDM Files (Windows)
Use LabVIEW Express VIs or Storage/DataPlugin VIs to read, write, and view data in TDM files. Use the Express VIs for basic read and write capability, and use Storage/DataPlugin VIs for additional capabilities.
- Interacting with TDMS Files
Use Express VIs for simple read and write access to TDMS files. Use the TDM Streaming VIs and functions for the best TDMS performance, especially for applications where you are streaming data to TDMS files.