User`s guide
76 E6651A User’s Guide
6 Remote Interface (API) Programming Command Reference
Creating a Test Program
This section shows you the 6 basic steps involved in making
a test program using the Agilent E6651A Test Set API (or
DLL - Dynamic Link Library).
1 Copy and Reference the Dynamic Link Library (DLL)
2 Install the IPX LAN protocol
3 Initialize and Start the E6651A remote interface
4 Configure the Measurement Parameters
5 Perform the Test
6 Get the Results
7 Close the Session
Step 1 “Reference”, Step 2 “Create” and Step 6 “Close” must
be performed if the PC or the E6651A Test Set is power
cycled. Steps 3 to 5 can be repeated as many times as
required for a full test sequence of measurements to cover
the chosen test plan for the WiMAX subscriber station.
It is advisable during software test development / debugging
to catch any potential exceptions due to potential errors in
the programming or setup. For example the use of Try /
Catch Blocks in Microsoft Visual Studio .NET, allows the
program to catch any errors without the program aborting.