LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tdms property order

Solved!
Go to solution

hello,

 

I would like to know if there is a way for file properties of tdms to be arranged in order the information have been recorded.

 

i have recorded for example date , author, devices used, and other ,in file properties

if i want to use tdms viewer info are not arranged respecting order of write. I suppose this is more or less normal knowing this is like a data base ,

but is there still a way to force display order ?

 

Best regards

 

Tinnitus 

 

 

 

 

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 1 of 4
(3,280 Views)
Solution
Accepted by tinnitus

"TDMS Get Properties" already returns the properties in the order they have been written in. It's the TDMS File Viewer that sorts the property list alphabetically.

 

The TDMS File Viewer is a VI and not password-protected. If you need it to display the properties in their actual order, all you would need to do is remove the sorting code from .\vi.lib\Utility\tdmsutil.llb\formatPropertyList.vi (it's the two for loops on the right hand side).

 

Herbert 

Message 2 of 4
(3,254 Views)

I have noticed when you use the TDMS excell addin it does not display the channels in the order that they are written when you use different data types

 

for example I have a file that has a timestamp and doubles and the timestamp sometimes appears first and other times appears last even though I write the timestamp before I write the other doubles

- James

Using LV 2012 on Windows 7 64 bit
0 Kudos
Message 3 of 4
(3,251 Views)

Hi Tinnitus & James,

 

You could open the tdms file in notepad and find the properties you added, check whether the properties order is the same as opened in Excel Add-In.

If not, would you please attach the tdms file in this thread?

Thanks.

 

 

Yunkun

 

 

0 Kudos
Message 4 of 4
(3,195 Views)