PC Scope app for DSO112A

Color oscilloscope with touch panel

PC Scope app for DSO112A

Postby shop » Sun Nov 18, 2018 8:54 pm

This is beta version of my version of jye scope. It is written using .NET framework C#. And It is written completely from scratch. I tried at my best to make is extendable to other scope types as I can. It works with windows xp and up (requires .NET framework 4.0 and above)
On GitHub you can always find newest releases of this software.
By now you can with DSO112A display waveform graph with current parameters, but you can't reliable change parameters. To workaround this problem you should use this approach :
-> Device -> Stop Capture
- Manually change parameters to desired one directly on device
-> Device ->Start Capture -> Click "Refresh" button.

Quick overview:
https://github.com/nrmtmt/DSO/releases/ ... erview.pdf

Releases:
https://github.com/nrmtmt/PC_Scope/releases/latest
Unpack ZIP file. ZIP file contains PC Scope.exe file and DSO.dll file.

PC Scope release contains newest version of DSO.dll file available at time of compilation. DSO projet may contain newer version of that library. Check it by yourself:
https://github.com/nrmtmt/DSO/releases - .dll file only


DSO on GitHub:
https://github.com/nrmtmt/DSO

Wiki page:
https://github.com/nrmtmt/DSO/wiki

GitHub page of GUI:
https://github.com/nrmtmt/PC_Scope

At this moment It recognize only DSO068 and DSO112A. You can test other scope types using "DebugWindow" feature.
It would be massive help to me if anyone who download this software, put here results of using this software with system specification of PC and scope type/firmware.
Last edited by shop on Tue Jan 01, 2019 6:39 pm, edited 6 times in total.
shop
 
Posts: 47
Joined: Thu Jan 11, 2018 3:01 pm

Re: PC Scope app for DSO112A

Postby Marky » Mon Nov 26, 2018 4:25 pm

Hi, thanks for taking the time to develop the PC application, it works perfect for me:-)

Scope is DSO112A, fw 113.11201-211
PC Windows 7/64, fully updated.
The Driver for the serial port not installed, I guess it already was on my PC as I have used lots of USB/RS232 converters of various makes.
Best Regards
Marky
Marky
 
Posts: 1
Joined: Sat Nov 24, 2018 2:32 pm

Re: PC Scope app for DSO112A

Postby Lisia01 » Mon Dec 24, 2018 4:12 pm

I've tried to use the software, but it no run.
I use: windows 7 home, x64, .net framework 4.0
My scope: DSO 112A, firmware 113-11201-215
In the same folder there are: "Scope.exe" and "DSO.dll".
The com port is COM8.
When I do double click on "Scope.exe", it happens nothing.
Could you help me?
Bye.
Lisia01
 
Posts: 5
Joined: Thu Nov 22, 2018 1:19 pm

Re: PC Scope app for DSO112A

Postby shop » Mon Dec 24, 2018 11:42 pm

To clarify: is app starting? Is it showing any window, output etc? If not, do you download this app directly from github mentioned above? After double clicking app, can you see PC Scope.exe on active process tab in app manager?
If not, please check if previous version of PC Scope works. All releases are available in "releases" tab on github site, check first version.
https://github.com/nrmtmt/PC_Scope/releases
shop
 
Posts: 47
Joined: Thu Jan 11, 2018 3:01 pm

Re: PC Scope app for DSO112A

Postby Lisia01 » Tue Dec 25, 2018 5:32 pm

Thank you for reply.
I've download all the 2 versions (1.18.12.01 and 1.18.11.18) from GitHub, but they don't run.
On active process tab in app manager in all the case the program is displayed but immediately closed.
I've tried to run like Administrator, but nothing. I've checked the .NET version (also with Microsoft Tool) and it is verified.
Is there a solution?
Thank you
Lisia01
 
Posts: 5
Joined: Thu Nov 22, 2018 1:19 pm

Re: PC Scope app for DSO112A

Postby shop » Wed Dec 26, 2018 12:03 am

Hello. This is weird. Unfortunately I do not have any logs to check what's going on. Can you provide me full PC specs? Cpu Type etc. This app not require admin privieleges to run correctly. Would you please download any of dso.dll releases with GUI? For example this one:
https://github.com/nrmtmt/DSO/releases/tag/0.18.09.06
If any of this software will not show any output or window i will prepare debug version of this software. Also do not forget to unpack zip file.
shop
 
Posts: 47
Joined: Thu Jan 11, 2018 3:01 pm

Re: PC Scope app for DSO112A

Postby Lisia01 » Wed Dec 26, 2018 9:02 am

