Welcome to RsInstrument’s C# documentation!

_images/icon.png

RsInstrument is a .NET component that provides convenient way of communicating with Rohde & Schwarz instruments.

Basic Hello-World code:

using System;
using System.Text;
using RohdeSchwarz.RsInstrument;

namespace Examples
{
    class Program
    {
        static void Main()
        {
            RsInstrument instr = new RsInstrument("TCPIP::192.168.1.122::hislip0");
            string idn = instr.Query("*IDN?");
            Console.WriteLine("\nHello, I am: " + idn);
            instr.Dispose();

            Console.WriteLine("\nPress any key ...");
            Console.ReadKey();
        }
    }
}
More examples on Rohde & Schwarz Github repository:
Preconditions
  • Installed R&S VISA 5.12+ or NI VISA 18.0+

  • No VISA installation is necessary if you select the plugin SocketIO

Supported Frameworks
  • .NET Core 3.1

  • .NET Standard 2.1

  • .NET Standard 2.0

  • .NET Framework 4.8

  • .NET Framework 4.5

Indices and tables