LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

storage solutions using TDM

Hello,

the TDM format looks very promising. However I couldnt yet find in-depth information at the NI website for best practices and solutions. For example, what is the best way to store 2D data (x- and y-array)? In particular if I need to store several 2D data sets in one file. Store the arrays of each 2D set together in a group? Is it possible to build sub-groups like this:

[tdm-root]
[measurement1]
[xy1]
waveform1
waveform2
[/xy1]
[xy2]
waveform1
waveform2
[/xy2]
[/measurement1]
[measurement2]
[xy1]
..........
[/measurement2]
[/tdm-root]


Is there a way to store arbitrary scalar values in the properties of a group? With respect to the above structure, store sensor data and othter info that applies to all waveforms in the group in the properties of [measurement1],[measurement2]? The wizzard vi's seems to allow only 3 str values...


I would appreciate any hints and tips on this topic. Maybe I missed some important part of the documentation?

thanks

klaus
0 Kudos
Message 1 of 2
(2,626 Views)

Hello Klaus,

 

 

 

 

sorry but, but your example doesn’t work. It’s only possible to have 3 hierarchies in the TDM-format. These are the Root, Group, and Channel hierarchies.

 

 

You should use for every array a separate group, but you can implement 2 channels in one group.

 

 

I’ve some interesting links for you:

 

 

 

 

NI TDM Data Format

 

https://www.ni.com/en/support/documentation/supplemental/06/the-ni-tdms-file-format.html 

 

 

 

 

 

 

 
0 Kudos
Message 2 of 2
(2,577 Views)