From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

fast way to get all data from TDMS

hi all,

 

I use Labview 2011. I built one tdms file with hundred of groups. In each group, there are 25 properties values (date, temperature, time, etc...). I want to get 15 of the 25 properties for all the groups of this TDMS file. I used 'TDMS list content' function to get the names of each group and then I used the loop function and the 'TDMS get properties' to get the 15 properties. This solution is ver very very slow. I am pretty sure there is better solution. Any suggestion?

 

thank you for your help

 

Cédric 

0 Kudos
Message 1 of 3
(2,323 Views)

It sounds like you have a lot of data so you should expect it to be slow.  But to try to speed it up you can defrag the file first.

0 Kudos
Message 2 of 3
(2,308 Views)
Another thing to remember Cedric is that the TDMS format was optimized to make the writing of data as fast as possible. Speed of reading was sacrificed.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 3
(2,269 Views)