RsInstrument
VISA or Socket Communication Module for Rohde & Schwarz Instruments
Decision gist · record as of 2026-08-14
Yes. RsInstrument is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. Install it if you need to control Rohde & Schwarz instruments from Python. The only gotcha is the Python 3.10+ requirement; if you're on an older version, you cannot use this package.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; target instrument must be reachable via VISA transport (TCPIP, USB, GPIB, or socket).
- Low friction install with only two runtime dependencies (pyvisa and typing-extensions).
- Actively maintained with recent releases; last commit 2026-06-01 and version released 2026-07-21.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing use in commercial and open-source projects with minimal restrictions beyond attribution.
last release 2026-07-21 (24 days) · last repo commit 2026-06-01 · 157 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 117,558 downloads/mo, #12,158 on PyPI
Alternatives
Verify before relying
pip install rsinstrument
from RsInstrument import RsInstrument
instr = RsInstrument('TCPIP::192.168.56.101::hislip0', id_query=True, reset=True)
idn = instr.query_str('*IDN?')
print('Hello, I am: ' + idn)- Whether pyvisa-sim backend is fully compatible with all RsInstrument features beyond the fix noted in version 1.125.0.124
- Extent of MCP server functionality and whether it requires additional dependencies beyond the base install
What it is and what it does
RsInstrument is a Python library that wraps VISA communication to simplify remote control of Rohde & Schwarz test instruments. It abstracts the low-level SCPI protocol details, allowing developers to send commands and parse responses from oscilloscopes, spectrum analyzers, power supplies, and other R&S equipment over network or local connections. The library handles connection setup, error checking, logging, and data type conversion.
Typical use involves instantiating an instrument object with a VISA resource string, then calling methods like query_str() to send SCPI queries and retrieve responses. It supports context managers for error suppression, SCPI logging for debugging, and utility methods for common operations like option checking and data parsing. The package is actively maintained and supports modern Python versions (3.10–3.14).
Use it for
- Automate test sequences on R&S oscilloscopes or spectrum analyzers from a Python script
- Log and debug SCPI communication to troubleshoot instrument control issues
- Build a measurement application that queries multiple R&S instruments and aggregates results
- Integrate R&S power supplies or sensors into a larger lab automation framework
- Suppress and handle instrument errors gracefully within specific code blocks
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
RsInstrument is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. Install it if you need to control Rohde & Schwarz instruments from Python. The only gotcha is the Python 3.10+ requirement; if you're on an older version, you cannot use this package.
Install
rsinstrument on PyPI
Before you install
Low friction install with only two runtime dependencies (pyvisa and typing-extensions). Actively maintained with recent releases; last commit 2026-06-01 and version released 2026-07-21. Requires Python 3.10 or later.
Requires Python 3.10 or later; target instrument must be reachable via VISA transport (TCPIP, USB, GPIB, or socket).
License in practice
MIT license is permissive, allowing use in commercial and open-source projects with minimal restrictions beyond attribution.
Quickstart
pip install rsinstrument
from RsInstrument import RsInstrument
instr = RsInstrument('TCPIP::192.168.56.101::hislip0', id_query=True, reset=True)
idn = instr.query_str('*IDN?')
print('Hello, I am: ' + idn)
Verify before relying
- Whether pyvisa-sim backend is fully compatible with all RsInstrument features beyond the fix noted in version 1.125.0.124
- Extent of MCP server functionality and whether it requires additional dependencies beyond the base install
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespyvisatyping-extensions |
| Maintenance | Actively maintained 24 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 117,558 / month, #12,158 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering :: Instrument Drivers |
Evidence: rsinstrument-1.126.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “rohde schwarz instrument control”
- RsInstrumentRsInstrument provides a Python interface for communicating with Rohde…
- PyVISAPyVISA provides Python bindings to VISA libraries for controlling…
- zhinst-toolkitzhinst-toolkit provides a high-level Python interface to Zurich…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also PyVISA-sim · PyVISA · zhinst-toolkit · PyVISA-py · zhinst-core · zhinst-comms · opentelemetry-instrumentation-agno · openinference-instrumentation-portkey · zhinst-utils · opentelemetry-instrumentation-lancedb