-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rigol dho support #246
base: master
Are you sure you want to change the base?
Rigol dho support #246
Conversation
…c Kuzmenko) in this PR : github.com/sigrokproject/pull/176/ Created a new protocol version "E11" matching the latest Siglent SDS Scope programming guide. Reduced the read-wait time from 7sec to 50ms for better performance (achived by looping on read sample logic to consume the data has it arrives). Tested with SDS2504X HD model connected via Ethernet cable.
Based on the work of Diana Ellefson (OrionOth) : sigrokproject#229 and RemiNV : sigrokproject@3430e8e
I'm getting a DHO924 for work and was previously doing some testing with a cheap LA and this software. I'm so exited that I can use this software in future with the DSO as well. Btw @fredzo, @i404788 also opened a PR that seems to address one of the limitations you had. This would certainly be cool, if it were merged/included here as well. 👍 Currently thinking, if it's worth the effort to figure out how to compile and use it on Fedora already. Was thinking of making a RPM out of it, but have never made one, just compiling and force-loading the lib for pulseview might work as well. If I do that, I can also give some results on whether it works for me or what is not working. |
I managed to get it to build and run this on Fedora (+ the patch pr). I'll test the Oscilloscope later. I'm currently on Fedora 40 KDE Spin. I needed to rebuild pulseview as well or got a linking error on launch, so it is also included. For building, I followed RedHat's Tutorial on Building RPMs. So this is pretty much a Hello-RPM for me. You can download the rpmbuild folder here. It included all sources, adapted spec files for building as well as the built srpm and rpm files. So just download it, optionally rebuild it and overwrite your existing libsigrok by installing these RPMs ( |
I noticed one crash: When I'm connected via USB, using Data source "Memory" and stop the run before everything was downloaded (and it auto-stops), the next time I press "Run", the program gives me this popop. When I press okay, it segfaults: Stack-Trace: Text (full GDB Log with all messages)
I'm assuming, that early stopping puts the device in some kind of unexpected state. I need to disconnect and reconnect the USB, otherwise this keeps happening every time. I tested a bit around. Only USB with Datasource "Memory" or "Segemented" can trigger this. USB with "Live" as well as all modes over TCP/IP don't cause this. No matter how hard I abuse the Run/Stop button. |
Messages: Hitting backspace, when channel name is selected:
First typing something over the marked area, then clearing it again with backspaces:
(This was using TCP/IP and the default data source "Live") Edit: Actually, this happens even with a Demo Device for me. So it's either me mixing some wrong verions, or some other software back. Probably due to me compiling it most likely not properly. So it's not specific to this PR. |
Otherwise works very well. TCP/IP with Memory view is perfect for me. Seems the Firmware on the DHO is either outdated or otherwise misconfigured as it struggles to decode a SPI signal often. But with Pulseview this worky very well now! The first crash probably needs to be addressed first (the 2nd is either my fault or not specific to this specific version). Otherwise I think this is good to go. Can anybody else reproduce the first crash as well? |
Hi,
This PR is based on the work of Diana Ellefson (OrionOth) : #229
and RemiNV : 3430e8e
It's been discussed on EEVblog forum and tested by different users on DHO 800, 900, 1000 and 4000: https://www.eevblog.com/forum/testgear/new-sigrokpulseview-hardware-support-(siglent-sds-hd-rigol-dho800-)/
I've tried not to change any behavior of the original driver.
Please let me know if you have any comment.
Best regard,
Frederic.