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 #165 background imageLoading...
Page #165 background image
HP 4155A/4156A SCPI Programming
Programming: Print/Plot Operation
Example 2.
From built-in IBASIC:
10 ASSIGN @Hp4155 TO 800
20 !
30 OUTPUT @Hp4155;"*RST"
40 !
50 OUTPUT @Hp4155;":MMEM:LOAD:STAT 0,'SWP.MES','DISK'"
60 OUTPUT @Hp4155;":HCOP:ITEM:PNUM:STAT OFF"
70 OUTPUT @Hp4155;":HCOP:ITEM:LAB:TEXT 'This is an example'"
80 OUTPUT @Hp4155;":HCOP:DEST RDEV"
90 OUTPUT @Hp4155;":HCOP:OPAG CURR"
100 !
110 OUTPUT @hp4155;":DISP:ALL INST"
110 OUTPUT @Hp4155;":PAGE:MEAS"
120 !
130 OUTPUT @Hp4155;":HCOP"
140 DISP "Printing"
150 OUTPUT @Hp4155;"*OPC?"
160 ENTER @Hp4155;Complete
170 DISP "Done"
180 !
190 END
Line Number Description
10 Assigns I/O path to control HP 4155A/4156A from built-in IBASIC
.
30 Resets HP 4155A/4156A
50 Loads measurement setup data from diskette le
SWP.MES
.
60 Species to not print the page number.
70 Denes a print/plot comment.
80 Selects HP-IB interface. If serial interface, change the parameter to ''SER''.
90 to 110 Species to print/plot the setup data of the MEASURE: SWEEP SETUP
page.
130 Starts printing.
150 and 160 Waits until printing is complete.
4-36

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