Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquire waveform from Tektronix 3052C scope with some interval

Hi All,

 

I am using tektronix 3052C oscillosope. I use averaged method of acquisition. the process I am following is as below

 

Initialize scope

configure scope parameters (average -64)

call read waveform.vi

get the waveform and measure Vpp and verify.

close the Interface

 

this thing works fine with no problem.

 

Now I want to put read wavform vi in the while loop so that I can run it again if Vpp verification fails.

I tried to put only read waveform.vi in the loop, I started getting time out error from fetchwaveform.vi in the 2nd trial.

 

If I put the whole thing in the while loop, it does not have any problem, but it consumes some time as I have to run initialize and configure Vis again.

 

If some one can throw some light on myself, that would be really great.....

 

 

Thanks

 

 

Anil Punnam
CLD
LV 2012, TestStand 4.2..........
0 Kudos
Message 1 of 4
(3,606 Views)

What acquisition mode are you using? Single or Continuous?

Message 2 of 4
(3,591 Views)

Hi

 

the visa init and close should anyway stay outside the loop, but some of the scope configuration is probably needed to trigger the scope or maybe you are reading too fast for the second waveform

greetings from the Netherlands
0 Kudos
Message 3 of 4
(3,588 Views)

@Dennis

I am using continuous mode of acquisition. I believe that is the one required if we want averaging.

 

 

@Albert

I kept break point between 2 reads when I was testing this. So there is no problem with the time it seems. I will try to move some of the confguration outside and see the result

Anil Punnam
CLD
LV 2012, TestStand 4.2..........
0 Kudos
Message 4 of 4
(3,584 Views)