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
- Revision History
- 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