03-07-2019 03:58 PM
Hello,
I want to write the data from a waveform graph into a text file with two columns (one for all the time values and their corresponding Y values).
I have tried to use the unbundle function for the cluster that the waveform data is in but all I see in the text file is t0, dt, and all the Y data values.
Is there a way to obtain all time values from the cluster or do I have to manually obtain the values from t0 and dt?
I don't have a VI attached because this is just a general question.
Thanks
03-07-2019 09:11 PM
The waveform datatype assumes the data was collected synchronously at the rate defined by dt. Therefore you only need t0 and dt and the exact time of every point of data can be determined. =(i*dt)+t0
In this scenario, storing a timestamp value for every data point measured would be storing a LOT of redundant data.
If the data being acquired was not synchronous, you should be using x/y data, which does store a timestamp for every data point.