HP 4155A Manual

About this Manual
We’ve added this manual to the Agilent website in an effort to help you support
your product. This manual is the best copy we could find; it may be incomplete
or contain dated information. If we find a more recent copy in the future, we will
add it to the Agilent website.
Support for Your Product
Agilent no longer sells this product. Our service centers may be able
to perform calibration and repair if necessary, but no other support from
Agilent is available. You will find any other available product information on the
Agilent Test & Measurement website, www.tm.agilent.com.
HP References in this Manual
This manual may contain references to HP or Hewlett-Packard. Please note that
Hewlett-Packard's former test and measurement, semiconductor products and
chemical analysis businesses are now part of Agilent Technologies. We have
made no changes to this manual copy. In other documentation, to reduce
potential confusion, the only change to product numbers and names has been in
the company name prefix: where a product number/name was HP XXXX the
current name/number is now Agilent XXXX. For example, model number
HP8648A is now model number Agilent 8648A.

Semiconductor Parameter Analyzer
Programmer's Guide

c
Copyright Hewlett-Packard
Company 1993, 1994
All Rights Reserved.
Reproduction, adaptation, or
translation without prior written
permission is prohibited, except as
allowed under the copyright laws.
Printing History
HP Part Number
04155-90110
First edition, February 1994
Second edition, December 1994
Printed in Japan
MS-DOS
R
is U.S. registered
trademark of Microsoft
Corporation.
Lotus 1-2-3 is U.S. registered
trademark of Lotus Development
Corporation.
PageMaker is a trademark of
Aldus Corporation.
Product Warranty
This Hewlett-Packard product is warranted against
defects in material and workmanship for a period of
one year from date of shipment. During the warranty
period, Hewlett-Packard will, at its option, either repair
or replace products which prove to be defective.
For warranty service or repair, this product must be
returned to a service facility designated 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 its software and
rmware designated by Hewlett-Packard for use with
an instrument will execute its programming
instructions when properly installed on that instrument.
Hewlett-Packard does not warrant that the operation
of the instrument, or software, or rmware will be
uninterrupted or error free.
Limitation of Warranty
The foregoing warranty shall not apply to defects
resulting from improper or inadequate maintenance by
Buyer, Buyer-supplied software or interfacing,
unauthorized modications or misuse, operation outside
of the environment specications for the products, or
improper site preparation or maintenance.
No other warranty is expressed or implied.
Hewlett-Packard specically disclaims the implied
warranties of merchantability and tness for a
particular purpose.
Exclusive Remedies
The remedies provided herein are the Buyer's sole and
exclusive remedies. Hewlett-Packard shall not be liable
for any direct, indirect, special, incidental, or
consequential damages, whether based on contract,
tort, or any other legal theory.
Assistance
Product maintenance agreements and other customer
assistance agreements are available for
Hewlett-Packard products.
For any assistance, contact your nearest
Hewlett-Packard Sales Oce.
Certication
Hewlett-Packard Company certies that this product
met its published specications at the time of shipment
[from the factory]. Hewlett-Packard further certies
that its calibration measurements are traceable to the
National Institute of Standards and Technology
(
NIST
), to the extent allowed by the Institute's
calibration facility, and to the calibration facilities of
other International Standards Organization members.
Yokogawa-Hewlett-Packard, Ltd.
9-1, Takakura-Cho, Hachioji-Shi,
Tokyo, 192 Japan


Programming Overview
The HP 4155A/56A can be
fully
controlled from an external computer or
by using built-in HP Instrument BASIC (IBASIC) controller.IBASIC is a
programming environment that allows full control of HP 4155A/56A without
using an external computer.
To fully control the HP 4155A/56A, you execute programs that contain SCPI
commands. SCPI means Standard Commands for Programmable Instruments.
SCPI is the default program language of the HP 4155A/56A, and can control
all functions of the HP 4155A/56A. These programs can be run from IB
ASIC
or an external computer.
The HP 4155A/56A has two command modes:
HP 4155/56 command mode
is the default mode of HP 4155A/56A.
You use this mode in
all
cases,
except
when directly running an HP
4145A/B program. In this mode, you can use a program that contains SCPI
commands, which allow you to control
all
functions of the HP 4155A/56A.
HP 4145 syntax command mode
, which allows you to execute HP 4145A/B
programs on the HP 4155A/56A directly with little or no modication. In
this command mode, you
cannot
control all functions of HP 4155A/56A.
iv

