Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Get data from scope using Agilent 6000 driver

Hi , 

 

I would like to capture what ever I have on the scope without triggering it to do a measurement. So the output from DUT trigegrs the scope. The data that I want is now displayed on the scope screen.

Then I would like to run a VI to capture the screen

The output can be either a waveform object or two 1D arrays (X and Y data) that should match exactly with what is displayed on the scope screen. Nothing should happen to the scope during this getData operation (i.e. the same data is still displayed on the scope screen after the function runs). 

 

I am using Agilent 6000 drivers and I can't figure out how to capture the screen without triggering

I have attached the vi I use for captureing the screen . Could you please help me with this? 

 

Thanks

 

 

0 Kudos
Message 1 of 3
(4,079 Views)

Don't call the Initiate VI.  That tells the scope to acquire data.  If you already have a waveform on the scope that you want, you just need to call the Fetch Analog Waveform VI.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(4,062 Views)

Hi Crossrulz

 

Thank you for your help. I have tried with only Fetch Analog Waveform

 

It still need triggering to acquire waveform. 

When I want to capture the waveform I set the Mode Coupling to Normal. Whatever I do then trigger and the scope captures the waveforms. Now I want my VI to just get whatever I see on the screen . If I use Fetch Analog Waveform something should trigger otherwise Fetch Analog Waveform times out. I think I should change one of the VISA commands for this function

Probabely     ":WAV:SOUR %s;PRE?;"

 

 

0 Kudos
Message 3 of 3
(4,044 Views)