Bug 778 - Request Support of MSO2000A Series
Summary: Request Support of MSO2000A Series
Status: IN_PROGRESS
Alias: None
Product: libsigrok
Classification: Unclassified
Component: Driver: rigol-ds (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-27 17:46 CEST by SrR0
Modified: 2023-06-16 11:59 CEST (History)
4 users (show)



Attachments
sigrok-cli dump for MSO2000A series detection (1.47 KB, text/plain)
2016-03-27 17:46 CEST, SrR0
Details
Patch to add MSO2000A series support. (841 bytes, patch)
2017-05-10 17:37 CEST, Martin Ling
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SrR0 2016-03-27 17:46:09 CEST
Created attachment 241 [details]
sigrok-cli dump for MSO2000A series detection

I hava a rigol mso2302a here and saw in the sigrok-cli that the id-response is not known by the driver yet (see attachment). Seems to me that the MSO2000A series is some kind of a mixture of the DS2000A series and the MSO1000Z. 

If i should provide more information please dont hasitate to contact me.

kind regards robert
Comment 1 Martin Ling 2017-05-10 17:37:01 CEST
Created attachment 301 [details]
Patch to add MSO2000A series support.

It's quite likely this 4-line patch is all that's required to add support for this series. It looks like they're identical to the DS2xxxA models except for the addition of the logic analyzer module, which we already have support for on other series.

Can someone with one of these scopes test this?
Comment 2 SrR0 2017-05-14 09:43:44 CEST
(In reply to comment #1)
> Created attachment 301 [details]
> Patch to add MSO2000A series support.
> 
> It's quite likely this 4-line patch is all that's required to add support
> for this series. It looks like they're identical to the DS2xxxA models
> except for the addition of the logic analyzer module, which we already have
> support for on other series.
> 
> Can someone with one of these scopes test this?

Hello Martin,

did you already build it for windows with your patch? I would like to test it with my MSO, but i am out of practice doing that linux build thing...

regards 

Robert
Comment 3 Martin Ling 2017-05-15 18:00:45 CEST
Hi Robert,

The change has now been merged and the build server has just run, so if you download the latest from http://sigrok.org/wiki/Windows you should have it.

Please let us know how you get on so that we can update or close this bug.

Regards,

Martin
Comment 4 SrR0 2017-05-15 21:38:41 CEST
(In reply to comment #3)
> Hi Robert,
> 
> The change has now been merged and the build server has just run, so if you
> download the latest from http://sigrok.org/wiki/Windows you should have it.
> 
> Please let us know how you get on so that we can update or close this bug.
> 
> Regards,
> 
> Martin

Hello Martin,

Thanks for including the change. I just tested it. In the "Connect to Device"-Window i selected 

-"ROGOL DS (rigol-ds)
-TCP/IP and my IP-Address

After Scanning ist showed up "Rigol MSO2302A with 18 channels" in the Step 4: Select the device-List

After selecting this line and pressing "OK" in that dialog, the dialog window was closed and its still showed up "Demo device" in the Device-Drop down box. If i press somewhere in the main window the caption of the main window changed to "Session 1 - PulseView (Keine Rückmeldung)" --> which means that the application hangs. The only thing i can do now is killing the application.

Mhhh... can i do anything to get it work or help you with diagnosis?

Thanks and Regards

Robert
Comment 5 Martin Ling 2017-05-16 01:55:47 CEST
Hi Robert,

Could you try with sigrok-cli please?

A few commands to try:

> sigrok-cli -d rigol-ds --show

> sigrok-cli -d rigol-ds -C CH1 --frames 1

> sigrok-cli -d rigol-ds -C D0 --frames 1

You can also add "-l 5" to any of these to get full debugging output.
Comment 6 SrR0 2017-05-16 18:53:40 CEST
Hello Martin,

--> i tried it out: the first time with freshly powered up scope it made that:

C:\Program Files (x86)\sigrok\sigrok-cli>sigrok-cli -d rigol-ds:conn=tcp-raw/10.0.0.91/5555 --show -l 5
sr: [00:00.000000] log: libsigrok loglevel set to 5.
sr: [00:00.000000] backend: libsigrok 0.5.0-git-09f24ef/3:0:0 (rt: 0.5.0-git-09f24ef/3:0:0).
sr: [00:00.000000] backend: Libs: glib 2.44.1 (rt: 2.44.1/4401:1), libzip 1.1.3, libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1), libusb-1.0 1.0.20.11003-rc3, libftdi 1.2.
sr: [00:00.000000] backend: Host: i686-w64-mingw32.static.posix, little-endian.
sr: [00:00.000000] backend: SCPI backends: TCP, serial, USBTMC.
sr: [00:00.000000] backend: Sanity-checking all drivers.
sr: [00:00.001000] backend: Sanity-checking all input modules.
sr: [00:00.001000] backend: Sanity-checking all output modules.
sr: [00:00.001000] backend: Sanity-checking all transform modules.
srd: libsigrokdecode loglevel set to 5.
Driver functions:
    Oscilloscope
sr: [00:00.006000] hwdriver: sr_config_list(): key 2147418112 (NULL) sdi 00000000 cg NULL -> [uint32 20000, 20001]
Scan options:
    conn
    serialcomm
sr: [00:00.008000] hwdriver: sr_config_list(): key 2147418112 (NULL) sdi 00000000 cg NULL -> [uint32 20000, 20001]
sr: [00:00.008000] scpi: Opening RAW TCP device tcp-raw/10.0.0.91/5555.
sr: [00:00.010000] scpi_tcp: Successfully sent SCPI command: '*IDN?'.
sr: [00:00.012000] scpi: Got response: 'RIGOL TECHNOLOGIES,MSO2302A,DS2F174900617,00.03.03.SP2', length 54.
sr: [00:00.012000] scpi: Got IDN string: 'RIGOL TECHNOLOGIES,MSO2302A,DS2F174900617,00.03.03.SP2'
sr: [00:00.012000] hwdriver: Scan of 'rigol-ds' found 1 devices.
rigol-ds - Rigol MSO2302A 00.03.03.SP2 with 18 channels: CH1 D0 CH2 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15
sr: [00:00.016000] scpi_tcp: Successfully sent SCPI command: ':CHAN1:DISP?'.
sr: [00:00.021000] scpi: Got response: '1', length 1.
sr: [00:00.021000] scpi_tcp: Successfully sent SCPI command: ':CHAN2:DISP?'.
sr: [00:00.024000] scpi: Got response: '0', length 1.
sr: [00:00.025000] rigol-ds: Current analog channel state:
sr: [00:00.025000] rigol-ds: CH1 on
sr: [00:00.026000] rigol-ds: CH2 off
sr: [00:00.026000] scpi_tcp: Successfully sent SCPI command: ':LA:DISP?'.


--> then no further reaction
--> if i press CTRL-C i got the command prompt again

--> when i repeated the first command it seems that the scope could not be detected. Maybe there has something hung up.



^C
C:\Program Files (x86)\sigrok\sigrok-cli>sigrok-cli -d rigol-ds:conn=tcp-raw/10.0.0.91/5555 --show -l 5
sr: [00:00.000000] log: libsigrok loglevel set to 5.
sr: [00:00.000000] backend: libsigrok 0.5.0-git-09f24ef/3:0:0 (rt: 0.5.0-git-09f24ef/3:0:0).
sr: [00:00.000000] backend: Libs: glib 2.44.1 (rt: 2.44.1/4401:1), libzip 1.1.3, libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1), libusb-1.0 1.0.20.11003-rc3, libftdi 1.2.
sr: [00:00.000000] backend: Host: i686-w64-mingw32.static.posix, little-endian.
sr: [00:00.000000] backend: SCPI backends: TCP, serial, USBTMC.
sr: [00:00.000000] backend: Sanity-checking all drivers.
sr: [00:00.000000] backend: Sanity-checking all input modules.
sr: [00:00.001000] backend: Sanity-checking all output modules.
sr: [00:00.001000] backend: Sanity-checking all transform modules.
srd: libsigrokdecode loglevel set to 5.
Driver functions:
    Oscilloscope
sr: [00:00.005000] hwdriver: sr_config_list(): key 2147418112 (NULL) sdi 00000000 cg NULL -> [uint32 20000, 20001]
Scan options:
    conn
    serialcomm
sr: [00:00.007000] hwdriver: sr_config_list(): key 2147418112 (NULL) sdi 00000000 cg NULL -> [uint32 20000, 20001]
sr: [00:00.007000] scpi: Opening RAW TCP device tcp-raw/10.0.0.91/5555.
sr: [00:00.008000] scpi_tcp: Successfully sent SCPI command: '*IDN?'.


--> so i powercycled the scope again, pressed CTRL-C in the cli and tried the second command


C:\Program Files (x86)\sigrok\sigrok-cli>sigrok-cli -d rigol-ds:conn=tcp-raw/10.0.0.91/5555 -C CH1 --frames 1 -l 5
sr: [00:00.000000] log: libsigrok loglevel set to 5.
sr: [00:00.000000] backend: libsigrok 0.5.0-git-09f24ef/3:0:0 (rt: 0.5.0-git-09f24ef/3:0:0).
sr: [00:00.001000] backend: Libs: glib 2.44.1 (rt: 2.44.1/4401:1), libzip 1.1.3, libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1), libusb-1.0 1.0.20.11003-rc3, libftdi 1.2.
sr: [00:00.003000] backend: Host: i686-w64-mingw32.static.posix, little-endian.
sr: [00:00.003000] backend: SCPI backends: TCP, serial, USBTMC.
sr: [00:00.003000] backend: Sanity-checking all drivers.
sr: [00:00.003000] backend: Sanity-checking all input modules.
sr: [00:00.003000] backend: Sanity-checking all output modules.
sr: [00:00.003000] backend: Sanity-checking all transform modules.
srd: libsigrokdecode loglevel set to 5.
sr: [00:00.007000] hwdriver: sr_config_list(): key 2147418112 (NULL) sdi 00000000 cg NULL -> [uint32 20000, 20001]
sr: [00:00.007000] scpi: Opening RAW TCP device tcp-raw/10.0.0.91/5555.
sr: [00:00.010000] scpi_tcp: Successfully sent SCPI command: '*IDN?'.
sr: [00:00.012000] scpi: Got response: 'RIGOL TECHNOLOGIES,MSO2302A,DS2F174900617,00.03.03.SP2', length 54.
sr: [00:00.012000] scpi: Got IDN string: 'RIGOL TECHNOLOGIES,MSO2302A,DS2F174900617,00.03.03.SP2'
sr: [00:00.013000] hwdriver: Scan of 'rigol-ds' found 1 devices.
sr: [00:00.015000] scpi_tcp: Successfully sent SCPI command: ':CHAN1:DISP?'.
sr: [00:00.018000] scpi: Got response: '1', length 1.
sr: [00:00.019000] scpi_tcp: Successfully sent SCPI command: ':CHAN2:DISP?'.
sr: [00:00.022000] scpi: Got response: '0', length 1.
sr: [00:00.023000] rigol-ds: Current analog channel state:
sr: [00:00.023000] rigol-ds: CH1 on
sr: [00:00.024000] rigol-ds: CH2 off
sr: [00:00.024000] scpi_tcp: Successfully sent SCPI command: ':LA:DISP?'.