How to Migrate HP 4145A/B Programs
HP 4145A/B Auto Sequence Program (ASP) programs
run on the HP 4145A/B built-in programming
environment and allow
basic
control of HP 4145A/B without using an external computer.To run the
ASP programs on the HP 4155A/56A, you do one of the following and execute the program in the
HP
4155/56 command mode
:
Create a program that performs the same operations as the desired ASP program by using the
IBASIC editor typing aid softkeys to enter commands that correspond to each ASP command. This
program can run on IBASIC only,
not
on an external computer. Refer to \Creating ASP-like IBASIC
Programs" in Chapter 1 for details.
Create a program using SCPI commands that performs same operations as the desired ASP
program. This program can run on IBASIC or on an external computer
. Refer to \Programming
Example for HP 4145 Users" in Chapter 4 for details.
HP 4145A/B HP-IB programs
run on an external computer and allow
full
control of the HP 4145A/B.To
run these programs on the HP 4155A/56A, do one of the following:
Directly run the HP 4145A/B program on the HP 4155A/56A with little or no modication. Y
ou
must run this program in the
HP 4145 syntax command mode
from IBASIC or an external
computer. Refer to Chapter 5 for details.
Create a program using SCPI commands that performs same operations as the HP 4145A/B
program. You must run this program in
HP 4155/56 command mode
from IBASIC or an external
computer.
v

In This Manual
This manual describes how to control the HP 4155A/4156A by using HP-IB
commands from an external computer or built-in HP Instrument BASIC.
This manual consists of the following chapters:
Using HP Instrument BASIC
Reference: HP Instrument BASIC
Getting Started on Programming the HP 4155A/4156A
HP 4155A/4156A SCPI Programming
Running HP 4145A/B Program Directly on HP 4155A/4156A
Sample Application Programs
Manual Changes Depending on ROM Version
Refer to the HP 4155A/4156A
HP-IB Command Reference
for detailed syntax
of each command.
See the HP 4155A/4156A
User's Task Guide
and
User's Dictionary Reference
for information about HP 4155A/4156A itself.
Text Conventions.
The following text conventions are used in this manual:
4
Front-panel key
5
Represents a key physically located on HP 4155A/4156A.
NNNNNNNNNNNNNNNNNNNNNNNNNNNNN
Softkey
Represents a softkey that appears on screen of
HP 4155A/4156A.
Screen Text
Represents text displayed on HP 4155A/4156A.
Italic
Refers to a related document, or is used for emphasis.
vi

Contents
1. Using HP Instrument BASIC
Before Operating IBASIC . . . . . . . . . . . . . .
1-3
To Switch Screen Mo de . . . . . . . . . . . . . .
1-4
FrontPanel . . . . . . . . . . . . . . . . . . .
1-4
External Keyboard . . . . . . . . . . . . . . .
1-4
To Use the Help Function . . . . . . . . . . . . .
1-5
Creating and Executing a Simple IBASIC Program . . .
1-7
Step 1. Editing . . . . . . . . . . . . . . . . . .
1-7
Step 2. Exiting from Editor . . . . . . . . . . . .
1-9
Step 3. Executing Program . . . . . . . . . . . . .
1-9
Mo difying Program by using Editor Functions . . . . .
1-10
Step 1. Inserting Lines . . . . . . . . . . . . . . .
1-11
Step 2. Deleting a Line . . . . . . . . . . . . . .
1-12
Step 3. Renumbering . . . . . . . . . . . . . . .
1-13
Step 4. Inserting Characters . . . . . . . . . . . .
1-14
Step 5. Recalling Deleted Line . . . . . . . . . . .
1-15
Step 6. Indenting . . . . . . . . . . . . . . . . .
1-15
Saving and Getting a Program . . . . . . . . . . . .
1-16
Step 1. Saving a Program . . . . . . . . . . . . .
1-17
Step 2. Listing Contents of Diskette . . . . . . . . .
1-17
Step 3. Clearing a Program . . . . . . . . . . . . .
1-18
Step 4. Getting a Program . . . . . . . . . . . . .
1-18
Summary of Softkeys and Keyboard Operations for Editor
1-19
Other Basic Features of IBASIC . . . . . . . . . . . .
1-20
Branching/Repeating . . . . . . . . . . . . . . .
1-21
Subprograms and COM Blo cks . . . . . . . . . . .
1-22
IBASIC Basic Operation Tasks . . . . . . . . . . . .
1-24
To Execute HP Instrument BASIC Commands . . . .
1-25
To Execute Program . . . . . . . . . . . . . . . .
1-25
FrontPanel . . . . . . . . . . . . . . . . . . .
1-25
External Keyboard . . . . . . . . . . . . . . .
1-25
To List Files . . . . . . . . . . . . . . . . . . .
1-26
To Retrieve Program . . . . . . . . . . . . . . . .
1-27
ToSave Program . . . . . . . . . . . . . . . . .
1-28
IBASIC Editor Tasks . . . . . . . . . . . . . . . .
1-29
To Start the Editor . . . . . . . . . . . . . . . .
1-30
Contents-1

