Config - HP 85097A User Manual

Electronic calibration system
Table of Contents

Advertisement

CONFIG

Purpose
Configures the ECal system by setting values for the:
• type of HP-IB card in use in the host computer.
• select code of the HP-IB card.
• HP-IB address of the VNA.
• number of the parallel port that is connected.
CONFIG Function Format Options
C++
long CONFIG (short*BoardType, short*BoardNumber,
(ECalSPI.dll)
short*VNAAddress, short*PrinterPort);
Visual Basic
CALL CONFIG (BoardType As Integer, BoardNumber As
(ECalSPI.dll)
Integer, VNAAddress As Integer, PrinterPort As Integer) or
status&=CONFIG (BoardType As Integer, BoardNumber As
Integer, VNAAddress As Integer, PrinterPort As Integer)
VEE (StdSPI.dll)
long CONFIG (short*BoardType, short*BoardNumber,
short*VNAAddress, short*PrinterPort);
LabVIEW
long CONFIG (short*BoardType, short*BoardNumber,
(StdSPI.dll)
short*VNAAddress, short*PrinterPort);
Input
Board Type:
• 1=Hewlett-Packard
• 2=National Instruments
Board number:
• Usually 7 for Hewlett-Packard Cards
• Usually 0 for National Instruments Cards
VNA Address:
VNA HP-IB (IEEE-488) address from 0 to 30, normally 16.
Printer Port:
(Connected to the PC Interface Unit) 1=LPT1, 2=LPT2, 3=LPT3,
4=LPT4, normally 1.
Output
Function Return, 0=syntax OK, –1=syntax error, –2=DLL access error
Chapter 3
Software Programming Interface
ECal SPI Function Reference
3-19

Advertisement

Table of Contents
loading

Table of Contents