LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build a tree thanks to a TDMS file with the same hierarchy

Hi everyone,

 

I am trying to build a tree with the same hierarchie than my tdms file. The "TDMS list content" VI provides me a 2D array with the groups names and channels names as you can see on the picture I am posting. I tried to split it into two 1D arrays but I really don't know how to respect the same hierarchy in my tree. I would like that it works even if I change the groups and channels of my TDMS.

 

You can find my current VI and pictures of the tree I would like to build thanks to the 2D array provided by the "TDMS list content" VI...

 

Thank you very much !

 

Lucas

Download All
0 Kudos
Message 1 of 2
(1,899 Views)

I believe this is already done for you in the TDMS Viewer made by NI.  On the palette of LabVIEW under File IO >> TDM Streaming there is a TDMS Viewer that is open and shows how to build a tree from a TDMS file.  The viewer is super handy for quickly viewing data.  Scout by SignalX also does a great job of viewing data and is free, but is closed source.

Message 2 of 2
(1,867 Views)