EasyManuals Logo

HP E4418B Programming Guide

HP E4418B
481 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 #76 background imageLoading...
Page #76 background image
prog.book : chapter1.fm 52 Mon Feb 15 09:24:37 1999
Power Meter Remote Operation
Setting Offsets
1-52 HP E4418B/E4419B Programming Guide
Example
The following example program, in HP Basic, details how to use the
channel and display offsets on an HP E4419B making a channel A/B ratio
measurement. The final result will be:
10 !Create I/O path name
20 ASSIGN @POWER TO 713
30 !Clear the power meter’s interface
40 CLEAR @POWER
50 !Set the power meter to a known state
60 OUTPUT @POWER;"*RST"
70 !Configure the Power Meter to make the measurement
80 OUTPUT @Power;"CONF:POW:AC:RAT 20DBM,2,(@1),(@2)"
90 !Set the measurement units to dBm
100 OUTPUT @POWER;"UNIT:POW DBM"
110 !Set the power meter for channel offsets of -10 dB
120 OUTPUT @POWER;"SENS1:CORR:GAIN2 -10"
130 OUTPUT @POWER;"SENS2:CORR:GAIN2 -10"
140 !Enable the gain correction
150 OUTPUT @POWER;"SENS:CORR:GAIN2:STATe ON"
160 OUTPUT @POWER;"SENS2:CORR:GAIN2:STATe ON"
170 !Set the power meter for a display offset of -20 dB
180 OUTPUT @POWER;"CALC1:GAIN -20 DB"
190 PRINT "MAKING THE MEASUREMENT"
200 !Initiate the measurement
210 OUTPUT @Power;"INIT1:IMM"
220 OUTPUT @Power;"INIT2:IMM"
230 ! ... and get the result
240 OUTPUT @Power;"FETC:POW:AC:RAT? 20DBM,2,(@1),(@2)"
250 ENTER @Power;Reading
260 !
270 PRINT "The measurement result is ";Reading;"dB."
280 END
For further information on channel offsets refer to page 9-25 through
page 9-35.
For further information on display offsets refer to page 3-4.
A
dBm
10
B
dBm
10
---------------------------


20


dB

Table of Contents

Other manuals for HP E4418B

Questions and Answers:

Question and Answer IconNeed help?

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

HP E4418B Specifications

General IconGeneral
BrandHP
ModelE4418B
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals