HP E4418B Programming Manual page 83

Power meters
Hide thumbs Also See for E4418B:
Table of Contents

Advertisement

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 20DBM,2,(@1)"
90 !Set the reference calibration factor for the sensor
100 OUTPUT @Power;"CAL:RCF 98.7PCT"
110 !Zero and calibrate the power meter
120 OUTPUT @Power;"CAL?"
130 PRINT "ZEROING AND CALIBRATING THE POWER METER"
140 !Verify the outcome
150 ENTER @Power;Success
160 IF Success=0 THEN
170
!Calibration cycle was successful
180
!
190
!Set the measurement units to Watts
200
OUTPUT @Power;"UNIT:POW WATT"
210
!
220
!Set the measurement calibration factor for the
sensor
230
OUTPUT @Power;"SENS:CORR:CFAC 97.5PCT"
240
!Set the power meter for a duty cycle of 16PCT
250
OUTPUT @Power;"SENS1:CORR:DCYC 16PCT"
260
!
270
!Enable the duty cycle correction
280
OUTPUT @Power;"SENS:CORR:DCYC:STAT ON
290
PRINT "MAKING THE MEASUREMENT"
300
!Initiate the measurement
310
OUTPUT @Power;"INIT1:IMM"
320
!... and get the result
330
OUTPUT @Power;"FETC?"
340
ENTER @Power;Reading
350
!
360
PRINT "The result is
370
!
380 ELSE
390
PRINT "THERE WAS A CALIBRATION ERROR!"
400 END IF
410 PRINT "PROGRAM COMPLETED"
420 END
HP E4418B/E4419B Programming Guide
Power Meter Remote Operation
Measuring Pulsed Signals
";Reading*1000;"mW"
1-59

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

E4419b

Table of Contents