Can RIGOL MSO/DS1000Z Plus with RPL1116 work with Sigrok PulseView ? - Page 1
Forum section: electronics / testgear

author: aristarchus
author_rank: Regular Contributor
timestamp: March 04, 2023, 07:13:48 pm
content: Hi,Got here a Rigol DS1104ZPlus with an attached RPL1116 active logic head of 16 digital ports (so it is a MSO1104Z))When I configure the instrument to Sigrok (windows v0.4.2), it connects ok via LAN and I can see the normal 4 channels CH1/2/3/4 but not the 16 digital ones.Has anyone been able to view the 16 digital channels of a DS1000zPlus having a RPL1116 in Sigrok's Pulseview ?Aristarchus

author: aristarchus
author_rank: Regular Contributor
timestamp: March 05, 2023, 09:40:51 pm
content: Ok, let me ask another question that might solve the issue.The instrument reports now as DS1104Z Plus.If it reported back as MSO1104Z it will make (I guess) PulseView to see its digital ports.In reality, DS1104Z Plus with RPL1116 is a MSO1104Z after all.So, does anyone can help on how can I modify it to report as MSO1104Z ?

author: thm_w
author_rank: Super Contributor
timestamp: March 06, 2023, 11:19:44 pm
content: I don't know how well MSO1104Z even works in sigrok:https://sigrok.org/bugzilla/show_bug.cgi?id=1191https://sigrok.org/bugzilla/show_bug.cgi?id=1443

author: Fungus
author_rank: Super Contributor
timestamp: March 07, 2023, 02:27:21 am
content: Quote from: aristarchus on March 05, 2023, 09:40:51 pmIt's going to be much easier to modify Sigrok to accept "DS1104Z Plus" than modify the 'scope.

author: aristarchus
author_rank: Regular Contributor
timestamp: March 07, 2023, 07:49:19 am
content: Quote from: Fungus on March 07, 2023, 02:27:21 amYes, it looks so.I've submitted a sigrok bugzilla report for that and the solution looks easy to me, eg to treat DS1xxxZ Plus as they do for MSO1xxxZ. The developers there I hope they respond and fix it.Also tried to see how easy is to recompile myself the libsigrok that contains the code needs fixing but it seems pretty complicated to me as they use mingw to cross compile for Windows, anyway I'll wait and see.Thanks for the advices.

author: thm_w
author_rank: Super Contributor
timestamp: March 08, 2023, 12:33:03 am
content: Quote from: aristarchus on March 07, 2023, 07:49:19 amYeah but even if you get that resolved, is the above MSO1100Z bug fixed, is that not a showstopper?I would spend the $10 and get a USB logic analyzer, then maybe screw around with this stuff in your spare time to try to recompile it and fix the listed bugs.Might be easier to setup a linux VM and compile it in there.

author: aristarchus
author_rank: Regular Contributor
timestamp: March 08, 2023, 06:18:21 am
content: Quote from: thm_w on March 08, 2023, 12:33:03 amYes, already got such, a Saleae cheap 10$ clone, its useful up to ~10MHz.As for rebuild, I'm in the process of building the used development environment in a dedicated VM but looks a bit complex due to cross-compiling with mingw-w64 and various packet requirements.Not in a hurry, hopefully the devs in Sigrok will see how easy is to fix this and do it.

author: aristarchus
author_rank: Regular Contributor
timestamp: March 09, 2023, 05:45:55 pm
content: Manage to build PulseView as an application in Ubuntu/Linux.Did that in order to verify the solution and from what is shown, the proposed solution works just fine, PulseView communicate with the instrument and showing all digital and analog channels reading back values ok via LAN.But to make the Windows application is a almost mission impossible for me, way too complicated with so many prerequisites and fuzzy build instrucions.I only hope that the sigrok devs will see the bugzilla report, apply the solution and generate the windows installer.

author: aristarchus
author_rank: Regular Contributor
timestamp: March 12, 2023, 11:12:25 am
content: After quite some head scratching and frustration, managed to rebuild the pulseview windows installer with DS1xxxZ Plus support of D0..D15 digital channels.The sigrok bugzilla report is still pending though and hopefully they incorporate at some time the proposed changes and provide a new official installer.https://sigrok.org/bugzilla/show_bug.cgi?id=1831I'm attaching a file with the actual download link in Mega if someone wants to test the DS1xxxZ Plus with RPL1116 in Sigrok PulseView.The installer file is named "pulseview-0.5.0-git-136995b-installer.exe" and is generated today 12 Mar. 2023 from the latest master branch of sigrok github repository.The commit on which the build is done is thishttps://github.com/sigrokproject/pulseview/commit/136995b831c50d3261143b1183c73af55c9ba3a5and although is the latest available, it is dated 30 Nov. 2022.The code changed though is not in PulseView but in one of its libraries, the libsigrok and this is the latest commit to ithttps://github.com/sigrokproject/libsigrok/commit/0db1b189bee3ffe5c6ea39d7ca2e62715856b538dated 19 Dec. 2022. On the libsigrok I've applied the proposed solution as in the bugzilla report and it looks ok so far, at least it exposes the D0..D15 in DS1104Z Plus with RPL1116 that I have here.Disclaimer:Use the downloaded installer file at your own risk and only after you performed virus-check on it as a standard practice for all web downloaded files.