FAQs from Rohde & Schwarz

AREG simulation using the OS Interface (OSI) on MS Windows


I want to use the Open Simulation Interface to create scenarios for my AREG800.

Do you have an example available showing how to install the required packages, create a simulation and remote control the generator?


The following knowledge article describes the setup for MS Windows using the PyCharm IDE.

Please also find the appropriate Python example script in the attachment of this mail.

1.) Install the latest PyCharm release from


and create a new project (for example "OSI").

1.a.) To run the example script the RsIntsrument package is needed.

Choose it from the Python Packages section and click on the "Install" button


2.) Download the latest protobuf compiler release (for example protoc-21-12-win64.zip) from


3.) Unpack protobuf compiler to a directory of your choice and add the bin folder to your PATH variable


4.) Restart Pycharm and check the availability of protoc in the Pycharm Terminal.

It should respond with the help text if you only enter "protoc":


5.) Install the GIT package for your operating system from https://git-scm.com/downloads.

The standard settings should be fine to also get the path variable added to your system.

6.) Restart Pycharm and check the availability of git in the Pycharm Terminal like in step 4

(but typing "git" instead of)

7.) Add the OSI-Package in PyCharm:


Choose "from Version Control" and add the following string to the next dialog:



8.) After some minutes the installation should be fine.

In case the computer has no access to that repository, please check the Proxi settings of your PyCharm installation

as well as the git config file settings.

In addition check the PyCharm version as there has been a known Proxi bug in a dedicated version which

is definitely solved with version 2022.3.1.

9.) To run the script add the package "RsInstrument", change the path settings of the OSI-file first.

10.) The sample script should now work fine in your PyCharm installation