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

AceyTech and 18 Guests are viewing this topic.

Offline AndyBig

  • Frequent Contributor
  • **
  • Posts: 391
  • Country: ru
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1600 on: February 23, 2024, 05:51:47 am »
So is it extremely difficult to do these UI mods, and have you discovered any other defects like the screenshots not functioning?
I can't evaluate it objectively. For me - yes, it’s difficult, because... I'm not familiar with Android development, I don't know the basics of Android applications - how they work, how they interact with the OS, how they generate images, etc. I have to google a lot, guess a lot, and in some cases try to act at random and see what happens :) In addition, I have to change low-level code - DALVIK, which also does not add convenience. I can imagine that for a person who is well acquainted with developing applications for Android, this will all be much easier :)
IF the label and value was all on one line, it could be smaller.  But would we see enough digits to still be useable?
Yes, I thought about this too, but the names of some dimensions are too long for all the numbers to fit after them. Although in principle you can expand the entire panel :)
 
The following users thanked this post: AceyTech

Offline jsobell

  • Contributor
  • Posts: 24
  • Country: au
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1601 on: February 23, 2024, 06:02:16 am »
Side note:  If you care, you might try peeling up the label on the defective fan and look for cold solder joints on the SOT part(s).  There's often a hall effect sensor & FETs under there.

Yes, I did that, and I reflowed the pads I could see, but most is under the plastic. Still no luck.

J.
 
The following users thanked this post: AceyTech

Offline AndyBig

  • Frequent Contributor
  • **
  • Posts: 391
  • Country: ru
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1602 on: February 23, 2024, 06:46:56 am »
A convenient application for unpacking and decompiling .apk https://github.com/skylot/jadx . It can even work as a debugger, I tried it and it works :)
 
The following users thanked this post: Mechatrommer, AceyTech

Offline RAPo

  • Frequent Contributor
  • **
  • Posts: 631
  • Country: nl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1603 on: February 23, 2024, 08:40:25 am »
But could we omit the names and only show (a scaled down) icon together with the value on one line?
And for the next wish: make it a setting we can change somewhere using the UI ;-)

Yes, I thought about this too, but the names of some dimensions are too long for all the numbers to fit after them. Although in principle you can expand the entire panel :)
 

Online Fungus

  • Super Contributor
  • ***
  • Posts: 16708
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1604 on: February 23, 2024, 09:12:48 am »
It seems to me that only the lazy have not yet scolded the way Rigol shows measurements :)) And quite deservedly, I think.

I have.

It's especially criminal how the stat values are split across two lines:


The DHO1000 does it like this:


The firmware is supposedly the same, I wonder if we can get the DHO800 to do it like the DHO1000.

 

Offline RAPo

  • Frequent Contributor
  • **
  • Posts: 631
  • Country: nl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1605 on: February 23, 2024, 09:21:51 am »
I would love to have the statistics/measurements in a window that can be moved along the screen.
 

Offline AndyBig

  • Frequent Contributor
  • **
  • Posts: 391
  • Country: ru
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1606 on: February 23, 2024, 09:31:56 am »
But could we omit the names and only show (a scaled down) icon together with the value on one line?
Icons that are one line of text high will simply not be legible on the screen.

And for the next wish: make it a setting we can change somewhere using the UI ;-)
You think too well of my ability to modify the application :))))
 
The following users thanked this post: RAPo

Offline AndyBig

  • Frequent Contributor
  • **
  • Posts: 391
  • Country: ru
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1607 on: February 23, 2024, 09:33:48 am »
The DHO1000 does it like this:
The firmware is supposedly the same, I wonder if we can get the DHO800 to do it like the DHO1000.
This is very interesting. You need to get the application from DHO1000 and see how it is done there.
 
The following users thanked this post: AceyTech

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 6535
  • Country: de
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1608 on: February 23, 2024, 09:48:15 am »
This is very interesting. You need to get the application from DHO1000 and see how it is done there.

