Keysight N432A Programming Manual page 76

Thermistor power meter
Hide thumbs Also See for N432A:
Table of Contents

Advertisement

1
N432A Remote Operation
Example
The following example program, in HP Basic, details how to use the channel and
display offsets on the N432A making a Channel A/A ratio measurement.
The final result is:
10 !Create I/O path name
20 ASSIGN @POWER TO 713
30 !Clear the N432A interface
40 CLEAR @POWER
50 !Set the N432A to a known state
60 OUTPUT @POWER;"*RST"
70 !Configure the N432A to make the measurement
80 OUTPUT @Power;"CONF:POW:AC:RAT 20DBM,2,(@1),(@1)"
90 !Set the measurement unit to dBm
100 OUTPUT @POWER;"UNIT:POW DBM"
110 !Set the N432A for a channel offset of -10 dB
120 OUTPUT @POWER;"SENS1:CORR:GAIN2 -10"
130 !Enable the gain correction
140 OUTPUT @POWER;"SENS1:CORR:GAIN2:STATe ON"
150 !Set the N432A for a display offset of -20 dB
160 OUTPUT @POWER;"CALC1:GAIN -20 DB"
170 PRINT "MAKING THE MEASUREMENT"
180 !Initiate the measurement
190 OUTPUT @Power;"INIT1:IMM"
200 ! ... and get the result
210 OUTPUT @Power;"FETC:POW:AC:RAT? 20DBM,2,(@1),(@1)"
220 ENTER @Power;Reading
230 !
240 PRINT "The measurement result is ";Reading;"dB."
250 END
76
A
10
dBm
- - - - - - - - - - - - - - - - - - - -
20
A
10
dBm
dB
Keysight N432A Programming Guide

Advertisement

Table of Contents
loading

Table of Contents