04-23-2009 05:37 AM
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
Solved! Go to Solution.
04-23-2009 07:14 PM
"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
04-23-2009 07:38 PM
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
04-28-2009 03:22 AM
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