Should all be nicely laid out in the .GEL files which Rigol offers for download, shouldn't it? I certainly appreciate their open format for the firmware update files.  :)
 

Offline RAPo

  • Frequent Contributor
  • **
  • Posts: 631
  • Country: nl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1609 on: February 23, 2024, 10:01:58 am »
But could we omit the names and only show (a scaled down) icon together with the value on one line?
Icons that are one line of text high will simply not be legible on the screen.
Maybe I didn't express myself quite right, but if you take the current icon height (so the same viewing as we are used to) and place the values next to it, it can work.

See the image

You think too well of my ability to modify the application :))))
Remember Pipi Longstocking: “I have never tried that before, so I think I should definitely be able to do that.”  :-DD
 

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 6535
  • Country: de
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1610 on: February 23, 2024, 10:06:51 am »
Maybe I didn't express myself quite right, but if you take the current icon height (so the same viewing as we are used to) and place the values next to it, it can work.

I don't think the icons alone are sufficiently self-explanatory to distinguish all the different measurement flavors.
 

Offline AndyBig

  • Frequent Contributor
  • **
  • Posts: 391
  • Country: ru
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1611 on: February 23, 2024, 10:14:21 am »
Maybe I didn't express myself quite right, but if you take the current icon height (so the same viewing as we are used to) and place the values next to it, it can work.
See the image (Attachment Link)
Well, at a quick glance, try to distinguish these two icons from each other from your picture on a rather small oscilloscope screen, and also remember which icon means what :)
 

Offline shapirus

  • Super Contributor
  • ***
  • Posts: 1431
  • Country: ua
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1612 on: February 23, 2024, 10:15:09 am »
Well, it almost worked :) You just need to correct the drawing of the border around the dimension :)
Very promising! Hope this will eventually boil down to a recipe suitable for a regular (advanced) user.
 
The following users thanked this post: AceyTech

Offline gabiz_ro

  • Regular Contributor
  • *
  • Posts: 114
  • Country: ro
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1613 on: February 23, 2024, 10:18:33 am »
It's especially criminal how the stat values are split across two lines:
Maybe negligent software developer by mistake replace tab with new line
 

Offline RAPo

  • Frequent Contributor
  • **
  • Posts: 631
  • Country: nl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1614 on: February 23, 2024, 10:19:58 am »
If you look at the measurement dialogs, Rigol has supplied a different icon for each type of measurement.
You need the information on which channel(s) the measurement takes place.
That can be done by attaching the coloured text as shown in my image.
Or, if we would be really fancy, place the icon in a bar with the same colour as the channels.

I don't think the icons alone are sufficiently self-explanatory to distinguish all the different measurement flavors.
 

Offline shapirus

  • Super Contributor
  • ***
  • Posts: 1431
  • Country: ua
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1615 on: February 23, 2024, 10:22:38 am »
Perhaps taking enclosed ball-bearing fans and chopping them is a better way to go? 40mm is not ideal, but as it works effectively and is so much quieter...
I doubt that such a big difference in the loudness can be attributed to the ball bearing vs sleeve (or whatever) difference. Both create almost zero noise on their own, unless broken.
There must be something else -- the number of blades, their angle, and, very likely, the very difference between the 40 mm and 45 mm diameter, where the latter leaves much less space between the edges of the blades and the fins of the heat sink, possibly resulting in the air siren effect.
 

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 6535
  • Country: de
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1616 on: February 23, 2024, 10:24:52 am »
If you look at the measurement dialogs, Rigol has supplied a different icon for each type of measurement.

Sure. But I would not be willing to memorize the subtle details to distinguish them all, and recall which one means which. And, when in use, stare at them long enough to actually see all the little details.
 

Offline RAPo

  • Frequent Contributor
  • **
  • Posts: 631
  • Country: nl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1617 on: February 23, 2024, 10:25:44 am »
