Author Topic: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)  (Read 234944 times)

0 Members and 1 Guest are viewing this topic.

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #325 on: July 04, 2019, 07:20:53 am »

Mission accomplished
 
The following users thanked this post: Gyro

Online GyroTopic starter

  • Super Contributor
  • ***
  • Posts: 9410
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #326 on: July 04, 2019, 09:50:29 pm »
Hey that's excellent, care to share?  :)
Best Regards, Chris
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #327 on: July 05, 2019, 05:50:53 am »
@ Gyro

yes I want to share, but in what way do you want?

1) you want to build the file yourself with eclipse to understand more and modify yourself (I'll do a tutorial).
2) you just want to use the VDS_C2_23.jar file but I'm not sure how to upload a file online !!

Full folder zip : 121 Mb
minimum files zip: 44 Mb
VDS_C2_23.jar : 15 Mb

Alain
 

Online GyroTopic starter

  • Super Contributor
  • ***
  • Posts: 9410
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #328 on: July 05, 2019, 01:35:04 pm »
Hi Alain,

Thanks very much. Can I be cheeky and ask for all of them please... The minimum files because I want something that works straight away (or is that the .jar), and the other two because I do want to play with it and see what else I can do! :)

The files are obviously too big to upload to the forum directly. I don't do things like Microsoft and google accounts so I just use https://uploadfiles.io/ (the same as I used to send you the previous release versions). You just drag and drop the files (up to 5GB), it gives you a download link to copy and paste and it hosts them for 30 days. I'm sure there must be better ones out there but this one doesn't require any sort of registration.

Chris
« Last Edit: July 05, 2019, 01:58:03 pm by Gyro »
Best Regards, Chris
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #329 on: July 05, 2019, 02:29:53 pm »
@ Gyro

decompressed and no install (dbl click on VDS_C2_23.exe (if no jre installed) or dbl click on VDS_C2_23.jar (if jre installed))

https://ufile.io/cupr1fdy


@ Ultrawipf

I do not speak Chinese but here is the translation

« Last Edit: July 05, 2019, 03:44:26 pm by camomille »
 

Online GyroTopic starter

  • Super Contributor
  • ***
  • Posts: 9410
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #330 on: July 05, 2019, 05:01:13 pm »
Perfect Alain, thanks very much!  :-+

A couple of observations:

- When I run the .exe file, everything works fine, apart from the 'Display' menu, which has a very long (indefinite?) delay in opening. Curiously, this was the bug that I reported to Owon on V1.0.8, which they fixed and released as V1.0.11. It may be that one of the included java sources with V1.0.23 has come from the earlier version and become embedded in your .exe .

- I seem to have lost my file association for .jar files. if I point it to java.exe in the /jre/bin of the standard installed VDS folder structure and double click on the VDS_C2_23.jar, it briefly flashes up a black window. I get the same behaviour if I double click any other jar file too.  Note that I only have the JRE that comes with the Owon install, so this is probably just my ignorance of Java.

- I have managed to get your VDS_C2_23.jar working by renaming it to com.owon.vds.foundation_1.0.0.jar and replacing the one in the /plugins folder of an existing V1.0.23 installation. It works perfectly (including normal opening time for the display menu), so I am very happy with that!  :)


As for changes that I would like to try:

- While experimenting with different versions the other day I discovered the one bug in what I previously thought was the flawless V1.0.23.  If you turn on 'Math' mode in the Math menu, the math (green) trace defaults to CH1+Ch2 at 5V/div. If you attempt to change the scale factor to any other V/div, the green trace goes to a flat line. This can't be altered until you turn un-tick 'Math' and enable it again, when it defaults back to 5V/div! This is fixed in the later versions. The math function isn't actually that useful as the resulting trace is noisy on the later versions if you try to do a differential( CH1 - CH2) measurement. Irritating though. [EDIT: This bug actually occurs as soon as the function is set to CH1 - CH2].

- I'd like to try changing the 'Save Image' button in the Utility Menu into a 'Save Data' button, to replace the .txt/.csv/.xls save functionality that was originally on the main screen save button.


Just for reference, I have been compiling a S/W version differences log. This is probably still incomplete, but here is what I have so far...

V1.0.11
- Fixed delay in bringing up 'Display' menu (introduced in V1.0.8 )
- Skins working (Black / Blue).
- Math function works Ch1 - Ch2
- FPGA Image V3.5

V1.0.23
- Java Sources included in distribution (oops!).
- Skins working
- Math function broken Ch1 - Ch2 defaults to 5V range, changing it results in flat-line.
- FPGA Image V3.5

V1.0.27
- Math function works
- Skins work
- FPGA Image V3.5

V1.0.28
- FPGA Image V3.7 introduced
- Skins broken

