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

0 Members and 4 Guests are viewing this topic.

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #425 on: November 13, 2019, 02:05:58 pm »
@indman

test with "Нет сети" rejected, apparently it does not tolerate the spaces in the messages, would "Нет_сети" be readable?

I'm not sure he passes because he converted "Trg_d" into "Trig'd", no "underscore" in the direct list.
« Last Edit: November 13, 2019, 02:12:27 pm by camomille »
 

Online indman

  • Frequent Contributor
  • **
  • Posts: 317
  • Country: by
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #426 on: November 13, 2019, 02:17:35 pm »
@indman
If you have time, gray matter and intuition (I think so), then I can give you a tutorial to install it and give you the source in a "workspace".

Yeah, I 'd like to try it.
I 'm not sure I 'll quickly deal with a new tool for me after your explanation.

test with "Нет сети" rejected, apparently it does not tolerate the spaces in the messages, would "Нет_сети" be readable?
I'm not sure he passes because he converted "Trg_d" into "Trig'd", no "underscore" in the direct list.
Yes, "Нет_сети" will be well perceived
"Trig 'd" is meant as "TriggerDetected"?
« Last Edit: November 13, 2019, 02:22:46 pm by indman »
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #427 on: November 13, 2019, 03:12:36 pm »
@indman

"Нет_сети" has passed but "Авто" does not want (error message), surely implications with the real "Auto"

Here is the link version RUSS (status "Нет сети" + extended calibration module for Cyrillic CTRL L).

https://ufile.io/ghszrdyu

rename VDS_C2_23_RUSS in VDS_C2_23

"Trig'd" no idea

If you want a tutorial to install eclipse, tell me your operating system and if 32 or 64
« Last Edit: November 13, 2019, 04:04:53 pm by camomille »
 

Online indman

  • Frequent Contributor
  • **
  • Posts: 317
  • Country: by
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #428 on: November 13, 2019, 03:39:01 pm »
camomille,Windows7 64bit,thanks

For your reboot problem after a break, I do not know this problem because I do not use the VDS1022
but I think the track to follow would be rather the USB bus controllers with the power option try unchecked.
I did as you suggested, but it didn 't solve the problem. After a pause of 1 minute or more, the program reports the error with this message "Read or write content err and disconect" and reconnects.
If the pause is shorter, everything works fine.
"Нет_сети" has passed but "Авто" does not want (error message), surely implications with the real "Auto"
Here is the link version RUSS (status "Нет сети" + extended calibration module for Cyrillic CTRL L).
I checked - it works well. What CLASS files have you changed so I can replace them in the JAR archive?
I 'm right - "Trig 'd" is meant as "TriggerDetected"
« Last Edit: November 13, 2019, 04:47:30 pm by indman »
 

Online indman

  • Frequent Contributor
  • **
  • Posts: 317
  • Country: by
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #429 on: November 13, 2019, 04:50:34 pm »
I wonder if I have installed a fresh version of 1.0.30 and there is no such effect with the PAUSE button - everything works normally. Can any of the scope owners confirm my version? :-//
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #430 on: November 13, 2019, 05:06:04 pm »
Here is the list of modified files for Offline in Cyrillic

owon\com.owon.vds.foundation_1.0.0\com\owon\uppersoft\dso\source\comm\TrgStatus
line 25 replace Offline by Нет_сети
owon\com.owon.vds.foundation_1.0.0\com\owon\uppersoft\dso\source\comm\detect\InitLinkRunner
line 54 replace TrgStatus.Offline by TrgStatus.Нет_сети
owon\com.owon.vds.foundation_1.0.0\com\owon\uppersoft\dso\source\comm\detect\USBLoopChecker
line 109 replace TrgStatus.Offline by TrgStatus.Нет_сети
owon\com.owon.vds.foundation_1.0.0\com\owon\uppersoft\dso\view\TitlePane
line 139 replace TrgStatus.Offline by TrgStatus.Нет_сети
owon\com.owon.vds.foundation_1.0.0\com\owon\uppersoft\dso\view\TitleStatusLabel
line 73 replace TrgStatus.Offline by TrgStatus.Нет_сети