Change 1
To Quit the Editor . . . . . . . . . . . . . . . .
1-30
To Move the Cursor . . . . . . . . . . . . . . . . . . 1-31
To Insert Characters . . . . . . . . . . . . . . . .
1-31
To Delete Character . . . . . . . . . . . . . . . .
1-32
To Insert Line . . . . . . . . . . . . . . . . . .
1-32
To Delete Line . . . . . . . . . . . . . . . . . .
1-33
To Scroll Pages . . . . . . . . . . . . . . . . . .
1-33
To Recall Most Recently Deleted Line . . . . . . . .
1-34
Control from External Computer . . . . . . . . . . .
1-35
ToDownload a Program to HP 4155A/4156A . . . . .
1-36
Example . . . . . . . . . . . . . . . . . . . .
1-36
To Upload a Program from HP 4155A/4156A . . . . .
1-38
Example . . . . . . . . . . . . . . . . . . . .
1-38
To Control State of HP 4155A/4156A Program . . . .
1-40
Example . . . . . . . . . . . . . . . . . . . .
1-40
Creating ASP-like IBASIC Programs . . . . . . . . .
1-41
Step 1. Creating Programs by using the Typing Aid
Softkeys . . . . . . . . . . . . . . . . . . . .
1-41
Step 2. Executing the Program . . . . . . . . . . .
1-43
Step 3. Creating a Longer Program . . . . . . . . .
1-43
Programming Tips . . . . . . . . . . . . . . . .
1-45
Example ASP Program . . . . . . . . . . . . .
1-45
Corresp onding IBASIC Program. . . . . . . . . .
1-45
Reading HP 4155/56 Data to IBASIC Variables . . . .
1-46
Auto Scaling . . . . . . . . . . . . . . . . . . .
1-47
HP 4145 ASP and HP 4155A/4156A Corresp onding
Keywords . . . . . . . . . . . . . . . . . . .
1-48
2. Reference: HP Instrument BASIC
IBASIC Screen . . . . . . . . . . . . . . . . . . .
2-3
All IBASIC Screen . . . . . . . . . . . . . . . .
2-4
IBASIC Output Area . . . . . . . . . . . . . .
2-4
Command Entry Line . . . . . . . . . . . . . .
2-4
System Message and Display Line . . . . . . . . .
2-4
Blue Key & Green Key Shift Status . . . . . . . .
2-5
Execution Status . . . . . . . . . . . . . . . .
2-5
IBASIC Status Screen . . . . . . . . . . . . . . .
2-6
Keys for IBASIC . . . . . . . . . . . . . . . . . .
2-7
Front-panel Keys for IBASIC . . . . . . . . . . . .
2-8
PAGE CONTROL key group . . . . . . . . . . .
2-8
MARKER/CURSOR key group . . . . . . . . . .
2-8
Contents-2

