Author Topic: Hacking the Rigol DHO800/900 Scope  (Read 1899452 times)

0 Members and 17 Guests are viewing this topic.

Offline mrisco

  • Regular Contributor
  • *
  • Posts: 164
  • Country: pe
    • Github repo
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3500 on: February 14, 2025, 03:48:57 pm »
(After that we'd want an app to configure the user interface options without editing those pesky JSON files.  ;) )

Sorry I'm not an Android programmer so that could be take some time, maybe someone could make something simple like select an application and generate the json and create the image with the application icon.
DHO800-900 Extended UI: https://youtu.be/mT4ivaMY7zg
 

Offline mrisco

  • Regular Contributor
  • *
  • Posts: 164
  • Country: pe
    • Github repo
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3501 on: February 14, 2025, 03:55:09 pm »
Can the scrollable button panel at top right be edited? It would be cool to be able to just replace it with one or two items that don't have a physical button on the front (eg. "decode").

You can use a chain of SCPI commands to create an specific sequence for decoding a signal and put that sequence in a button in the panel.
Code: [Select]
:BUS1:MODE SPI /*Sets the decoding type to SPI.*/
Or configure the device and save the settings in a STP file and later recover that file using only one button in the panel like the example in the video.
DHO800-900 Extended UI: https://youtu.be/mT4ivaMY7zg
 
The following users thanked this post: RAPo

Offline AndyBig

  • Frequent Contributor
  • **
  • Posts: 539
  • Country: ru
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3502 on: February 15, 2025, 01:26:17 pm »
A couple of bugs in the latest version 00.01.04.00.02:
1. Cursor brightness settings are not loaded when the oscilloscope is turned on. If you set their brightness to, for example, 30%, then reboot the oscilloscope, you will see that the cursors have 100% brightness. But as soon as you open the display settings, the cursor brightness will immediately return to the previously set ones.
2. In some trigger modes, the mode icon in the top panel does not correspond to the actual mode. If in the "Timeout" or "Over" mode you set Slope to Arbitrary/Either mode, the icon in the top panel will display the Rising mode.
 
The following users thanked this post: Obiwantje, Randy222

Offline AndyBig

  • Frequent Contributor
  • **
  • Posts: 539
  • Country: ru
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3503 on: February 15, 2025, 06:45:05 pm »
Fixed Rigol's bugs with trigger mode icons and added horizontal scale and trigger mode to the full-screen info panel :)
 
The following users thanked this post: Fungus, Obiwantje, ebourg, norbert.kiszka

Offline iMo

  • Super Contributor
  • ***
  • Posts: 5666
  • Country: nu
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3504 on: February 16, 2025, 12:52:14 pm »
There is the bug with the display brightness as well - it always starts 100%.
Readers discretion is advised..
 

Offline norbert.kiszka

  • Frequent Contributor
  • **
  • Posts: 555
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3505 on: February 16, 2025, 12:54:15 pm »
There is the bug with the display brightness as well - it always starts 100%.

It's hardcoded in /rigol/shell/start_rigol_app.sh

Offline iMo

  • Super Contributor
  • ***
  • Posts: 5666
  • Country: nu
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3506 on: February 16, 2025, 12:58:16 pm »
Yep, I know, it was handled here in past afaik, but for me - as the user - it is a bug.. When I set it 60% it gets 100% after the restart.. The same: the time zone (enabling time/date), the flattop window coeffs, etc.
So perhaps the experts here may create an "automatic process/script" which will handle all those "bugs".
« Last Edit: February 16, 2025, 01:05:39 pm by iMo »
Readers discretion is advised..
 

Offline RAPo

  • Frequent Contributor
  • **
  • Posts: 962
  • Country: nl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3507 on: February 16, 2025, 02:51:07 pm »
Like this very much. Thanks.
Can some ogf the acquire settings (mode, mem depth) also be added to this bar?
Fixed Rigol's bugs with trigger mode icons and added horizontal scale and trigger mode to the full-screen info panel :)
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 17718
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3508 on: February 16, 2025, 03:04:08 pm »
Like this very much. Thanks.
Can some ogf the acquire settings (mode, mem depth) also be added to this bar?

...or on the title bar at the top, next to the graphics that shows you how much you can zoom.

(there's enough numbers at the bottom now to have to scan through to pick one out)
 

Offline RAPo

  • Frequent Contributor
  • **
  • Posts: 962
  • Country: nl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3509 on: February 16, 2025, 03:21:31 pm »
Please don't do that.
I agree the little bar is becoming full of numbers, but a logical arrangement (trig status/trig info/Hor info/Acquire info/Channel info) can help.
I often crop the top bar out from the final image: it is not displaying anything helpful (until we can have a user-defined caption instead of the default 'waveform view');

Like this very much. Thanks.
Can some ogf the acquire settings (mode, mem depth) also be added to this bar?

...or on the title bar at the top, next to the graphics that shows you how much you can zoom.

(there's enough numbers at the bottom now to have to scan through to pick one out)
 

Offline AndyBig

  • Frequent Contributor
  • **
  • Posts: 539
  • Country: ru
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3510 on: February 16, 2025, 04:44:04 pm »
I, like mrisco, am not an Android programmer, it is difficult to understand all the nuances of building applications... Today I spent the whole day messing around with the cursor brightness loading error, but I finally defeated it! Now after turning on the oscilloscope, the cursors turn on with the brightness that was set earlier, and not with 100% :)
There is the bug with the display brightness as well - it always starts 100%.
Yes, probably in Rigol they think that the decrease in display brightness is only a temporary phenomenon that lasts until the oscilloscope is turned off :) I have written this down in my task list, maybe I can fix it.
Like this very much. Thanks.
Can some ogf the acquire settings (mode, mem depth) also be added to this bar?
Well, there is still some space in the bottom panel, I think this information should fit. I also added it to my task list.
 
The following users thanked this post: Randy222

Offline AndyBig

  • Frequent Contributor
  • **
  • Posts: 539
  • Country: ru
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3511 on: February 18, 2025, 06:09:05 pm »
Release of a new version of the modification (a007) - https://github.com/Andy-Big/Rigol-DHO800-900-Sparrow_mod/releases/tag/a007_00.01.04.00.02 :)
  • added a button in the window title to open/close the information panel in full-screen mode
  • added information about the type (icon) and channel of the trigger to the full-screen information panel
  • added information about the horizontal scale to the full-screen information panel
  • added information about the channel connection (AC/DC/GND) to the full-screen information panel
  • added information about the capture mode and memory depth to the full-screen information panel
  • the background of the full-screen information panel has been changed to a darker one
  • fixed a Rigol bug: the trigger mode icon in the top panel did not correspond to the selected mode in some cases
  • fixed a Rigol bug: after turning on the oscilloscope, the cursor brightness is set to 100%, no matter what its setting is, the brightness is brought to the settings only when the display settings window is opened

 
The following users thanked this post: TurboTom, Obiwantje, F14V, ebourg, zelectronicauy, Pisti

Offline Randy222

  • Frequent Contributor
  • **
  • Posts: 787
  • Country: ca
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3512 on: February 18, 2025, 06:36:53 pm »
Release of a new version of the modification (a007) - https://github.com/Andy-Big/Rigol-DHO800-900-Sparrow_mod/releases/tag/a007_00.01.04.00.02 :)

TY for the updates.

Question, after installing your version do we need to re-do the FFT flat-top calibration?
 

Offline AndyBig

  • Frequent Contributor
  • **
  • Posts: 539
  • Country: ru
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3513 on: February 18, 2025, 06:51:02 pm »
Question, after installing your version do we need to re-do the FFT flat-top calibration?
No, no calibrations are lost when updating the mod, and FFT files are not overwritten either :)
 

