reserved. Reproduction, adaptation, or translation with out prior written permission
is prohibited, except as allowed under the copyright laws.
•Product Warranty
Hewlett-Packard warrants Hewlett-Packard hardware, accessories and supplies
against defects in materials and workmanship for the p eriod of one year fro m the
warranty start date specified below. If Hewlett-Packard receives notice of such
defects during the warranty period, Hewlett-Packard will, at its option, either
repair or replace products which prove to be defective. Replacement products
may be either new or like-new.
For warranty service or repair, this product must be returned to a service facility
designed by Hewlett-Packard. Buyer shall prepay shipping charges to
Hewlett-Packard and Hewlett-Packard shall pay shipping charges to return the
product to Buyer. However, Buyer shall pay all shipping charges, duties, and
taxes for products returned to Hewlett-Packard from another country.
Hewlett-Packard warrants that Hewlett-Packard software will not fail to execute
its programming instructions, for the period of one year from the warranty start
date specified below , due to defects in material and workmanship when properly
installed and used. If Hewlett-Packard receives notice of such defects during the
warranty period, Hewlett-Packard will replace software media which does not
execute its programming instructions due to such defects.
Hewlett-Packard does not warrant that the operation of Hewlett-Packard
products will be uninterrupted or error free. If Hewlett-Packard is unable, within
a reasonable time, to repair or replace any product to a condition as warranted,
customer will be entitled to a refund of the purchase price upon prompt return of
the product.
The Hewlett-Packard products may contain remanufactured parts equivalent to
new in performance or may have been subject to incidental use.
2
The warranty period begins on the date of delivery or on the date of installation
if installed by Hewlett-Packard. If customer schedules or delays
Hewlett-Packard installation more than 30 days after delivery, warranty begins
on the 31st day from delivery.
Warranty does not apply to defects resulting from (a) improper or inadequate
maintenance or calibration, (b) software, interfacing, parts or supp lies not
supplied by Hewlett-Packard, (c) unauthorized modification or misuse, (d)
operation outside of the published environmental specifications for the product,
or (e) improper site preparation or maintenance.
To the extent allowed by local law, the above warranties are exclusive and no
other warranty or condition, whether written or oral, is expressed or implied and
Hewlett-Packard specifically disclaims any implied warranties or conditions of
merchantability, satisfactory quality, and fitness for a particular purpose.
Hewlett-Packard will be liable for damage to tangible property per incident up to
the greater of $300,000 or the actual amount paid for the product that is the
subject of the claim, and for damages for bodily injury or death, to the extent
that all such damages are determined by a court of competent jurisdiction to
have been directly caused by a defective Hewlett-Packard product.
To the extent allowed by local law, the remedies in this warranty statement are
customer’s sole and exclusive remedies. Expect as indicated above, in no event
will Hewlett-Packard or its suppliers be liable for loss of date or for di rect,
special, incidental, consequential (incl uding lost profit or date), or other damage,
whether based in contract, tort, or otherwise.
For consumer transactions in Australia and New Zealand: the warranty terms
contained in this statement, except to the extent lawfully perm itted, do not
exclude, restrict or modify and are in addition to the mandatory statutory rights
applicable to the sale of this product to you.
•Assistance
Product maintenance agreements and other customer assistance agreements are
available for Hewlett-Packard products.
For any assistance, contact your nearest Hewlett-Packard Sales Office.
•Certification
Hewlett-Packard Company certifies that this prod uct met its published
specifications at the time of shipment from the factory. HP further certifies that
its calibration measurements are traceable to the National Institute of Standards
3
and Technology (NIST), to the extent allowed by the Institute’s calibration
facility, and to the calibration facilities of other International Standards
Organization members.
Microsoft, Windows, Windows NT, Visial Basic, and Visual C/C++ are registered
trademarks of M i crosoft Corpor ation.
Borland C/C++ Builder is registered trademark of International, Inc.
LabWindows and LabVIEW are registered trademarks of National Instruments
Corporation.
Prober Control Software (PCS) is a product of Cascade Michrotech, Inc.
To Modify the Show Result and Main Panel Displays. . . . . . . . . . . . . . . . . .184
10
Printing History
Edition 1.…August 1997
Edition 2.…July 1998
11
12
About This Manual
This manual provides information about VXIplug&play driver for the HP
4155B/4156B. This manual also introduces two sample applicatio n programs using
the HP VEE and the VXIplug&play driver for the HP 4155B/4156B.
•Installation
This chapter describes hardware and software requirements to use
HP 4155B/4156B VXIplug &pl ay driver, and how to install the driver.
•Driver Functions
This chapter lists the all driver functions for the HP 4155B/4156B and the
HP E5250A Low Leakage Switch Mainframe.
•Programming Examples Using HP VEE
This chapter describes how to create measurement program using HP VEE, and
provides programmin g exampl es .
•Sample Application Programs For HP VEE
This chapter provides how to install, execute, and modify the sample application
programs stored in the HP VEE Sample Program Disk furnished with th e HP
4155B/4156B.
13
14
1Installation
15
Installation
This chapter explains the environment requirements and installation of the
HP 4155B/4156B VXIplug&play driver.
•“Softwa re Require ments”
•“Hardware Requirements with HP VEE”
•“Installing the HP 4155B/4156B Driver”
NOTEThe hardware required d epends on the oper atin g syst em and p rogrammin g lan guage
used. This manual provides hardware requirements when using the driver with
HP VEE. When using the driver with a programming language other than HP VEE,
refer to the appropriate programming manual.
16Chapter 1
Installation
Software Requirements
Software Requirements
The following software is required to use the VXIplug&play driver for the
HP 4155B/4156B. You can select one from Windows NT and Windows 95. You can
also select the most comfortable programming language to develop and run
programs.
•Operating System
•Windows NT revision 3.51 or later
•Windows 95
•32-bit VISA I/O Library
HP I/O Library for HP-IB Interface Card, or equivalent
•Programming Environ ment
•HP VEE
•Microsoft Visual Basic
•Microsoft Visual C++
•Borland C/C++
•LabView
•LabWindows
•VXIplug&play Driver Disk (furnished with the HP 4155B/4156B)
•HP 4155B/4156B Plug&Play Driver Disk
•HP E5250A Plug&Play Driver Disk
NOTEIf you use the sample application programs, stored in the HP VEE Sample Program
Disk furnished with the HP 4155B/4156B, HP VEE must be version 4.0 or later.
See Chapter 4. Also, if you use the Cascade Microtech Summit series semi-auto
prober, confirm the operating system supported by the prober control software
(PCS) supplied from Cascade Microtech, Inc. PCS version 2.50 supports Windows
95 and Windows 3.1.
NOTEThe HP E5250A Plug&Play Driver Disk stores the VXIplug&play driver for the
HP E5250A. This driver is required to use the sample application programs.
Chapter 117
Installation
Hardware Requirements with HP VEE
Hardware Requirements with HP VEE
The following hardware is required to use HP VEE and the VXIplug&play drivers.
•Controller
•486/66 with Coprocessor (minimum recommendation)
•586(Pentium)/90 or better is recommended.
•Memory
•For Windows 95: 16 Mbyte. 24 Mbyte or more is recommended.
•For Windows NT: 24 Mbyte. 32 Mbyte or more is recommended.
•Hard disk (minimum disk space)
•20 Mbytes for HP VEE version 4.0
•2 Mbytes for HP 4155B/4156B driver
•1 Mbyte for HP E5250A driver
•Graphics
1024 × 768. 1280 × 1024 is recommended.
•IEEE 488 Interface card
HP 82341C HP-IB Interface Card, or equivalent.
•CD-ROM drive
A CD-ROM drive will be required to install the software needed to use the
VXIplug&play driver.
•Flexible disk drive
A 3.5 inch flexible disk drive is required to install the drivers.
18Chapter 1
Installation
Installing the HP 4155B/4156B Driver
Installing the HP 4155B/4156B Driver
The installation flow for the VXIplug&play driver is shown below. If you have
already installed the IEEE 488 interface card, VISA I/O library, and programming
software on your PC, skip steps 1 through 4.
1. Install the IEEE 488 interface card into your PC.
See the interface card manual. Note the model number of the interface card, as
you may need it to configure the interface (in step 3).
2. Install VISA I/O library.
Follow the instructions in the I/O library’s setup program.
3. Configure and check the IEEE 488 interface.
See the I/O library manual. If you use HP I/O Library, also see “To Configure
the Interface using HP I/O Library” on page 20.
4. Install the programming software.
Follow the setup program instructio ns.
5. Install the VXIplug&play driver.
See “To Install the Driver” on page 21.
6. Register the driver in the programming software.
See the programming software manual. If you are using HP VEE, also see
“Programming Basics” in Chapter 3.
Chapter 119
Installation
Installing the HP 4155B/4156B Driver
To Configure the Interface using HP I/O Library
After installing the IEEE 488 interface card and HP I/O Library, configure the
interface. The procedure shown below is the easiest way to configure the interface.
First, execute I_O Config in the HP I_O Libraries folder. The I/O Config window is
displayed. See Figure 1-1.
1. Click Auto A dd.
If the interface card is installed properly, I_O Config automatically detects the
hardware configuration. The default names for SICL and VISA are assigned and
listed, as shown in the Configured Interface list.
2. Click hpib7 GPIB0.
3. Click Edit to display the Configuration dialog box for the interface card.
If you find any conflicts in the dialog box, such as IRQ line, you may need to
change them manually. Normally you can exit without modifying the default
setup.
4. Click OK to exit. Reboot your PC to configure the interface.
Figure 1-1To Configure the Interface using the HP I/O Library
NOTEVISA Name is used by the VXIplug&play drivers to access the interface.
20Chapter 1
Installation
Installing the HP 4155B/4156B Driver
To Install the Driver
1. Insert the HP 4155B/4156B Plug&Play Driver Disk into the flexible disk drive
connected to your PC.
2. Execute th e 4156B.EXE p rogram stored on the diskette. The program
automatically installs the driver in the following directory.
•For Windows NT: \Vxipnp\Winnt\Hp4156b
•For Win dows 95: \ Vx i pnp \Win95\Hp4156b
Following files are installed in the directory.
•hp4156b.bas
•hp4156b.c
•hp4156b.def
•hp4156b.fp
•hp4156b.GID
•hp4156b.h
•hp4156b.hlp
•readme.txt
•DelsL1.isu
3. If you are also installing the driver for the HP E5250A, do the following.
a. Ins e rt the HP E5 250A Plug&Play Driver Disk into the flexible disk drive
connected to your PC.
b. Execute the E5250A.EXE program stored on the diskette. The program
automatically installs the driver in the following directory.
•For Windows NT: \Vxipnp\Winnt\Hpe5250a
•For Win dows 95: \Vxipnp\W i n9 5\ Hpe5250a
Following files are installed in the directory.
•hpe5250a.bas
•hpe5250a.c
•hpe5250a.def
•hpe5250a.fp
Chapter 121
Installation
Installing the HP 4155B/4156B Driver
•hpe5250a.GID
•hpe5250a.h
•hpe5250a.hlp
•readme.txt
•DelsL1.isu
22Chapter 1
2Driver Functions
23
Driver Functions
This section explains all the driver fincti ons available for the HP 41555B/415 6B and
the HP E5250A.
•“Driver Functions for HP 4155B/4156B”
•“Driver Functions for HP E5250A”
NOTEFor additional information on each function. refer to the on-line help for the
VXIplug&play drivers, or open the hp4156b.hlp or hpe5250a.hlp file in the
direcroty the driver is installed. See “Installing the HP 4155B/4156B Driver” in
Chpater 1.
24Chapter 2
Driver Functions for HP 4155B/4156B
Table 2-1 lists all the functions for the HP 4155B/4156B. You will see a brief
description of the functions in th e table.
For the description, syntax and parameters of the function, refer to the reference
section following this table. The driver functions in the reference section will appear
in the alphabetical order.
Table 2-1HP 4155B/4156B Driver Function Lists
Category Function Description
Miscellaneoushp4156b_initInitializes the HP 4155B/4156B.
hp4156b_closeCloses the connection with the HP 4155B/4156B.
hp4156b_resetExecutes the HP 4155B/4156B reset.
hp4156b_self_testExecutes the HP 4155B/4156B self-test.
hp4156b_error_queryQueries the HP 4155B/4156B for error code/ mess age.
hp4155b_error_messageQueries for the driver errors.
hp4156b_revision_queryQueries for HP 4155B/4156B firmware/driver revisions.
hp4156b_timeOutSets the timeout.
hp4156b_timeOut_QQueries for the timeout setting.
hp4156b_errorQueryDetectSets the automatic error checking.
hp4156b_errorQueryDetect_Q Queries for the automatic error checking setting.
hp4156b_dclSends the Device Clear.
hp4156b_esr_QQueries the ESR status.
hp4156b_readStatusByte_QReads the HP 4155B/4156B status byte.
hp4156b_opc_QChecks HP 4155B/4156B operation completion status.
Primitive
Measurement
Functions
Calibrationhp4156b_ a utoCalSets the auto calibration mode
Zero Offset
Cancel
hp4156b_startMeasureStarts a measurement.
hp4156b_readDataReads a measurement result.
hp4156b_stopModeSets the measurement completion mode.
hp4156b_abortMeasureAborts output or measurement.
hp4156b_execCalExecutes the HP 4155B/4156B calibration
hp4156b_offsetCancelSets the zero offset cancel.
hp4156b_execOffsetCancelExecutes the zero offset cancel.
Driver Functions
Chapter 225
Driver Functions
Category Function Description
Measurement
Unit Setup
Source Setuphp4156b_forceApplies a dc current or voltage.
Measurement
Execution
Sampling
Measurements
Stress Forcehp4156b_setStressSets the timing parameters.
hp4156b_setSwitchSets the output switch.
hp4156b_setFilterSets the output filter.
hp4156b_setIntegSets the integration time.
hp4156b_setVmSets the VMU measurement mode.
hp4156b_setPguRSets the PGU output impedance.
hp4156b_forcePulseApplies a pulse by using PGU.
hp4156b_zeroOutputDisables output.
hp4156b_recoverOutputRecovers output.
hp4156b_setIvSets the sweep source.
hp4156b_setPbiasSets the pulsed bias source.
hp4156b_setPivSets the pulsed sweep source.
hp4156b_setSweepSyncSets the synchronous sweep source.
hp4156b_spotMeasExecutes a high speed spot measurement.
hp4156b_measureMExecutes a multi-channel spot measurement.
hp4156b_sweepIvExecutes a one channel sweep measurement.
hp4156b_sweepMivExecutes a multi-channel sweep measurement.
hp4156b_measurePExecutes a pulsed spot measurement.
hp4156b_sweepPivExecutes a pulsed sweep measurement.
hp4156b_sweepPbiasExecutes a sweep measurement with pulsed bias.
hp4156b_setSampleSets the timing parameters.
hp4156b_addSampleSynclvSets the dc source.
hp4156b_addSampleSyncPulse Sets the pulse source.
hp4156b_sampleExecutes a sampling measurement.
hp4156b_clearSampleSyncClears the source setup.
hp4156b_addStressSyncIvSets the dc stress source.
hp4156b_addStressSyncPulseSets the pulse stress source.
hp4156b_stressForces stress.
hp4156b_clearStressSyncClears the source setup.
26Chapter 2
Category Function Description
Passthrough
Functions
hp4156b_cmdSends a command.
h4156b_cmdIntSends a command with an integer parameter.
hp4156b_cmdRealSends a command with a real parameter.
hp4156b_cmdData_QSends a command to read any data.
hp4156b_cmdString_QSends a command to read string response.
hp4156b_cmdInt16_QSends a command to read 16 bit integer response.
hp4156b_cmdInt16Arr_QSends a command to read 16 bit integer array response.
hp4156b_cmdInt32_QSends a command to read 32 bit integer response.
hp4156b_cmdInt32Arr_QSends a command to read 32 bit integer array response.
hp4156b_cmdReal64_QSends a command to read 64 bit real response.
hp4156b_cmdReal64Arr_QSends a command to read 64 bit real array response.
Driver Functions
Chapter 227
Driver Functions
hp4156b_abortMeasure
hp4156b_abortMeasure
This function aborts the HP 4155B /4156B’s present operation, such as the
measurement executed by the hp4156b_startMeasure function, the pulse output by
the hp4156b_forcePulse function, the stress force by the hp4156b_stress function,
and so on.
Parametersvi Instrument handle returned from hp4156b_init( ).
hp4156b_addSampleSyncIv
This function specifies the constant current source or constant voltage source used
for the sampling measurements, and sets the parameters. Source output starts at the
beginning of the sampling measurement (beginning of the hold time), and stops at
the end of the last sampling measurement point.
Sampling measurement channels are defined by the hp4156b_sample function, and
sampling measurement timing is defined by the hp4156b_setSample function.
Parametersvi Instrument handle returned from hp4156b_init( ).
channel Channel number of the source unit. 1 to 6 (SMU1 to SMU6),
21 (VSU1), 22 (VSU2), 27 (PGU1), or 28 (PGU2)
mode Output mode. 1 (current output, only for SMU) or 2 (voltage
output).
range Output range. 0 (auto ranging) or positive value (limited auto
ranging). See be low.
For current output: 1E-11 to 1.0 A, or 0.
For voltage output: 2.0 to 200.0 V, or 0.
base Base value. -1.0 to 1.0 A for curr ent output, -200.0 V to 200.0 V
for voltage output.
bias Bias value. -1.0 to 1.0 A for current ou tput, -200.0 V to 200.0 V
for voltage output.
comp Compliance valu e. -200. 0 V to 200.0 V for v oltage complian ce,
-1.0 to 1.0 A for current compliance.
28Chapter 2
Driver Functions
hp4156b_addSampleSyncPulse
hp4156b_addSampleSyncPulse
This function specifies the pulse source (PGU) used for the sampling measurements,
and sets the parameters. Pulse outputs start at the beginning of the sampling
measurement (beginning of the hold time), and stop at the end of the last sampling
measurement point or stop at the last pulse if it com e s earlier than the last sampling
measurement point.
Sampling measurement channels are defined by the hp4156b_sample function, and
sampling measurement timing is defined by the hp4156b_setSample function.
If you want to let the pulse output synchronize with the sampling measurement
timing, you should define carefully both the hp4156b_addSampleSyncPulse timing
parameters (count, period, width, delay, rise and fall) and the hp4156b_setSample
timing parameters.
SyntaxViS tatus _VI_FUNC hp4 156b_addSampleSyn cPulse(V iSessi on vi, V iInt32 chan nel,
Parametersvi Instrument handle returned from hp4156b_init( ).
channel Channel number of the pulse generator unit.
27 (PGU1) or 28 (PGU2)
base Pulse base value. -40.0 to 40.0 V.
peak Pulse peak value. -40.0 to 40.0 V.
count Pulse count (number of pulses). 1 to 65535, or 0 (free run
mode).
period Pulse period. 1E-6 to 1 0.0 seconds.
width Pulse width. 1E-6 to 9.99 seconds.
delay Pulse delay time. 0.0 to 10.0 seconds.
rise Pulse leading time. 0.1E-6 to 10E-3 secon ds.
fall Pulse trailling time. 0.1E-6 to 10E -3 seco nds.
Chapter 229
Driver Functions
hp4156b_addStressSyncIv
hp4156b_addStressSyncIv
This function specifies the DC stress source, and sets the parameters. You can use
maximum 4 stress sources at once by using the hp4156b_ad dStressSyncIv and/or
hp4156b_addStressSyncPulse functions.