Real Time

API Help

API Class Library

API commands for controlling the N7611B Signal Studio graphical user interface are documented in the N7611B Documented Class Library (N7611API.chm). This help file is located in the following directory: C:\Program Files (x86)\Keysight\Signal Studio\Broadcast Radio.

Many of the links in the Broadcast Radio API help require the Microsoft Visual Studio .NET integrated development environment (IDE) to work. Without the development environment, those links appear broken. After you obtain and download the IDE, the links will work.

Numeric format

This software recognizes only US style numeric format, for example floating point is "."

Language Requirements

You must set the API locale to "en-US," using the following commands, prior to starting the user main routine:

// Sets the culture to English (US)

Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");

// Sets the UI culture to English (US)

Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");  

Loading .NET Mixed-Mode Assemblies

The .NET Framework 4.x allows you to load pure managed assemblies built in any version of the .NET Framework. However, for some Signal Studio applications, API usage involves assemblies that are not pure .NET CLR. In these cases, you must configure your program (e.g. User_App.exe) to load .NET mixed-mode assemblies using the following steps:

  1. Open a text editor.

  2. Copy the following text into the text editor:

    <?xml version ="1.0" encoding="utf-8" ?>

    <configuration>

    <startup useLegacyV2RuntimeActivationPolicy="true">

    <supportedRuntime version="v4.0"/>

    </startup>

    </configuration>

  3. Save this new configuration file in the same directory as User_App.exe. Name the file User_App.exe.config.

  4. Re-launch User_App.exe.

References

The Microsoft.NET home page.

Developing Microsoft.NET Skills.

"Migrating Native Code to the .NET CLR," by Don Box.

Troelsen, Andrew. C# and the .NET Platform. New York: Apress, 2001.