Author Topic: Rigol Screen Capture VCL Windows application  (Read 6859 times)

0 Members and 1 Guest are viewing this topic.

Offline SERJSOCHITopic starter

  • Contributor
  • Posts: 14
  • Country: ru
Rigol Screen Capture VCL Windows application
« on: September 12, 2020, 02:53:26 pm »
Hi all.

I want to share with you my program for easy screen capture of the Rigol ds1054z oscilloscope. This is a beta version of the program, as it was tested on only one device.

The program allows you to capture the oscilloscope screen via USB and LAN connection:
  • To capture a screen via a USB connection, an installed Rigol IVI USB driver (VISA32.DLL) is required.
  • To capture the screen via LAN it is required that the PC and the oscilloscope are on the same local network.

Description of the program controls (look at "Main window.png"):

Group "Connect to Rigol instrument":
  • Button "Connect via USB" - When you click on this button, an attempt is made to load the Rigol IVI USB driver. If the attempt is successful, the USB bus is polled to find available devices, then the connection to the first one from the list is made  (shown in "Capture screen via USB.png").
  • Button "Connect via LAN"- When you click this button, an attempt is made to connect to the oscilloscope via LAN using the IP address specified in the field located to the left of the button (shown in "Capture screen via LAN.png").
In case of a successful connection, the indicator will turn green color.

Group "Image settings":
There are three checkboxes here that allow you to customize the appearance of the final image. For example "invert+crop" can be used for publication in literature (look at "Invert+crop.png").

Group "File save settings":
Here you can select the path to save the files, as well as in a separate field you can specify a description of the file being created, this description will be added to the file name.

Group "Screen":
  • Button "Capture to file" - When you click on this button, the screen is captured and saved to the specified folder with the specified description. You can display the file in Windows Explorer by clicking on button "Show File".
  • Button "Capture to clipboard" - When you click on this button, the screen is captured, the captured image is saved in the clipboard, after which you can paste it (Ctrl + V) into any program that supports this (Paint, Photoshop, Microsoft Word, Microsoft Power Point). This eliminates unnecessary operations with image files. If you lost captured image from clipboard (maybe copyed some text), you can copy it again without screen capture by click at "Copy this image ->".

Group Hotkey:
You can bind hotkays for "Capture to file" or/and "Capture to clipboard" buttons.

"Config" checkbox (look at "Main window - config.png"):
This checkbox allows you to open additional program settings.

  • LAN Timeout - this is the time during which an attempt is made to access the IP address if Ping is OK.
  • MAX Ping value - this is the maximum ping time of the IP address that is allowed to connect to the device. My ds1054z is connected connected via an unstable WIFI connection, which made it possible to debug many problems when receiving a screenshot of the via LAN with an unstable communication channel. If the LAN channel is unstable, the transfer progress of the screen capture will notify the progress bar at the top of the image.
  • Store config to INI file - if this checkbox is selected, when the application is closed, its settings will be saved to the INI file (including the IP address).
  • Log - The main actions of the program and the problems that arise are recorded in the log. The log is written only if the config checkbox is selected.

Virustotal check: https://www.virustotal.com/gui/file/b03296f1b0eed138e85bc1b30bab1858ebace89f0d4da32f778d7376b838eb16/detection

Program file RSC v0.1b.zip can be found attached to this post.

To disable Windows warning SmartScreen window for this program, please check the box "Unblock" in "RSC.exe" file Properties. (look at "Unblock app.png"). Sorry, but there is no other way to turn off the SmartScreen warning for this app yet.
« Last Edit: September 14, 2020, 09:50:47 am by SERJSOCHI »
 
The following users thanked this post: ben-s, egonotto, ebclr, _Wim_, coromonadalix, Bibbbi, paulc_6969

Offline _Wim_

  • Super Contributor
  • ***
  • Posts: 1524
  • Country: be
Re: Rigol Screen Capture VCL Windows application
« Reply #1 on: September 12, 2020, 04:56:49 pm »
Thanks! Just tested it via LAN, worked perfectly without any hassle and quite fast. Much better than using an USB stick to transfer files.
 
The following users thanked this post: SERJSOCHI

Offline S. Petrukhin

  • Super Contributor
  • ***
  • Posts: 1146
  • Country: ru
Re: Rigol Screen Capture VCL Windows application
« Reply #2 on: September 12, 2020, 11:28:03 pm »
Where is the download link?
And sorry for my English.
 

Offline SERJSOCHITopic starter

  • Contributor
  • Posts: 14
  • Country: ru
Re: Rigol Screen Capture VCL Windows application
« Reply #3 on: September 13, 2020, 07:37:19 am »
Where is the download link?

You can download attached file RSC v0.1b.zip in the first post.
 
The following users thanked this post: S. Petrukhin

Offline S. Petrukhin

  • Super Contributor
  • ***
  • Posts: 1146
  • Country: ru
Re: Rigol Screen Capture VCL Windows application
« Reply #4 on: September 13, 2020, 09:02:15 am »
Where is the download link?

You can download attached file RSC v0.1b.zip in the first post.

Thank you, I found it, the link is very invisible. The program is interesting, I'll try it with MSO5074.
Just two notes: when start the program, Windows annoying with a warning and when you open the log, the window does not fit on the notbook screen.
And sorry for my English.
 
The following users thanked this post: SERJSOCHI

Offline SERJSOCHITopic starter

  • Contributor
  • Posts: 14
  • Country: ru
Re: Rigol Screen Capture VCL Windows application
« Reply #5 on: September 13, 2020, 09:48:40 am »
Thank you, I found it, the link is very invisible. The program is interesting, I'll try it with MSO5074.
Just two notes: when start the program, Windows annoying with a warning and when you open the log, the window does not fit on the notbook screen.

I'm very interested in the result, but I'm not sure about the crop function. Please write what you got (I would really like a screenshot).

SmartScreen doesn't work differently  :(  https://habr.com/ru/post/505194/
« Last Edit: September 13, 2020, 09:55:22 am by SERJSOCHI »
 

Offline aristarchus

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Rigol Screen Capture VCL Windows application
« Reply #6 on: September 13, 2020, 10:15:02 am »
There is already for quite a few years now a well established program that does this capture and other funtionality
and it does not give warnings about application security in windows..

https://peter.dreisiebner.at/rigol-bildschirmkopie/index.htm

Is your program somtthing different, does it give any other functionaity ?
 
The following users thanked this post: egonotto

Offline SERJSOCHITopic starter

  • Contributor
  • Posts: 14
  • Country: ru
Re: Rigol Screen Capture VCL Windows application
« Reply #7 on: September 13, 2020, 10:26:01 am »
There is already for quite a few years now a well established program that does this capture and other funtionality
and it does not give warnings about application security in windows..

https://peter.dreisiebner.at/rigol-bildschirmkopie/index.htm

Is your program somtthing different, does it give any other functionaity ?


Thank you, I was looking for a similar application, but I only found python scripts that did not work, so I had to write my program.

Yes, the program at your link is much more functional, but it uses a WinUSB driver, my program loads the original Rigol USB IVI driver. This is one of the differences.

I think your program is better, the topic can be closed.
 
The following users thanked this post: Fungus

Offline S. Petrukhin

  • Super Contributor
  • ***
  • Posts: 1146
  • Country: ru
Re: Rigol Screen Capture VCL Windows application
« Reply #8 on: September 13, 2020, 10:55:43 am »
There is already for quite a few years now a well established program that does this capture and other funtionality
and it does not give warnings about application security in windows..

https://peter.dreisiebner.at/rigol-bildschirmkopie/index.htm

Is your program somtthing different, does it give any other functionaity ?


Не надо отказываться от
Thank you, I was looking for a similar application, but I only found python scripts that did not work, so I had to write my program.

Yes, the program at your link is much more functional, but it uses a WinUSB driver, my program loads the original Rigol USB IVI driver. This is one of the differences.

I think your program is better, the topic can be closed.

Don't give up your program. The German program has a lot of functionality, but not so good. Yours has some advantages, for example: a single executable file, a convenient control panel.
And sorry for my English.
 
The following users thanked this post: Fungus

Offline aristarchus

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Rigol Screen Capture VCL Windows application
« Reply #9 on: September 13, 2020, 11:44:24 am »
There is already for quite a few years now a well established program that does this capture and other funtionality
and it does not give warnings about application security in windows..

https://peter.dreisiebner.at/rigol-bildschirmkopie/index.htm

Is your program somtthing different, does it give any other functionaity ?


Не надо отказываться от
Thank you, I was looking for a similar application, but I only found python scripts that did not work, so I had to write my program.

Yes, the program at your link is much more functional, but it uses a WinUSB driver, my program loads the original Rigol USB IVI driver. This is one of the differences.

I think your program is better, the topic can be closed.

Don't give up your program. The German program has a lot of functionality, but not so good. Yours has some advantages, for example: a single executable file, a convenient control panel.


I agree to that too, asked what new functionality your program gives just to know if there is something new.
As the saying goes : "The more the merrier" so another program is welcome.

What you do need to work on, is the security warnings though, nobody wants to see security warnings when running a program.

 

Offline _Wim_

  • Super Contributor
  • ***
  • Posts: 1524
  • Country: be
Re: Rigol Screen Capture VCL Windows application
« Reply #10 on: September 13, 2020, 01:03:40 pm »
I think your program is better, the topic can be closed.

Your program is much faster (4 to 5 times faster) to take a screenshot than bildschirmkopie (at least over LAN), and as this is the main functionality, this is important. So do not give up on this, we like it  :)
 
The following users thanked this post: S. Petrukhin

Offline Dandymon

  • Newbie
  • Posts: 6
  • Country: gb
Re: Rigol Screen Capture VCL Windows application
« Reply #11 on: June 10, 2021, 09:05:52 pm »
I don't think you've got enough credit for this. Whilst the other program is OK, this is far superior in my eyes.
True, I am connecting via the network, but it is a much slicker way of doing things because I don't have a wire strewn across the desk; my laptop is pulling these images via wifi and I've gotta say - this is fast, fast simple.
The non-install single executable of a couple hundred kb is a splendid touch. The simplicity of only a couple of buttons to either save it to file or copying to clipboard, is all I want from an application like this... and did I mention the speed already....!

If you the sort of person that doesn't like the usb driver warning and don't have an ethernet capability close to your scope, then for the cost of about £15 you can get a wifi bridge and use the USB socket on the front for power, or get a mains plug-in type . It doesn't need to be wireless-N or anything too fancy, hunt around for an older wireless VOIP adapter. It's a relatively cheap upgrade to your scope.

 

Offline robca

  • Frequent Contributor
  • **
  • Posts: 257
Re: Rigol Screen Capture VCL Windows application
« Reply #12 on: August 13, 2021, 05:24:48 pm »
Not sure if this tool is still supported...

Today I tried it for the first time, and I cannot make it work either via USB or LAN (I checked that the oscilloscope is reachable both via USB and LAN from other utilities). I'm still using Windows 7, and here's what I see in the log

USB

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -13-08-2021_10-20-26.5   BEGIN TRYING CONNECT VIA USB
13-08-2021_10-20-26.6   Total INSTR: 1 (only one supported yet)
13-08-2021_10-20-26.6   INSTR ADDR #1: USB0::0x1AB1::0x04B0::DS2D161350336::INSTR
13-08-2021_10-20-26.6   INSTR NAME #1: RIGOL TECHNOLOGIES,DS2302A,DS2D161350336,00.03.05.SP4

13-08-2021_10-20-26.6   INSTR DESC #1: Model: DS2302A   S/N: DS2D161350336   F/W: 00.03.05.SP4

13-08-2021_10-20-26.6   END USB
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
13-08-2021_10-20-31.7   BEGIN TRYING CAPTURE SCREEN
13-08-2021_10-20-35.7   Read error (-1073807339)
13-08-2021_10-20-35.7   END TRYING CAPTURE SCREEN
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



LAN
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -13-08-2021_10-22-21.1   BEGIN TRYING CONNECT VIA LAN (192.168.1.49)...
13-08-2021_10-22-21.2   Ping 2 ms, OK
13-08-2021_10-22-26.2   Read error
13-08-2021_10-22-26.2   END LAN
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

