Sample API Programs

Sample programs are placed in this default location when you install the software:

C:\Users\<user name>\AppData\Roaming\Keysight\Signal Studio\W-CDMA-HSPA+ 2018.0201\Samples

Using Microsoft Visual C# .NET or a similar IDE, you can modify these sample projects to develop your own API programs.

Basic Program Flow

You can create an API program by performing the following general steps. This sequence is demonstrated in the Main.cs file, which is included in the ...\Samples\SimpleControl folder.

  1. Create an API object.

  2. Configure the instrument connection.

  3. Clear all carriers.

  4. Configure the waveform.

  5. Add a framed carrier.

  6. Generate and download the waveform to the instrument.

  7. Turn on the RF output.

  8. End the program and turn off the RF output.

Before editing the sample programs, make backup copies of all files. To save the edited files, right-click each file, select Properties, and deselect the read-only attribute.