all these files for 1 word
 
The following users thanked this post: indman

Online Gyro

  • Super Contributor
  • ***
  • Posts: 5497
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #431 on: November 13, 2019, 05:37:58 pm »
I wonder if I have installed a fresh version of 1.0.30 and there is no such effect with the PAUSE button - everything works normally. Can any of the scope owners confirm my version? :-//

I'm afraid I can't remember. From my records, this is the list of changes that I (and others) observed between the various versions...

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

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


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.


It is all a little irrelevant though, because it was only V1.0.23 where Owon accidentally included the source files in the distribution. You wouldn't be able to get the Cyrillic changes on the other versions.

Can I suggest using the image save button to capture screenshots rather than keeping the scope in pause for long periods, maybe that would be sufficient to get you over the issue.

The only other thing that Owon introduced in V1.0.28+ was a new FPGA code version - V3.7. If I remember correct, I was able to copy that from the V1.0.30 'fpga' folder and drop it into the V1.0.23 fpga folder without any issues. Whether it makes a difference though...?


P.S. The above list isn't completely comprehensive - different experiences of V1.0.30, maybe related to what version was installed previously.


EDIT:  I've just got my VDS out and checked the Pause button behaviour -  It's working fine on Alain's latest V1.0.23.  Maybe try reinstalling the USB driver... or re-running V1.0.23 after your new install of V1.0.30.
« Last Edit: November 13, 2019, 06:23:36 pm by Gyro »
Chris

"Victor Meldrew, the Crimson Avenger!"
 

Online indman

  • Frequent Contributor
  • **
  • Posts: 317
  • Country: by
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #432 on: November 14, 2019, 02:02:48 pm »
EDIT:  I've just got my VDS out and checked the Pause button behaviour -  It's working fine on Alain's latest V1.0.23.  Maybe try reinstalling the USB driver... or re-running V1.0.23 after your new install of V1.0.30.

After your advice, my grey matter came into motion and today I spent a few hours investigating the causes with the Pause button problem.
I installed the original version of owon 1.0.23 without any changes to 2 different computers with the Windows7 64bit operating system. Libusb driver version -1.2.6.0
On both computers the behavior of Pause button was absolutely the same - after 30 or more seconds USB reconnection occurred.
Then I decided to install a newer version of 1.0.27 on both computers as well.
In this version, the Pause button does not cause problems, you can stop the image for any length of time.
Then I installed an older version of 1.0.11 and in its work there is also a problem with the Pause button. So the developer has fixed this problem since version 1.0.27.
Next, I tried to determine which of the JAR archives had changed and, by comparison, I calculated that if you move the folder plugins/com.owon.vds.foundation_1.0.0.jar archive from version 1.0.27 to version 1.0.23, the problem disappears.
Next to this item, my grey matter is not yet moving. :)
« Last Edit: November 14, 2019, 02:25:50 pm by indman »
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #433 on: November 14, 2019, 02:21:50 pm »
what matters is that your problem is solved. :-+
I checked, I also have the driver libusb_win32 1.2.6.0 of 18/01/12.
I'm on the tutorial eclipse and to be sure I made a new installation on another computer with Windows 7 64 bit and it works perfectly.
I only have the layout, maybe this Week end !
 

Online Gyro

  • Super Contributor
  • ***
  • Posts: 5497
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #434 on: November 14, 2019, 06:39:42 pm »
Next, I tried to determine which of the JAR archives had changed and, by comparison, I calculated that if you move the folder plugins/com.owon.vds.foundation_1.0.0.jar archive from version 1.0.27 to version 1.0.23, the problem disappears.

That's very useful information. :-+

I have suspected for a while that 'traces' left by other versions of the S/W can affect what problems can show up - so much that when I was trying to generate my list of version differences, I kept getting confused by what was reliably broken! If you look back a few pages at comments about the Owon website copy of 1.0.30 you will see mention of the bugs I listed, however reinstalling different versions made them not reproducible. I was also convinced that the skin selection function got broken in (I think) 1.0.28 and then fixed again in 1.0.29, but again, I eventually started doubting myself on that too. One thing that seemed consistent - the CD version that comes with the scope almost universally works.

The good thing about Alain's rebuild of V1.0.23 is that it doesn't actually need installing any more, just unzip and run from the folder.

One thing I can say though is that 1.0.23 is a nice vintage!
Chris

"Victor Meldrew, the Crimson Avenger!"
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #435 on: November 15, 2019, 12:45:07 pm »
To do this tutorial correctly,I tested the complete and functional installation on Windows 7 64 bits virgin of any previous installation
I am not a professional programmer, just a passionate enthusiast of electronics and a Microsoft Basic language experience (VB6) so do not blame me if it's not perfect, it's to help people take the first step.
To reassure people who embark on this adventure, Eclipse is a great tool easy to understand and if Pascal language is the most used in the world, it is for the same reason.
I will do a little tutorial later with my tips to find places to annotate to make its own changes.
Excuse me for my bad English because the translator is my friend.
PREALABLE

To be compatible with VDS1022 source V1.0.23, 32-bit versions of programs must be installed
Respect the order indicated to avoid questions to which I will not be able to answer.

INSTALLATION

1) Create a "DEV" folder with a subfolder "jre6"    (C:\Program Files (x86)\DEV\jre6)
   Create a  folder "Protect" on the desk

2) Installation JAVA (jre 6.45)
https://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html
Oracle will ask you to open an account (Free license)
872350-0

Check  "Accept Licence Agreement" and download jre-8u111-windows-i586.exe (not jdk-8u111-windows-i586.exe)
872372-1

Install jre-8u111-windows-i586.exe ,change the destination folder in "DEV / jre6" and refuse updates

872410-2

3) Download my "workspace 1.0.23.7z" and uncompressed 2 times 1 time on the desktop and 1 time in the folder "Protect" (original for a clean restart)

workspace 1.0.23.7z
https://ufile.io/38k65e74

Or for Russian

workspace 1.0.23_russ.7z
https://ufile.io/3rm8uyma

4) Installation of Eclipse (Mars SR2 Packages (2016 - v4.5.2)) https://www.eclipse.org/downloads/packages/release/mars/r
872378-3

download : Eclipse for RCP and RAP Developers 32-bit version
Unziper eclipse-rcp-mars-R-win32.zip in the "C: \ Program Files (x86) \ DEV \" (eclipse does not need installation)
Create an eclipse.exe shortcut on the desktop.
Launch eclipse from the desktop shortcut

At the first launch eclipse asks for the path of workpace ,change the path of the workpace with path
workspace 1.0.23  (workspace 1.0.23_russ for Russian) in the desk
and check "Use this as default and do not ask again"
872384-4
Now you have a complete installation, just click on the white arrow in a green circle and you have emulation of the VDS1022.
872388-5
872392-6

OPTIONNEL

1) Language Pack (for non-English speakers)

link for the Russian language (all other languages are present on the same page) https://archive.eclipse.org/technology/babel/babel_language_packs/R0.12.0/luna/luna.php
872396-7
Copy / Paste the contents of each folder (features, plugins) in its equivalent to the root of the Eclipse installation

2) JAR launcher (to redo the launcher provided)launch4j 3.12
https://sourceforge.net/projects/launch4j/files/launch4j-3/3.12/

-----------------------------------------------------------------------------------------------------------------------------------------------------------

For newcomers, I give the first links to launch VDS1022 without installing it.
VDS_C2_23.7z
https://ufile.io/1kd4j2te
rxtxSerial.dll
https://ufile.io/o64cfpvd

Alain
« Last Edit: November 15, 2019, 01:37:47 pm by camomille »
 
The following users thanked this post: Gyro, indman

Online indman

  • Frequent Contributor
  • **
  • Posts: 317
  • Country: by
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #436 on: November 15, 2019, 02:50:03 pm »
Captain Alain I have implemented your detailed recommendations in the same order, thank you very much! :-+
Eclipse starts, but I 'm alarmed by the message I highlighted in red. Is that okay?
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #437 on: November 15, 2019, 03:34:56 pm »
I have no mistakes on my new installation on Windows 7 64 bits and in english !
It may have been necessary to try without installing the Russian language right now.
0 errors ,normally it' s good ,the warning are not mistakes ,it must be because of the russian language.
What happens if you click on the white arrow in  a green circle (no need to be connected to vds1022)
You can close all the tabs that I forgot to close, except the Main.java which must always remain open .
« Last Edit: November 15, 2019, 03:51:10 pm by camomille »
 

Online indman

  • Frequent Contributor
  • **
  • Posts: 317
  • Country: by
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #438 on: November 15, 2019, 03:53:27 pm »
Yes, the VDS1022 shell opens normally without a scope connection. :D
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #439 on: November 15, 2019, 04:20:58 pm »
You are a great chef,  :-+ :-+ ,you can now connected the VDS1022 ,close VDS1022 window and relaunch the white arrow in the green circle
I will do a little tutorial later to indicate how I search (but it takes a lot of nose) and it is important to know what you are looking for.
In any case, as there is no installation of this version of eclipse, you can simply put the eclipse folder in the trash and dezip it again in the "DEV" folder (not for java which is installed). :-DD
and if you plant the "workspace", you have a brand new one in the folder "Protect"
« Last Edit: November 15, 2019, 04:40:46 pm by camomille »
 

Online indman

  • Frequent Contributor
  • **
  • Posts: 317
  • Country: by
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #440 on: November 15, 2019, 04:57:00 pm »
I 'm not afraid to know anything new, especially if there 's a teacher like you! ;D
My grey matter is still capable of it, I hope. :-DD
« Last Edit: November 15, 2019, 05:00:03 pm by indman »
 

Online Gyro

  • Super Contributor
  • ***
  • Posts: 5497
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #441 on: November 15, 2019, 05:26:20 pm »
Many thanks for doing the writeups Alain.

indman's need is greater than mine (thanks to you, I don't actually have anything I want to change at the moment), but I will be following along.

Your Reply #425 made it sound sooo appealing!  ;D
Chris

"Victor Meldrew, the Crimson Avenger!"
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #442 on: November 16, 2019, 02:16:14 pm »
I first want to apologize to Gyro for monopolizing his thread for off-topic, but eventually it may be beneficial to others.
I do not intend to do a course on eclipse or Java because I'm not a specialist, but simply communicate some tips and tricks to help beginners (of course it will laugh professionals).
I preferred to make a document to not take up too much space.

https://ufile.io/lsx8je0u

As an example I took my search procedure to change the color of curves:
The research phase (2 modes):
1) with eclipse, the search only displays the first occurrence, you have to open the following folders to see everything.
Warning it tends to change tab.

873108-0

2) with Notepad ++
involves uploading the source folder (contained in version 1.0.23) to the "Protect" folder
, the search displays all the occurrences and in addition displays the notes in original Chinese which allows to make a copy/paste to a translator.
At first, we only have the word "red", so we start a search with Notepad ++,
we notice that many are called "color.red", we restart a search with "color.red".

873112-1

Now you have to be inspired by looking at the name of the JAR file containing the word "color.red",
I was inspired by "ChartDecorater" and I print it thanks to notepad++ which preserves syntactic colors.
Then I format the impression of this class in pencil and stabilo to understand and make notes

873118-2

Inspire by the paintLabels () function line 137 and line 172 wfm.paintWaveFormInfo (g2d, pc, r, cm, lr, cssm);
line 36 indicates wfm = WaveFormManager
print class WaveFormManager, pencil, stabilo

873124-3

inspire by the function WaveFormInfoControl () line 550 and line 584 wf.paintItem (g2d, pc, r, cm, false)
especially at line 580 there is wf.getChannelNumber ().
line 29 indicates wf = WaveForm
print Waveform class, pencil, stabilo

873128-4

Inspire by the paintItem () function line 289 and
line 306 LineUtil.paintChannelLabel (yb, y, bottom, g2d, String.valueOf (ci.getNumber () + 1), 2, onFront);
print LineUtil class, pencil, stabilo

873132-5