Change 1
MEASUREMENT key group . . . . . . . . . . .
2-9
IBASIC key group . . . . . . . . . . . . . . . . . . 2-9
ENTRYkey group . . . . . . . . . . . . . . . .
2-10
Other Keys . . . . . . . . . . . . . . . . . . .
2-10
Primary Softkeys in Idle, Pause, Run, or Input?
execution status . . . . . . . . . . . . . . . .
2-11
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
Step
. . . . . . . . . . . . . . . . . .
2-11
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
Conti-nue
. . . . . . . . . . . . . . . . .
2-11
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
RUN
. . . . . . . . . . . . . . . . . .
2-11
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
Pause
. . . . . . . . . . . . . . . . .
2-11
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
Stop
. . . . . . . . . . . . . . . . . .
2-11
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
ClearI/O
. . . . . . . . . . . . . . . . .
2-11
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
Reset
. . . . . . . . . . . . . . . . .
2-11
Secondary Softkeys in Idle or Pause execution status . .
2-12
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
CAT
. . . . . . . . . . . . . . . . . .
2-12
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
SAVE ""
. . . . . . . . . . . . . . . .
2-12
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
RE-SAVE""
. . . . . . . . . . . . . . .
2-12
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
GET ""
. . . . . . . . . . . . . . . . .
2-13
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
PURGE ""
. . . . . . . . . . . . . . .
2-13
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
EDIT
. . . . . . . . . . . . . . . . . .
2-13
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
REN umber
. . . . . . . . . . . . . . .
2-13
Secondary Softkeys in Run or Input? execution status .
2-13
Primary Softkeys in Edit execution status . . . . . .
2-14
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
Backspace
. . . . . . . . . . . . . . . . . .
2-14
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
Insertline
. . . . . . . . . . . . . . . . .
2-14
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
Deleteline
. . . . . . . . . . . . . . . . .
2-14
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
Re-number
. . . . . . . . . . . . . . . . . .
2-14
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
Indent
. . . . . . . . . . . . . . . . .
2-14
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
Scratch
. . . . . . . . . . . . . . . .
2-14
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
Endedit
. . . . . . . . . . . . . . . . . .
2-14
Secondary Softkeys in Edit execution status . . . . .
2-15
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
GETSETUP
. . . . . . . . . . . . . . .
2-15
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
SINGLE
. . . . . . . . . . . . . . . . .
2-15
Contents-3

Change 1
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
STANDBY
. . . . . . . . . . . . . . . .
2-15
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
STRESS
.................. 2-16
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
AUTOSCALE
. . . . . . . . . . . . . . .
2-16
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
SAVEDATA
. . . . . . . . . . . . . . .
2-16
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
READDATAVARIABL
. . . . . . . . . . . . . . .
2-16
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
DEFINEUSERVARIABL
. . . . . . . . . . . . . .
2-16
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
PRINT/PLOT
. . . . . . . . . . . . . .
2-16
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
CURVEPLOT
. . . . . . . . . . . . . . .
2-16
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
OUTPUT@Hp415x
. . . . . . . . . . . . .
2-17
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
ENTER@Hp415x
. . . . . . . . . . . . .
2-17
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
PAUSE
..... .. .. .. ... .. .
2-17
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
DISP
. . . . . . . . . . . . . . . . . .
2-17
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
INPUT
..... .. .. .. ... .. .
2-17
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
IF THENELSEEND IF
. . . . . . . . . . . . . .
2-17
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
WHILEEND WHILE
. . . . . . . . . . . . .
2-18
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
FORNEXT
. . . . . . . . . . . . . . . .
2-18
External Keyb oard . . . . . . . . . . . . . . . .
2-19
4
Esc
5
. . . . . . . . . . . . . . . . . . . . . .
2-19
4
F1
5
through
4
F8
5
..... .. .. .. ... .. .
2-19
4
Shift
5
+
4
F1
5
through
4
F7
5
. . . . . . . . . . . . . .
2-19
4
F9
5
. . . . . . . . . . . . . . . . . . . . . .
2-19
4
F11
5
. . . . . . . . . . . . . . . . . . . . . .
2-19
4
Shift
5
+
4
F11
5
..... .. .. .. .. ... .. .
2-19
4
F12
5
. . . . . . . . . . . . . . . . . . . . . .
2-20
4
Print Screen
5
..... .. .. .. .. ... .. .
2-20
4
Scroll Lo ck
5
..... .. .. .. .. ... .. .
2-20
4
Shift
5
+
4
Scroll Lo ck
5
..... .. .. .. ... .. .
2-20
4
Pause
5
.... ... .. .. .. .. ... .. .
2-20
4
Shift
5
+
4
Pause
5
. . . . . . . . . . . . . . . . . .
2-20
4
Insert
5
.... ... .. .. .. .. ... .. .
2-20
4
Shift
5
+
4
Insert
5
. . . . . . . . . . . . . . . . . .
2-20
4
Delete
5
.... ... .. .. .. .. ... .. .
2-20
4
Shift
5
+
4
Delete
5
. . . . . . . . . . . . . . . . . .
2-20
4
Ctrl
5
+
4
Delete
5
. . . . . . . . . . . . . . . . . .
2-21
4
Home
5
.... ... .. .. .. .. ... .. .
2-21
Contents-4

Change 1
4
Shift
5
+
4
Home
5
. . . . . . . . . . . . . . . . . .
2-21
4
End
5
........................ 2-21
4
Shift
5
+
4
End
5
. . . . . . . . . . . . . . . . . . .
2-21
4
Page Up
5
. . . . . . . . . . . . . . . . . . . .
2-21
4
Shift
5
+
4
Page Up
5
. . . . . . . . . . . . . . . . .
2-21
4
Page Down
5
. . . . . . . . . . . . . . . . . . .
2-22
4
Shift
5
+
4
Page Down
5
. . . . . . . . . . . . . . . .
2-22
4
85
..... .. .. .. .. ... .. .. .. .
2-22
4
Shift
5
+
4
85
. . . . . . . . . . . . . . . . . . . .
2-22
4
Alt
5
+
4
85
. . . . . . . . . . . . . . . . . . . .
2-22
4
95
..... .. .. .. .. ... .. .. .. .
2-22
4
Shift
5
+
4
95
. . . . . . . . . . . . . . . . . . . .
2-22
4
Alt
5
+
4
95
. . . . . . . . . . . . . . . . . . . .
2-22
4
6
5
,
47
5
..... .. .. .. ... .. .. .. .
2-23
4
Shift
5
+
4
6
5
. . . . . . . . . . . . . . . . . . . .
2-23
4
Shift
5
+
47
5
. . . . . . . . . . . . . . . . . . . .
2-23
4
Backspace
5
. . . . . . . . . . . . . . . . . . . .
2-23
4
Alt
5
+
4
D
5
. . . . . . . . . . . . . . . . . . . .
2-23
4
Alt
5
+
4
I
5
..... .. .. .. ... .. .. .. .
2-23
4
Ctrl
5
+
4
U
5
. . . . . . . . . . . . . . . . . . . .
2-23
4
Ctrl
5
+
4
P
5
. . . . . . . . . . . . . . . . . . . .
2-23
4
Ctrl
5
+
4
G
5
. . . . . . . . . . . . . . . . . . . .
2-24
HP 4155A/4156A Specic IBASIC Keywords . . . . . .
2-25
Available I/O Resources for IBASIC . . . . . . . . . .
2-27
CRT Display . . . . . . . . . . . . . . . . . . .
2-28
HP-IB Interfaces . . . . . . . . . . . . . . . . .
2-28
Serial Interface . . . . . . . . . . . . . . . . . .
2-29
Built-in Diskette Drive . . . . . . . . . . . . . . .
2-30
ASP-like Commands . . . . . . . . . . . . . . . . .
2-31
EXECUTE . . . . . . . . . . . . . . . . . . . .
2-31
Syntax . . . . . . . . . . . . . . . . . . . . .
2-31
directive
.... .. .. .. .. .. .. .. .. .. 2-31
GET SETUP Directive . . . . . . . . . . . . . . .
2-32
Directive syntax . . . . . . . . . . . . . . . . .
2-32
Directive parameter . . . . . . . . . . . . . . .
2-32
Example . . . . . . . . . . . . . . . . . . . .
2-32
SINGLE Directive. . . . . . . . . . . . . . . . .
2-32
Directive syntax . . . . . . . . . . . . . . . . .
2-32
Example . . . . . . . . . . . . . . . . . . . .
2-32
STANDBY directive. . . . . . . . . . . . . . . .
2-33
Directive syntax . . . . . . . . . . . . . . . . .
2-33
Contents-5

Change 1
Directive parameter . . . . . . . . . . . . . . .
2-33
Example . . . . . . . . . . . . . . . . . . . . . . 2-33
STRESS Directive . . . . . . . . . . . . . . . . .
2-33
Directive syntax . . . . . . . . . . . . . . . . .
2-33
Example . . . . . . . . . . . . . . . . . . . .
2-33
AUTO-SCALE Directive.. . . . . . . . . . . . .
2-34
Directive syntax . . . . . . . . . . . . . . . . .
2-34
Example . . . . . . . . . . . . . . . . . . . .
2-34
SAVE DATA Directive . . . . . . . . . . . . . . .
2-34
Directive syntax . . . . . . . . . . . . . . . . .
2-34
Directive parameter . . . . . . . . . . . . . . .
2-34
Example . . . . . . . . . . . . . . . . . . . .
2-34
READ DATAVARIABLE Directive . . . . . . . . .
2-35
Directive syntax . . . . . . . . . . . . . . . . .
2-35
Directive parameter . . . . . . . . . . . . . . .
2-35
Example . . . . . . . . . . . . . . . . . . . .
2-35
DEFINE USER VARIABLE Directive . . . . . . . .
2-36
Directive syntax . . . . . . . . . . . . . . . . .
2-36
Directive parameter . . . . . . . . . . . . . . .
2-36
Example . . . . . . . . . . . . . . . . . . . .
2-36
PRINT/PLOT Directive . . . . . . . . . . . . . .
2-37
Directive syntax . . . . . . . . . . . . . . . . .
2-37
Example . . . . . . . . . . . . . . . . . . . .
2-37
CURVE PLOT Directive . . . . . . . . . . . . . .
2-37
Directive syntax . . . . . . . . . . . . . . . . .
2-37
Example . . . . . . . . . . . . . . . . . . . .
2-37
3. Getting Started on Programming the HP 4155A/4156A
Creating a Simple Measurement Program . . . . . . . .
3-3
Before Creating a Program . . . . . . . . . . . . .
3-4
Step 1. Getting the Setup File and Making a
Measurement . . . . . . . . . . . . . . . . .
3-4
Step 2. Changing the Sweep Setup Parameters . . . .
3-8
Step 3. Changing the Display Setup Parameters . . . .
3-10
Step 4. Saving All Measurement Results to a Diskette. .
3-12
Step 5. Printing the Measurement Results . . . . . .
3-14
Programming for Data Extraction . . . . . . . . . . .
3-16
Reading HP 4155/56 Setup Data . . . . . . . . . .
3-16
Reading HP 4155/56 Measurement Data . . . . . . .
3-17
Transferring Specic HP 4155/56 Data to a File . . . .
3-18
Complete Example Program for Vth Measurement. . . .
3-21
Contents-6

Change 1
Example Application Setup for Vth Measurement . . . .
3-23
4. HP 4155A/4156A SCPI Programming
SCPI Programming Basics . . . . . . . . . . . . . .
4-3
Preparation before Controlling the HP 4155A/56A via
HP-IB . . . . . . . . . . . . . . . . . . . .
4-4
SCPI Command Hierarchy . . . . . . . . . . . . .
4-5
To Control HP 4155A/56A by HP BASIC Programming
4-6
Example . . . . . . . . . . . . . . . . . . . .
4-7
Programming: Measurement Setup . . . . . . . . . .
4-8
To Set or Change HP 4155/56 Setup Data Values . . .
4-9
Example . . . . . . . . . . . . . . . . . . . .
4-10
To Read HP 4155/56 Setup Data Values . . . . . . .
4-11
Example . . . . . . . . . . . . . . . . . . . .
4-11
Programming: Measurement Execution . . . . . . . .
4-12
To Execute a Sweep or Sampling Measurement . . . .
4-13
Example . . . . . . . . . . . . . . . . . . . .
4-13
ToForce Stress . . . . . . . . . . . . . . . . . .
4-15
Example . . . . . . . . . . . . . . . . . . . .
4-15
To Start the Knob Sweep Function . . . . . . . . .
4-17
Example . . . . . . . . . . . . . . . . . . . .
4-17
To Control Standby Units . . . . . . . . . . . . .
4-18
Example . . . . . . . . . . . . . . . . . . . .
4-18
Programming: File Op eration . . . . . . . . . . . . .
4-20
To Store Setup Data to Diskette or Internal Memory . .
4-21
Example . . . . . . . . . . . . . . . . . . . .
4-21
To Store Measurement Data to Diskette or Internal
Memory . . . . . . . . . . . . . . . . . . . .
4-22
Example . . . . . . . . . . . . . . . . . . . .
4-22
To Load Setup Data from Diskette or Internal Memory .
4-23
Example . . . . . . . . . . . . . . . . . . . .
4-23
To Load Measurement Data from Diskette or Internal
Memory . . . . . . . . . . . . . . . . . . . .
4-24
Example . . . . . . . . . . . . . . . . . . . .
4-24
Programming: Data Transfer . . . . . . . . . . . . .
4-25
To Read HP 4155/56 Measurement Data . . . . . . .
4-26
Example . . . . . . . . . . . . . . . . . . . .
4-26
ToTransfer Data to HP 4155A/4156A (Using User
Variable) . . . . . . . . . . . . . . . . . . .
4-27
Example . . . . . . . . . . . . . . . . . . . .
4-28
Programming: Print/Plot Operation . . . . . . . . . .
4-31
Contents-7

Change 1
To Output Setup Data to Printer/Plotter . . . . . .
4-33
Example . . . . . . . . . . . . . . . . . . . . . . 4-34
To Output Graphics Result Data to Printer/Plotter . .
4-37
Example . . . . . . . . . . . . . . . . . . . .
4-37
To Output List Results Data to Printer/Plotter . . . .
4-40
Example . . . . . . . . . . . . . . . . . . . .
4-40
To Dump Screen Image to Printer/Plotter . . . . . .
4-43
Example . . . . . . . . . . . . . . . . . . . .
4-43
ToSave Hardcopy Image to Diskette . . . . . . . . .
4-46
Example . . . . . . . . . . . . . . . . . . . .
4-46
Other Programming Tips . . . . . . . . . . . . . . .
4-48
Disabling Instrument Screen Up date to Improve Sp eed .
4-48
Auto-loading of Files . . . . . . . . . . . . . . . .
4-49
Programming Example for HP 4145 Users . . . . . . .
4-50
5. Running HP 4145A/B Program Directly on HP 4155A/4156A
Non-supp orted Commands . . . . . . . . . . . . . .
5-3
Considerations ab out Dierences . . . . . . . . . . .
5-4
Spot Measurement. . . . . . . . . . . . . . . . .
5-4
Sweep Steps in Logarithmic Step Mo de . . . . . . . .
5-4
Terminator . . . . . . . . . . . . . . . . . . . .
5-5
6. Sample Application Programs
Flash EEPROM Test . . . . . . . . . . . . . . . .
6-3
Program Overview . . . . . . . . . . . . . . . . .
6-4
Stress lo op . . . . . . . . . . . . . . . . . . .
6-8
Vth meas . . . . . . . . . . . . . . . . . . .
6-9
Program Customization . . . . . . . . . . . . . .
6-10
Program Listing . . . . . . . . . . . . . . . . . .
6-14
Time Dep endent Dielectric Breakdown (TDDB) . . . . .
6-20
Application Overview . . . . . . . . . . . . . . .
6-20
Customization . . . . . . . . . . . . . . . . . .
6-21
Electromigration . . . . . . . . . . . . . . . . . .
6-22
Application Overview . . . . . . . . . . . . . . .
6-22
Customization . . . . . . . . . . . . . . . . . .
6-23
Contents-8

Change 1
7. Manual Changes Depending on ROM Version
Change 1 . . . . . . . . . . . . . . . . . . . . . .
7-3
Timing Considerations . . . . . . . . . . . . . . .
7-3
Data Length Considerations . . . . . . . . . . . .
7-6
Index
Contents-9

Figures
2-1. All IBASIC Screen . . . . . . . . . . . . . . . . . . . . 2-4
2-2. IBASIC Status Screen .... .. .. .. .. .. .. .. 2-6
6-1. Device Connection (NOR Type) . . . . . . . . . . . . . . 6-4
6-2. Device Connection (NAND Type) .... .. .. .. .. . 6-5
6-3. Device Connection ................... 6-20
6-4. Device Connection ................... 6-22
Tables
1-1. Branch and Repeat Keywords of IBASIC .......... 1-21
1-2. Corresponding HP 4145 ASP and HP 4155A/4156A K
eywords 1-48
2-1. Available I/O Interfaces and Select Code .......... 2-27
4-1. :PAGE Subsystem Commands for Measurement Setup . . . . 4-9
4-2. Corresponding HP 4145 ASP and HP 4155A/56A SCPI
Commands ..................... 4-51
6-1. Selector's State in Each Phase .............. 6-4
6-2. Selector's State in Each Phase .............. 6-5
Contents-10

1
Using HP Instrument
BASIC

Using HP Instrument BASIC
HP Instrument BASIC (IBASIC) is a system controller built into your
HP 4155A/4156A. By using IBASIC, you can run a program to control
the HP 4155A/4156A and other instruments (connected via interfaces of
HP 4155A/4156A) without using an external computer.
IBASIC is a subset of HP BASIC. Programs created by IBASIC can run on an
HP BASIC controller with little or no modication.
This chapter consists of the following ten sections.
The following six sections provide step-by-step instructions to operate
IBASIC by using examples.You can learn the basics of IBASIC programming
and operations. If you are not familiar with IBASIC, we recommend to read
through these sections rst.
Before Operating IBASIC
Creating and Executing a Simple IBASIC Program
Modifying Program by using Editor Functions
Saving and Getting a Program
Summary of Softkeys and Keyboard Operations for Editor
Other Basic Features of IBASIC
The following three sections are a task oriented reference for IB
ASIC. You can
quickly nd the desired IBASIC task.
IBASIC Basic Operation Tasks
IBASIC Editor Tasks
Control from External Computer
The following section introduces how to easily create a program by using the
typing aid softkeys in the IBASIC editor. This method of creating a program
is similar to using the ASP environment on the HP 4145A/B semiconductor
parameter analyzer.
Creating ASP-like IBASIC Programs
1-2

Before Operating IBASIC
HP 4155A/4156A provides the following three screen modes for operating
IBASIC.
\All IBASIC"
screen
Entire screen including softkeys is used for IBASIC, so no
instrument page is displayed.
You can execute programs, but no instrument page
appears in this mode.
\IBASIC Status"
screen
Softkeys and bottom two lines are used for IB
ASIC. Rest
of screen is for instrument page.
In this mode, you can start the IBASIC editor. The
displayed softkeys are for IBASIC operation. You can
execute IBASIC commands interactively. Characters you
type are displayed at the bottom of the screen.
\All Instrument"
screen
.This is regular instrument screen and the default display
mode at power on. Entire screen is for instrument page
,
and all softkeys are for interactive use of instrument. In
this mode, you
cannot
use the IBASIC editor. Only the
front-panel keys of IBASIC key group and
4
Ctrl
5
+
4
U
5
(Run)
and
4
Ctrl
5
+
4
P
5
(Pause) on external keyboard are available
to execute or pause program for HP Instrument B
ASIC
from this screen mode.
For details about HP Instrument BASIC screens, refer to \IBASIC Screen"in
Chapter 2.
1-3
Other manuals for 4155A
3
This manual suits for next models
1
Table of contents
Other HP Measuring Instrument manuals
Popular Measuring Instrument manuals by other brands

Oakley
Oakley XK3101 user manual

Trumeter
Trumeter Shunt Series quick start guide

ASSEMBLAD
ASSEMBLAD RPM 111 operating manual

DATREND Systems
DATREND Systems vPad-IV operating manual

Metretek
Metretek MTEK6000 Series user manual

S+S Regeltechnik
S+S Regeltechnik THERMASGARD RGTM1 Series Operating Instructions, Mounting & Installation

RaycoWylie
RaycoWylie i4000 Calibration instructions

Nibe
Nibe EMK 300 Installer manual

BASI
BASI BFM921 user manual

Endress+Hauser
Endress+Hauser Proline t-mass 65 operating instructions

Digital Video Broadcasting
Digital Video Broadcasting PROMAX CABLE RANGER Quick reference guide

koban
koban KTH 6503 manual