EasyManuals Logo

HP 4155A Programmer's Guide

HP 4155A
241 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #60 background imageLoading...
Page #60 background image
Using HP Instrument BASIC
Creating ASP-like IBASIC Programs
Step 2. Executing the Program
To execute the program, exit editor, then press
4
Run
5
.
The HP 4155A/4156A gets the setup le from the diskette, performs
measurement, then saves setup and results to specied le on the diskette.
However, in All IBASIC mode, no graphics results are displayed. To display
results graphically, the display mode must be All Instrument mode or IBASIC
Status mode.
To execute the program and display the results graphically, change the
display mode to All Instrument or IBASIC Status mode, then press
4
Run
5
.
Step 3. Creating a Longer Program
In the program below, the left side is an ASP program example from the HP
4145B manual.
The right side shows a program that was created by using the typing aid
softkeys to enter the ASP-like commands (of the HP 4155A/4156A) that
correspond to the original ASP commands. These softkeys allow you to easily
create a program that runs on the HP 4155A/4156A and performs the same
operations as the original ASP program.
1 GET P ICBVBE 10 EXECUTE ("GETSETUP 'ICBVBE.PRO'")
2 SINGLE 20 EXECUTE ("SINGLE")
3 WAIT 3 30 WAIT 3
4 GET P HFE1 40 EXECUTE ("GETSETUP 'HFE1.PRO'")
5 SINGLE 50 EXECUTE ("SINGLE")
6 WAIT 3 60 WAIT 3
7 GET P VCESAT 70 EXECUTE ("GETSETUP 'VCESAT.PRO'")
8 SINGLE 80 EXECUTE ("SINGLE")
9 WAIT 3 90 WAIT 3
10 GET P COLR 100 EXECUTE ("GETSETUP 'COLR.PRO'")
11 SINGLE 110 EXECUTE ("SINGLE")
12 WAIT 3 120 WAIT 3
13 PAUSE 130 PAUSE
14 GET P NPN1 140 EXECUTE ("GETSETUP 'NPN1.PRO'")
1-43

Table of Contents

Other manuals for HP 4155A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 4155A and is the answer not in the manual?

HP 4155A Specifications

General IconGeneral
BrandHP
Model4155A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals