Hi Sigrok-devel,

I have a little problem using the sigrok-cli and hope someone can help me out.

I have a Saleae Logic 8 and want to analyse the signals of the connected LEDs 
using the PWM protocol.
For this I use a Raspberry Pi in combination with the Sigrok-cli.

When reading the data of each channel (0..7), I retrieve the data I would 
expect.
sigrok-cli -d fx2lafw:conn=1.11 --config samplerate=100000 --samples 10000 -C D0
sigrok-cli -d fx2lafw:conn=1.11 --config samplerate=100000 --samples 10000 -C D1
etc.

However when I add the PWM protocol option I always retrieve the PWM data of 
channel 0
sigrok-cli -d fx2lafw:conn=1.11 --config samplerate=100000 --samples 10000 -C 
D0 -P pwm
sigrok-cli -d fx2lafw:conn=1.11 --config samplerate=100000 --samples 10000 -C 
D1 -P pwm
etc.


When I use Pulseview in combination with the Saleae Logic 8 I can retrieve the 
correct PWM values of each channel individually.
But I need to do this over the cli.

Hopefully you can help me with this.
Thanks in advance.

Kind regards,
Bianca Krieger
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to