On Sat, Nov 28, 2015 at 12:21:16AM +0100, Johannes Bauer wrote: > Hi there, > > my question only has indirectly to do with Sigrok. I tried using it > together with my Rigol DS2202, but really didn't get satisfactory > results with it. Namely, it always reset the sampling rate to insanely > low values (I need very high sample rate for my appliacation).
I think you should be able to get sigrok-cli to grab your data the way you want, with appropriate parameters. For example you should use --config data_source=Memory to grab the whole memory instead of just the visible screen. You can have a look a the driver source to get an idea of the options you can set: http://sigrok.org/gitweb/?p=libsigrok.git;a=blob;f=src/hardware/rigol-ds/api.c;h=1f784cfce344177d997a08d5fc73e5a8f0f8e76a;hb=HEAD#l639 > So I used > a script that directly opens a TCP/IP connection on the LXI port and > followed the Rigol DS2000 Programming Guide. > > What is described in the PDF and what I see on the oscilloscope differs > a WHOLE lot, so therefore I figure someone on here might be able to help > me. I had it (kind of) working, but rather slow transmission and some > commands didn't work, so I decided to upgrade from my 01.01 firmware to > 03.01. Not sure why you didn't go straight to the latest version (03.04): http://beyondmeasure.rigoltech.com/acton/fs/blocks/showLandingPage/a/1579/p/p-001a/t/page/fm/0 > Big mistake, now it really doesn't work at all anymore :-( Here's > a log hexdump: http://pastebin.com/jbGkQ9P7 Works for me (simply using netcat): $ nc 192.168.1.150 5555 *IDN? RIGOL TECHNOLOGIES,DS2302,DS2A152801720,00.03.04.SP1 :SINGLE :TRIG:STAT? STOP :ACQ:MDEP? 70000 :WAV:MODE RAW :WAV:FORM BYTE :WAV:POIN 70000 :WAV:SOUR CHAN1 :WAV:RES :WAV:BEG :WAV:STAT? IDLE,70000 > Eventually I would like to see my usecase work with sigrok, It may already work... > but right > now I need to urgently just get these measurements to work. Which is why > I'm clinging to the staw of this mailing list, if nobody on here knows, > I don't think anyone does :-/ I hope this helped at least a little bit. Let us know if you manage to do what you want, and tell us what improvement you would need from sigrok for your use case. Feedback is always useful. Aurel ------------------------------------------------------------------------------ _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel