VISA scan/screen capture utility - Page 1
Forum section: electronics / testgear

author: jhenderson0107
author_rank: Regular Contributor
timestamp: January 17, 2022, 04:15:45 pm
content: Here'shttps://share.elkengineering.net/-U3YjecZVq6a minimal Windows utility to scan connected instruments using NI/Agilent VISA (GPIB, USB, ethernet, etc) and display screen shots and ID details. Supports many brands/models, but notify this thread if your instrument is omitted. Hope you find it useful.Revision v1.0.0.5: Add support for Agilent 53310A MDARevision v1.0.0.6: Adds ability to save rendered screen to file

author: Hexley
author_rank: Regular Contributor
timestamp: January 17, 2022, 05:21:17 pm
content: Quote from: jhenderson0107 on January 17, 2022, 04:15:45 pmNice work, and thanks for posting.If it's not too much work, one useful enhancement could be to support the "SCDP" screen dump command that Siglent uses for some of its products. See colorado.rob's work as mentioned in this message for more information:https://www.eevblog.com/forum/testgear/the-siglent-sdg2042x-thread/msg2346945/?topicseen#msg2346945.

author: jhenderson0107
author_rank: Regular Contributor
timestamp: January 17, 2022, 05:46:15 pm
content: Updated v1.04 adds screenshot support for Siglent SDGs.

author: KungFuJosh
author_rank: Super Contributor
timestamp: September 05, 2023, 01:43:14 pm
content: Hi,I tried connecting the app to my Siglent SDG2122X AWG, and I'm not able to get a connection over TCPIP. I've specifiedxxx.xxx.xxx.xxx:Portand I've triedxxx.xxx.xxx.xxx Portalso, but it can't find the device. For the Siglent, the two port options are 5024 (telnet) and 5025 (scpi?).I noticed in the log it appears to search using the *INSTR query. I tried that over telnet and the SDG does not give any response to that query. Is it possible to try searching using *IDN? instead? Can the search query be specified or overridden in the settings.ini file?Thanks,Josh

author: jhenderson0107
author_rank: Regular Contributor
timestamp: September 05, 2023, 05:58:29 pm
content: Josh -In my experience, LAN devices are rarely (if ever) properly auto-detected by the Agilent Connection Manager or NI Measurement Explorer. This is unlike unlike USB and GPIB devices, which typically auto-detect properly. I suspect this is because scanning and auto-detection of LAN devices could be very time-consuming.For LAN devices, you must first manually add the device to the instrument tree. Afterwards, it will be detected by my utility and will render a screenshot as illustrated in the attachments.

author: KungFuJosh
author_rank: Super Contributor
timestamp: September 05, 2023, 08:50:37 pm
content: I was trying to get it to work with just your utility and the nivisa runtime. I didn't realize I needed another app to make the connection. I'll try setting that up.Thanks!

author: KungFuJosh
author_rank: Super Contributor
timestamp: September 06, 2023, 01:08:27 am
content: For anybody else trying to do this, here's what I had to do:Installed Keysight Connection Expert (IOLibSuite_18_3_29517) which includes visa drivers, so you don't need others.Add the IP in the TCPIP settings (port number is already listed) in Keysight Connection Expert.Open the connection manager app, hit Discover, and keep the IP address box EMPTY. It will then discover the device added from the Keysight app.Hitting the Render button pops a screenshot from the AWG on the computer screen.Question: does/can it save the image somewhere, or do we have to screenshot the render?Thanks,Josh

author: jhenderson0107
author_rank: Regular Contributor
timestamp: September 06, 2023, 12:57:26 pm
content: Quote from: KungFuJosh on September 06, 2023, 01:08:27 amYes, use the Clip button atop the rendered image to copy the image to the Windows clipboard, then paste it into your target application as desired. See attached image.

author: jhenderson0107
author_rank: Regular Contributor
timestamp: September 06, 2023, 01:00:54 pm
content: Quote from: KungFuJosh on September 06, 2023, 01:08:27 amTo clarify, use of the Connection Expert or NI Discovery tools are required only for LAN -connected instruments. USB, GPIB devices are added to the Visa instrument libraries automatically.

author: jhenderson0107
author_rank: Regular Contributor
timestamp: September 06, 2023, 01:07:58 pm
content: Quote from: KungFuJosh on September 06, 2023, 01:08:27 amTo clarify, theIP address boxis used to specify the address of theinstrument serverrather than a specific instrument. The server is the PC into which USB, GPIB and RS232 devices are physically connected and on which the Visa server feature has been enabled.Imagine you have a PC (running Visa server) located in a remote lab to which many instruments are connected, running experiments. You could connect to and control any of those instruments by entering the IP address of the server in the IP address box.

author: KungFuJosh
author_rank: Super Contributor
timestamp: September 06, 2023, 08:48:50 pm
content: Quote from: jhenderson0107 on September 06, 2023, 12:57:26 pmIf you ever feel like adding the feature, saving directly to a jpg file would be great.Thanks for all the additional info!Now that I have this, Siglent will finally release a firmware with a simple screenshot capture. 🤣🤣

author: jhenderson0107
author_rank: Regular Contributor
timestamp: September 06, 2023, 11:05:15 pm
content: Quote from: KungFuJosh on September 06, 2023, 08:48:50 pmFeature added. Updated link in original post of this thread.

author: KungFuJosh
author_rank: Super Contributor
timestamp: September 06, 2023, 11:20:02 pm
content: Quote from: jhenderson0107 on September 06, 2023, 11:05:15 pmThat was fast! Thank you.

author: coromonadalix
author_rank: Super Contributor
timestamp: September 28, 2023, 04:11:40 pm
content: Snif sadly doesn't seems to work on my Siglent SDS1104X-E or Rigol DS1104Z in usb tmc mode ?? can not use rj45says the scopes doesn't have screen capture support ??they both identify ...

author: alm
author_rank: Super Contributor
timestamp: September 28, 2023, 04:34:24 pm
content: Quote from: KungFuJosh on September 06, 2023, 08:48:50 pmWhy would you ask for JPEG and not PNG for a screen capture

author: KungFuJosh
author_rank: Super Contributor
timestamp: May 14, 2025, 03:23:55 am
content: Quote from: alm on September 28, 2023, 04:34:24 pmI just reinstalled this to capture from my SDG again...he's smart, and all you need to do is specify the image extension. .png works fine.