Products > Test Equipment
New Sigrok/PulseView hardware support (Siglent SDS HD, Rigol DHO...)
(1/24) > >>
fredo_:
I'm starting a new thread as a follow-up of the discussions on Siglent HD and Rigol DHO800/900 models support for Sigrok/PulseView.

There seems to be quite some frustration about the lack of activity in Sigrok development, and the fact that Pull Requests for new hardware never get merged in the codebase, due to the difficulty of testing changes on different scope models.
I was thinking, maybe we could leverage on the strong EEVblog community to overcome this testing issue.
So I spent (quite!) some time setting up a Linux building environment (as recommended by the Sigrok team) to be able to cross-compile PulseView Windows installer ; and I was able to create a binary with a first attempt of support for new Siglent models (2000X plus and 2000X HD) based on the work of Eric Kuzmenko.

It's been successfully tested on my SDS2000X HD over Ethernet (see pictures bellow) and by other EEVblog contributors on SDS800X HD, SDS1000X HD and SDS2000X Plus.

If anyone is interested in testing it with other Siglent/Rigol models, here is a link to the Windows (64bits) installer (zip password is 'sigrok').

And thanks to the work of @Spike : here is a Mac OS version (the dmg doesn't explicitly say it but the arm64 will only run on Sonoma and the x86_64 is for Ventura.).

I also own a Rigol DHO800, so my next challenge (when I come back from vacation, two weeks from now  8)) could be to try and add new Rigol models support if you guys are interested  :)...
Rigol DHO800/900/1000/4000 support added on latest versions !

12/13/2024 Update
Rigol DHO : added support for DHO824 model
08/26/2024 Update
Siglent SDS : fixed support for sub 10mV vertical ranges
08/07/2024 Update
Rigol DHO : added support for DHO1000 and DHO4000
08/04/2024 Update
Siglent SDS :
- Fixed triggering issues on large timebases
- Known limitations :
   - USB acquisition does not work (use TCP/IP with Raw TCP and port 5025)
   - LA acquisition pagination (for memory depth > 5Mpts) is not working on SDS 2000X HD (firmware issue ?) causing the first 5Mpts to be replicated several times
   - LA acquisition might fail for memory depth > 50 Mpts
08/01/2024 Update
Siglent SDS :
- Fixed pagination for memory depth > 4 Mpts (issue where the waveform was truncated and replicated)
07/27/2024 Update
Siglent SDS :
- Fixed acquisition for memory depth > 4 Mpts
Rigol DHO :
- Fixed USB acquisition
07/22/2024 Update
Added Rigol DHO 800/900 support with known limitations :
- LA not tested (I don't own a DHO 900)
- Only works in TCP/IP mode
- Segmented mode only works if :
  1/ UltraAquire is manually activated on the scope (SCPI command to activate it does not seem to work)
  2/ Memory depth is set to 10Kpts or lower

I'm waiting for your feedback on this !

Cheers,

Frederic.

P.S. : The source code of my work is available here : https://github.com/fredzo/libsigrok

kripton2035:
subscribed...
if you can compile a binary for macos arm I would be really interesed ! I tried to compile original sigrok sources with no luck so far.
TomKatt:
That's a LOT of work - my hat is off to you.

Open source can be great, but sometimes things turn into spaghetti code over time and experienced coders move on to different projects leaving things in a state that can be difficult to add new features.  I'm surprised that the device driver foundation wasn't set up to be more flexible from the beginning, but I'm sure the original coders had their reasons...  Or simply never anticipated the project would grow to the extent that it did.

Edit - While it's obviously not the best option, if the desire to get newer Siglent / Rigol gear working with Sigrock is sufficient, perhaps the project just gets forked into a version that only works for those models so you don't have to test or worry about all the legacy devices...   Seems like the goal now is to add device compatibility rather than adding new functionality.  DSlogic took this approach when they 'borrowed' Sigrok's source code to create their DSview application for their own brand of logic analyzers.  While they were (rightfully) dragged through the mud for not disclosing that Sigrok's code was used to create their code, they might have got some slack for not contributing any improvements they made back to the original Sigrok project considering the difficulties mentioned earlier.

Edit2 - I wonder if Siglent's SigScopeLab software is aiming towards providing Sigrok like functionality for their compatible products?  I haven't tried it myself, but it seems limited and I understand from posts in the forums that it's a bit buggy as well.
fredo_:

--- Quote from: kripton2035 on June 27, 2024, 12:08:56 pm ---if you can compile a binary for macos arm I would be really interesed ! I tried to compile original sigrok sources with no luck so far.

--- End quote ---
Well that's another story!... You need a Mac and MacOS to do that, which I don't have :-(


--- Quote from: TomKatt on June 27, 2024, 01:10:24 pm ---That's a LOT of work - my hat is off to you.

--- End quote ---
Thanks TomKatt !


--- Quote from: TomKatt on June 27, 2024, 01:10:24 pm ---While it's obviously not the best option, if the desire to get newer Siglent / Rigol gear working with Sigrock is sufficient, perhaps the project just gets forked into a version that only works for those models so you don't have to test or worry about all the legacy devices...I understand from posts in the forums that it's a bit buggy as well.

--- End quote ---
Well my hope here is to find some help from owners of older Siglent models, to validate my patch so that it can hopefully be merged back to Sigrok's codebase :D


--- Quote from: TomKatt on June 27, 2024, 01:10:24 pm ---I wonder if Siglent's SigScopeLab software is aiming towards providing Sigrok like functionality for their compatible products?  I haven't tried it myself, but it seems limited and I understand from posts in the forums that it's a bit buggy as well.

--- End quote ---
Well I tried it when it got out and could not get anything out of it appart from hanging my scope to the point that I had to hard-reboot it  |O...
Just checked, there is no new version available yet...
Spike:

--- Quote from: fredo_ on June 27, 2024, 05:01:03 pm ---
--- Quote from: kripton2035 on June 27, 2024, 12:08:56 pm ---if you can compile a binary for macos arm I would be really interesed ! I tried to compile original sigrok sources with no luck so far.

--- End quote ---
Well that's another story!... You need a Mac and MacOS to do that, which I don't have :-(


--- End quote ---
I can build you a macOS binary, kripton, but as I recall you’re still on Ventura which I cannot build for arm64.  Unless you want x86_64, I’m afraid it’s Sonoma only.  Otherwise I can try to help you build your own but I suspect that will be a bit of a pain because my dependencies come from macports rather than homebrew like everyone seems to use these days.
Navigation
Message Index
Next page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod