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!