Installation
To get started, it is recommended to use Python version 3.8 and the PyCharm IDE, Community Edition. The RsInstrument Python module (version 1.55 or higher) is required for this setup, as well as the R&S VISA.
The RsInstrument Python module can be installed or updated via PyPI, the Python Package Index. Once installed, users can leverage the power of Python to control their Rohde & Schwarz oscilloscopes. The ready-to-use examples for oscilloscopes and other R&S instruments are available in our GitHub repository.
Furthermore it is recommended to use the R&S Instrument Control Pycharm plugin (RsIC). It is targeted for users of Pycharm to write python instrument remote-control scripts. It is optimized, although not exclusive to be used with our RsInstrument Python package.
One of the key benefits of using the RsInstrument Python module is the reduction in time spent on testing correct SCPI (Standard Commands for Programmable Instruments) sequences. The module ensures that parameters not explicitly specified use correct default values compliant with the specification. In case of invalid parameters, an error handling procedure is triggered, providing a detailed exception message.
The RsInstrument Python module also comes with a 'Getting Started' remote control example using Python in PyCharm: https://rsinstrument.readthedocs.io
By downloading the Python package, users agree to the Terms and Conditions for royalty free software. This allows Rohde & Schwarz to provide a robust and reliable solution for remote control of their oscilloscopes.