Welcome to RsInstrument’s C# documentation!
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
Contents:
- Revision History
- Version 1.25.1.89 - 17.07.2025
- Version 1.24.1.87 - 30.06.2025
- Version 1.24.0.86 - 26.06.2025
- Version 1.23.0.84 - 21.01.2025
- Version 1.22.0.83 - 14.01.2025
- Version 1.21.0.82 - 04.07.2024
- Version 1.20.0.81 - 21.06.2024
- Version 1.18.1.79 - 20.04.2023
- Version 1.18.0.78 - 20.04.2023
- Version 1.17.0.75 - 30.05.2022
- Version 1.15.0.67 - 21.10.2021
- Older Versions
- Welcome to the RsInstrument C# Step-by-step Guide
- 1. Introduction
- 2. Installation
- 3. Finding available instruments
- 4. Initiating instrument session
- 5. Basic I/O communication
- 6. Error Checking
- 7. Exception handling
- 8. OPC-synchronized I/O Communication
- 9. Querying Arrays
- 10. Querying Binary Data
- 11. Writing Binary Data
- 12. Transferring Files
- 13. Transferring Big Data with Progress
- 14. Multithreading