I had a memory problem. (See this thread) and so I changed by waveform to 2d DBL and now I need help in getting the data with time as it was before I changed to DBL.
I think to get accurate acquisition timestamps you would have to retrieve the samples using the waveform datatype. Otherwise take a timestamp (Get date/time in seconds) on each iteration of the acquisition loop and deduct the number of samples read times the sample rate to get a approximate timestamp for the first sample in the dbl array.
Message Edited by andre.buurman@carya on 11-26-200712:19 PM
There's a bunch of properties you can set on a channel to include time information. They are documented on the "Set Waveform Properties" help page. Use TDMS Set Properties to set these, use the group name and channel name(s) you get out of TDMS Write after saving the DBl array. Or do it the other way round 🙂 thx Herbert