11-18-2008 03:30 AM
I was working on binary files and have just changed to .tdms writing. I'm getting all the information I have with a Matlab file that NI provides in this link. I can get all the channels I'm sampling and also the timestamp saying the exact time I started to acquire the signals (like 11/18/2008, 10:49:19:268.033), but I would like another column (or row) with the timestamps of each sampling (and not relative to current time, but relative to beginning of sampling).
Can anyone help me here with this?
11-20-2008 05:10 AM
Hi,
it seems that the data is acquired as waveform data type. The waveform data type consists of a y-array (measured samples), a time stamp (t0/begin of the measurement) and of a dt-value (1/rate).
If you want to create time stamps for every sample by use of MATLAB, you have to develop an algorithm that uses t0 and dt to calculate the time stamps.
I have no access to a MATLAB software and can not support you in terms of MATLAB.
Best regards
Rüdiger