Rigol Screen Capture VCL Windows application - Page 1
Forum section: electronics / testgear

author: SERJSOCHI
author_rank: Contributor
timestamp: September 12, 2020, 02:53:26 pm
content: 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 fileRSC v0.1b.zipcan 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.

author: _Wim_
author_rank: Super Contributor
timestamp: September 12, 2020, 04:56:49 pm
content: Thanks! Just tested it via LAN, worked perfectly without any hassle and quite fast. Much better than using an USB stick to transfer files.

author: S. Petrukhin
author_rank: Super Contributor
timestamp: September 12, 2020, 11:28:03 pm
content: Where is the download link?

author: SERJSOCHI
author_rank: Contributor
timestamp: September 13, 2020, 07:37:19 am
content: Quote from: S. Petrukhin on September 12, 2020, 11:28:03 pmYou can download attached file RSC v0.1b.zip in the first post.

author: S. Petrukhin
author_rank: Super Contributor
timestamp: September 13, 2020, 09:02:15 am
content: Quote from: SERJSOCHI on September 13, 2020, 07:37:19 amThank 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.

author: SERJSOCHI
author_rank: Contributor
timestamp: September 13, 2020, 09:48:40 am
content: Quote from: S. Petrukhin on September 13, 2020, 09:02:15 amI'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 differentlyhttps://habr.com/ru/post/505194/

author: aristarchus
author_rank: Regular Contributor
timestamp: September 13, 2020, 10:15:02 am
content: There is already for quite a few years now a well established program that does this capture and other funtionalityand 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 ?

author: SERJSOCHI
author_rank: Contributor
timestamp: September 13, 2020, 10:26:01 am
content: Quote from: aristarchus on September 13, 2020, 10:15:02 amThank 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.

author: S. Petrukhin
author_rank: Super Contributor
timestamp: September 13, 2020, 10:55:43 am
content: Quote from: SERJSOCHI on September 13, 2020, 10:26:01 amDon'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.

author: aristarchus
author_rank: Regular Contributor
timestamp: September 13, 2020, 11:44:24 am
content: Quote from: S. Petrukhin on September 13, 2020, 10:55:43 amI 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.

author: _Wim_
author_rank: Super Contributor
timestamp: September 13, 2020, 01:03:40 pm
content: Quote from: SERJSOCHI on September 13, 2020, 10:26:01 amYour 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

author: Dandymon
author_rank: Newbie
timestamp: June 10, 2021, 09:05:52 pm
content: 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.

author: robca
author_rank: Frequent Contributor
timestamp: August 13, 2021, 05:24:48 pm
content: 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 logUSB- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -13-08-2021_10-20-26.5 BEGIN TRYING CONNECT VIA USB13-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::INSTR13-08-2021_10-20-26.6 INSTR NAME #1: RIGOL TECHNOLOGIES,DS2302A,DS2D161350336,00.03.05.SP413-08-2021_10-20-26.6 INSTR DESC #1: Model: DS2302A S/N: DS2D161350336 F/W: 00.03.05.SP413-08-2021_10-20-26.6 END USB- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -13-08-2021_10-20-31.7 BEGIN TRYING CAPTURE SCREEN13-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, OK13-08-2021_10-22-26.2 Read error13-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)

author: ben-s
author_rank: Newbie
timestamp: September 02, 2021, 04:29:21 pm
content: 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.

author: SERJSOCHI
author_rank: Contributor
timestamp: October 02, 2021, 10:26:18 pm
content: Hi.Quote from: robca on August 13, 2021, 05:24:48 pmYeah, 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.Quote from: ben-s on September 02, 2021, 04:29:21 pmYou 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.

author: robca
author_rank: Frequent Contributor
timestamp: October 03, 2021, 05:30:40 pm
content: Thanks!It seems to work, both USB and LANCode:- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -03-10-2021_10-21-49.9 BEGIN TRYING LOAD VISA32.DLL03-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 LOADED03-10-2021_10-21-49.9 END DRIVER- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -03-10-2021_10-21-49.9 BEGIN TRYING CONNECT VIA USB03-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::INSTR03-10-2021_10-21-50.0 INSTR NAME #1: RIGOL TECHNOLOGIES,DS2302A,DS2D1613xxxxx,00.03.05.SP403-10-2021_10-21-50.0 Model: DS2302A03-10-2021_10-21-50.0 S/N: DS2D161xxxxxx03-10-2021_10-21-50.0 F/W: 00.03.05.SP403-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, OK03-10-2021_10-22-54.1 Model: DS2302A03-10-2021_10-22-54.1 S/N: DS2D161xxxxxx03-10-2021_10-22-54.1 F/W: 00.03.05.SP403-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

author: echoshack
author_rank: Newbie
timestamp: November 19, 2022, 06:49:23 am
content: 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)

author: robca
author_rank: Frequent Contributor
timestamp: November 19, 2022, 05:37:09 pm
content: 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

author: malefactor
author_rank: Newbie
timestamp: October 11, 2023, 09:34:46 pm
content: just picked up a DHO1074, and found rigol bildschirmkopie does not workany chance you could re-post the latest version of this tool? or the source, if it needs to be fixed/improved?

author: coromonadalix
author_rank: Super Contributor
timestamp: October 12, 2023, 01:21:40 pm
content: @SERJSOCHIthks the software RSC 03b is a life saver for a Rigol DS1104Z series, their ultra xxx software is a messthe rigol-bildschirmkopie does not work in my case and use old llibusb drivers

author: paulc_6969
author_rank: Newbie
timestamp: January 12, 2024, 01:10:49 am
content: @SERJSOCHICongratulations 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)

author: electro-56
author_rank: Contributor
timestamp: January 19, 2024, 08:19:43 pm
content: 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

author: andreikovari
author_rank: Newbie
timestamp: March 20, 2024, 01:31:26 pm
content: 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?

author: THDplusN_bad
author_rank: Regular Contributor
timestamp: January 21, 2025, 06:17:38 pm
content: Very late to the party - but many thanks for this very useful tool @SERJSOCHI!Cheers,THDplusN_bad

author: Evi
author_rank: Regular Contributor
timestamp: January 23, 2025, 02:50:04 pm
content: Connect via LANV0.1My DHO 804 said:Remote Cmd ErrorV0.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: DHO80423-01-2025_18-19-47.9 S/N: DHO8A26..23-01-2025_18-19-47.9 F/W: 00.01.0223-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 SCREEN23-01-2025_18-19-50.4 SUCCESS23-01-2025_18-19-50.5 END TRYING CAPTURE SCREEN- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -23-01-2025_18-19-50.5 ##### Fatal error: Bitmap image is not valid- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

author: vermin123
author_rank: Newbie
timestamp: March 12, 2025, 12:19:59 am
content: INSTR DESC: Model: MSO5074F/W: 00.01.03.03.00v0.1/v0.3 - Sometimes I can get image by 'capture to clipboard' but it is corrupted. But somehow it was able to save 1 correct image in v0.1Just noticed:v0.3 - LAN TCP - image corrupted / or image acquiring failsv0.3 - LAN IVI - works fine