MarkL, what did you use to download large waveform samples? I tried a software praised in another thread but i only get 1k samples or something, though i set a large memory buffer on the scope. Is a SCPI command for it?
It's a program I wrote in Linux octave with its optional sockets package. It's still incomplete and was originally written for the Agilent scope and works fine for it, but now it's a total structural mess to accommodate quirks in the Rigol. And it doesn't work consistently on the Rigol. I would try the other package you have first since that no doubt can handle the Rigol weirdness better.
I was stuck at 1200 points also. Here are the relevant oddities I discovered for a large download:
- You can't buffer multiple commands into the SCPI port. One command at a time and wait for the response (if any).
- You can only change the memory record size when the capture is running.
- If you set the scope to anything larger than 1.2MPts (1200000) it sometimes returns a 0 point result.
- You have to set the ending waveform point, otherwise it defaults to 1200 points returned.
- You can't set the ending point to 1200000, otherwise you get 0 points. I used 1100000 (:WAVeform:STOP 1100000).
- Even if you do capture more than 1.2MPt, I couldn't get it to return much more than 1100000 points anyway (when it didn't return 0). I think setting the start and stopping points would eventually allow retrieval of the entire memory but I didn't bother doing it. 1.1MPts was enough to show what I wanted.
So, the crucial things to do are:
:run
:ACQuire:MDEPth 1200000
:stop
:WAVeform:STOP 1100000
Waveform is captured at this point. I used the following to do the raw download:
:WAVeform:mode raw
:WAVeform:PREamble?
:waveform:data?
Once set up, maybe your package can do the download since the preamble is correct at this point.
You might have better luck saving the waveform to the USB drive, but I didn't try it. If this still doesn't do it for you, I can try and clean up the octave code a little.
If anyone is going to start diving deep into SCPI bugs, please start a new thread or perhaps take it to the Bugs/Anomalies thread.