Hello.
I've download the 0.18.09.06 and, after unzipping in a new folder, I've found 2 files: "DSO.dll" and "test dso.exe". It runs! I'm able to connect, to see the data and to disconnect.
Then I've copied this "DSO.dll" in the folder with "scope.exe", but nothing: it doesn't run, no GUI, just the waiting circle for a few of seconds.
But on active process tab in app manager I see that informations:
1) when I run "test dso.exe" it is visualized as *32 application (a 32 bit application);
2) when I run "scope.exe" there isn't *32, so I think that the Windows see it like a 64 bit application.
My system is a Windows Home 64 bit.
Maybe is it the way to solve it?
Thank you
Lisia01
 
Posts: 5
Joined: Thu Nov 22, 2018 1:19 pm

Re: PC Scope app for DSO112A

Postby shop » Wed Dec 26, 2018 2:09 pm

Hello Lisia, thank you for your information. I rebuild application to x86 version also. Please check if this solves your problem.
https://github.com/nrmtmt/PC_Scope/rele ... 01.x86.zip
shop
 
Posts: 47
Joined: Thu Jan 11, 2018 3:01 pm

Re: PC Scope app for DSO112A

Postby Lisia01 » Thu Dec 27, 2018 12:10 am

Hi Shop,
sorry but it doesn't run.
So I've done other checks:
- in the registry of events of Windows I've seen the error: an exception about KERNELBASE.dll
I copy the data from the report of the error. There is no error if I use "test dso.exe", only with "PC scope.exe"
When I use the original "PC scope.exe" on active process tab in app manager the quantity of memory increases to 3892kB before stopping.
With the other *32 bit application the memory increases to 2656kB.

So I've used again (1) the original "PC scope.exe" and then (2) the *32 "PC scope.exe" and I've checked the messages on the registry of events:
- in case (1), a 64 bit application, the KERNELBASE.dll is loaded from C:\Windows\system32 (see the data copied below)
- in case (2), a 32 bit application, the KERNELBASE.dll is loaded from C:\Windows\syswow64 (see the data at the end of this post)

Maybe this situation is a problem only in my case.
I hope on your help, if it is possible.
Best Regards

**** CASE (1) ****
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2018-12-26T23:42:46.000000000Z" />
<EventRecordID>36648</EventRecordID>
<Channel>Application</Channel>
<Computer>Alberto-PC</Computer>
<Security />
</System>
- <EventData>
<Data>PC Scope.exe</Data>
<Data>1.0.0.0</Data>
<Data>5c02e091</Data>
<Data>KERNELBASE.dll</Data>
<Data>6.1.7601.24308</Data>
<Data>5be86052</Data>
<Data>e0434352</Data>
<Data>000000000000bded</Data>
<Data>105c</Data>
<Data>01d49d74b3de1790</Data>
<Data>C:\Users\Alberto\Desktop\PCScope1.18.12.01\PC Scope.exe</Data>
<Data>C:\Windows\system32\KERNELBASE.dll</Data>
<Data>f1a650d1-0967-11e9-af1f-bcaec5a114a5</Data>
</EventData>
</Event>

**** CASE (2) ****
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2018-12-26T23:53:07.000000000Z" />
<EventRecordID>36664</EventRecordID>
<Channel>Application</Channel>
<Computer>Alberto-PC</Computer>
<Security />
</System>
- <EventData>
<Data>PC Scope.exe</Data>
<Data>1.0.0.0</Data>
<Data>5c238a3c</Data>
<Data>KERNELBASE.dll</Data>
<Data>6.1.7601.24308</Data>
<Data>5be85d6b</Data>
<Data>e0434352</Data>
<Data>0000c54f</Data>
<Data>ca4</Data>
<Data>01d49d762601b10e</Data>
<Data>C:\Users\Alberto\Desktop\PCScope1.18.12.01.x86\PC Scope.exe</Data>
<Data>C:\Windows\syswow64\KERNELBASE.dll</Data>
<Data>63c41dd9-0969-11e9-af1f-bcaec5a114a5</Data>
</EventData>
</Event>
Lisia01
 
Posts: 5
Joined: Thu Nov 22, 2018 1:19 pm

Re: PC Scope app for DSO112A

Postby shop » Thu Dec 27, 2018 10:17 am

Hello.
Please first try to
- paste old version of dso.dll (that one that works for you) to folder with newest PCScope.exe file (x86). This will check if problem is because of DSO.dll file itself (it will not work properly with this dso.dll file but it should show GUI)
After that:
- check this version attached to post. I changed app to not crashing while dso.dll file is missing etc. If this app throws any exception, please send me all details of this exception, it would be very helpful. If it wil be working for you, i will draft a bugfixing release in github.

(file available on GItHub)
Last edited by shop on Sat Dec 29, 2018 5:17 pm, edited 1 time in total.
shop
 
Posts: 47
Joined: Thu Jan 11, 2018 3:01 pm

Next

Return to DSO 112 & 112A (Coral)

Who is online

Users browsing this forum: No registered users and 1 guest