RsSmab 5.30.134.45
dotnet add package RsSmab --version 5.30.134.45
NuGet\Install-Package RsSmab -Version 5.30.134.45
<PackageReference Include="RsSmab" Version="5.30.134.45" />
<PackageVersion Include="RsSmab" Version="5.30.134.45" />
<PackageReference Include="RsSmab" />
paket add RsSmab --version 5.30.134.45
#r "nuget: RsSmab, 5.30.134.45"
#:package RsSmab@5.30.134.45
#addin nuget:?package=RsSmab&version=5.30.134.45
#tool nuget:?package=RsSmab&version=5.30.134.45
Description
Native C# SMA100B Microwave Signal Generators driver that fully follows the SCPI-tree structure of an instrument.
For example, the SCPI command SENSe:ROSCillator:SOURce INTernal is represented as RsSmab.Sense.Roscillator.Source.Set(ReferenceSourceAenum.INTernal); on an RsSmab instance.
Supported instruments: SMA100B
Documentation: https://RsSmab-Csharp.readthedocs.io/
The package is hosted here: https://www.nuget.org/packages/RsSmab/
Examples: https://github.com/Rohde-Schwarz/Examples/tree/main/SignalGenerators/Csharp/RsSmab_ScpiPackage
Preconditions
- R&S VISA 5.12 or newer (https://www.rohde-schwarz.com/appnote/1dc02), or NI-VISA. A typical resource name is
TCPIP0::192.168.1.100::hislip0. - VISA is optional, you can use raw TCP socket connection.
Basic example:
using RohdeSchwarz.RsSmab;
using (var instrument = new RsSmab("TCPIP::192.168.1.100::hislip0"))
{
Console.WriteLine(instrument.Utilities.Identification.IdnString);
}
Supported frameworks
The package contains builds for:
- .NET Framework 4.8
- .NET Standard 2.0 and 2.1
- .NET Core 3.1
- .NET 6
A project on .NET 8 or .NET 10 uses the .NET 6 build. For a new project, use .NET 8 or newer. .NET Framework 4.8 projects use the net48 build.
Installation
Command line
From the project directory:
dotnet add package RsSmab
Visual Studio
- Right-click the project and choose Manage NuGet Packages.
- Set Package source to
nuget.org. - On Browse, search for
RsSmab. - Select the package, select the project, and choose Install.
Offline
- Download
RsSmab.nupkgfrom https://www.nuget.org/packages/RsSmab/ on a machine that has internet access. - Copy the file into a folder, for example
C:\LocalNuGet. - Add that folder as a package source: Tools → Options → NuGet Package Manager → Package Sources → +. Name it
Localand set the source to that folder. - In Manage NuGet Packages, select the
Localsource and installRsSmab.
The same folder works from the command line:
dotnet add package RsSmab --source C:\LocalNuGet
Usage
using RohdeSchwarz.RsSmab;
using (var instrument = new RsSmab("TCPIP0::192.168.1.100::hislip0::INSTR"))
{
Console.WriteLine(instrument.Utilities.Identification.IdnString);
instrument.System.Display.Update = true;
}
Use IntelliSense to navigate the API, or start from the examples:
https://github.com/Rohde-Schwarz/Examples/tree/main/SignalGenerators/Csharp/RsSmab_ScpiPackage
Plain SCPI
If you wish to use the plain SCPI commands, the driver offers the utility interface:
RsSmab.Utilities.WriteString()RsSmab.Utilities.QueryString()RsSmab.Utilities.QueryBoolean()RsSmab.Utilities.QueryInteger()RsSmab.Utilities.QueryFloat()RsSmab.Utilities.Binary.QueryData()
The Utilities interface is also available as a separate module:
NuGet package RsInstrument: https://www.nuget.org/packages/RsInstrument
Release Notes
Latest release notes summary: Added documentation, and CornerValues enum
Version 5.30.134
- Added documentation: https://rssmab-csharp.readthedocs.io/
Version 5.30.133
- Fixed all commands 'Pattern' variables from lists to raw scalar strings.
Version 5.30.132
- Update for FW 5.30
Version 5.10.121
- Update for FW 5.10
Version 5.0.123.39
- Update for FW 5.0
Version 4.70.300.36
- Rebuilt with new driver core
4.70.300.35
- Fixed several misspelled arguments and command headers
Version 4.70.300.26
- Complete rework of the Repeated capabilities. Before, the driver used extensively the RepCaps Channel, Stream, Subframe, User, Group. Now, they have more fitting names, and also proper ranges and default values.
- All the repcaps ending with Null have ranges starting with 0. 0 is also their default value. For example, ChannelNull starts from 0, while Channel starts from 1. Since this is a breaking change, please make sure your code written in the previous version of the driver is compatible with this new version. This change was necessary in order to assure all the possible settings.
Version 4.70.205.21
- Fixed Initial Visa Timeout setting to 10000ms
- Default HwInterface repcap is 0 (empty command suffix)
Version 4.70.205.4
- First released version
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- No dependencies.
-
.NETFramework 4.8
- No dependencies.
-
.NETStandard 2.0
- No dependencies.
-
.NETStandard 2.1
- No dependencies.
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.30.134.45 | 0 | 11/20/2026 |
| 5.30.133.44 | 330 | 8/29/2024 |
| 5.30.132.43 | 266 | 6/27/2024 |
| 5.10.121.41 | 249 | 3/25/2024 |
| 5.0.123.39 | 743 | 10/25/2022 |
| 4.70.300.36 | 574 | 11/11/2021 |
| 4.70.300.35 | 623 | 5/16/2021 |
| 4.70.300.26 | 563 | 4/30/2021 |
Added documentation, and CornerValues enum