LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform Timestamp from Tek DPO70404

I'm importing a waveform from a TEK DPO70404 and would like to do some analysis (integrate it, do some calculations, etc) on the data and save it to disk.  I have a working program from an old LeCroy scope that works fine, but there seems to be a subtle difference between the waveform from the LeCroy and the waveform from the TEK.  Specifically, the t0 from the LeCroy accurately reflects the actual time of the first data point (in this case, -0.04s because I have the trace shifted one division on the scope, 0s is for the trigger point) and it's a *number*, but the t0 from the TEK comes as a "timestamp" data type, with a value of 0 for the first point (should be -0.04s).  I can't for the life of me figure out how to get the waveform that's pulled from the TEK to reflect the actual time values of the data points.  I've tried creating XY pairs, I've tried 'Get waveform time array", I've tried "get waveform components" and they all spit out the same incorrect value for the first data point. 

 

The only success I've had is with "Export waveforms to spreadsheet" which puts down the t0 and dt values correctly, and then the long array of Y values.  Unfortunately, I can't duplicate it when I try to rewrite the VI, I just get a spreadsheet with two columns, one all timestamps, and one with Y data.

 

I'd post my programs, but they're mishmashes of trial-and-error at the moment.  

 

Thanks,
Adam

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

Hi afh,

 

 You say you have had some success, but cannot duplicate it?  I think to help you we would either need to see some examples, or have a much more vivid description of the data types you are dealing with.  If you have success exporting the waveform to a spreadsheet, hopefully you can exactly recreate it when you start from scratch.

 

Regards, 

Brian A.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(2,280 Views)