V1.0.29
- FPGA Image V3.7
- com.google.gson_2.1.0.v201203072145.jar added to plugins folder (?)
- Skins broken


V1.0.30
- FPGA Image V3.7
- com.google.gson_2.1.0.v201203072145.jar in plugins folder.
- Doesn't remember timebase settings across program close.
- Crash when zooming horizontal when in stopped mode.
- Skins broken

(By skins broken, I mean that it is not possible to change from the default black theme to the blue theme)

Thank you again for your considerable efforts to get the save button to work as I asked!
« Last Edit: July 05, 2019, 05:57:24 pm by Gyro »
Best Regards, Chris
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #331 on: July 05, 2019, 06:20:46 pm »
The Owon software does not install a jre, so it provides a jre in its folder and the launcher uses it.

I tested on W10_64 with soft Owon installed and

on W7_64 freshly installed and without soft Owon installed, folder on the desktop I met no bug !!

do you want me to try to compile version 1.0.27 which is better ?

Alain
« Last Edit: July 05, 2019, 06:26:27 pm by camomille »
 

Online GyroTopic starter

  • Super Contributor
  • ***
  • Posts: 9410
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #332 on: July 05, 2019, 08:03:56 pm »
Thanks for the clarification.

I'm running W7_64. I remember Owon had some difficulty reproducing the Display menu delay problem (although I was probably still running XP at the time).

V1.0.27 might be a good target if you don't mind - either that or V1.0.28. The skin selection isn't a big deal (the blue skin is pretty horrible anyway) and V1.0.28 benefits from the later FPGA version (whatever difference that makes, but I guess they must have changed something).

One correction, I'm not running your (renamed) .jar file on an installed version, but instead, on an unpacked version from the setup file. At this point, I'm running with no installed version, I uninstalled it - just the unpacked folder. In addition to renaming, I also edited your .jar to include my button images for Autoset, run, stop and single trace, as I showed in reply #334.

Thank you,
Chris


P.S. Do you think the change of the Utility menu button from 'Save Image' to 'Save Data' would be difficult? Presumably it's just a matter of changing the button image and using the whatever that the on-screen save button originally pointed to.
« Last Edit: July 05, 2019, 08:10:26 pm by Gyro »
Best Regards, Chris
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #333 on: July 06, 2019, 09:06:51 am »
After decompiling 1.0.27 with luyten and transfer to eclipse, the correction is possible, but represents a huge uninteresting work.
I prefer to understand the "Math" bug in 1.0.23 and compare with version 1.0.27 to fix it.

about your request for P.S. ,it's not clear to me :

Original save functions :

Button 1 = ALL FILES / TXT (selected after click)
Button 2 = ALL FILES / PNG / BMP / GIF (selected after click)
Button 3 = ALL FILES / TXT / CSV / XLS / BIN (selected before click)

Modification made :

Button 1 = ALL FILES / PNG / BMP / GIF (selected after click)
Button 2 = ALL FILES / PNG / BMP / GIF (selected after click)
Button 3 = ALL FILES / TXT / CSV / XLS / BIN (selected before click)

what I understand what you want is that the button 2 takes the old function of the button 1, save in text format ?

« Last Edit: July 06, 2019, 09:39:24 am by camomille »
 

Online GyroTopic starter

  • Super Contributor
  • ***
  • Posts: 9410
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #334 on: July 06, 2019, 10:39:17 am »
Ha, I'd never even noticed of the 'Pause and Export' button (3) - I think I always assumed it was a trace save button or something. It does indeed duplicate the original function of the screen 'save' button (1). Note that the drop-down menu to the left of button 3 set the default file format for both buttons 3 and the original button 1 (ie. the original button 1 was originally capable of .txt, .csv etc. depending on the utility menu drop-down)

In that case, there is absolutely no need to waste your time with uninteresting changes around with the 'Save Image' button (2), it can just serve as a duplicate for the new button 1 functionality.

I admire your interest in delving into the math function on 1.0.23 - you clearly are interested in learning!  The issues seem to be triggered, either by setting the function to Ch1 - Ch2 or by changing the V/div (the original default is Ch1 + Ch2 at 5V/div), hopefully you can reproduce this. Good luck with that one.  :) [Edit: I just double checked that the math function does work correctly on V1.0.27]

I think you are right to concentrate on V1.0.23 as that is the one for which original sources are available. From your earlier posts, you seemed to get some differences when you had to decompile files on other versions. I really don't know what they added with the later versions, they fixed the math but broke other things!
« Last Edit: July 06, 2019, 11:00:25 am by Gyro »
Best Regards, Chris
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #335 on: July 06, 2019, 11:57:55 am »
These are the wrongdoers !!

« Last Edit: July 06, 2019, 02:34:28 pm by camomille »
 

