12-18-2018 06:37 PM
Hey everybody.
I am pretty new to LabVIEW, but I am currently building a program which should be able to log data from in all 15 voltage channels. The channels are accelerometers, thoug it is not important for the problem.
My problem is I want to log data and later I will have to add more data from a GPS, why I use TDMS.
I can manage to log all data with TDMS, but I lack a time colum (or time channel) in my TDMS.
I have tried the get waveform components and the build waveform array to get time from the waveform.
But the problem is, that my signal is a 1D waveform, and it must be a waveform DBL ?
My sampling needs to be continous.
Please, can someone help me with loggin the time as well?
Thank you.
Regards, Marck.
12-19-2018 01:27 AM
Hi Marck,
waveforms already include timing data (as t0 and dt).
As you save waveforms to TDMS those information will also be saved in the TDMS file.
Once you read that TDMS file you will get back the waveforms and can read thos t0/dt information too.
(There also is a WDTGetWaveformTimeArray function to create an array of timestamps…)
12-19-2018 02:44 AM
Thanks for the quick reply!
I will look into it.
Regards,
Marck.