Hello Helge,

I built the latest libsigrok from the official git repo and tried it with pulseview on linux. It does not work for me. There is never any data to upload, even without triggers enabled.

After applying fixes from my PR [1] I made these simple tests.
I used the default signals from the LA2016 'user pwm' outputs as follows:
user pwm1 ---> CH0 (1kHz)
user pwm2 ---> CH1 (100kHz)

Test 1
1.png [1]
5 Msamples @ 100MHz
No triggers enabled
Capture length is shown correctly as 50ms and measuring frequencies with the cursors shows 1kHz/100kHz as expected.
The capture ratio was set at 10%, hence the vertical blue line at 5ms.

Test 2
2.png [2]
1 Gsamples @ 100MHz
No triggers enabled
Capture length is shown correctly as 10 seconds.
The capture ratio was set at 10%, hence the vertical blue line at 1s.

Test 3
3.png [3]
1 Msamples @ 100MHz
Faling edge trigger on CH0 works as expected.
Capture length is shown correctly as 10ms.
Capture ratio set at 50%, hence trigger point is at 5ms.

Test 4
4.png [4]
1 Msamples @ 100MHz
Rising edge trigger on CH0 works as expected.
Capture length is shown correctly as 10ms.
Capture ratio set at 75%, hence trigger point is at 7.5ms.

Test 5
5.png [5]
50 Ksamples @ 100MHz
Rising edge trigger on CH1 combined with level trigger on CH0 works as expected.
Capture length is shown correctly as 500us.
Capture ratio set at 75%, hence trigger point is at 375us.

Test 6
6.png [6]
5 Msamples @ 100MHz
Rising edge trigger on CH0
I started the capture with CH0 disconnected from inout signal, then connected after 30 seconds.
Capture length is shown correctly as 50ms.
Capture ratio set at 50%, hence trigger point is at 25ms.

Summary
All of the above tests, and many others work fine with my PR.
If you can test it similarly, and it works for you, maybe we can get it accepted.

Regards,
Kevin

[1] https://github.com/sigrokproject/libsigrok/pull/131



Links:
------
[1] https://filedn.com/l5C6rr68NJOFlFbvMqdgEzu/sigrok/1.png
[2] https://filedn.com/l5C6rr68NJOFlFbvMqdgEzu/sigrok/2.png
[3] https://filedn.com/l5C6rr68NJOFlFbvMqdgEzu/sigrok/3.png
[4] https://filedn.com/l5C6rr68NJOFlFbvMqdgEzu/sigrok/4.png
[5] https://filedn.com/l5C6rr68NJOFlFbvMqdgEzu/sigrok/5.png
[6] https://filedn.com/l5C6rr68NJOFlFbvMqdgEzu/sigrok/6.png
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to