Alessandro,
I made that determination because I was not able to get a high res spectrum using your program - I have attached a couple of screenshots. I first captured a 14Mpts waveform (first pic), then I zoomed in to the 100MHz carrier (second pic) and the zoomed picture had very crusty resolution, no way to see anything close to the carrier. In case there is a way to display the spectrum in better resolution can you pls advise how to configure the program for it.
Thks!
Thanks for the pictures, it helps me to confirm what functions are working. From the number of points it looks like its only downloaded the display buffer. Does the scope move into stop/single shot mode when you click capture? It should as in continuous run mode only the 1400pnt buffer can be downloaded. Maybe try pressing the stop button before capturing? I had to do some gymnastics to download the segment on my 1000 series, as despite what the programming guide says you can't download the entire buffer in one go. I'm sure the DS2000 series has similar bugs. From the total bytes requested it looks as if the program has asked 14 times (In 1 megabyte chunks) for the data and it was returned 1414 bytes the first time and zero for the subsequent times.
This means either the code for setting the WAV:START and WAV:STOP points needs to be done differently in the DS2000 series or the scope did not properly move into stop mode before attempting the download. Or I need to send some additional commands. Debugging is quite hard without access to the scope but it'll get there eventually.
If anyone is willing to be a big help; I need to know some details from the ds2000 series about how it handles its memory downloading process.
This would be the procedure: (commands can be sent through ultra-sigma)
Procedures of the internal memory waveform data reading:
S1.
:STOP The internal memory waveform data can only be read in STOP state
S2.
:WAV:SOURce CHAN1 Set the channel source to be read
S3.
:WAV:MODE RAW Set the waveform mode to RAW
S4.
:WAV:RESet Reset the waveform reading
S5.
:WAV:BEGin Start the waveform reading
S6.
WAV:START 1S7.
:WAV:STOP 1000000S8
:WAV:DATA?Thing to determine:
Increase WAVE:STOP until the scope returns zero waveform data, know this value.
Make sure the memory can be downloaded in segments, ie set waveform start to 1000001 and waveform stop to 2000000 on the second pass.
Do :WAV:RESet and :WAV:BEGin commands need to be resent before the second lot of memory is returned? Do they need to be sent once only, or even at all?