Hi there,
I am about half way through adapting a python script that I had written for a Tektronix DPO3000 to work with the DS1000Z series. It automatically sets up the scope to certain parameters, acquires, averages, transfers data, oversamples and plots.
I am using the pyvisa library and just send the commands specified in the programming guide. So far so good.
I noticed what appears to be a severe limitation for my application:
When I set up a certain number (let's say 512) of desired averages on a Tektronix scope (ACQuire:NUMAVg 4) and set the scope to averaging, I query the scope every now and then (ACQuire:NUMACq?) to find out whether the desired number of averages have finished acquiring, so that I can initiate the data transfer.
When I try the same thing on the Rigol, I send :ACQuire:AVERages 512 to set up 512 averages and set the scope to averaging. However I could not find any way to determine whether the averaging is complete, i.e. 512 averages have been acquired... and for my application I need to know that.
I have read the programmers manual up and down and have looked in lots of places on the net but could not find a way to get this to work.
Hence my questions: Has anyone managed to do that in the past? Does anyone have a good idea on how to achieve that?
Thanks in advance!
Peter