with a bit of practise that is not too hard. Rigol did a good job on the icons, and if you add a measurement, you'll see the corresponding icon.
 

Offline shapirus

  • Super Contributor
  • ***
  • Posts: 1431
  • Country: ua
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1618 on: February 23, 2024, 10:26:30 am »
If you look at the measurement dialogs, Rigol has supplied a different icon for each type of measurement.
Right, but they are so small and also drawn in gray over dark background, that they become useless unless you look at them up close. It also takes time and effort to distinguish one from another, they all look too similar.
Text is just so much better -- it is read and recognized at a glance, can be read from a (much) larger distance.
 

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 6535
  • Country: de
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1619 on: February 23, 2024, 10:27:55 am »
with a bit of practise that is not too hard. Rigol did a good job on the icons, and if you add a measurement, you'll see the corresponding icon.

Good luck distinguishing Vmax, Vtop, Vamp and Vpp, to pick just one example.  :P
 

Offline shapirus

  • Super Contributor
  • ***
  • Posts: 1431
  • Country: ua
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1620 on: February 23, 2024, 10:28:28 am »
with a bit of practise that is not too hard. Rigol did a good job on the icons, and if you add a measurement, you'll see the corresponding icon.
There's no way one can realistically tell these three apart from 60 cm, let alone remember which means what:



Text labels, on the other hand, are readable and immediately obvious.
« Last Edit: February 23, 2024, 10:30:31 am by shapirus »
 
The following users thanked this post: ebastler, Jacon, AndyBig, mwb1100

Offline AndyBig

  • Frequent Contributor
  • **
  • Posts: 391
  • Country: ru
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1621 on: February 23, 2024, 10:29:14 am »
If you look at the measurement dialogs, Rigol has supplied a different icon for each type of measurement.
You need the information on which channel(s) the measurement takes place.
That can be done by attaching the coloured text as shown in my image.
Or, if we would be really fancy, place the icon in a bar with the same colour as the channels.
The icons, of course, are different, and they generally indicate what they mean. But the differences are so insignificant and hard to see with a small icon size that you have to look closely to understand which icon is drawn on this dark gray background :)
 
The following users thanked this post: ebastler

Offline AndyBig

  • Frequent Contributor
  • **
  • Posts: 391
  • Country: ru
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1622 on: February 23, 2024, 10:34:53 am »
Very promising! Hope this will eventually boil down to a recipe suitable for a regular (advanced) user.
Yes, you just need to uninstall the native application and install the modified one. All this is easily done through ADB :) But the ability to take screenshots on an oscilloscope is lost; this can only be done through web control.

Maybe negligent software developer by mistake replace tab with new line
No, it's more complicated than that. Partially specified through layouts in .xml, partially defined in source codes. It’s difficult for me to understand all these intricate interweavings of the structure of the Android application.
 
The following users thanked this post: AceyTech

Offline RAPo

  • Frequent Contributor
  • **
  • Posts: 631
  • Country: nl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1623 on: February 23, 2024, 10:35:19 am »
with a bit of practise that is not too hard. Rigol did a good job on the icons, and if you add a measurement, you'll see the corresponding icon.
There's no way one can realistically tell these three apart from 60 cm, let alone remember which means what:

(Attachment Link)

Text labels, on the other hand, are readable and immediately obvious.
60 cm is a bit much, but on the web interface, I can clearly see the differences.
And as I said, it takes a bit of practice, but I really think Rigol has done a good job.
But as asked before: maybe it should be configurable in a settings dialog.
 

Offline RAPo

  • Frequent Contributor
  • **
  • Posts: 631
  • Country: nl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #1624 on: February 23, 2024, 10:38:21 am »
with a bit of practise that is not too hard. Rigol did a good job on the icons, and if you add a measurement, you'll see the corresponding icon.

Good luck distinguishing Vmax, Vtop, Vamp and Vpp, to pick just one example.  :P
Maybe I have eagle eyes, but I can easily do that.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf