-
Rigol Screen Capture VCL Windows application
Posted by
SERJSOCHI
on 12 Sep, 2020 14:53
-
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/detectionProgram 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.
-
#1 Reply
Posted by
_Wim_
on 12 Sep, 2020 16:56
-
Thanks! Just tested it via LAN, worked perfectly without any hassle and quite fast. Much better than using an USB stick to transfer files.
-
-
Where is the download link?
-
#3 Reply
Posted by
SERJSOCHI
on 13 Sep, 2020 07:37
-
Where is the download link?
You can download attached file RSC v0.1b.zip in the first post.
-
-
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.
-
#5 Reply
Posted by
SERJSOCHI
on 13 Sep, 2020 09:48
-
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/
-
-
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.htmIs your program somtthing different, does it give any other functionaity ?
-
#7 Reply
Posted by
SERJSOCHI
on 13 Sep, 2020 10:26
-
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.
-
-
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.
-
-
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.
-
#10 Reply
Posted by
_Wim_
on 13 Sep, 2020 13:03
-
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
-
#11 Reply
Posted by
Dandymon
on 10 Jun, 2021 21:05
-
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.
-
#12 Reply
Posted by
robca
on 13 Aug, 2021 17:24
-
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)
-
#13 Reply
Posted by
ben-s
on 02 Sep, 2021 16:29
-
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.
-
#14 Reply
Posted by
SERJSOCHI
on 02 Oct, 2021 22:26
-
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.
-
#15 Reply
Posted by
robca
on 03 Oct, 2021 17:30
-
Thanks!
It seems to work, both USB and LAN
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
-
#16 Reply
Posted by
echoshack
on 19 Nov, 2022 06:49
-
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)
-
#17 Reply
Posted by
robca
on 19 Nov, 2022 17:37
-
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
-
#18 Reply
Posted by
malefactor
on 11 Oct, 2023 21:34
-
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?
-
-
@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
-
#20 Reply
Posted by
paulc_6969
on 12 Jan, 2024 01:10
-
@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)
-
#21 Reply
Posted by
electro-56
on 19 Jan, 2024 20:19
-
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
-
-
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?
-
-
Very late to the party - but many thanks for this very useful tool @SERJSOCHI!
Cheers,
THDplusN_bad
-
#24 Reply
Posted by
Evi
on 23 Jan, 2025 14:50
-
Connect via LAN
V0.1
My DHO 804 said: Remote Cmd Error
V0.3
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
23-01-2025_18-19-47.8 BEGIN TRYING CONNECT VIA LAN IVI (192.168.227.248)...
23-01-2025_18-19-47.9 Model: DHO804
23-01-2025_18-19-47.9 S/N: DHO8A26..
23-01-2025_18-19-47.9 F/W: 00.01.02
23-01-2025_18-19-47.9 END LAN IVI
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
23-01-2025_18-19-50.1 HOTKEY "CAPTURE TO CLIPBOARD"
23-01-2025_18-19-50.1 BEGIN TRYING CAPTURE SCREEN
23-01-2025_18-19-50.4 SUCCESS
23-01-2025_18-19-50.5 END TRYING CAPTURE SCREEN
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
23-01-2025_18-19-50.5 ##### Fatal error: Bitmap image is not valid
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -