Author Topic: Can RIGOL MSO/DS1000Z Plus with RPL1116 work with Sigrok PulseView ?  (Read 1285 times)

0 Members and 4 Guests are viewing this topic.

Offline aristarchusTopic starter

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
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
« Last Edit: March 05, 2023, 06:14:22 pm by aristarchus »
 

Offline aristarchusTopic starter

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Can RIGOL MSO/DS1000Z Plus with RPL1116 work with Sigrok PulseView ?
« Reply #1 on: March 05, 2023, 09:40:51 pm »
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 ?
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 6958
  • Country: ca
  • Non-expert
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 17046
  • Country: 00
Re: Can RIGOL MSO/DS1000Z Plus with RPL1116 work with Sigrok PulseView ?
« Reply #3 on: March 07, 2023, 02:27:21 am »
So, does anyone can help on how can I modify it to report as MSO1104Z ?

It's going to be much easier to modify Sigrok to accept "DS1104Z Plus" than modify the 'scope.
 

Offline aristarchusTopic starter

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Can RIGOL MSO/DS1000Z Plus with RPL1116 work with Sigrok PulseView ?
« Reply #4 on: March 07, 2023, 07:49:19 am »
It's going to be much easier to modify Sigrok to accept "DS1104Z Plus" than modify the 'scope.

Yes, 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.

 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 6958
  • Country: ca
  • Non-expert
Re: Can RIGOL MSO/DS1000Z Plus with RPL1116 work with Sigrok PulseView ?
« Reply #5 on: March 08, 2023, 12:33:03 am »
Yes, 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.

Yeah 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.
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline aristarchusTopic starter

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Can RIGOL MSO/DS1000Z Plus with RPL1116 work with Sigrok PulseView ?
« Reply #6 on: March 08, 2023, 06:18:21 am »
I would spend the $10 and get a USB logic analyzer ..

Yes, 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.
 

Offline aristarchusTopic starter

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Can RIGOL MSO/DS1000Z Plus with RPL1116 work with Sigrok PulseView ?
« Reply #7 on: March 09, 2023, 05:45:55 pm »
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.
 
The following users thanked this post: thm_w

Offline aristarchusTopic starter

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Can RIGOL MSO/DS1000Z Plus with RPL1116 work with Sigrok PulseView ?
« Reply #8 on: March 12, 2023, 11:12:25 am »
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=1831

I'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 this
https://github.com/sigrokproject/pulseview/commit/136995b831c50d3261143b1183c73af55c9ba3a5
and 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 it
https://github.com/sigrokproject/libsigrok/commit/0db1b189bee3ffe5c6ea39d7ca2e62715856b538
dated 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.
« Last Edit: March 12, 2023, 11:14:29 am by aristarchus »
 
The following users thanked this post: thm_w, Fungus


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf