Sat Mar 26 16:07:07 EDT 2011
Rigol remote control using usbtmc
Quite straightforward. It's almost like a serial terminal, but usbtmc
seems to be message based, and there is timing information. However
using the character device, all of the complexities of the usbtmc
protocol are hidden.
I'm using this quick-hack to query the device:
tmc <command> # send command
tmc -r <command> # .. and print reply
:RUN Start capturing / wait for trigger
:STOP Stop capturing
:TRIG:EDGE:SWE SING Single shot
:TRIG:EDGE:SWE AUTO Continuous display
To get waveform data:
That first command I got from here. I didn't find it in the
manual. The second one only makes the 2.05 SP2 crash.
I wonder how to download the entire data buffer.. Manual doesn't seem
to be complete.
Btw, it's great to have  sending ":RUN" to the scope to arm the
trigger, with that command bound to a key in emacs.