Offline AndyBig

  • Frequent Contributor
  • **
  • Posts: 539
  • Country: ru
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3514 on: February 19, 2025, 12:23:57 am »
Yep, I know, it was handled here in past afaik, but for me - as the user - it is a bug.. When I set it 60% it gets 100% after the restart.. The same: the time zone (enabling time/date), the flattop window coeffs, etc.
So perhaps the experts here may create an "automatic process/script" which will handle all those "bugs".
I think I found where this error is - when setting the screen brightness, the new brightness value is sent to be saved to the binary library (almost all parameters and settings are saved through it). But for some reason, when reading the saved brightness value back, the library always returns 100%, no matter what value was saved before.
I think I can fix this bug - you just need to save and read the brightness setting not through the library, but in the standard application storage.
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 17718
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3515 on: February 19, 2025, 12:24:30 am »
What if you set a move complex trigger mode, eg. Serial triggers. Does it all fit?  :popcorn:
 

Offline AndyBig

  • Frequent Contributor
  • **
  • Posts: 539
  • Country: ru
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3516 on: February 19, 2025, 01:17:22 am »
There is the bug with the display brightness as well - it always starts 100%.
I fixed this bug :) Now when you launch the application, the display brightness is set to what was set in the settings.

What if you set a move complex trigger mode, eg. Serial triggers. Does it all fit?  :popcorn:
Do you mean will the icon correspond to complex trigger modes? Yes, it will :) Each trigger mode has its own icon, or even several icons depending on the polarity, for example.
Although I've just found one bug - in the "Delay" mode, not all submodes are shown with the correct icon. I'll fix it :)
 