--> then it seems to hang again. CTRL-C
--> repeat and i saw the result is differnt

C:\Program Files (x86)\sigrok\sigrok-cli>sigrok-cli -d rigol-ds:conn=tcp-raw/10.0.0.91/5555 -c CH1 --frames 1 -l 5
sr: [00:00.000000] log: libsigrok loglevel set to 5.
sr: [00:00.000000] backend: libsigrok 0.5.0-git-09f24ef/3:0:0 (rt: 0.5.0-git-09f24ef/3:0:0).
sr: [00:00.000000] backend: Libs: glib 2.44.1 (rt: 2.44.1/4401:1), libzip 1.1.3, libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1), libusb-1.0 1.0.20.11003-rc3, libftdi 1.2.
sr: [00:00.000000] backend: Host: i686-w64-mingw32.static.posix, little-endian.
sr: [00:00.000000] backend: SCPI backends: TCP, serial, USBTMC.
sr: [00:00.000000] backend: Sanity-checking all drivers.
sr: [00:00.001000] backend: Sanity-checking all input modules.
sr: [00:00.001000] backend: Sanity-checking all output modules.
sr: [00:00.001000] backend: Sanity-checking all transform modules.
srd: libsigrokdecode loglevel set to 5.
sr: [00:00.004000] hwdriver: sr_config_list(): key 2147418112 (NULL) sdi 00000000 cg NULL -> [uint32 20000, 20001]
sr: [00:00.004000] scpi: Opening RAW TCP device tcp-raw/10.0.0.91/5555.
sr: [00:00.007000] scpi_tcp: Successfully sent SCPI command: '*IDN?'.

--> i assume the first trial of a command does something on with the scope, but the command never got finished. To get some reaction of the scope it needs to be restarted. 

Can I do anything else to fence in the problem?

Thanks and kind regards

Robert
Comment 7 Martin Ling 2017-05-17 01:33:44 CEST
OK, so the problem there is that the ":LA:DISP?" command it's sending isn't valid for the MSO2000A series.

We basically have two sets of support for digital channels in the driver at the moment, one for the DS1000D series (PROTOCOL_V2) and one for the MSO1000Z series (PROTOCOL_V4). The DS2000A series uses PROTOCOL_V3, which until now has been analog-only. We've now added the MSO models with digital channels, but our logic for the digital side is basically going "well, this isn't V4 or higher, so I'll use the V2 commands".

Looking at the MSO2000A series programming guide, we want something in between: most of the :LA commands work like V4, but the actual waveform readout works like V2, except that it needs ":WAV:SOUR LA" followed by ":WAV:DATA?" to get the data.

I've had a go at fixing all this in this commit:

https://github.com/martinling/libsigrok/commit/01dd7a4cc769d3e683cb29c5cf791e9c61034f31

Let's see about getting you another Windows build to test it...
Comment 8 Martin Ling 2017-05-18 17:34:08 CEST
Hi Robert,

The changes I made for the digital channel handling are now in last night's Windows builds, can you have another try?

Cheers,

Martin
Comment 9 SrR0 2017-05-18 20:42:21 CEST
Hi Martin,

seems it got one step ahead. The connect in Pulseview seems to work now. It does not hang any more. 

When doing aquisition of CH1 the scope says "unavailable function" but it shows the content of the scope screen in the pulse view window. I did not manage to capture CH1 and CH2





Here my traces of sigrok-cli:
===============================================================
C:\Program Files (x86)\sigrok\sigrok-cli>sigrok-cli -d rigol-ds:conn=tcp-raw/10.0.0.91/5555 --show -l 5
sr: [00:00.000000] log: libsigrok loglevel set to 5.
sr: [00:00.000000] backend: libsigrok 0.5.0-git-64f628b/3:0:0 (rt: 0.5.0-git-64f628b/3:0:0).
sr: [00:00.000000] backend: Libs: glib 2.44.1 (rt: 2.44.1/4401:1), libzip 1.1.3, libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1), libusb-1.0 1.0.20.11003-rc3, libftdi 1.2.
sr: [00:00.001000] backend: Host: i686-w64-mingw32.static.posix, little-endian.
sr: [00:00.001000] backend: SCPI backends: TCP, serial, USBTMC.
sr: [00:00.001000] backend: Sanity-checking all drivers.
sr: [00:00.001000] backend: Sanity-checking all input modules.
sr: [00:00.001000] backend: Sanity-checking all output modules.
sr: [00:00.001000] backend: Sanity-checking all transform modules.
srd: libsigrokdecode loglevel set to 5.
Driver functions:
    Oscilloscope
sr: [00:00.006000] hwdriver: sr_config_list(): key 2147418112 (NULL) sdi 00000000 cg NULL -> [uint32 20000, 20001]
Scan options:
    conn
    serialcomm
