02-20-2008 11:06 AM
02-21-2008 02:56 AM
02-21-2008 03:59 AM
Thanks Ingo,
I defragment the file allready and write the time channel at first, and the channel starts with an "a".
If the channels would be sorted alphabetically it should be first.
To write the groupindex and the number in in the properties of the TDMS doesn't help either.
Do you havesome other suggestions?
Thanks Joerg
02-21-2008 04:33 AM
02-21-2008 09:14 AM
Hi Jörg,
i suppose that you´re programme whose create the *.tdms file is writing on false position. Try to create datas with timechannel on first indes in diadem, then save it and then open it again. you see that all is correct. So please tell me what programm in what version do you use and please attache it here.
Did you use the library for creating *.tdms files like in the link ?
http://zone.ni.com/devzone/cda/tut/p/id/6471
Here you find the gtdms_8.x.zip - when you extract it and opened the *.llb you find vi´s for all functions e.g. writing 2d array of strings to *.tdms file
when you open the subvi´s then you see how created and writing datas/structure to *.tdms files. Because *.tdms is binary you can´t see structure with open it in editor.
When you don´t have Labview you can use the 30 days test of current version 8.5 under following link
german version download link
https://lumen.ni.com/nicif/d/lveval/content.xhtml
english version download link
https://lumen.ni.com/nicif/us/lveval/content.xhtml
Hope it helps
Best Regards
02-21-2008 09:56 AM
Thanks Johann,
the LabVIEW 8.0 VIs are a big help to understand the TDMS storage.
I attached the example for LabVIEW 8.5 with the time channel problem.
I like to have the channel a_zeit_relativ at number 1.
If you run this VI you can see a second feature of the TDMS file format.
On a Windows PC the DataSetComments are fine and you can read the right ASCII character.
On a Real Time PXI 8156B system you can't see all DataSetComments because the converting to DIADEM character coding is missing.
Ciao Joerg
02-21-2008 10:02 AM
02-21-2008 10:06 AM
No and yes
The order of the channels is the same under Windows XP or RealTime for PXI.
But the coding of the not printable characters (Unicode 128-255) is different between XP or Real Time for PXI.
Ciao Joerg
02-22-2008 02:34 AM
Best way is to try a simpliest vi for writing *.tdms file and try change orders so you can find where the problem is
Best Regards
02-22-2008 03:43 AM