VISA libraries
Virtual instruments software architecture (VISA) is a standardized software interface library providing input and output functions to communicate with instruments. High-level programming platforms use VISA as an intermediate abstraction layer. VISA encapsulates the low-level function calls and thus makes the transport interface transparent for the user.
A VISA installation is a prerequisite for remote control via the LAN, USB, GPIB, or RS-232. The I/O channel is selected at initialization time via the channel-specific address string or a VISA alias (short name). The VISA address resource strings are typically displayed in the GUI of the instrument.
VISA has dedicated API functions (not available for socket, or serial connections). You can use the following built-in commands:
Open a session with instrument - viOpen()
Write data to instrument - viWrite()
Read STB register - viReadSTB()
Read output buffer - viRead()
Wait for an occurrence of the specified event - viWaitOnEvent()
For further information, refer to:
Rohde & Schwarz webpage providing the installers for a proprietary R&S VISA: www.rohde-schwarz.com/rsvisa.
VISA user documentation installed with R&S VISA
Webpages providing examples on VISA tools:
Rohde & Schwarz Instrument Connectivity (RSIC): https://plugins.jetbrains.com/plugin/19828-rohde--schwarz-instrument-connectivity
R&S VISA Tester Tool: www.rohde-schwarz.com/visa-and-tools
Webpages providing VISA or socket programing modules:
RsInstrument Python package: www.pypi.org/project/RsInstrument/ recommended for the RSIC tool
Rohde & Schwarz webpage VISA in Programming Languages: www.rohde-schwarz.com/programming-with-visa
Application note 1SL374: How to communicate with R&S devices using VISA