prog.book : chapter1.fm 54 Mon Feb 15 09:24:37 1999
Power Meter Remote Operation
Setting Measurement Limits
1-54
HP E4418B/E4419B Programming Guide
Figure 1-6: Limits Checking Results
In this application a swept frequency signal is applied to the input of the
Device Under Test. The power meter measures the output power. The
limits have been set at +4 dBm and +10 dBm. A fail occurs each time the
output power is outside these limits. Use the
SENSe
subsystem to
configure the power meter for limits checking. The following example
program, in HP Basic, shows how to set the limits to +4 dBm and
+10 dBm.
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 !Set the measurement units to dBm
80 OUTPUT @Power;“UNIT:POWer DBM”
90 !Set the upper limit to 10 dBm
100 OUTPUT @Power;“SENSe:LIMit:UPPer 10”
110 !Set the lower limit to 4 dBm
120 OUTPUT @Power;“SENSe:LIMit:LOWer 4”
130 !Switch the limit checking on
140 OUTPUT @Power;“SENSe:LIMit:STATe ON”
150 !Check the limits
160 OUTPUT @Power;“SENSe:LIMit:UPPer?”
170 ENTER @Power;A
180 OUTPUT @Power;“SENSe:LIMit:LOWer?”
+4 dBm
+10 dBm
Amplitude
Frequency
o
o
o
o
o
o
o
Fail
Fail
Summary of Contents for E4418B
Page 25: ...prog book chapter1 fm 1 Mon Feb 15 09 24 37 1999 1 Power Meter Remote Operation ...
Page 138: ...prog book ch2meas fm 1 Mon Feb 15 09 24 37 1999 2 MEASurement Instructions ...
Page 200: ...prog book ch3calc fm 1 Mon Feb 15 09 24 37 1999 3 CALCulate Subsystem ...
Page 228: ...prog book ch4cal fm 1 Mon Feb 15 09 24 37 1999 4 CALibration Subsystem ...
Page 242: ...prog book ch5disp fm 1 Mon Feb 15 09 24 37 1999 5 DISPlay Subsystem ...
Page 260: ...prog book ch6form fm 1 Mon Feb 15 09 24 37 1999 6 FORMat Subsystem ...
Page 264: ...prog book ch7mem fm 1 Mon Feb 15 09 24 37 1999 7 MEMory Subsystem ...
Page 294: ...prog book ch8out fm 1 Mon Feb 15 09 24 37 1999 8 OUTput Subsystem ...
Page 302: ...prog book ch9sens fm 1 Mon Feb 15 09 24 37 1999 9 SENSe Subsystem ...
Page 360: ...prog book ch10stat fm 1 Mon Feb 15 09 24 37 1999 10 STATus Subsystem ...
Page 384: ...prog book ch11syst fm 1 Mon Feb 15 09 24 37 1999 11 SYSTem Subsystem ...
Page 420: ...prog book ch12trig fm 1 Mon Feb 15 09 24 37 1999 12 TRIGger Subsystem ...
Page 434: ...prog book ch13unit fm 1 Mon Feb 15 09 24 37 1999 13 UNIT Subsystem ...
Page 442: ...prog book ch14serv fm 1 Mon Feb 15 09 24 37 1999 14 SERVice Subsystem ...
Page 452: ...prog book ch15ieee fm 1 Mon Feb 15 09 24 37 1999 15 IEEE488 2 Command Reference ...
Page 481: ...prog book progIX doc 6 Mon Feb 15 09 24 37 1999 Index 6 HP E4418B E4419B Programming Guide ...