09-10-2008 01:43 AM
Hello,
I'm writing a tdm export using the tdm library for generating the tdm header. Binary data (i16) is already in a seperate file and defining the (block-)channels in tdm file works fine. But how or where do I describe time information (sampleclock) for that measurement. All channels have same samplerate.
Thanks
Christian
09-11-2008 04:37 AM
Hello Christian,
please post your development system and the version so that i am able to help you in this case.
If you generate the tdm file in lavbiew please take a look at the example finder and search for the "tdm".
Use the Write TDM File.vi to generate a tdm file.
You are able to define a new input in the write data express vi (like sample clock).
Kind regards,
Elmar
09-11-2008 05:32 AM
Hi Elmar,
thanks for your answer. I do not work with labview, so maybe I'm wrong in this group. I develop with Delphi and/or Visual Studio. To generate the TDM header for already stored binary data I use the NI TDM DLL (niTDMHW1_0.dll). Everything works fine, my channel definitions are interpreted correct and data is shown correct (e.g. in DIadem). But as there is only channeldata (=measurement values) in the binary file, I've to add a "timebase" or a definition for sampleclock etc.
In the examples for NI TDM DLL I found how to add timebase for DIadem with tdmwCreateImplicitChannels, is that the common way to setup the time relation with measurement data?
Thanks in advance
Cheers
Christian
09-15-2008 02:46 AM
Hello Christian,
i talked with the developer in aachen about your request.
And yes this is the common way in this case to produce such a header.
Kind regards,
Elmar