API commands for controlling the N7601B Signal Studio graphical user interface are documented in the N7601B Documented Class Library (N7601API.chm). This help file is located in the following directory: C:\Program Files (x86)\Keysight\Signal Studio\cdma.
Refer to www.keysight.com/find/signalstudio for the latest software updates.
Many of the links in the Class Library (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.
When you install the software, two sets of sample API program files are provided in the default installation directory: C:\ProgramData\Keysight\Signal Studio\cdma\Samples. You can use these sample programs as a starting point to develop your own API programs using Microsoft Visual C# .NET or a similar IDE application.
The software recognizes only US style numeric format, for example floating point is "."
To set the API to "en-US," the following commands must be completed 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");
You can view these culture setting commands in the Main() method at:
C:\ProgramData\Keysight\Signal Studio\cdma\Samples\SimpleControl\Main.cs.
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:
Open a text editor.
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>
Save this new configuration file in the same directory as User_App.exe. Name the file User_App.exe.config.
Re-launch User_App.exe.
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.