Offline Trun_T

  • Newbie
  • Posts: 9
  • Country: cn
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3517 on: February 19, 2025, 05:57:49 am »
Hello God, I would like to ask a question, that is, how to display the time on the screenshot, in addition, how to set the time, in the case of not networking, the switch will not reset the time, my model is DHO804
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 17718
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3518 on: February 19, 2025, 06:54:18 am »
Hello God, I would like to ask a question, that is, how to display the time on the screenshot, in addition, how to set the time, in the case of not networking, the switch will not reset the time, my model is DHO804

It doesn't have internal clock, nothing you can do without networking.

The setting for "time on screenshots" is this:
« Last Edit: February 19, 2025, 07:02:44 am by Fungus »
 

Offline AndyBig

  • Frequent Contributor
  • **
  • Posts: 539
  • Country: ru
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3519 on: February 19, 2025, 09:25:21 am »
In the latest version of a007 I made a serious mistake - when cleaning up the garbage in the sources I accidentally deleted the code for updating the trigger channel in the full-screen info panel. So today I released a new release with a fix for this error. At the same time, this release also includes a fix for the Rigol error with the display brightness setting not being saved.
https://github.com/Andy-Big/Rigol-DHO800-900-Sparrow_mod/releases/tag/a008_00.01.04.00.02
 
The following users thanked this post: Obiwantje, iMo, ebourg, zelectronicauy

Offline eTobey

  • Super Contributor
  • ***
  • Posts: 1303
  • Country: de
  • Virtual Features for the SDS800XHD -> My website
    • Virtual feature script
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3520 on: February 19, 2025, 12:01:08 pm »
Whats going on with this zero? It looks, as it is a bit more than zero.  ;D
"Sometimes, after talking with a person, you want to pet a dog, wave at a monkey, and take off your hat to an elephant."(Maxim Gorki)

SDS800X HD bugs/issues/workarounds (Updated 17. Feb. 2025)
 

Offline AndyBig

  • Frequent Contributor
  • **
  • Posts: 539
  • Country: ru
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3521 on: February 19, 2025, 12:53:05 pm »
Whats going on with this zero? It looks, as it is a bit more than zero.  ;D
Isn't this a screenshot from WebControl? It distorts small details of the image. Especially the original, unmodified one. It has a very compressed video stream bitrate.
« Last Edit: February 19, 2025, 12:56:14 pm by AndyBig »
 

Offline Trun_T

  • Newbie
  • Posts: 9
  • Country: cn
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3522 on: February 19, 2025, 01:57:48 pm »
I have checked this option, but only the word DHO804, there is no time watermark after it. There is no RTC module inside this machine? After shutdown, the time automatically goes back to 2013
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 17718
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3523 on: February 19, 2025, 02:38:46 pm »
There is no RTC module inside this machine?

No.
 

Offline Trun_T

  • Newbie
  • Posts: 9
  • Country: cn
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3524 on: February 19, 2025, 02:52:33 pm »
i install a008 just now,but my device still show (a007)00.01.01.sp1  >:D
 
The following users thanked this post: Obiwantje


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf