Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading measurements from Tektronix oscilloscope while in STOP

Currently, I am successfully using the VISA driver for the Tektronix MDO3034 oscilloscope to read waveform measurements.

However, this does not work when the oscilloscope is in STOP mode, as the various Read Waveform Measurements vi's always initiate waveform acquisition before extracting the desired measurements.

In some instances, I would instead prefer:

  • to first manually capture a waveform directly on the scope, thus resulting in the oscilloscope being in STOP mode
  • and when the oscilloscope is STOPped, with the waveform frozen on its display, and with the selected measurements also displayed (for example frequency, cycle rms, or whatever), I would then like to be able to simply read-out the very same measurement values which are displayed on the oscilloscope (they must be in memory somewhere, and I would expect probably readable via the VISA instrument driver)

I was not able to identify any suitable vi.

Has someone else in this forum ever faced the same problem?

Many Thanks

Luca

0 Kudos
Message 1 of 3
(158 Views)

The data should be there, all you would have to do is read back the current memory. 

You would not reset teh instrument, you would not trigger a new measurement, you would simply initialize communication and read memory. What have you tried?  Post your VIs (<2020) and we should be able to help.

 

Craig

0 Kudos
Message 2 of 3
(115 Views)

At the end I solved my problem by switching to a different VI, the Fetch Waveform Measurements In Memory.vi. 

In fact, I had originally discarded it after reading its Context Help, which starts with "Firstly, initiates an acquisition on the channel ...." 

I was hence mislead into thinking that it would also result in the same problem, but in fact it does not try at all to first initiate a new acquisition, it simply reads whatever has already been captured on the scope.

Thanks, anyway

 

Luca

0 Kudos
Message 3 of 3
(87 Views)