Specifications

5.0 Introduction to Application
Examples
The analyzer’s support for DCOM (Distributed
Component Object Model) over the LAN provides con-
trol of the network analyzer using a variety of platforms.
DCOM acts as an interface to the analyzer for external
applications. With DCOM, the programmer can develop
an application on an external computer. During develop-
ment, the application will interface to the analyzer over
the LAN through the DCOM interface. Once the develop-
er has finished the application, it can be distributed to
the analyzer. After, it has been distributed to the analyz-
er, the application will interface with the analyzer using
COM.
The example applications in this product note were
developed in a number of different programming lan-
guages to show the differences between development
platforms. The application was first developed on a PC
and then transferred to the analyzer once development
was complete.
The table below outlines the setup parameters that the
applications will use to configure the PNA network ana-
lyzer for a measurement.
Parameter Value
Start Frequency 1 GHz
Stop Frequency 2 GHz
Number of Points 11
Measurement S
11
Data Storage Area Uncorrected (Raw Data)
Data Format Log Magnitude
Trigger Mode Single
The device tested was a 50 ohm standard load on port 1
of the analyzer
Download the example programs and obtain more
detailed information for each development environment
from http://agilent.com/find/pna_applications
The development environment should reference the
type library associated with the PNA Series. For exam-
ple, in Visual Basic, add the Agilent PNA 835x type
library as a reference. This will allow the program to
“see” the various classes and methods for use with the
PNA Series network analyzer during development (see
the individual programming examples for more informa-
tion).
5.1 Application examples
5.1.1 Microsoft Visual Basic Example
5.1.1.1 Application Configuration
The type library for the PNA should be referenced in the
Visual Basic development environment. The following
figure illustrates the reference.
Using the Visual Basic Object Browser the developer can
see what classes and methods are available for develop-
ment of applications for the analyzer (see figure below).
10