RsSmw 5.50.43.130
dotnet add package RsSmw --version 5.50.43.130
NuGet\Install-Package RsSmw -Version 5.50.43.130
<PackageReference Include="RsSmw" Version="5.50.43.130" />
<PackageVersion Include="RsSmw" Version="5.50.43.130" />
<PackageReference Include="RsSmw" />
paket add RsSmw --version 5.50.43.130
#r "nuget: RsSmw, 5.50.43.130"
#:package RsSmw@5.50.43.130
#addin nuget:?package=RsSmw&version=5.50.43.130
#tool nuget:?package=RsSmw&version=5.50.43.130
Description
Native C# SMW200A Vector Signal Generators driver that fully follows the SCPI-tree structure of an instrument.
For example, the SCPI command SOURce:FREQuency:FIXed 223E6 is the property assignment smw.Source.Frequency.Fixed.Value = 223E6 on an RsSmw instance.
Supported instruments: SMW200A, SMM100A, SMBV100B
Documentation: https://rohde-schwarz.github.io/RsSmw_PythonDocumentation/Csharp/
The package is hosted here: https://www.nuget.org/packages/RsSmw/
Examples: https://github.com/Rohde-Schwarz/Examples/tree/main/SignalGenerators/Csharp/RsSmw_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.RsSmw;
using (var instrument = new RsSmw("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 RsSmw
Visual Studio
- Right-click the project and choose Manage NuGet Packages.
- Set Package source to
nuget.org. - On Browse, search for
RsSmw. - Select the package, select the project, and choose Install.
Offline
- Download
RsSmw.nupkgfrom https://www.nuget.org/packages/RsSmw/ 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 installRsSmw.
The same folder works from the command line:
dotnet add package RsSmw --source C:\LocalNuGet
Usage
using RohdeSchwarz.RsSmw;
using (var instrument = new RsSmw("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/RsSmw_ScpiPackage
Plain SCPI
If you wish to use the plain SCPI commands, the driver offers the utility interface:
RsSmw.Utilities.WriteString()RsSmw.Utilities.QueryString()RsSmw.Utilities.QueryBoolean()RsSmw.Utilities.QueryInteger()RsSmw.Utilities.QueryFloat()RsSmw.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.50.43
- Added documentation: https://rohde-schwarz.github.io/RsSmw_PythonDocumentation/Csharp/
Version 5.50.42
- Update for FW 5.50.042
Version 5.30.305
- Update for FW 5.30.305
- Added Assembly for .NET 6.0
Version 5.30.48
- Fixed all commands 'Pattern' variables from lists to raw scalar strings.
Version 5.30.47
- Update for FW 5.30.47
- Removed Legacy Options: Sirius, FM Sterea, XM Radio
- Fixed RsSmw_ArbFiles.CreateWaveformFileFromSamples() custom tag creation
Version 5.30.0
- Update for SMW FW 5.30.x
Version 5.0.170
- Fixed regional formatting in RsSmw_ArbFiles.
Version 5.0.168
- Changed methods in RsSmw_ArbFiles to static, so you can use them without creating a session.
Version 5.0.44.91
- Update for FW 5.0
- Fixed SLISt and FLISt groups, now they have repeated capabilities Index
Version 4.90.49.88
- Added correct conversion of strings with SI suffixes (e.g.: MHz, KHz, THz, GHz, ms) to double, int32, int64
- Fixed VISA read buffer in case of multi-threading access
Version 4.90.49.84
- Update for SMW FW 4.90.049
Version 4.80.2.81
- Fixed several misspelled arguments and command headers
Version 4.80.2.66
- 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.80.1.60
- Fixed NR5G Repeated Capabilities
Version 4.80.1.60
- Added new supported instrument: SMM100A
Version 4.80.0.59
- Fixed Initial Visa Timeout setting to 10000ms
- Added ArbFiles interface
Version 4.80.0.55
- Included GNSS subsystem
Version 4.80.0.50
- Second build, fixed several enum names
Version 4.80.0.43
- 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.50.43.130 | 0 | 11/20/2026 |
| 5.50.42.120 | 213 | 3/12/2026 |
| 5.30.48.104 | 490 | 8/29/2024 |
| 5.30.47.102 | 454 | 3/12/2024 |
| 5.30.0.100 | 398 | 8/24/2023 |
| 5.0.170.97 | 637 | 4/21/2023 |
| 5.0.168.92 | 501 | 4/16/2023 |
| 5.0.44.91 | 1,511 | 3/19/2022 |
| 4.90.49.88 | 647 | 11/11/2021 |
| 4.90.49.84 | 591 | 7/17/2021 |
| 4.80.2.81 | 652 | 5/16/2021 |
| 4.80.2.66 | 589 | 4/30/2021 |
Added documentation, and CornerValues enum