Software Programming Interface General Information; Ole Interface File (Ecalspi.dll); Dll Interface File (Stdspi.dll) - HP 85097A User Manual

Electronic calibration system
Table of Contents

Advertisement

Software Programming Interface
General Information
General Information
This chapter assumes that the reader has some programming
NOTE
experience.
The ECal software programming interface (SPI) is programmer's tool
for adding automated VNA calibration capability within an application.
The SPI is a self-registering, OLE 2.0 compliant, in-process DLL server.
It can be accessed by any programming language or environment that
supports OLE.
By using the SPI, the application can direct a calibration in one of two
ways:
1. The SPI initiates the calibration and displays ECal menus on the
2. The SPI initiates the calibration and programmatically controls each

OLE Interface File (ECalSPI.dll)

The SPI (called ECalSPI.dll) is stored in a Windows directory during
installation of the ECal software. There are no user interface
components in the SPI; custom applications must provide the user
interface. The intent of the ECal SPI is to allow calibration of the VNA
using the ECal system from within other software applications. You
need to know how to program using OLE objects to use the ECal SPI.

DLL Interface File (StdSPI.dll)

There is a second interface to the SPI implemented in the file
StdSPI.dll. This DLL exports all of the SPI functions through more
traditional C-style function calls. All aspects of SPI programming
documented here apply to both StdSPI.dll and the OLE
implementation ECalSPI.dll except for the actual function "NAME"
and "PARAMETERS TYPES". Refer to
page
3-2
VNA for the users to complete the calibration. Users can select the
type of calibration and module to use. The application that is
delivered with this system, ECal.exe, uses the SPI in this manner.
step of the calibration. The application selects the type of calibration
and module to use. In this case, menus are not displayed on the front
panel of the VNA, and there is no user interaction with the analyzer.
3-15.
"Standard SPI (StdSpi.dll)" on
Chapter 3

Advertisement

Table of Contents
loading

Table of Contents