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 #163 background imageLoading...
Page #163 background image
HP 4155A/4156A SCPI Programming
Programming: Print/Plot Operation
If you print/plot from built-in IBASIC, change display mode to All
Instrument or IBASIC Status by sending :DISPlay[:WINDow]:ALLocation
command.
4. Print/plot the setup data by sending
:HCOPy
command.
If you print/plot from an external computer, pass Active Controller
capability to HP 4155A/4156A after sending
:HCOPy
command because HP
4155A/4156A requires Active Controller capability to print.
Refer to the following example.
Example
The following two examples load a sweep setup le, then print setup data of
the MEASURE: SWEEP SETUP page:
Example 1.
From an external computer:
10 ASSIGN @Hp4155 TO 717
20 CONTROL 7,3;21
30 !
40 OUTPUT @Hp4155;"*RST"
50 OUTPUT @Hp4155;"*PCB 21"
60 !
70 OUTPUT @Hp4155;":MMEM:LOAD:STAT 0,'SWP.MES'"
80 OUTPUT @Hp4155;":HCOP:ITEM:PNUM:STAT OFF"
90 OUTPUT @Hp4155;":HCOP:ITEM:LAB:TEXT 'This is an example'"
100 OUTPUT @Hp4155;":HCOP:DEST RDEV"
110 OUTPUT @Hp4155;":HCOP:OPAG CURR"
120 !
130 OUTPUT @Hp4155;":PAGE:MEAS"
140 !
150 OUTPUT @Hp4155;":HCOP"
160 REPEAT
170 OUTPUT @Hp4155;"*ESR?"
180 ENTER @Hp4155;Event_status
190 UNTIL BIT(Event_status,1)
200 !
210 PASS CONTROL @Hp4155
220 DISP "Printing"
230 REPEAT
240 STATUS 7,6;Hpib_status
250 UNTIL BIT(Hpib_status,6)
260 DISP "Done"
270 END
4-34

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