Online GyroTopic starter

  • Super Contributor
  • ***
  • Posts: 9410
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #336 on: July 06, 2019, 12:28:14 pm »
Wow, that was quick!
Best Regards, Chris
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #337 on: July 07, 2019, 01:05:11 pm »

just eliminated the + 24

 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #338 on: July 07, 2019, 01:48:23 pm »

replace VDS_C2_23.jar with this one for math  function correct.

https://ufile.io/je9gz8k8
 
The following users thanked this post: common_ground, Gyro

Online GyroTopic starter

  • Super Contributor
  • ***
  • Posts: 9410
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #339 on: July 07, 2019, 06:56:15 pm »
Congratulations @camomille, you fixed what I thought was going to be a tricky issue. I can confirm that the math function now works fine, just like the other versions. I'm curious to know how many files you have had to modify to implement all the changes (save button and math)?

Interestingly (although to be expected as you didn't touch that area) I still see the delay when trying to open the 'Display' menu entry (the one above Math) this is somewhere between several minutes and indefinitely :D. I suspect it is a latent bug left over from V1.0.8 which Owon worked around, rather than fixed - they sent me several attempts to try before finding one that worked. Even now, I see a slightly longer delay in opening Display menu on all post-V1.0.8 versions than any of the other menu items. It is clearly very specific as you can't see it and neither could Owon.

The above is not worth taking up any more of your time as, if I rename your .jar to com.owon.vds.foundation_1.0.0.jar, place it in the Plugins folder and use launcher.exe, it works normally for me. I am perfectly satisfied with this solution.

One final question though. What sets up the taskbar icon for the program? Is it the .exe or the Javascript? Owon have always left the text blank (just showing the small blue 'PC' icon).
« Last Edit: July 07, 2019, 06:58:43 pm by Gyro »
Best Regards, Chris
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #340 on: July 07, 2019, 07:47:27 pm »

I think it's the icon named launcher.png in folder "plugins/com/owon/uppersoft/dso/image"

 

Online GyroTopic starter

  • Super Contributor
  • ***
  • Posts: 9410
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #341 on: July 07, 2019, 07:57:54 pm »
Yes, I found that too, I was wondering about how to put some text in the taskbar Icon though. eg. "OWON" or "VDS1022". It is blank at the moment. I was hoping that there was a string definition somewhere that I could simply edit.

It's no big deal though.
« Last Edit: July 07, 2019, 07:59:29 pm by Gyro »
Best Regards, Chris
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #342 on: July 08, 2019, 05:09:36 am »
try to enlarge and replace image and write your text with paint.net as attachment
« Last Edit: July 08, 2019, 05:21:08 am by camomille »
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #343 on: July 08, 2019, 01:21:38 pm »
decompilation version 1.0.28 with luyten and after a long debug , launch under eclipse with jre 1.8.0_111 unlike 1.0.23 which uses jre 1.6.0_45.

« Last Edit: July 08, 2019, 01:23:56 pm by camomille »
 
The following users thanked this post: Gyro

Online GyroTopic starter

  • Super Contributor
  • ***
  • Posts: 9410
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #344 on: July 08, 2019, 03:07:28 pm »
try to enlarge and replace image and write your text with paint.net as attachment

Sadly not, [EDIT: it Windows] scales the whole thing down until it fits within a square form factor. I tried the same thing just using logo.png (rectangular), with the same result.

Not to worry, it's a trivial thing.
« Last Edit: July 08, 2019, 03:15:14 pm by Gyro »
Best Regards, Chris
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #345 on: July 08, 2019, 03:55:40 pm »
this is where it is defined :
surely behind the annotation // prevents the display
« Last Edit: July 08, 2019, 03:58:51 pm by camomille »
 

Online GyroTopic starter

  • Super Contributor
  • ***
  • Posts: 9410
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #346 on: July 08, 2019, 04:48:35 pm »
They do seem to like commenting out their own code!  :)
« Last Edit: July 08, 2019, 04:51:53 pm by Gyro »
Best Regards, Chris
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #347 on: July 08, 2019, 05:20:15 pm »

like that ?

 

Online GyroTopic starter

  • Super Contributor
  • ***
  • Posts: 9410
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #348 on: July 08, 2019, 06:19:57 pm »
Maybe - it depends whether the same text appears on the taskbar tab (eg. when minimised).


P.S. I feel guilty about you doing this stuff - I hope you're still finding it helpful / enjoyable (you do seem to be  :)).
« Last Edit: July 08, 2019, 06:29:08 pm by Gyro »
Best Regards, Chris
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #349 on: July 08, 2019, 06:31:59 pm »
MINI /MAXI

it amuses me, give your text I will make a custom jar
« Last Edit: July 08, 2019, 06:36:46 pm by camomille »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf