I didn't know about vxi!! Thank you!
What are the parameters for USB connection? I want to try also that one..

With VXI I'm able to get some data..
sigrok-cli -d rigol-ds:conn=vxi/192.168.1.21/5555 --frames 1 -O analogsr: 
scpi_vxi: Device read failed for 192.168.1.21 with error 15sr: scpi: 
Incompletely read SCPI response.FRAME-BEGINsr: scpi_vxi: Device read failed for 
192.168.1.21 with error 15sr: scpi: Incompletely read SCPI response.sr: 
scpi_vxi: Device read failed for 192.168.1.21 with error 15sr: scpi: 
Incompletely read SCPI response.sr: scpi_vxi: Device read failed for 
192.168.1.21 with error 15sr: scpi: Incompletely read SCPI response.CH1: 
-0.003041 VCH1: -0.012806 VCH1: -0.004994 VCH1: -0.012806 VCH1: -0.006947 
V[...]  //hundred CH1: -0.006947 VCH1: 0.865624 mVsr: rigol-ds: Read should 
have been completedFRAME-END


If I try another channel, sigrok-cli -d rigol-ds:conn=vxi/192.168.1.21/5555 
--frames 1 -O analog --channels CH3it works
However, most of the time I issue a command I get:sigrok-cli -d 
rigol-ds:conn=vxi/192.168.1.21/5555 --frames 1 -O analog --channels CH1 sr: 
scpi_vxi: Device read failed for 192.168.1.21 with error 15sr: scpi: 
Incompletely read SCPI response.sr: scpi_vxi: Device read failed for 
192.168.1.21 with error 15sr: scpi: Incompletely read SCPI response.sr: 
scpi_vxi: Device read failed for 192.168.1.21 with error 15sr: scpi: 
Incompletely read SCPI response.FRAME-BEGINsr: scpi_vxi: Device read failed for 
192.168.1.21 with error 15sr: scpi: Incompletely read SCPI response.sr: 
scpi_vxi: Device read failed for 192.168.1.21 with error 15sr: scpi: 
Incompletely read SCPI response.sr: scpi_vxi: Device read failed for 
192.168.1.21 with error 15sr: rigol-ds: Read error while reading data 
header.sr: rigol-ds: Read error, aborting capture.FRAME-END
and no data..

Thus, since i'm not able to connect PulseView to it, how i can show the output? 
I though about gnuplot and I try with:sigrok-cli -d 
rigol-ds:conn=vxi/192.168.1.21/5555 --frames 1 --channels CH2 -o data.out -O 
gnuplotsr: output/gnuplot: No logic channel enabled.Failed to initialize output 
module.

Why is it searching for logic channels?



Thank you,Marco





ps:
With -show I get:sigrok-cli -d rigol-ds:conn=vxi/192.168.1.21/5555 --show
Driver functions:    Oscilloscope    Frame limit    Time base    Trigger source 
   Trigger slope    Horizontal trigger position    Number of horizontal 
divisions    Sample rate    Data sourceScan options:    conn    
serialcommrigol-ds - Rigol DS1104Z 00.04.01.SP2 with 4 channels: CH1 CH2 CH3 
CH4Channel groups:    CH1: channel CH1    CH2: channel CH2    CH3: channel CH3  
  CH4: channel CH4Supported configuration options across all channel groups:    
(null):     limit_frames:     timebase - supported values:      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      500 us      1 ms      
2 ms      5 ms (current)      10 ms      20 ms      50 ms      100 ms      200 
ms      500 ms      1 s      2 s      5 s      10 s      20 s      50 s    
triggersource: CH1 (current), CH2, CH3, CH4    triggerslope: r (current), f    
horiz_triggerpos:     num_hdiv    samplerate    data_source: Live (current), 
Memory, Segmented



     Il Domenica 5 Luglio 2015 11:41, Martin Ling <martin-sig...@earth.li> ha 
scritto:
   

 On Sun, Jul 05, 2015 at 08:36:56AM +0000, Bo' wrote:
> 
> However if I try this command:
> 
> sigrok-cli -d rigol-ds:conn=tcp-raw/192.168.1.21/5555 --frames 1 -O analog
> FRAME-BEGIN
> sr: rigol-ds: Received invalid data block header 'co'.
> sr: rigol-ds: Read error, aborting capture.
> FRAME-END
> 
> What does it mean?

I don't know. I've only tested this series over the USB connection. I
actually didn't even know they supported a raw TCP connection. I
understand they also support VXI, so you could try that. Set conn to
"vxi:/192.168.1.21" I think.


Martin

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel


  
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to