prog.book : chapter1.fm 23 Mon Feb 15 09:24:37 1999
Power Meter Remote Operation
Making Measurements
HP E4418B/E4419B Programming Guide 1-23
Example 3 - Specifying the Expected Power Parameter
The previous example details the three optional parameters which can be
used with the CONFigure and READ? commands. The first optional
parameter is used to enter an expected power value. Entering this
parameter is only relevant if you are using an HP E-series power sensor.
The value entered determines which of the power sensor’s two ranges is
used for the measurement. If the current setting of the power sensor’s
range is no longer valid for the new measurement, specifying the expected
power value decreases the time taken to obtain a result.
The following example uses the expected value parameter to specify a
value of -50 dBm. This selects the power meter’s lower range (refer to
“Range”, on page 1-47 for details of the range breaks). The resolution
parameter is defaulted, leaving it at its current setting. The source list
parameter specifies a channel B measurement. The measurement is
carried out on the upper window.
Using READ?
Some fine tuning of measurements can be carried out using the
CONFigure and READ? commands. For example, in the above program
segment some fine tuning can be carried out by setting the filter length to
1024 and the trigger delay off.
ABOR2
CONF1 -50,DEF,(@2)
SENS2:AVER:COUN 1024
TRIG2:DEL:AUTO OFF
READ1?
ABOR2 Aborts channel B
CONF1 -50,DEF,(@2) Configures the upper window to
make a channel B measurement
using an expected power of
-50 dBm and the current
resolution setting.
READ1? Takes the upper window’s
measurement.