(the LAN address is correct and I have added RSC v0.1b.exe to Windows Firewall just in case after a few failures, but no difference)

My device is a DS2302A, with firmware 00.03.05.SP4, HW version 2.0 (it's actually a DS2072A upgraded to DS2302A)
 

Offline ben-s

  • Newbie
  • Posts: 3
Re: Rigol Screen Capture VCL Windows application
« Reply #13 on: September 02, 2021, 04:29:21 pm »
This program is great, having the hotkey binding is really useful, and it's a lot faster than Rigol Bildschirmkopie (which I also use a lot)

Do you plan to develop it further? If not, would you consider sharing the source? You've done all of the hard work getting it to this point, and with some small tweaks this could be perfect for my needs.
 

Offline SERJSOCHITopic starter

  • Contributor
  • Posts: 14
  • Country: ru
Re: Rigol Screen Capture VCL Windows application
« Reply #14 on: October 02, 2021, 10:26:18 pm »
Hi.

Read error (-1073807339)
Yeah, there is a problem with protocol at some firmware, I wrote it to Rigol, but no any answer.
You can try to download v0.3b, connect to device, go to Debug and "Save screen bin" and share it for understand problem.

some small tweaks this could be perfect for my needs
You can try v0.3b. Attached to this post. Tell me what you are missing and I will try to do my best.


-----------
 Version v0.3b was developed a year ago, but I did not upload it because I had problems with oscilloscopes other than ds1054z. I received no response from Rigol, so the project was frozen.

In version v0.3b, a connection to the oscilloscope via IVI LAN has been added in addition to IVI USB (for these two options an appropriate driver is required), the connection to the oscilloscope via LAN TCP is also saved (no drivers are required).

The user interface of the program has also been slightly updated.
 
The following users thanked this post: egonotto, Melt-O-Tronic, coromonadalix, robca, Bibbbi, Tanner

Offline robca

  • Frequent Contributor
  • **
  • Posts: 257
Re: Rigol Screen Capture VCL Windows application
« Reply #15 on: October 03, 2021, 05:30:40 pm »
Thanks!

It seems to work, both USB and LAN

Code: [Select]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
03-10-2021_10-21-49.9   BEGIN TRYING LOAD VISA32.DLL
03-10-2021_10-21-49.9   Function "viOpenDefaultRM" found.
03-10-2021_10-21-49.9   Function "viFindRsrc" found.
03-10-2021_10-21-49.9   Function "viFindNext" found.
03-10-2021_10-21-49.9   Function "viOpen" found.
03-10-2021_10-21-49.9   Function "viClose" found.
03-10-2021_10-21-49.9   Function "viRead" found.
03-10-2021_10-21-49.9   Function "viWrite" found.
03-10-2021_10-21-49.9   DRIVER CORRECTLY LOADED
03-10-2021_10-21-49.9   END DRIVER
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
03-10-2021_10-21-49.9   BEGIN TRYING CONNECT VIA USB
03-10-2021_10-21-50.0   Total INSTR: 1 (only one supported yet)
03-10-2021_10-21-50.0   INSTR ADDR #1: USB0::0x1AB1::0x04B0::DS2D1613xxxxx::INSTR
03-10-2021_10-21-50.0   INSTR NAME #1: RIGOL TECHNOLOGIES,DS2302A,DS2D1613xxxxx,00.03.05.SP4

03-10-2021_10-21-50.0   Model: DS2302A
03-10-2021_10-21-50.0   S/N: DS2D161xxxxxx
03-10-2021_10-21-50.0   F/W: 00.03.05.SP4

03-10-2021_10-21-50.0   END USB
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
03-10-2021_10-22-54.1   BEGIN TRYING CONNECT VIA LAN TCP (192.168.1.49)...
03-10-2021_10-22-54.1   Ping 2 ms, OK
03-10-2021_10-22-54.1   Model: DS2302A
03-10-2021_10-22-54.1   S/N: DS2D161xxxxxx
03-10-2021_10-22-54.1   F/W: 00.03.05.SP4
03-10-2021_10-22-54.1   END LAN
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(serial number removed manually)


Just double checking: upon connection, apart from the connection itself becoming green, no image is shown on the screen. The image appears only after I press "capture to clipboard". I assume it's the normal working of the program, and that there is no "real time" image capture on the screen like Ultra Sigma does. Not meant as a complain. Your program launches much faster than Ultra Sigma and it's really useful for a quick screen capture when needed
« Last Edit: October 03, 2021, 05:36:32 pm by robca »
 
The following users thanked this post: echoshack

Offline echoshack

  • Newbie
  • Posts: 1
  • Country: au
Re: Rigol Screen Capture VCL Windows application
« Reply #16 on: November 19, 2022, 06:49:23 am »
Hi, Just received my new DS2302A the v0.3b works fine my only issue is my network via an extender changes IP 192.168 to 169.254 so I have to check scope IP under Utility Lan menu no issue. I could not get early v0.1b to work it would error when trying to capture although it worked on my Rigol DSA815A OK.

I would like to see the option to mask the serial number. I am a Delphi user as hobbyist if you would consider releasing the source? I will try an contact you direct.

Thanks Tony (Echoshack)
 

Offline robca

  • Frequent Contributor
  • **
  • Posts: 257
Re: Rigol Screen Capture VCL Windows application
« Reply #17 on: November 19, 2022, 05:37:09 pm »
An address like 169.254 means that the device could not get an IP address from the DHCP. Usually that device is unreachable.

Wouldn't it be safer to assign a static IP to your Rigol and have your router reserve that address? In my DS2072A, the DHCP rarely works, so a static IP is he better/safer way to go
 

Offline malefactor

  • Newbie
  • Posts: 1
  • Country: us
Re: Rigol Screen Capture VCL Windows application
« Reply #18 on: October 11, 2023, 09:34:46 pm »
just picked up a DHO1074, and found rigol bildschirmkopie does not work  >:(

any chance you could re-post the latest version of this tool?  or the source, if it needs to be fixed/improved?
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 5906
  • Country: ca
Re: Rigol Screen Capture VCL Windows application
« Reply #19 on: October 12, 2023, 01:21:40 pm »
@SERJSOCHI


thks  the software RSC 03b   is a life saver for a Rigol DS1104Z series,   their ultra  xxx  software is a mess

the rigol-bildschirmkopie does not work in my case and use old llibusb drivers
 

Offline paulc_6969

  • Newbie
  • Posts: 4
  • Country: ro
Re: Rigol Screen Capture VCL Windows application
« Reply #20 on: January 12, 2024, 01:10:49 am »
@SERJSOCHI
Congratulations for your software.
Ultra is a total mess, very very slow and hard to use.
For screen capture, yours is light years ahead.
RIGOL should pay lots of $$ to you for helping users annoyed by the total failure that is the Ultra.
Thank a lot!
If you make a commercial version, it's worth paying.
Final words:
Ultra is s..t! And Bildschirmkopiemachinegewertoberfuhrer is ok but slow (not like the Ultra - the dead man walking)
« Last Edit: January 12, 2024, 01:33:25 am by paulc_6969 »
 

Offline electro-56

  • Contributor
  • Posts: 19
  • Country: ca
Re: Rigol Screen Capture VCL Windows application
« Reply #21 on: January 19, 2024, 08:19:43 pm »
Just found this! Small, fast, and seems to work fine with a LAN TCP connection without any of the VISA stuff installed. It also does not seem to require any installation, but the exe file just runs. Probably puts the target IP in the registry, but I don't mind that. A great little utility that I will use. Thank you.
Howard
 

Offline andreikovari

  • Newbie
  • Posts: 1
  • Country: ro
Re: Rigol Screen Capture VCL Windows application
« Reply #22 on: March 20, 2024, 01:31:26 pm »
Awesome utility, works flawlessly with a DS1054Z.
Trying it currently on a MSO5074 and the output is a black image.
Connected properly through LAN, logs are saying the output was a success, output file is generated.
Any other options that have to be enabled or configured?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf