LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS Defrag creates 20X larger file

Hello!

 

I have read a post (see link below), and I thought I give it a try to this TDMS defragmentation, to shrink some of my data files. To my surprise, I get an about 20X larger file as a result of the defrag process (original file is about 10 Mb, after defrag ~200 Mb). Could someone explain why this happens?

I attach my test TDMS file, and the VI which is described here (available via the Examples from LV2015 and higher): https://forums.ni.com/t5/LabVIEW/Defrag-TDMS-File-With-Progress/td-p/2954017

 

TDMS Display Defragmentation Progress_BD.png

 

 

0 Kudos
Message 1 of 4
(2,815 Views)

Okj, it is abvious I did not sleep last night at all 😞

The vi creates an example file, and defrags it :DDDD

 

ps.: i modify a moderator to remove this post, this just creates noise 😉

0 Kudos
Message 2 of 4
(2,811 Views)

Before they decide to remove (or not) the post, just to mention, i get a nice factor of 10 decrease in size for my TDMS files coming from a particular project 🙂

(of course, first deleted that TDMS creation code part 😄 )

Message 3 of 4
(2,801 Views)

I'm glad I'm not the only one who does stuff like that.  😉

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 4
(2,745 Views)