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

0 Members and 1 Guest are viewing this topic.

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 214
  • Country: ch
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #325 on: June 03, 2019, 04:39:02 pm »
Thanks!
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #326 on: June 09, 2019, 07:43:06 am »
This is the progress of my research concerning the recording of the screen with the "Save the Waveform" button on the front panel.
I am not a Java specialist, but it serves me as an example to learn the language.
The change works (after a lot of testing), but I can run it with "org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar" not with "launcher.exe".
To continue, I will need sources and I want to ask Gyro to reactivate a download link for older versions of the software for track the sources.
« Last Edit: June 09, 2019, 07:45:40 am by camomille »
 
The following users thanked this post: Gyro

Online Gyro

  • Super Contributor
  • ***
  • Posts: 5513
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #327 on: June 09, 2019, 09:36:57 pm »
Hi camomille,

That looks very encouraging, I'm glad you are getting some benefit out of it as a learning experience.

Yes, of course I will re-upload, the only problem is that I am somewhere with ridiculously slow upload speed at the moment (as in <10kbps a lot of the time) and the connection keeps resetting. I will try again tomorrow.

In the meantime, if anyone else downloaded a copy of 'VDS1022 Previous Versions.zip' last time then maybe you can help...?  :)
Chris

"Victor Meldrew, the Crimson Avenger!"
 

Online Gyro

  • Super Contributor
  • ***
  • Posts: 5513
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #328 on: June 10, 2019, 08:57:15 am »
The upload speed was a bit better this morning (only took 45 mins :D). Here's the download link:

https://ufile.io/4lllcvgx

It might take a couple of attempts to download using the free option, I need to find a better upload site!
Chris

"Victor Meldrew, the Crimson Avenger!"
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #329 on: June 10, 2019, 10:16:22 am »
Perfect first attempt 16 minutes.

Now a lot of work to analyze and compare.

Thank you for spending time.

Alain
 
The following users thanked this post: Gyro

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #330 on: June 10, 2019, 12:25:18 pm »
The sources are only in 1.0.23 (surely an oversight)

 

Online Gyro

  • Super Contributor
  • ***
  • Posts: 5513
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #331 on: June 10, 2019, 01:12:56 pm »
Quote
The sources are only in 1.0.23 (surely an oversight)

Oh yes, almost certainly! Owon have been known to be a bit 'clumsy' about software releases.

As it happens, 1.0.23 was a particularly good vintage, with no bugs that I am aware of,  so it's nice to have the sources for that one.
Chris

"Victor Meldrew, the Crimson Avenger!"
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #332 on: June 17, 2019, 06:53:53 pm »
it's possible (run with "org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar")

« Last Edit: June 17, 2019, 07:04:24 pm by camomille »
 

Online Gyro

  • Super Contributor
  • ***
  • Posts: 5513
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #333 on: June 17, 2019, 08:09:19 pm »
That looks excellent, I assume that you still can't get it running from Launcher.exe.

I had a (well actually more than one!) rainy day on holiday last week. I couldn't even find which files to edit. Clearly your Java skills are evolving faster than mine.

In frustration, I did play with the button icons though, inspired by your reply #316 #312.  It's little sad I know, but the cartoonish 3D effect Autoset, Run/Stop and Single trigger buttons on an otherwise professional looking UI have always bugged me. I have generated some which I think are better. These are in the 'com/owon/uppersoft/dso/image' folder of the unzipped com.owon.vds.foundation_1.0.0.jar

The single trigger icon might not be the ideal but I couldn't think of anything better, it's hopefully more meaningful than a simple 'S' anyway, and certainly more so that the original 'lightning bolt'.

Here are the 'before and after screenshots, complete with the png files, under the correct names. No recompilation was needed.
« Last Edit: June 17, 2019, 08:26:05 pm by Gyro »
Chris

"Victor Meldrew, the Crimson Avenger!"
 
The following users thanked this post: indman, cosmin1

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #334 on: June 29, 2019, 01:47:03 pm »
Hello,new advances (soft functional under Eclipse) with attached dialog usb (sniffer.txt) and report flashmemory

« Last Edit: June 30, 2019, 06:11:36 am by camomille »
 
The following users thanked this post: Gyro

Offline camomille

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

Mission accomplished
 
The following users thanked this post: Gyro

Online Gyro

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

"Victor Meldrew, the Crimson Avenger!"
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #337 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 Gyro

  • Super Contributor
  • ***
  • Posts: 5513
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #338 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 »
Chris

"Victor Meldrew, the Crimson Avenger!"
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #339 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 Gyro

  • Super Contributor
  • ***
  • Posts: 5513
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #340 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 »
Chris

"Victor Meldrew, the Crimson Avenger!"
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #341 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 Gyro

  • Super Contributor
  • ***
  • Posts: 5513
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #342 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 »
Chris

"Victor Meldrew, the Crimson Avenger!"
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #343 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 Gyro

  • Super Contributor
  • ***
  • Posts: 5513
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #344 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 »
Chris

"Victor Meldrew, the Crimson Avenger!"
 

Offline camomille

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

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

Online Gyro

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

"Victor Meldrew, the Crimson Avenger!"
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #347 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 #348 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 Gyro

  • Super Contributor
  • ***
  • Posts: 5513
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #349 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 »
Chris

"Victor Meldrew, the Crimson Avenger!"
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf