LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquire time values from a Waveform Graph

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

0 Kudos
Message 1 of 2
(1,810 Views)

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.

Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 2 of 2
(1,775 Views)