Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

Get actual date/timestamp from Tektronix MDO3024

$
0
0

Dear all,

 

Being a relatively new user to Labview I am trying to build a program to acquire and save data from an oscilloscope.

 

I have connected an MDO3024 to my computer and am using the "Tektronix DPO MSO 2000 4000" instrument driver to acquire data. Currently I use the "Read (single waveform)" function to acquire data from channel 1 and write/append this data to a text file. Since the VI runs continuously inside a loop and data is acquired faster than the length of the data being displayed on the oscilloscope I get an overlap in the data. This is not a problem in itself since I could search and delete overlapping portions. However, for this I need an (absolute) time reference. Unfortunately the waveform "t0 data" does not contain this information, rather it sends the relative time which is constant for each waveform returned. Now I've tried to manually acquire/generate a timestamp at several locations (even inside the Read VI itself) and add this to the data, but so far this does not solve the problem; small delays occur ans cause a non-constant delay between each waveform, see picture. Since I also can't seem to find a way to have the oscilloscope return an actual date/time stamp with the data I'm kind of stuck.

 

Any advice or ideas would be more than welcome!


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>