Analysis of the paintChannelLabel () function line 46
We can see that he draws the left label of the lines 118/119 and a line 111 to 116.
Only the color of the background "DARK_GRAY" is defined, it is necessary to go back for the color of the plot.
Return to the paintItem function of the WaveForm class
at line 300 ChannelInfo ci = wfi.ci; and 301 g2d.setColor (getColor ());
line 116 defined wfi = WaveFormInfo and in the class WaveFormInfo line 24 we read that ci = ChannelInfo
So we look in the class ChannelInfo and we find the RGB () line 117 and then the color for 4 channels 120 to 123 lines.
Simply replace "FF0000" with "00FF00" to switch channel 1 from red to green.

It was simple !!!
« Last Edit: November 16, 2019, 02:23:11 pm by camomille »
 
The following users thanked this post: Gyro, indman

Online Gyro

  • Super Contributor
  • ***
  • Posts: 5497
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #443 on: November 16, 2019, 05:21:52 pm »
I first want to apologize to Gyro for monopolizing his thread for off-topic, but eventually it may be beneficial to others.

Hey Alain, there's absolutely no need for any apology to me!  :o

The 'teardown' portion of this thread has long run its course. You are adding great value by opening up the possibility to enhance and modify the S/W - I, for one, am very grateful to you!

There is nothing to stop people continuing to asking H/W or other questions or hopefully even post improvements at the same time.

As far as I'm concerned you are very on-topic, this is a natural and very welcome progression of the thread (which I have no claim on 'owning' anyway).

I am following your write-ups with interest and as much grey matter as I can muster!

Chris.
Chris

"Victor Meldrew, the Crimson Avenger!"
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #444 on: November 16, 2019, 05:34:50 pm »
Thanks Chris, but it's in my nature to communicate to help people with the little that I know. :phew:
 
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 #445 on: November 17, 2019, 09:51:55 am »
Small tutorial for eclipse

To work on multiple versions of VDS1022, create a copy on the workspace 1.0.23 desktop and rename it as you want.
Then change the path:

873804-0

To create a JAR file (ignore messages):

873808-1

To debug with breakpoint:

873812-2
« Last Edit: November 17, 2019, 09:54:14 am by camomille »
 
The following users thanked this post: Gyro, indman

Online Gyro

  • Super Contributor
  • ***
  • Posts: 5497
  • Country: gb
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #446 on: November 17, 2019, 11:53:22 am »
I've caught up with indman and also have the shell running under Eclipse. Thanks Alain.  :-+
Chris

"Victor Meldrew, the Crimson Avenger!"
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #447 on: November 17, 2019, 12:01:29 pm »
Glad you have also taken the step, anyway, it's a good experience.
Do not hesitate if you need advice and I can answer
 

Online indman

  • Frequent Contributor
  • **
  • Posts: 317
  • Country: by
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #448 on: November 18, 2019, 05:45:39 pm »
it's possible (run with "org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar")
Mission accomplished
Hi camomille!
Can you name the files that have been changed for the Save button function? :)
Studying eclipse I get hard - I am not a programmer and not at all familiar with Java language. :palm:
« Last Edit: November 18, 2019, 05:47:23 pm by indman »
 

Offline camomille

  • Regular Contributor
  • *
  • Posts: 98
  • Country: fr
Re: OWON VDS1022I Quick Teardown (versus the Hantek 6022be)
« Reply #449 on: November 19, 2019, 07:49:00 am »
@indman

Everything is in my posts 327 and 331.
The goal was to discover the instruction that makes screenshots and adapt it to the bottom icon.

owon\com.owon.vds.foundation_1.0.0\com\owon\uppersoft\dso\view\pane\function\UtilityPane
the instruction screenshot (2 lines 260 and 261, see curly brackets)

874982-0

owon\com.owon.vds.foundation_1.0.0\com\owon\uppersoft\dso\view\sub\ButtonPane
the instruction to save text (line 107) that must be modified to obtain a screenshot.

874986-1

Line 107 has been modified after many tests (because I do not know Java either) to arrive at this change that works.

874990-2

Make with a practical addon on Notepad ++  "compare"
« Last Edit: November 19, 2019, 07:56:45 am by camomille »
 
The following users thanked this post: indman


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf