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 #117 background imageLoading...
Page #117 background image
Getting Started on Programming the HP 4155A/4156A
Creating a Simple Measurement Program
Step 5. Printing the Measurement Results
Printing from IBASIC
If you use built-in IBASIC controller to control HP 4155A/4156A, you do not need to prepare before
controlling HP 4155A/4156A because built-in IBASIC controller is always connected to HP 4155A/4156A
via internal HP-IB.
However,
to print/plot
from built-in IBASIC controller, set \
HP 4155A/56A is
" eld on the
SYSTEM: MISCELLANEOUS page to SYSTEM CONTROLLER.
In this step, add program lines that print the measurement results
.
1. Press
4
Display
5
key until screen display mode is All IBASIC mode.
2.
Select
NNNNNNNNNNNNNN
EDIT
softkey, then press
4
Enter
5
key to start the IBASIC editor
3. Move the cursor to the program line 70.
4.
Select
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
Insert line
primary softkey.
5. Insert the following program lines, which print a screen dump of the
results:
61 OUTPUT @Hp415x;":HCOP:SDUM"
62 DISP "Printing"
63 OUTPUT @Hp415x;"*OPC?"
64 ENTER @Hp415x;Complete
65 DISP "Done"
:HCOP
immediately initiates the plot or print according to the current
setup. After printing is nished, HP 4155A/56A returns
1
to the
Complete
variable, then \Done" is displayed on the screen.
Now the program is as follows:
3-14

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