CMX Signaling Remote-Control Module
$ dotnet add package RsCMX_SignalingNative C# CMX Signaling driver, that fully follow the SCPI-tree structure of an instrument.
For example, the SCPI command:
SYSTem:REFerence:FREQuency:SOURce
is represented as:
RsCMX_Signaling.System.Reference.Frequency.Source
Supported instruments: CMX500
The package is hosted here: https://www.nuget.org/packages/RsCMX_Signaling/
Examples: https://github.com/Rohde-Schwarz/Examples/
using RohdeSchwarz.RsCMX_Signaling;
namespace RsCMX_Signaling_HelloWorld_Example
{
class Program
{
static void Main(string[] args)
{
var instr = new RsCMX_Signaling("TCPIP::192.168.1.102::hislip0");
idn = instr.Utilities.QueryString("*IDN?");
Console.WriteLine("Hello, I am: " + idn);
}
}
}
Installation of the packages (e.g. for a new project):
Tools -> NuGet Packet Manager -> Manage NuGet Packages for Solution....Package source select nuget.org.Browse , in the search box enter RsCMX_Signaling. Select the found item.Install button.*.nupkg files there.Tools -> NuGet Packet Manager -> Manage NuGet Packages for Solution....Package source control, click on the cog wheel icon.Local and for the Source navigate to your created folder.Package source to your Local.Browse.After installing the NuGet package, it adds the RsCMX_Signaling.dll reference to your project.
Use the intellisense to navigate the package's API, or find the examples here:
https://github.com/Rohde-Schwarz/Examples/
If you wish to use the plain SCPI commands, the driver offers Utility Interface:
RsCMX_Signaling.Utilities.WriteString()
RsCMX_Signaling.Utilities.QueryString()
RsCMX_Signaling.Utilities.QueryBoolean()
RsCMX_Signaling.Utilities.QueryInteger()
RsCMX_Signaling.Utilities.QueryFloat()
RsCMX_Signaling.Utilities.Binary.QueryData()
...and many more
The Utilities interface is also available as a separate modul:
NuGet package RsInstrument: https://www.nuget.org/packages?q=RsInstrument
Latest release notes summary: Update for FW 7.70