sr: [00:00.008000] hwdriver: sr_config_list(): key 2147418112 (NULL) sdi 00000000 cg NULL -> [uint32 20000, 20001]
sr: [00:00.008000] scpi: Opening RAW TCP device tcp-raw/10.0.0.91/5555.
sr: [00:00.009000] scpi_tcp: Successfully sent SCPI command: '*IDN?'.
sr: [00:00.012000] scpi: Got response: 'RIGOL TECHNOLOGIES,MSO2302A,DS2F174900617,00.03.05', length 50.
sr: [00:00.013000] scpi: Got IDN string: 'RIGOL TECHNOLOGIES,MSO2302A,DS2F174900617,00.03.05'
sr: [00:00.013000] hwdriver: Scan of 'rigol-ds' found 1 devices.
rigol-ds - Rigol MSO2302A 00.03.05 with 18 channels: CH1 D0 CH2 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15
sr: [00:00.017000] scpi_tcp: Successfully sent SCPI command: ':CHAN1:DISP?'.
sr: [00:00.022000] scpi: Got response: '1', length 1.
sr: [00:00.022000] scpi_tcp: Successfully sent SCPI command: ':CHAN2:DISP?'.
sr: [00:00.025000] scpi: Got response: '0', length 1.
sr: [00:00.025000] rigol-ds: Current analog channel state:
sr: [00:00.025000] rigol-ds: CH1 on
sr: [00:00.025000] rigol-ds: CH2 off
sr: [00:00.025000] scpi_tcp: Successfully sent SCPI command: ':LA:STAT?'.
sr: [00:00.028000] scpi: Got response: '0', length 1.
sr: [00:00.028000] rigol-ds: Logic analyzer disabled, current digital channel state:
sr: [00:00.029000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG0:DISP?'.
sr: [00:00.032000] scpi: Got response: '0', length 1.
sr: [00:00.032000] rigol-ds: D0: off
sr: [00:00.032000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG1:DISP?'.
sr: [00:00.035000] scpi: Got response: '0', length 1.
sr: [00:00.036000] rigol-ds: D1: off
sr: [00:00.036000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG2:DISP?'.
sr: [00:00.039000] scpi: Got response: '0', length 1.
sr: [00:00.040000] rigol-ds: D2: off
sr: [00:00.040000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG3:DISP?'.
sr: [00:00.044000] scpi: Got response: '0', length 1.
sr: [00:00.044000] rigol-ds: D3: off
sr: [00:00.044000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG4:DISP?'.
sr: [00:00.047000] scpi: Got response: '0', length 1.
sr: [00:00.049000] rigol-ds: D4: off
sr: [00:00.049000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG5:DISP?'.
sr: [00:00.052000] scpi: Got response: '0', length 1.
sr: [00:00.052000] rigol-ds: D5: off
sr: [00:00.053000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG6:DISP?'.
sr: [00:00.056000] scpi: Got response: '0', length 1.
sr: [00:00.059000] rigol-ds: D6: off
sr: [00:00.059000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG7:DISP?'.
sr: [00:00.064000] scpi: Got response: '0', length 1.
sr: [00:00.065000] rigol-ds: D7: off
sr: [00:00.068000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG8:DISP?'.
sr: [00:00.071000] scpi: Got response: '0', length 1.
sr: [00:00.071000] rigol-ds: D8: off
sr: [00:00.072000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG9:DISP?'.
sr: [00:00.084000] scpi: Got response: '0', length 1.
sr: [00:00.084000] rigol-ds: D9: off
sr: [00:00.085000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG10:DISP?'.
sr: [00:00.092000] scpi: Got response: '0', length 1.
sr: [00:00.094000] rigol-ds: D10: off
sr: [00:00.095000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG11:DISP?'.
sr: [00:00.098000] scpi: Got response: '0', length 1.
sr: [00:00.098000] rigol-ds: D11: off
sr: [00:00.099000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG12:DISP?'.
sr: [00:00.102000] scpi: Got response: '0', length 1.
sr: [00:00.102000] rigol-ds: D12: off
sr: [00:00.103000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG13:DISP?'.
sr: [00:00.110000] scpi: Got response: '0', length 1.
sr: [00:00.111000] rigol-ds: D13: off
sr: [00:00.113000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG14:DISP?'.
sr: [00:00.116000] scpi: Got response: '0', length 1.
sr: [00:00.118000] rigol-ds: D14: off
sr: [00:00.119000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG15:DISP?'.
sr: [00:00.122000] scpi: Got response: '0', length 1.
sr: [00:00.122000] rigol-ds: D15: off
sr: [00:00.123000] scpi_tcp: Successfully sent SCPI command: ':TIM:SCAL?'.
sr: [00:00.126000] scpi: Got response: '2.000000e-04', length 12.
sr: [00:00.127000] rigol-ds: Current timebase 0.0002
sr: [00:00.128000] scpi_tcp: Successfully sent SCPI command: ':CHAN1:PROB?'.
sr: [00:00.131000] scpi: Got response: '1', length 1.
sr: [00:00.133000] scpi_tcp: Successfully sent SCPI command: ':CHAN2:PROB?'.
sr: [00:00.136000] scpi: Got response: '1', length 1.
sr: [00:00.136000] rigol-ds: Current probe attenuation:
sr: [00:00.138000] rigol-ds: CH1 1
sr: [00:00.139000] rigol-ds: CH2 1
sr: [00:00.140000] scpi_tcp: Successfully sent SCPI command: ':CHAN1:SCAL?'.
sr: [00:00.142000] scpi: Got response: '5.000000e-02', length 12.
sr: [00:00.142000] scpi_tcp: Successfully sent SCPI command: ':CHAN2:SCAL?'.
sr: [00:00.145000] scpi: Got response: '1.000000e+00', length 12.
sr: [00:00.145000] rigol-ds: Current vertical gain:
sr: [00:00.147000] rigol-ds: CH1 0.05
sr: [00:00.149000] rigol-ds: CH2 1
sr: [00:00.149000] scpi_tcp: Successfully sent SCPI command: ':CHAN1:OFFS?'.
sr: [00:00.152000] scpi: Got response: '-1.499990e-01', length 13.
sr: [00:00.152000] scpi_tcp: Successfully sent SCPI command: ':CHAN2:OFFS?'.
sr: [00:00.155000] scpi: Got response: '-2.000000e+00', length 13.
sr: [00:00.156000] rigol-ds: Current vertical offset:
sr: [00:00.156000] rigol-ds: CH1 -0.149999
sr: [00:00.157000] rigol-ds: CH2 -2
sr: [00:00.158000] scpi_tcp: Successfully sent SCPI command: ':CHAN1:COUP?'.
sr: [00:00.161000] scpi: Got response: 'DC', length 2.
sr: [00:00.162000] scpi_tcp: Successfully sent SCPI command: ':CHAN2:COUP?'.
sr: [00:00.168000] scpi: Got response: 'DC', length 2.
sr: [00:00.169000] rigol-ds: Current coupling:
sr: [00:00.170000] rigol-ds: CH1 DC
sr: [00:00.170000] rigol-ds: CH2 DC
sr: [00:00.172000] scpi_tcp: Successfully sent SCPI command: ':TRIG:EDGE:SOUR?'.
sr: [00:00.175000] scpi: Got response: 'CHAN1', length 5.
sr: [00:00.176000] rigol-ds: Current trigger source CHAN1
sr: [00:00.176000] scpi_tcp: Successfully sent SCPI command: ':TIM:OFFS?'.
sr: [00:00.179000] scpi: Got response: '0.000000e+00', length 12.
sr: [00:00.180000] rigol-ds: Current horizontal trigger position 0
sr: [00:00.186000] scpi_tcp: Successfully sent SCPI command: ':TRIG:EDGE:SLOP?'.
sr: [00:00.189000] scpi: Got response: 'POS', length 3.
sr: [00:00.189000] rigol-ds: Current trigger slope POS
sr: [00:00.191000] scpi_tcp: Successfully sent SCPI command: ':TRIG:EDGE:LEV?'.
sr: [00:00.193000] scpi: Got response: '1.499990e-01', length 12.
sr: [00:00.197000] rigol-ds: Current trigger level 0.149999
Channel groups:
    CH1: channel CH1
    CH2: channel CH2
    LA: channels D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15
Supported configuration options across all channel groups:
    limit_frames:
    samplerate
    timebasesr: [00:00.210000] hwdriver: sr_config_get(): key 30010 (timebase) sdi 0191B498 cg NULL -> (uint64 200, uint64 1000000)
sr: [00:00.212000] hwdriver: sr_config_list(): key 30010 (timebase) sdi 0191B498 cg NULL -> [(uint64 1, uint64 1000000000), (2, 1000000000), (5, 1000000000), (10, 1000000000), (20, 1000000000), (50, 1000000000), (100, 1000000000), (500, 1000000000), (1, 1000000), (2, 1000000), (5, 1000000), (10, 1000000), (20, 1000000), (50, 1000000), (100, 1000000), (200, 1000000), (500, 1000000), (1, 1000), (2, 1000), (5, 1000), (10, 1000), (20, 1000), (50, 1000), (100, 1000), (200, 1000), (500, 1000), (1, 1), (2, 1), (5, 1), (10, 1), (20, 1), (50, 1), (100, 1), (200, 1), (500, 1), (1000, 1)]
 - supported values:
      1 ns
      2 ns
      5 ns
      10 ns
      20 ns
      50 ns
      100 ns
      500 ns
      1 us
      2 us
      5 us
      10 us
      20 us
      50 us
      100 us
      200 us (current)
      500 us
      1 ms
      2 ms
      5 ms
      10 ms
      20 ms
      50 ms
      100 ms
      200 ms
      500 ms
      1 s
      2 s
      5 s
      10 s
      20 s
      50 s
      100 s
      200 s
      500 s
      1000 s
    num_hdiv
    horiz_triggerpos:
    triggersource: sr: [00:00.258000] hwdriver: sr_config_get(): key 30007 (triggersource) sdi 0191B498 cg NULL -> 'CH1'
sr: [00:00.258000] hwdriver: sr_config_list(): key 30007 (triggersource) sdi 0191B498 cg NULL -> ['CH1', 'CH2', 'CH3', 'CH4', 'EXT', 'AC Line', 'D0', 'D1', 'D2', 'D3', 'D4', 'D5', 'D6', 'D7', 'D8', 'D9', 'D10', 'D11', 'D12', 'D13', 'D14', 'D15']
CH1 (current), CH2, CH3, CH4, EXT, AC Line, D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15
    triggerslope: sr: [00:00.265000] hwdriver: sr_config_get(): key 30004 (triggerslope) sdi 0191B498 cg NULL -> 'r'
sr: [00:00.265000] hwdriver: sr_config_list(): key 30004 (triggerslope) sdi 0191B498 cg NULL -> ['r', 'f']
r (current), f
    triggerlevel: sr: [00:00.269000] hwdriver: sr_config_get(): key 30052 (triggerlevel) sdi 0191B498 cg NULL -> 0.1499989926815033
0.149999
    data_source: sr: [00:00.270000] hwdriver: sr_config_get(): key 40004 (data_source) sdi 0191B498 cg NULL -> 'Live'
sr: [00:00.270000] hwdriver: sr_config_list(): key 40004 (data_source) sdi 0191B498 cg NULL -> ['Live', 'Memory', 'Segmented']
Live (current), Memory, Segmented

C:\Program Files (x86)\sigrok\sigrok-cli>

======================================================

And the aquisition:

======================================================
C:\Program Files (x86)\sigrok\sigrok-cli>sigrok-cli -d rigol-ds:conn=tcp-raw/10.0.0.91/5555 -C CH1 --frames 1 -l 5
sr: [00:00.000000] log: libsigrok loglevel set to 5.
sr: [00:00.001000] backend: libsigrok 0.5.0-git-64f628b/3:0:0 (rt: 0.5.0-git-64f628b/3:0:0).
sr: [00:00.002000] backend: Libs: glib 2.44.1 (rt: 2.44.1/4401:1), libzip 1.1.3, libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1), libusb-1.0 1.0.20.11003-rc3, libftdi 1.2.
sr: [00:00.009000] backend: Host: i686-w64-mingw32.static.posix, little-endian.
sr: [00:00.014000] backend: SCPI backends: TCP, serial, USBTMC.
sr: [00:00.016000] backend: Sanity-checking all drivers.
sr: [00:00.017000] backend: Sanity-checking all input modules.
sr: [00:00.018000] backend: Sanity-checking all output modules.
sr: [00:00.018000] backend: Sanity-checking all transform modules.
srd: libsigrokdecode loglevel set to 5.
sr: [00:00.027000] hwdriver: sr_config_list(): key 2147418112 (NULL) sdi 00000000 cg NULL -> [uint32 20000, 20001]
sr: [00:00.028000] scpi: Opening RAW TCP device tcp-raw/10.0.0.91/5555.
sr: [00:00.034000] scpi_tcp: Successfully sent SCPI command: '*IDN?'.
sr: [00:00.036000] scpi: Got response: 'RIGOL TECHNOLOGIES,MSO2302A,DS2F174900617,00.03.05', length 50.
sr: [00:00.038000] scpi: Got IDN string: 'RIGOL TECHNOLOGIES,MSO2302A,DS2F174900617,00.03.05'
sr: [00:00.039000] hwdriver: Scan of 'rigol-ds' found 1 devices.
sr: [00:00.042000] scpi_tcp: Successfully sent SCPI command: ':CHAN1:DISP?'.
sr: [00:00.045000] scpi: Got response: '1', length 1.
sr: [00:00.046000] scpi_tcp: Successfully sent SCPI command: ':CHAN2:DISP?'.
sr: [00:00.050000] scpi: Got response: '0', length 1.
sr: [00:00.051000] rigol-ds: Current analog channel state:
sr: [00:00.053000] rigol-ds: CH1 on
sr: [00:00.054000] rigol-ds: CH2 off
sr: [00:00.055000] scpi_tcp: Successfully sent SCPI command: ':LA:STAT?'.
sr: [00:00.057000] scpi: Got response: '0', length 1.
sr: [00:00.058000] rigol-ds: Logic analyzer disabled, current digital channel state:
sr: [00:00.061000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG0:DISP?'.
sr: [00:00.064000] scpi: Got response: '0', length 1.
sr: [00:00.065000] rigol-ds: D0: off
sr: [00:00.066000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG1:DISP?'.
sr: [00:00.069000] scpi: Got response: '0', length 1.
sr: [00:00.072000] rigol-ds: D1: off
sr: [00:00.073000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG2:DISP?'.
sr: [00:00.076000] scpi: Got response: '0', length 1.
sr: [00:00.077000] rigol-ds: D2: off
sr: [00:00.078000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG3:DISP?'.
sr: [00:00.081000] scpi: Got response: '0', length 1.
sr: [00:00.083000] rigol-ds: D3: off
sr: [00:00.084000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG4:DISP?'.
sr: [00:00.087000] scpi: Got response: '0', length 1.
sr: [00:00.087000] rigol-ds: D4: off
sr: [00:00.088000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG5:DISP?'.
sr: [00:00.091000] scpi: Got response: '0', length 1.
sr: [00:00.091000] rigol-ds: D5: off
sr: [00:00.096000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG6:DISP?'.
sr: [00:00.099000] scpi: Got response: '0', length 1.
sr: [00:00.099000] rigol-ds: D6: off
sr: [00:00.101000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG7:DISP?'.
sr: [00:00.104000] scpi: Got response: '0', length 1.
sr: [00:00.108000] rigol-ds: D7: off
sr: [00:00.109000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG8:DISP?'.
sr: [00:00.112000] scpi: Got response: '0', length 1.
sr: [00:00.112000] rigol-ds: D8: off
sr: [00:00.113000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG9:DISP?'.
sr: [00:00.116000] scpi: Got response: '0', length 1.
sr: [00:00.119000] rigol-ds: D9: off
sr: [00:00.121000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG10:DISP?'.
sr: [00:00.124000] scpi: Got response: '0', length 1.
sr: [00:00.125000] rigol-ds: D10: off
sr: [00:00.126000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG11:DISP?'.
sr: [00:00.129000] scpi: Got response: '0', length 1.
sr: [00:00.131000] rigol-ds: D11: off
sr: [00:00.132000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG12:DISP?'.
sr: [00:00.135000] scpi: Got response: '0', length 1.
sr: [00:00.136000] rigol-ds: D12: off
sr: [00:00.137000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG13:DISP?'.
sr: [00:00.140000] scpi: Got response: '0', length 1.
sr: [00:00.143000] rigol-ds: D13: off
sr: [00:00.144000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG14:DISP?'.
sr: [00:00.147000] scpi: Got response: '0', length 1.
sr: [00:00.148000] rigol-ds: D14: off
sr: [00:00.149000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG15:DISP?'.
sr: [00:00.152000] scpi: Got response: '0', length 1.
sr: [00:00.155000] rigol-ds: D15: off
sr: [00:00.156000] scpi_tcp: Successfully sent SCPI command: ':TIM:SCAL?'.
sr: [00:00.160000] scpi: Got response: '2.000000e-04', length 12.
sr: [00:00.160000] rigol-ds: Current timebase 0.0002
sr: [00:00.161000] scpi_tcp: Successfully sent SCPI command: ':CHAN1:PROB?'.
sr: [00:00.164000] scpi: Got response: '1', length 1.
sr: [00:00.167000] scpi_tcp: Successfully sent SCPI command: ':CHAN2:PROB?'.
sr: [00:00.170000] scpi: Got response: '1', length 1.
sr: [00:00.171000] rigol-ds: Current probe attenuation:
sr: [00:00.171000] rigol-ds: CH1 1
sr: [00:00.172000] rigol-ds: CH2 1
sr: [00:00.173000] scpi_tcp: Successfully sent SCPI command: ':CHAN1:SCAL?'.
sr: [00:00.176000] scpi: Got response: '5.000000e-02', length 12.
sr: [00:00.179000] scpi_tcp: Successfully sent SCPI command: ':CHAN2:SCAL?'.
sr: [00:00.182000] scpi: Got response: '1.000000e+00', length 12.
sr: [00:00.183000] rigol-ds: Current vertical gain:
sr: [00:00.183000] rigol-ds: CH1 0.05
sr: [00:00.184000] rigol-ds: CH2 1
sr: [00:00.185000] scpi_tcp: Successfully sent SCPI command: ':CHAN1:OFFS?'.
sr: [00:00.188000] scpi: Got response: '-1.469990e-01', length 13.
sr: [00:00.191000] scpi_tcp: Successfully sent SCPI command: ':CHAN2:OFFS?'.
sr: [00:00.194000] scpi: Got response: '-2.000000e+00', length 13.
sr: [00:00.195000] rigol-ds: Current vertical offset:
sr: [00:00.196000] rigol-ds: CH1 -0.146999
sr: [00:00.196000] rigol-ds: CH2 -2
sr: [00:00.197000] scpi_tcp: Successfully sent SCPI command: ':CHAN1:COUP?'.
sr: [00:00.200000] scpi: Got response: 'DC', length 2.
sr: [00:00.204000] scpi_tcp: Successfully sent SCPI command: ':CHAN2:COUP?'.
sr: [00:00.206000] scpi: Got response: 'DC', length 2.
sr: [00:00.206000] rigol-ds: Current coupling:
sr: [00:00.207000] rigol-ds: CH1 DC
sr: [00:00.209000] rigol-ds: CH2 DC
sr: [00:00.209000] scpi_tcp: Successfully sent SCPI command: ':TRIG:EDGE:SOUR?'.
sr: [00:00.212000] scpi: Got response: 'CHAN1', length 5.
sr: [00:00.215000] rigol-ds: Current trigger source CHAN1
sr: [00:00.217000] scpi_tcp: Successfully sent SCPI command: ':TIM:OFFS?'.
sr: [00:00.220000] scpi: Got response: '0.000000e+00', length 12.
sr: [00:00.220000] rigol-ds: Current horizontal trigger position 0
sr: [00:00.221000] scpi_tcp: Successfully sent SCPI command: ':TRIG:EDGE:SLOP?'.
sr: [00:00.224000] scpi: Got response: 'POS', length 3.
sr: [00:00.227000] rigol-ds: Current trigger slope POS
sr: [00:00.228000] scpi_tcp: Successfully sent SCPI command: ':TRIG:EDGE:LEV?'.
sr: [00:00.231000] scpi: Got response: '1.499990e-01', length 12.
sr: [00:00.232000] rigol-ds: Current trigger level 0.149999
sr: [00:00.232000] hwdriver: sr_config_set(): key 50002 (limit_frames) sdi 017D84F8 cg NULL -> uint64 1
sr: [00:00.233000] session: Using thread-default main context.
sr: [00:00.234000] session: Starting.
sr: [00:00.235000] rigol-ds: handling channel CH1
sr: [00:00.235000] rigol-ds: handling channel CH2
sr: [00:00.239000] rigol-ds: handling channel D0
sr: [00:00.240000] rigol-ds: handling channel D1
sr: [00:00.244000] rigol-ds: handling channel D2
sr: [00:00.245000] rigol-ds: handling channel D3
sr: [00:00.246000] rigol-ds: handling channel D4
sr: [00:00.247000] rigol-ds: handling channel D5
sr: [00:00.247000] rigol-ds: handling channel D6
sr: [00:00.251000] rigol-ds: handling channel D7
sr: [00:00.252000] rigol-ds: handling channel D8
sr: [00:00.253000] rigol-ds: handling channel D9
sr: [00:00.254000] rigol-ds: handling channel D10
sr: [00:00.255000] rigol-ds: handling channel D11
sr: [00:00.256000] rigol-ds: handling channel D12
sr: [00:00.256000] rigol-ds: handling channel D13
sr: [00:00.259000] rigol-ds: handling channel D14
sr: [00:00.263000] rigol-ds: handling channel D15
sr: [00:00.264000] scpi_tcp: Successfully sent SCPI command: ':RUN'.
sr: [00:00.266000] scpi_tcp: Successfully sent SCPI command: '*OPC?'.
sr: [00:00.324000] scpi: Got response: '1', length 1.
sr: [00:00.325000] scpi_tcp: Successfully sent SCPI command: ':ACQ:MDEP 1400'.
sr: [00:00.326000] scpi_tcp: Successfully sent SCPI command: '*OPC?'.
sr: [00:00.580000] scpi: Got response: '1', length 1.
sr: [00:00.581000] scpi_tcp: Successfully sent SCPI command: ':STOP'.
sr: [00:00.582000] scpi_tcp: Successfully sent SCPI command: '*OPC?'.
sr: [00:00.857000] scpi: Got response: '1', length 1.
sr: [00:00.858000] scpi_tcp: Successfully sent SCPI command: ':RUN'.
sr: [00:00.859000] scpi_tcp: Successfully sent SCPI command: '*OPC?'.
sr: [00:01.126000] scpi: Got response: '1', length 1.
sr: [00:01.127000] std: rigol-ds: Starting acquisition.
sr: [00:01.129000] std: rigol-ds: Sending SR_DF_HEADER packet.
sr: [00:01.131000] session: Running transform module 'nop'.
sr: [00:01.133000] transform/nop: Received packet of type 10000, passing on unmodified.
sr: [00:01.134000] session: bus: Received SR_DF_HEADER packet.
cli: Received SR_DF_HEADER.
sr: [00:01.144000] hwdriver: sr_config_get(): key 30000 (samplerate) sdi 017D84F8 cg NULL -> uint64 500000
sr: [00:01.146000] rigol-ds: Starting data capture for frameset 1 of 1
sr: [00:01.147000] scpi_tcp: Successfully sent SCPI command: ':WAV:FORM BYTE'.
sr: [00:01.153000] scpi_tcp: Successfully sent SCPI command: '*OPC?'.
sr: [00:01.393000] scpi: Got response: '1', length 1.
sr: [00:01.394000] scpi_tcp: Successfully sent SCPI command: ':WAV:MODE NORM'.
sr: [00:01.396000] scpi_tcp: Successfully sent SCPI command: '*OPC?'.
sr: [00:01.650000] scpi: Got response: '1', length 1.
sr: [00:01.651000] session: Running transform module 'nop'.
sr: [00:01.653000] transform/nop: Received packet of type 10005, passing on unmodified.
sr: [00:01.654000] session: bus: Received SR_DF_FRAME_BEGIN packet.
cli: Received SR_DF_FRAME_BEGIN.
FRAME-BEGIN
sr: [00:01.716000] rigol-ds: Sleeping for 2379 usecs instead of trigger-wait
sr: [00:01.719000] rigol-ds: Starting reading data from channel 1
sr: [00:01.719000] scpi_tcp: Successfully sent SCPI command: ':WAV:SOUR CHAN1'.
sr: [00:01.721000] scpi_tcp: Successfully sent SCPI command: '*OPC?'.
sr: [00:01.915000] scpi: Got response: '1', length 1.
sr: [00:01.916000] scpi_tcp: Successfully sent SCPI command: ':WAV:YREF?'.
sr: [00:01.919000] scpi: Got response: '127', length 3.
sr: [00:02.021000] scpi_tcp: Successfully sent SCPI command: ':WAV:STAT?'.
sr: [00:02.024000] scpi: Got response: 'IDLE,0', length 6.
sr: [00:02.025000] scpi_tcp: Successfully sent SCPI command: ':WAV:DATA?'.
sr: [00:02.027000] rigol-ds: New block header expected
sr: [00:02.029000] rigol-ds: Received data block header: '#9000001400' -> block length 1400
sr: [00:02.035000] rigol-ds: Requesting read of 1400 bytes
sr: [00:02.036000] rigol-ds: Received 1400 bytes.
sr: [00:02.038000] session: Running transform module 'nop'.
sr: [00:02.039000] transform/nop: Received packet of type 10007, passing on unmodified.
sr: [00:02.041000] session: bus: Received SR_DF_ANALOG packet (1400 samples).
cli: Received SR_DF_ANALOG (1400 samples).
CH1: 4 mV
CH1: 6 mV
CH1: 4 mV

--> + ~1000 Lines 

CH1: 297 mV
CH1: 299 mV
CH1: 299 mV
CH1: 297 mV
CH1: 297 mV
CH1: 299 mV
sr: [00:02.081000] rigol-ds: Block has been completed
sr: [00:02.082000] rigol-ds: Read should have been completed
sr: [00:02.084000] session: Running transform module 'nop'.
sr: [00:02.085000] transform/nop: Received packet of type 10006, passing on unmodified.
sr: [00:02.086000] session: bus: Received SR_DF_FRAME_END packet.
cli: Received SR_DF_FRAME_END.
FRAME-END
sr: [00:02.097000] std: rigol-ds: Sending SR_DF_END packet.
sr: [00:02.099000] session: Running transform module 'nop'.
sr: [00:02.100000] transform/nop: Received packet of type 10001, passing on unmodified.
sr: [00:02.101000] session: bus: Received SR_DF_END packet.
cli: Received SR_DF_END.
sr: [00:02.103000] session: fd_source_finalize: key 0000025C
sr: [00:02.104000] session: Stopped.

C:\Program Files (x86)\sigrok\sigrok-cli>

--> during the acqusition process the scope shows "unknown function"




Thanks and Regards

Robert
Comment 10 SrR0 2017-05-23 19:28:31 CEST
Hi Martin,

maybe my last test was a bit confusing. I tested it with pulseview too. I found out that following cases are working:

-capturing one Channel (CH1, CH2) with the content of the screen of the scope

Not working is following:

-capturing CH1 and CH2 at the same time
-capturing a longer timespan than the timespan is visible on the screen

Not tested:
-anything with digital channels

Are the features to operate more than one channels at once and to capture longer samples already implemented and can I do any further tests to get ahead. Should the pulseview -l 5 Logging to the cmd-window work like it should to in linux-environments?

Thanks and kind regards

Robert
Comment 11 Uwe Hermann 2017-05-23 21:34:01 CEST
"pulseview -l 5" from a DOS box works, but only if you use the "debug" version of the Windows installer.
Comment 12 Martin Ling 2017-05-24 01:14:44 CEST
Hi Robert,

Could you try the CH1 & CH2 capture with sigrok-cli please? You can specify multiple channels on the command line as a comma separated list, i.e.:

sigrok-cli -d rigol-ds -C CH1,CH2 --frames 1 -l 5

If you have time to test some combinations with digital channels (D0,D1,...) too that would be helpful.

The timespan of the capture is determined by the "data source" option of the driver. The default setting is "Live", which reads out the sample buffer shown on the scope screen (1400 samples for this series).

The driver does have support for reading out the full scope memory (14k samples for this series). This is selected by setting the data source to "Memory". I'm not sure if PulseView displays this option, but you can do it with sigrok-cli by specifying the driver option like this:

sigrok-cli -d rigol-ds -c data_source=Memory -C CH1 --frames 1 -l 5

For anything you try that doesn't work, if you post a debug log we can probably figure out how to fix it.

Regards,

Martin
Comment 13 SrR0 2017-05-25 10:02:43 CEST
(In reply to comment #12)
> Hi Robert,
> 
> Could you try the CH1 & CH2 capture with sigrok-cli please? You can specify
> multiple channels on the command line as a comma separated list, i.e.:
> 
> sigrok-cli -d rigol-ds -C CH1,CH2 --frames 1 -l 5
> 
> If you have time to test some combinations with digital channels (D0,D1,...)
> too that would be helpful.
> 
> The timespan of the capture is determined by the "data source" option of the
> driver. The default setting is "Live", which reads out the sample buffer
> shown on the scope screen (1400 samples for this series).
> 
> The driver does have support for reading out the full scope memory (14k
> samples for this series). This is selected by setting the data source to
> "Memory". I'm not sure if PulseView displays this option, but you can do it
> with sigrok-cli by specifying the driver option like this:
> 
> sigrok-cli -d rigol-ds -c data_source=Memory -C CH1 --frames 1 -l 5
> 
> For anything you try that doesn't work, if you post a debug log we can
> probably figure out how to fix it.
> 
> Regards,
> 
> Martin

Hi Martin,

I just tested the CH1 and CH2: seems ist is ignoring the CH2, like it does on PulseView

C:\Program Files (x86)\sigrok\sigrok-cli>sigrok-cli -d rigol-ds:conn=tcp-raw/10.0.0.91/5555 -C CH1,CH2 --frames 1 -l 5
sr: [00:00.000000] log: libsigrok loglevel set to 5.
sr: [00:00.000000] backend: libsigrok 0.5.0-git-64f628b/3:0:0 (rt: 0.5.0-git-64f628b/3:0:0).
sr: [00:00.004000] backend: Libs: glib 2.44.1 (rt: 2.44.1/4401:1), libzip 1.1.3, libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1), libusb-1.0 1.0.20.11003-rc3, libftdi 1.2.
sr: [00:00.006000] backend: Host: i686-w64-mingw32.static.posix, little-endian.
sr: [00:00.011000] backend: SCPI backends: TCP, serial, USBTMC.
sr: [00:00.016000] backend: Sanity-checking all drivers.
sr: [00:00.018000] backend: Sanity-checking all input modules.
sr: [00:00.020000] backend: Sanity-checking all output modules.
sr: [00:00.022000] backend: Sanity-checking all transform modules.
srd: libsigrokdecode loglevel set to 5.
sr: [00:00.027000] hwdriver: sr_config_list(): key 2147418112 (NULL) sdi 00000000 cg NULL -> [uint32 20000, 20001]
sr: [00:00.028000] scpi: Opening RAW TCP device tcp-raw/10.0.0.91/5555.
sr: [00:00.031000] scpi_tcp: Successfully sent SCPI command: '*IDN?'.
sr: [00:00.034000] scpi: Got response: 'RIGOL TECHNOLOGIES,MSO2302A,DS2F174900617,00.03.05', length 50.
sr: [00:00.035000] scpi: Got IDN string: 'RIGOL TECHNOLOGIES,MSO2302A,DS2F174900617,00.03.05'
sr: [00:00.040000] hwdriver: Scan of 'rigol-ds' found 1 devices.
sr: [00:00.042000] scpi_tcp: Successfully sent SCPI command: ':CHAN1:DISP?'.
sr: [00:00.045000] scpi: Got response: '1', length 1.
sr: [00:00.046000] scpi_tcp: Successfully sent SCPI command: ':CHAN2:DISP?'.
sr: [00:00.048000] scpi: Got response: '1', length 1.
sr: [00:00.050000] rigol-ds: Current analog channel state:
sr: [00:00.051000] rigol-ds: CH1 on
sr: [00:00.053000] rigol-ds: CH2 on
sr: [00:00.054000] scpi_tcp: Successfully sent SCPI command: ':LA:STAT?'.
sr: [00:00.064000] scpi: Got response: '0', length 1.
sr: [00:00.064000] rigol-ds: Logic analyzer disabled, current digital channel state:
sr: [00:00.065000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG0:DISP?'.
sr: [00:00.068000] scpi: Got response: '0', length 1.
sr: [00:00.068000] rigol-ds: D0: off
sr: [00:00.069000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG1:DISP?'.
sr: [00:00.072000] scpi: Got response: '0', length 1.
sr: [00:00.073000] rigol-ds: D1: off
sr: [00:00.074000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG2:DISP?'.
sr: [00:00.077000] scpi: Got response: '0', length 1.
sr: [00:00.078000] rigol-ds: D2: off
sr: [00:00.078000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG3:DISP?'.
sr: [00:00.081000] scpi: Got response: '0', length 1.
sr: [00:00.081000] rigol-ds: D3: off
sr: [00:00.086000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG4:DISP?'.
sr: [00:00.089000] scpi: Got response: '0', length 1.
sr: [00:00.089000] rigol-ds: D4: off
sr: [00:00.090000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG5:DISP?'.
sr: [00:00.093000] scpi: Got response: '0', length 1.
sr: [00:00.093000] rigol-ds: D5: off
sr: [00:00.094000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG6:DISP?'.
sr: [00:00.099000] scpi: Got response: '0', length 1.
sr: [00:00.101000] rigol-ds: D6: off
sr: [00:00.104000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG7:DISP?'.
sr: [00:00.106000] scpi: Got response: '0', length 1.
sr: [00:00.110000] rigol-ds: D7: off
sr: [00:00.112000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG8:DISP?'.
sr: [00:00.114000] scpi: Got response: '0', length 1.
sr: [00:00.114000] rigol-ds: D8: off
sr: [00:00.116000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG9:DISP?'.
sr: [00:00.119000] scpi: Got response: '0', length 1.
sr: [00:00.122000] rigol-ds: D9: off
sr: [00:00.123000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG10:DISP?'.
sr: [00:00.126000] scpi: Got response: '0', length 1.
sr: [00:00.127000] rigol-ds: D10: off
sr: [00:00.128000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG11:DISP?'.
sr: [00:00.131000] scpi: Got response: '0', length 1.
sr: [00:00.133000] rigol-ds: D11: off
sr: [00:00.134000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG12:DISP?'.
sr: [00:00.137000] scpi: Got response: '0', length 1.
sr: [00:00.138000] rigol-ds: D12: off
sr: [00:00.139000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG13:DISP?'.
sr: [00:00.142000] scpi: Got response: '0', length 1.
sr: [00:00.145000] rigol-ds: D13: off
sr: [00:00.146000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG14:DISP?'.
sr: [00:00.150000] scpi: Got response: '0', length 1.
sr: [00:00.150000] rigol-ds: D14: off
sr: [00:00.150000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG15:DISP?'.
sr: [00:00.153000] scpi: Got response: '0', length 1.
sr: [00:00.153000] rigol-ds: D15: off
sr: [00:00.158000] scpi_tcp: Successfully sent SCPI command: ':TIM:SCAL?'.
sr: [00:00.161000] scpi: Got response: '1.000000e-03', length 12.
sr: [00:00.161000] rigol-ds: Current timebase 0.001
sr: [00:00.162000] scpi_tcp: Successfully sent SCPI command: ':CHAN1:PROB?'.
sr: [00:00.165000] scpi: Got response: '1', length 1.
sr: [00:00.165000] scpi_tcp: Successfully sent SCPI command: ':CHAN2:PROB?'.
sr: [00:00.170000] scpi: Got response: '1', length 1.
sr: [00:00.171000] rigol-ds: Current probe attenuation:
sr: [00:00.172000] rigol-ds: CH1 1
sr: [00:00.174000] rigol-ds: CH2 1
sr: [00:00.175000] scpi_tcp: Successfully sent SCPI command: ':CHAN1:SCAL?'.
sr: [00:00.177000] scpi: Got response: '2.000000e-01', length 12.
sr: [00:00.181000] scpi_tcp: Successfully sent SCPI command: ':CHAN2:SCAL?'.
sr: [00:00.184000] scpi: Got response: '2.000000e-01', length 12.
sr: [00:00.184000] rigol-ds: Current vertical gain:
sr: [00:00.185000] rigol-ds: CH1 0.2
sr: [00:00.186000] rigol-ds: CH2 0.2
sr: [00:00.186000] scpi_tcp: Successfully sent SCPI command: ':CHAN1:OFFS?'.
sr: [00:00.189000] scpi: Got response: '-5.879900e-01', length 13.
sr: [00:00.193000] scpi_tcp: Successfully sent SCPI command: ':CHAN2:OFFS?'.
sr: [00:00.196000] scpi: Got response: '-4.440000e-01', length 13.
sr: [00:00.197000] rigol-ds: Current vertical offset:
sr: [00:00.197000] rigol-ds: CH1 -0.58799
sr: [00:00.198000] rigol-ds: CH2 -0.444
sr: [00:00.198000] scpi_tcp: Successfully sent SCPI command: ':CHAN1:COUP?'.
sr: [00:00.201000] scpi: Got response: 'DC', length 2.
sr: [00:00.201000] scpi_tcp: Successfully sent SCPI command: ':CHAN2:COUP?'.
sr: [00:00.205000] scpi: Got response: 'DC', length 2.
sr: [00:00.206000] rigol-ds: Current coupling:
sr: [00:00.208000] rigol-ds: CH1 DC
sr: [00:00.210000] rigol-ds: CH2 DC
sr: [00:00.210000] scpi_tcp: Successfully sent SCPI command: ':TRIG:EDGE:SOUR?'.
sr: [00:00.213000] scpi: Got response: 'CHAN1', length 5.
sr: [00:00.214000] rigol-ds: Current trigger source CHAN1
sr: [00:00.218000] scpi_tcp: Successfully sent SCPI command: ':TIM:OFFS?'.
sr: [00:00.221000] scpi: Got response: '0.000000e+00', length 12.
sr: [00:00.221000] rigol-ds: Current horizontal trigger position 0
sr: [00:00.222000] scpi_tcp: Successfully sent SCPI command: ':TRIG:EDGE:SLOP?'.
sr: [00:00.225000] scpi: Got response: 'POS', length 3.
sr: [00:00.226000] rigol-ds: Current trigger slope POS
sr: [00:00.230000] scpi_tcp: Successfully sent SCPI command: ':TRIG:EDGE:LEV?'.
sr: [00:00.233000] scpi: Got response: '1.499990e-01', length 12.
sr: [00:00.234000] rigol-ds: Current trigger level 0.149999
sr: [00:00.234000] hwdriver: sr_config_set(): key 50002 (limit_frames) sdi 018A89F8 cg NULL -> uint64 1
sr: [00:00.235000] session: Using thread-default main context.
sr: [00:00.236000] session: Starting.
sr: [00:00.236000] rigol-ds: handling channel CH1
sr: [00:00.237000] rigol-ds: handling channel CH2
sr: [00:00.241000] rigol-ds: handling channel D0
sr: [00:00.242000] rigol-ds: handling channel D1
sr: [00:00.243000] rigol-ds: handling channel D2
sr: [00:00.244000] rigol-ds: handling channel D3
sr: [00:00.245000] rigol-ds: handling channel D4
sr: [00:00.245000] rigol-ds: handling channel D5
sr: [00:00.246000] rigol-ds: handling channel D6
sr: [00:00.247000] rigol-ds: handling channel D7
sr: [00:00.247000] rigol-ds: handling channel D8
sr: [00:00.248000] rigol-ds: handling channel D9
sr: [00:00.249000] rigol-ds: handling channel D10
sr: [00:00.253000] rigol-ds: handling channel D11
sr: [00:00.253000] rigol-ds: handling channel D12
sr: [00:00.255000] rigol-ds: handling channel D13
sr: [00:00.256000] rigol-ds: handling channel D14
sr: [00:00.257000] rigol-ds: handling channel D15
sr: [00:00.258000] scpi_tcp: Successfully sent SCPI command: ':RUN'.
sr: [00:00.259000] scpi_tcp: Successfully sent SCPI command: '*OPC?'.
sr: [00:00.318000] scpi: Got response: '1', length 1.
sr: [00:00.319000] scpi_tcp: Successfully sent SCPI command: ':ACQ:MDEP 1400'.
sr: [00:00.320000] scpi_tcp: Successfully sent SCPI command: '*OPC?'.
sr: [00:00.583000] scpi: Got response: '1', length 1.
sr: [00:00.583000] scpi_tcp: Successfully sent SCPI command: ':STOP'.
sr: [00:00.585000] scpi_tcp: Successfully sent SCPI command: '*OPC?'.
sr: [00:00.850000] scpi: Got response: '1', length 1.
sr: [00:00.851000] scpi_tcp: Successfully sent SCPI command: ':RUN'.
sr: [00:00.852000] scpi_tcp: Successfully sent SCPI command: '*OPC?'.
sr: [00:01.131000] scpi: Got response: '1', length 1.
sr: [00:01.132000] std: rigol-ds: Starting acquisition.
sr: [00:01.133000] std: rigol-ds: Sending SR_DF_HEADER packet.
sr: [00:01.134000] session: Running transform module 'nop'.
sr: [00:01.135000] transform/nop: Received packet of type 10000, passing on unmodified.
sr: [00:01.135000] session: bus: Received SR_DF_HEADER packet.
cli: Received SR_DF_HEADER.
sr: [00:01.139000] hwdriver: sr_config_get(): key 30000 (samplerate) sdi 018A89F8 cg NULL -> uint64 99999
sr: [00:01.139000] rigol-ds: Starting data capture for frameset 1 of 1
sr: [00:01.140000] scpi_tcp: Successfully sent SCPI command: ':WAV:FORM BYTE'.
sr: [00:01.144000] scpi_tcp: Successfully sent SCPI command: '*OPC?'.
sr: [00:01.388000] scpi: Got response: '1', length 1.
sr: [00:01.389000] scpi_tcp: Successfully sent SCPI command: ':WAV:MODE NORM'.
sr: [00:01.389000] scpi_tcp: Successfully sent SCPI command: '*OPC?'.
sr: [00:01.653000] scpi: Got response: '1', length 1.
sr: [00:01.653000] session: Running transform module 'nop'.
sr: [00:01.655000] transform/nop: Received packet of type 10005, passing on unmodified.
sr: [00:01.656000] session: bus: Received SR_DF_FRAME_BEGIN packet.
cli: Received SR_DF_FRAME_BEGIN.
FRAME-BEGIN
sr: [00:01.710000] rigol-ds: Sleeping for 11900 usecs instead of trigger-wait
sr: [00:01.722000] rigol-ds: Starting reading data from channel 1
sr: [00:01.722000] scpi_tcp: Successfully sent SCPI command: ':WAV:SOUR CHAN1'.
sr: [00:01.723000] scpi_tcp: Successfully sent SCPI command: '*OPC?'.
sr: [00:01.910000] scpi: Got response: '1', length 1.
sr: [00:01.911000] scpi_tcp: Successfully sent SCPI command: ':WAV:YREF?'.
sr: [00:01.914000] scpi: Got response: '127', length 3.
sr: [00:02.015000] scpi_tcp: Successfully sent SCPI command: ':WAV:STAT?'.
sr: [00:02.018000] scpi: Got response: 'IDLE,0', length 6.
sr: [00:02.019000] scpi_tcp: Successfully sent SCPI command: ':WAV:DATA?'.
sr: [00:02.020000] rigol-ds: New block header expected
sr: [00:02.023000] rigol-ds: Received data block header: '#9000001400' -> block length 1400
sr: [00:02.026000] rigol-ds: Requesting read of 1400 bytes
sr: [00:02.028000] rigol-ds: Received 1400 bytes.
sr: [00:02.029000] session: Running transform module 'nop'.
sr: [00:02.030000] transform/nop: Received packet of type 10007, passing on unmodified.
sr: [00:02.030000] session: bus: Received SR_DF_ANALOG packet (1400 samples).
cli: Received SR_DF_ANALOG (1400 samples).
CH1: 338 mV
CH1: 322 mV
....
CH1: 25 mV
CH1: 25 mV
CH1: 25 mV
CH1: 33 mV
sr: [00:02.044000] rigol-ds: Block has been completed
sr: [00:02.045000] rigol-ds: Read should have been completed
sr: [00:02.046000] session: Running transform module 'nop'.
sr: [00:02.056000] transform/nop: Received packet of type 10006, passing on unmodified.
sr: [00:02.057000] session: bus: Received SR_DF_FRAME_END packet.
cli: Received SR_DF_FRAME_END.
FRAME-END
sr: [00:02.061000] std: rigol-ds: Sending SR_DF_END packet.
sr: [00:02.062000] session: Running transform module 'nop'.
sr: [00:02.063000] transform/nop: Received packet of type 10001, passing on unmodified.
sr: [00:02.064000] session: bus: Received SR_DF_END packet.
cli: Received SR_DF_END.
sr: [00:02.069000] session: fd_source_finalize: key 00000260
sr: [00:02.070000] session: Stopped.

C:\Program Files (x86)\sigrok\sigrok-cli>
=======================================================================

If i got it right my Scope should have 56M Points of Memory. Is it useable for Capturing in Sigrok. My Usecase would be capturing some fast serial communication signals over a maximum timespan and decode it using the sigrok protocol interpreters. So it would be necessary to capture 2 channels for one direction each using a deeper memory.


I just made one Test with D0. After getting the following log the program hangs up (Dialog-Window witn sigrok-cli.exe does not work any longer "Debug" "Close Program")

If i try to capture D0 and D1 at the same time, the program also hangs up.

======================================================================

C:\Program Files (x86)\sigrok\sigrok-cli>sigrok-cli -d rigol-ds:conn=tcp-raw/10.0.0.91/5555 -C D0 --frames 1 -l 5
sr: [00:00.000000] log: libsigrok loglevel set to 5.
sr: [00:00.000000] backend: libsigrok 0.5.0-git-64f628b/3:0:0 (rt: 0.5.0-git-64f628b/3:0:0).
sr: [00:00.001000] backend: Libs: glib 2.44.1 (rt: 2.44.1/4401:1), libzip 1.1.3, libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1), libusb-1.0 1.0.20.11003-rc3, libftdi 1.2.
sr: [00:00.001000] backend: Host: i686-w64-mingw32.static.posix, little-endian.
sr: [00:00.001000] backend: SCPI backends: TCP, serial, USBTMC.
sr: [00:00.001000] backend: Sanity-checking all drivers.
sr: [00:00.001000] backend: Sanity-checking all input modules.
sr: [00:00.001000] backend: Sanity-checking all output modules.
sr: [00:00.001000] backend: Sanity-checking all transform modules.
srd: libsigrokdecode loglevel set to 5.
sr: [00:00.005000] hwdriver: sr_config_list(): key 2147418112 (NULL) sdi 00000000 cg NULL -> [uint32 20000, 20001]
sr: [00:00.005000] scpi: Opening RAW TCP device tcp-raw/10.0.0.91/5555.
sr: [00:00.006000] scpi_tcp: Successfully sent SCPI command: '*IDN?'.
sr: [00:00.009000] scpi: Got response: 'RIGOL TECHNOLOGIES,MSO2302A,DS2F174900617,00.03.05', length 50.
sr: [00:00.010000] scpi: Got IDN string: 'RIGOL TECHNOLOGIES,MSO2302A,DS2F174900617,00.03.05'
sr: [00:00.010000] hwdriver: Scan of 'rigol-ds' found 1 devices.
sr: [00:00.011000] scpi_tcp: Successfully sent SCPI command: ':CHAN1:DISP?'.
sr: [00:00.015000] scpi: Got response: '0', length 1.
sr: [00:00.015000] scpi_tcp: Successfully sent SCPI command: ':CHAN2:DISP?'.
sr: [00:00.018000] scpi: Got response: '0', length 1.
sr: [00:00.019000] rigol-ds: Current analog channel state:
sr: [00:00.019000] rigol-ds: CH1 off
sr: [00:00.019000] rigol-ds: CH2 off
sr: [00:00.019000] scpi_tcp: Successfully sent SCPI command: ':LA:STAT?'.
sr: [00:00.022000] scpi: Got response: '1', length 1.
sr: [00:00.023000] rigol-ds: Logic analyzer enabled, current digital channel state:
sr: [00:00.023000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG0:DISP?'.
sr: [00:00.026000] scpi: Got response: '1', length 1.
sr: [00:00.026000] rigol-ds: D0: on
sr: [00:00.026000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG1:DISP?'.
sr: [00:00.029000] scpi: Got response: '0', length 1.
sr: [00:00.030000] rigol-ds: D1: off
sr: [00:00.030000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG2:DISP?'.
sr: [00:00.033000] scpi: Got response: '0', length 1.
sr: [00:00.034000] rigol-ds: D2: off
sr: [00:00.034000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG3:DISP?'.
sr: [00:00.037000] scpi: Got response: '0', length 1.
sr: [00:00.037000] rigol-ds: D3: off
sr: [00:00.037000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG4:DISP?'.
sr: [00:00.040000] scpi: Got response: '0', length 1.
sr: [00:00.041000] rigol-ds: D4: off
sr: [00:00.041000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG5:DISP?'.
sr: [00:00.044000] scpi: Got response: '0', length 1.
sr: [00:00.044000] rigol-ds: D5: off
sr: [00:00.045000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG6:DISP?'.
sr: [00:00.048000] scpi: Got response: '0', length 1.
sr: [00:00.049000] rigol-ds: D6: off
sr: [00:00.049000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG7:DISP?'.
sr: [00:00.052000] scpi: Got response: '0', length 1.
sr: [00:00.052000] rigol-ds: D7: off
sr: [00:00.053000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG8:DISP?'.
sr: [00:00.056000] scpi: Got response: '0', length 1.
sr: [00:00.056000] rigol-ds: D8: off
sr: [00:00.057000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG9:DISP?'.
sr: [00:00.060000] scpi: Got response: '0', length 1.
sr: [00:00.060000] rigol-ds: D9: off
sr: [00:00.060000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG10:DISP?'.
sr: [00:00.063000] scpi: Got response: '0', length 1.
sr: [00:00.064000] rigol-ds: D10: off
sr: [00:00.065000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG11:DISP?'.
sr: [00:00.068000] scpi: Got response: '0', length 1.
sr: [00:00.068000] rigol-ds: D11: off
sr: [00:00.068000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG12:DISP?'.
sr: [00:00.071000] scpi: Got response: '0', length 1.
sr: [00:00.072000] rigol-ds: D12: off
sr: [00:00.073000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG13:DISP?'.
sr: [00:00.076000] scpi: Got response: '0', length 1.
sr: [00:00.076000] rigol-ds: D13: off
sr: [00:00.076000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG14:DISP?'.
sr: [00:00.079000] scpi: Got response: '0', length 1.
sr: [00:00.080000] rigol-ds: D14: off
sr: [00:00.080000] scpi_tcp: Successfully sent SCPI command: ':LA:DIG15:DISP?'.
sr: [00:00.083000] scpi: Got response: '0', length 1.
sr: [00:00.083000] rigol-ds: D15: off
sr: [00:00.084000] scpi_tcp: Successfully sent SCPI command: ':TIM:SCAL?'.
sr: [00:00.087000] scpi: Got response: '1.000000e-03', length 12.
sr: [00:00.087000] rigol-ds: Current timebase 0.001
sr: [00:00.088000] scpi_tcp: Successfully sent SCPI command: ':CHAN1:PROB?'.
sr: [00:00.091000] scpi: Got response: '1', length 1.
sr: [00:00.093000] scpi_tcp: Successfully sent SCPI command: ':CHAN2:PROB?'.
sr: [00:00.103000] scpi: Got response: '1', length 1.
sr: [00:00.104000] rigol-ds: Current probe attenuation:
sr: [00:00.105000] rigol-ds: CH1 1
sr: [00:00.106000] rigol-ds: CH2 1
sr: [00:00.107000] scpi_tcp: Successfully sent SCPI command: ':CHAN1:SCAL?'.
sr: [00:00.110000] scpi: Got response: '2.000000e-01', length 12.
sr: [00:00.110000] scpi_tcp: Successfully sent SCPI command: ':CHAN2:SCAL?'.
sr: [00:00.113000] scpi: Got response: '2.000000e-01', length 12.
sr: [00:00.114000] rigol-ds: Current vertical gain:
sr: [00:00.114000] rigol-ds: CH1 0.2
sr: [00:00.115000] rigol-ds: CH2 0.2
sr: [00:00.116000] scpi_tcp: Successfully sent SCPI command: ':CHAN1:OFFS?'.
sr: [00:00.119000] scpi: Got response: '-5.879900e-01', length 13.
sr: [00:00.119000] scpi_tcp: Successfully sent SCPI command: ':CHAN2:OFFS?'.
sr: [00:00.122000] scpi: Got response: '-4.440000e-01', length 13.
sr: [00:00.123000] rigol-ds: Current vertical offset:
sr: [00:00.123000] rigol-ds: CH1 -0.58799
sr: [00:00.130000] rigol-ds: CH2 -0.444
sr: [00:00.131000] scpi_tcp: Successfully sent SCPI command: ':CHAN1:COUP?'.
sr: [00:00.134000] scpi: Got response: 'DC', length 2.
sr: [00:00.134000] scpi_tcp: Successfully sent SCPI command: ':CHAN2:COUP?'.
sr: [00:00.137000] scpi: Got response: 'DC', length 2.
sr: [00:00.137000] rigol-ds: Current coupling:
sr: [00:00.138000] rigol-ds: CH1 DC
sr: [00:00.138000] rigol-ds: CH2 DC
sr: [00:00.140000] scpi_tcp: Successfully sent SCPI command: ':TRIG:EDGE:SOUR?'.
sr: [00:00.143000] scpi: Got response: 'CHAN1', length 5.
sr: [00:00.147000] rigol-ds: Current trigger source CHAN1
sr: [00:00.148000] scpi_tcp: Successfully sent SCPI command: ':TIM:OFFS?'.
sr: [00:00.151000] scpi: Got response: '0.000000e+00', length 12.
sr: [00:00.151000] rigol-ds: Current horizontal trigger position 0
sr: [00:00.152000] scpi_tcp: Successfully sent SCPI command: ':TRIG:EDGE:SLOP?'.
sr: [00:00.155000] scpi: Got response: 'POS', length 3.
sr: [00:00.156000] rigol-ds: Current trigger slope POS
sr: [00:00.157000] scpi_tcp: Successfully sent SCPI command: ':TRIG:EDGE:LEV?'.
sr: [00:00.160000] scpi: Got response: '1.499990e-01', length 12.
sr: [00:00.161000] rigol-ds: Current trigger level 0.149999
sr: [00:00.162000] hwdriver: sr_config_set(): key 50002 (limit_frames) sdi 017E8838 cg NULL -> uint64 1
sr: [00:00.163000] session: Using thread-default main context.
sr: [00:00.163000] session: Starting.
sr: [00:00.164000] rigol-ds: handling channel CH1
sr: [00:00.166000] rigol-ds: handling channel CH2
sr: [00:00.167000] rigol-ds: handling channel D0
sr: [00:00.167000] rigol-ds: handling channel D1
sr: [00:00.168000] rigol-ds: handling channel D2
sr: [00:00.169000] rigol-ds: handling channel D3
sr: [00:00.170000] rigol-ds: handling channel D4
sr: [00:00.171000] rigol-ds: handling channel D5
sr: [00:00.171000] rigol-ds: handling channel D6
sr: [00:00.172000] rigol-ds: handling channel D7
sr: [00:00.173000] rigol-ds: handling channel D8
sr: [00:00.173000] rigol-ds: handling channel D9
sr: [00:00.174000] rigol-ds: handling channel D10
sr: [00:00.174000] rigol-ds: handling channel D11
sr: [00:00.177000] rigol-ds: handling channel D12
sr: [00:00.177000] rigol-ds: handling channel D13
sr: [00:00.178000] rigol-ds: handling channel D14
sr: [00:00.179000] rigol-ds: handling channel D15
sr: [00:00.179000] scpi_tcp: Successfully sent SCPI command: ':RUN'.
sr: [00:00.180000] scpi_tcp: Successfully sent SCPI command: '*OPC?'.
sr: [00:00.289000] scpi: Got response: '1', length 1.
sr: [00:00.290000] scpi_tcp: Successfully sent SCPI command: ':ACQ:MDEP 0'.
sr: [00:00.291000] scpi_tcp: Successfully sent SCPI command: '*OPC?'.
sr: [00:00.543000] scpi: Got response: '1', length 1.
sr: [00:00.543000] scpi_tcp: Successfully sent SCPI command: ':STOP'.
sr: [00:00.545000] scpi_tcp: Successfully sent SCPI command: '*OPC?'.
sr: [00:00.816000] scpi: Got response: '1', length 1.
sr: [00:00.818000] scpi_tcp: Successfully sent SCPI command: ':RUN'.
sr: [00:00.818000] scpi_tcp: Successfully sent SCPI command: '*OPC?'.
sr: [00:01.085000] scpi: Got response: '1', length 1.
sr: [00:01.086000] std: rigol-ds: Starting acquisition.
sr: [00:01.088000] std: rigol-ds: Sending SR_DF_HEADER packet.
sr: [00:01.088000] session: Running transform module 'nop'.
sr: [00:01.089000] transform/nop: Received packet of type 10000, passing on unmodified.
sr: [00:01.090000] session: bus: Received SR_DF_HEADER packet.
cli: Received SR_DF_HEADER.
sr: [00:01.092000] hwdriver: sr_config_get(): key 30000 (samplerate) sdi 017E8838 cg NULL -> uint64 0
sr: [00:01.093000] rigol-ds: Starting data capture for frameset 1 of 1
sr: [00:01.093000] scpi_tcp: Successfully sent SCPI command: ':WAV:FORM BYTE'.
sr: [00:01.094000] scpi_tcp: Successfully sent SCPI command: '*OPC?'.
sr: [00:01.344000] scpi: Got response: '1', length 1.
sr: [00:01.345000] scpi_tcp: Successfully sent SCPI command: ':WAV:MODE NORM'.
sr: [00:01.346000] scpi_tcp: Successfully sent SCPI command: '*OPC?'.
sr: [00:01.595000] scpi: Got response: '1', length 1.
sr: [00:01.596000] session: Running transform module 'nop'.
sr: [00:01.598000] transform/nop: Received packet of type 10005, passing on unmodified.
sr: [00:01.599000] session: bus: Received SR_DF_FRAME_BEGIN packet.
cli: Received SR_DF_FRAME_BEGIN.
FRAME-BEGIN
sr: [00:01.651000] rigol-ds: Sleeping for 11900 usecs instead of trigger-wait
sr: [00:01.663000] rigol-ds: Starting reading data from channel 1

=======================================================================

thanks & regards

Robert
Comment 14 SrR0 2017-05-25 10:32:09 CEST
(In reply to comment #11)
> "pulseview -l 5" from a DOS box works, but only if you use the "debug"
> version of the Windows installer.

Thanks!
Comment 15 Rock12 2023-06-16 11:59:45 CEST
this sink features a unique pattern of gray and black that creates a dramatic and sophisticated look. The sink is easy to install and comes with a pop-up drain, mounting ring, and silicone gasket. https://perfectsink.com/