07-27-2010 12:07 PM - edited 07-27-2010 12:08 PM
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
07-27-2010 02:20 PM
What acquisition mode are you using? Single or Continuous?
07-27-2010 02:57 PM
07-27-2010 03:36 PM
@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