All rights reserved. Reproduction, adaptation, or translation without prior
written permission is prohibited, except as allowed under the copyright
laws.
Printed in the UK.
iiEPM- P Series Power Meters Programming Guide
Page 3
Equipment Operation
Equipment Operation
Warnings and Cautions
This guide uses warnings and cautions to denote hazards.
WARNING A warning calls attention to a procedure, practice or the like,
which, if not correctly performed or adhered to, could result in
injury or the loss of life. Do not proceed beyond a warning until
the indicated conditions are fully understood and met.
Caution A caution calls attention to a procedure, practice or the like which,
if not correctly performed or adhered to, could result in damage to
or the destruction of part or all of the equipment. Do not proceed
beyond a caution until the indicated conditions are fully understood
and met.
Personal Safety Considerations
WARNING This is a Safety Class I product (provided with a protective
earthing ground incorporated in the power cord). The mains plug
shall only be inserted in a socket outlet provided with a
protective earth contact. Any interruption of the protective
conductor, inside or outside the instrument, is likely to make the
instrument dangerous. Intentional interruption is prohibited.
If this instrument is not used as specified, the protection
provided by the equipment could be impaired. This instrument
must be used in a normal condition (in which all means of
protection are intact) only.
No operator serviceable parts inside. Refer servicing to qualified
personnel. To prevent electrical shock, do not remove covers.
For continued protection against fire hazard, replace the line
fuse(s) only with fuses of the same type and rating (for example,
normal blow, time delay, etc.). The use of other fuses or material
is prohibited.
EPM- P Series Power Meters Programming Guideiii
Page 4
General Safety Considerations
General Safety Considerations
WARNING Before this instrument is switched on, make sure it has been
properly grounded through the protective conductor of the ac
power cable to a socket outlet provided with protective earth
contact.
Any interruption of the protective (grounding) conductor, inside
or outside the instrument, or disconnection of the protective
earth terminal can result in personal injury.
Caution Any adjustments or service procedures that require operation of the
instrument with protective covers removed should be performed
only by trained service personnel.
User Environment
The product is suitable for indoor use only.
ivEPM- P Series Power Meters Programming Guide
Page 5
About this Guide
About this Guide
Chapter 1: Power Meter Remote Operation
This chapter describes the parameters which configure the power meter
and helps you determine settings to optimize performance.
Chapter 2: MEASurement Instructions
This chapter explains how to use the MEASure group of instructions to
acquire data using a set of high level instructions.
Chapter 3: CALCulate Subsystem
This chapter explains how to use the CALCulate subsystem to perform post
acquisition data processing.
Chapter 4: CALibration Subsystem
This chapter explains how to use the CALibration command subsystem to
zero and calibrate the power meter.
Chapter 5: DISPlay Subsystem
This chapter explains how the DISPlay subsystem is used to control the the
selection and presentation of the windows used on the power meter’s
display.
Chapter 6: FORMat Subsystem
This chapter explains how the FORMat subsystem is used to set a data
format for transferring numeric information.
Chapter 7: MEMory Subsystem
This chapter explains how the MEMory command subsystem is used to
create, edit and review sensor calibration tables.
Chapter 8: OUTput Subsystem
This chapter explains how the OUTput command subsystem is used to
switch the POWER REF output on and off.
EPM- P Series Power Meters Programming Guidev
Page 6
About this Guide
Chapter 9: SENSe Subsystem
This chapter explains how the SENSe command subsystem directly affects
device specific settings used to make measurements.
Chapter 10: STATus Subsystem
This chapter explains how the STATus command subsystem enables you to
examine the status of the power meter by monitoring the “Device Status
Register”, “Operation Status Register” and the “Questionable Status
Register”.
Chapter 11: SYSTem Subsystem
This chapter explains how to use the SYSTem command subsystem to
return error numbers and messages from the power meter, preset the power
meter, set the GPIB address, set the command language and query the SCPI
version.
Chapter 12: TRACe Subsystem
This chapter explains how to use the TRACe command subsystem to
configure and read back the measured power trace.
Chapter 13: TRIGger Subsystem
This chapter explains how the TRIGger command subsystem is used
synchronize device actions with events.
Chapter 14: UNIT Subsystem
This chapter explains how to use the UNIT command subsystem to set the
power meter measurement units to Watts and % (linear), or dBm and dB
(logarithmic).
Chapter 15: SERVice Subsystem
This chapter explains how to use the SERVice command subsystem to
obtain and set information useful for servicing the power meter.
Chapter 16: IEEE488.2 Command Reference
This chapter contains information about the IEEE488.2 Common
Commands that the power meter supports.
viEPM- P Series Power Meters Programming Guide
Page 7
About this Guide
Appendix A
This appendix contains information about the calibration factor block
layout.
EPM- P Series Power Meters Programming Guidevii
Page 8
Related Publications
Related Publications
The EPM- P Series Power Meters User’s Guide is available on the CD- ROM
and in the following languages:
•English Language User’s Guide - Standard
•German Language User’s Guide - Option ABD
•Spanish Language User’s Guide - Option ABE
•French Language User’s Guide - Option ABF
•Italian Language User’s Guide - Option ABZ
•Japanese Language User’s Guide - Option ABJ
Useful information on SCPI (Standard Commands for Programmable
Instruments) can be found in:
•A Beginner’s Guide to SCPI, which is available by ordering
Agilent Part Number 5010- 7166.
•The SCPI reference manuals which are available from:
SCPI Consortium,
8380 Hercules Drive, Suite P3,
La Mesa, CA 91942, USA.
Telephone: 619- 697- 4301
11- 1A Trace Display Of The Active Timeslots ...................................11- 42
EPM- P Series Power Meters Programming GuideContents- 1
Page 24
Contents- 2EPM- P Series Power Meters Programming Guide
Page 25
1
Power Meter Remote Operation
Page 26
Power Meter Remote Operation
Introduction
Introduction
This chapter describes the parameters which configure the power meter
and help you determine settings to optimize performance. It contains the
following sections:
“Configuring the Remote Interface”, on page 1- 3.
“Zeroing and Calibrating the Power Meter”, on page 1- 5.
“Making Measurements”, on page 1- 8.
“Making Measurements on Wireless Communication Standards”, on
page 1- 24
“Using Sensor Calibration Tables”, on page 1- 41.
“Using Frequency Dependent Offset Tables”, on page 1- 51
“Setting the Range, Resolution and Averaging”, on page 1- 58.
“Setting Offsets”, on page 1- 62.
“Setting Measurement Limits”, on page 1- 64.
“Measuring Pulsed Signals”, on page 1- 68.
“END”, on page 1- 70.
“Getting the Best Speed Performance”, on page 1- 71.
“How Measurements are Calculated”, on page 1- 75.
“Status Reporting”, on page 1- 76.
“Saving and Recalling Power Meter Configurations”, on page 1- 96.
“Using Device Clear to Halt Measurements”, on page 1- 97.
“An Introduction to the SCPI Language”, on page 1- 98.
“Summary Of Commands”, on page 1- 107.
“SCPI Compliance Information”, on page 1- 120.
1- 2EPM- P Series Power Meters Programming Guide
Page 27
Power Meter Remote Operation
Configuring the Remote Interface
Configuring the Remote Interface
This section describes how to configure the GPIB, RS232 and RS422 remote
interfaces.
Interface election
You can choose to control the power meter remotely using either the GPIB,
RS232 or RS422 standard interfaces.
For information on selecting the remote interface manually from the front
panel, refer to the EPM- P Series Power Meters User’s Guide.
To select the interface remotely use the:
• SYSTem:RINTerface command
To query the current remote interface selection use the:
• SYSTem:RINTerface? command
GPIB Address
Each device on the GPIB (IEEE- 488) interface must have a unique address.
You can set the power meter’s address to any value between 0 and 30. The
address is set to 13 when the power meter is shipped from the factory.
The address is stored in non- volatile memory, and does not change when
the power meter is switched off, or after a remote interface reset.
Your GPIB bus controller has its own address. Avoid using the bus
controller’s address for any instrument on the interface bus.
Hewlett- Packard controllers generally use address 21.
For information on setting the GPIB address manually from the front panel,
refer to the EPM- P Series Power Meters User’s Guide.
To set the GPIB address from the remote interface use the:
• SYSTem:COMMunicate:GPIB:ADDRess command.
To query the GPIB address from the remote interface use the;
• SYSTem:COMMunicate:GPIB:ADDRess? query.
EPM- P Series Power Meters Programming Guide1- 3
Page 28
Power Meter Remote Operation
Configuring the Remote Interface
RS232/RS422 Configuration
The RS232/RS422 serial port on the rear panel is a nine pin D- type
connector configured as a DTE (Data Terminal Equipment). For pin- out
information and cable length restrictions refer to the EPM- P Series Power Meters User’s Guide.
You can set the baud rate, word length, parity, number of stop bits, software
and hardware pacing, either remotely or from the front panel. For front
panel operation refer to the EPM- P Series Power Meter User’s Guide. For
remote operation use the following commands:
This section describes how to zero and calibrate the power meter.
The calibration and zeroing commands are overlapped commands refer to
“Using the Operation Complete Commands”, on page 1- 94 to determine
when the commands are complete.
Zeroing
Zeroing adjusts the power meter’s specified channel for a zero power
reading with no power applied to the power sensor.
The command used to zero the power meter is:
CALibration[1|2]:ZERO:AUTO ONCE
The command assumes that there is no power being applied to the sensor. It
turns the power reference oscillator off, then after zeroing, returns the
power reference oscillator to the same state it was in prior to the command
being received.
When to Zero?
Zeroing of the power meter is recommended:
0
•when a 5
•when you change the power sensor.
•every 24 hours.
• prior to measuring low level signals. For example, 10 dB above the lowest
specified power for your power sensor.
C change in temperature occurs.
Calibration
Calibration sets the gain of the power meter using a 50 MHz 1 mW calibrator
as a traceable power reference. The power meter’s POWER REF output or a
suitable external reference is used as the signal source for calibration. An
essential part of calibrating is setting the correct reference calibration
factor for the power sensor you are using. The 8480 series power sensors
require you to set the reference calibration factor. All E- series power
sensors set the reference calibration factor automatically. Offset, relative
and duty cycle settings are ignored during calibration.
EPM- P Series Power Meters Programming Guide1- 5
Page 30
Power Meter Remote Operation
Zeroing and Calibrating the Power Meter
The command used to calibrate the power meter is:
CALibration[1|2]:AUTO ONCE
The command assumes that the power sensor is connected to a 1 mW
reference signal. It turns the power reference oscillator on, then after
calibrating, returns the power reference oscillator to the same state it was
in prior to the command being received. It is recommended that you zero
the power meter before calibrating.
Calibration Sequence
This feature allows you to perform a complete calibration sequence with a
single query. The query is:
CALibration[1|2][:ALL]?
The query assumes that the power sensor is connected to the power
reference oscillator. It turns the power reference oscillator on, then after
calibrating, returns the power reference oscillator to the same state it was
in prior to the command being received. The calibration sequence consists
of:
• Zeroing the power meter (CALibration[1|2]:ZERO:AUTO ONCE), and
• calibrating the power meter (CALibration[1|2]:AUTO ONCE).
The query enters a number into the output buffer when the sequence is
complete. If the result is 0 the sequence was successful. If the result is 1 the
sequence failed. Refer to CALibration[1]|2[:ALL]? on page 4- 5 for
further information.
Note The CALibration[1|2][:ALL] command is identical to the
CALibration[1|2][:ALL]? query except that no number is returned
to indicate the outcome of the sequence. You can examine the
Questionable Status Register or the error queue to discover if the
sequence has passed or failed. Refer to “Status Reporting”, on page 1- 76
for further information.
1- 6EPM- P Series Power Meters Programming Guide
Page 31
Power Meter Remote Operation
Zeroing and Calibrating the Power Meter
Setting the Reference Calibration Factor
All the 8480 series power sensors require you to set the reference
calibration factor. The reference calibration factor can be set by:
• entering the value into the power meter using the
CALibrate[1|2]:RCFactor command.
• selecting and enabling the sensor calibration table. The reference
calibration factor is automatically set by the power meter using the
reference calibration factor stored in the sensor calibration table. See
“Using Sensor Calibration Tables”, on page 1- 41 for further information.
Examples
a) To enter a reference calibration factor of 98.7% for channel A, you
should use the following command:
CAL:RCF 98.7PCT
This overrides any RCF previously set by selecting a sensor
calibration table.
b) To automatically set the reference calibration factor, you have to use
a sensor calibration table as described in “Using Sensor Calibration
Tables”, on page 1- 41. To select and enable the table use the
When the sensor calibration table is selected the RCF from the table
overrides any value previously set.
Querying the Reference Calibration Factor
To determine the current reference calibration factor, use the following
command:
CALibration[1|2]:RCFactor?
EPM- P Series Power Meters Programming Guide1- 7
Page 32
Power Meter Remote Operation
Making Measurements
Making Measurements
The MEASure? and CONFigure commands provide the most
straight- forward method to program the power meter for measurements.
You can select the measurement’s expected power level, resolution and with
the E4417A the measurement type (that is single channel, difference or
ratio measurements) all in one command. The power meter automatically
presets other measurement parameters to default values as shown in
Table 1- 1.
Table 1- 1: MEASure? and CONFigure Preset States
Command
Trigger source
(TRIGger:SOURce)
Filter
(SENSe:AVERage:COUNt:AUTO)
Filter state
(SENSe:AVERage:STATe)Trigger cycle
(INITiate:CONTinuous)
Trigger Delay
(TRIGger:DELay:AUTO)
An alternative method to program the power meter is to use the lower level
commands. The advantage of using the lower level commands over the
CONFigure command is that they give you more precise control of the
power meter. As shown in Table 1- 1 the CONFigure command presets
various states in the power meter. It may be likely that you do not want to
preset these states. Refer to “Using the Lower Level Commands”, on
page 1- 23 for further information.
MEASure? and CONFigure
Setting
Immediate
On
On
Off
On
1- 8EPM- P Series Power Meters Programming Guide
Page 33
Power Meter Remote Operation
MEAS1?
specifies window
MEAS2?
Making Measurements
Using MEASure?
The simplest way to program the power meter for measurements is by using
the MEASure? query. However, this command does not offer much
flexibility. When you execute the command, the power meter selects the best
settings for the requested configuration and immediately performs the
measurement. You cannot change any settings (other than the expected
power value, resolution and with the E4417A the measurement type) before
the measurement is taken. This means you cannot fine tune the
measurement, for example, you cannot change the filter length. To make
more flexible and accurate measurements use the CONFIGure command.
The measurement results are sent to the output buffer. MEASure? is a
compound command which is equivalent to an ABORT, followed by a
CONFigure, followed by a READ?.
MEASure? Examples
The following commands show a few examples of how to use the MEASure?
query to make a measurement. It is advisable to read through these
examples in order as they become increasingly more detailed. These
examples configure the power meter for a measurement (as described in
each individual example), automatically place the power meter in the
“wait- for- trigger” state, internally trigger the power meter to take one
reading, and then sends the reading to the output buffer.
These examples give an overview of the MEASure? query. For further
information on the MEASure? commands refer to the section “Running H/F
2” starting on page 2- 55.
Example 1 - The Simplest Method
The following commands show the simplest method of making single
channel (for example A or B) measurements. Using MEAS1? will result in an
upper window measurement, and MEAS2? in a lower window measurement.
The channel associated with the window can be set using the source list
parameter (see example 2), or will default as in this example (See also
page 1- 12).
EPM- P Series Power Meters Programming Guide1- 9
Page 34
Power Meter Remote Operation
MEAS1? DEF,DEF,(@1)
specifies windowspecifies channel
MEAS2? -50,DEF,(@2)
specifies windowspecifies channel
specifies expected power value
Making Measurements
Example 2 - Specifying the Source List Parameter
The MEASure command has three optional parameters, an expected power
value, a resolution and a source list. These parameters must be entered in
the specified order. If parameters are omitted, they will default from the
right. The parameter DEFault is used as a place holder.
The following example uses the source list parameter to specify the
measurement channel as channel A. The expected power and resolution
parameters are defaulted, leaving them at their current settings. The
measurement is carried out on the upper window.
The operation of the MEAS1? command when the source list parameter is
defaulted is described in the note on page 1- 12.
Note For the E4416A it is not necessary to specify a channel as only one
channel is available.
Example 3 - Specifying the Expected Power Parameter
The previous example details the three optional parameters which can be
used with the MEASure? command. The first optional parameter is used to
enter an expected power value. Entering this parameter is only relevant if
you are using an 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 sensor’s lower range (refer to “Range”,
on page 1- 58 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 displayed on the
lower window.
1- 10EPM- P Series Power Meters Programming Guide
Page 35
Power Meter Remote Operation
MEAS1? DEF,3
specifies window
specifies resolution setting
MEAS2:POW:AC:DIFF? DEF,DEF,(@2),(@1)
specifies window
specifies between which channels
the difference is calculated
Channel B - A
Making Measurements
Example 4 - Specifying the Resolution Parameter
The previous examples detailed the use of the expected value and source list
parameters. The resolution parameter is used to set the resolution of the
specified window. This parameter does not affect the resolution of the GPIB
data, however it does affect the auto averaging setting (refer to Figure 1- 3
on page 1- 60).
Since the filter length used for a channel with auto- averaging enabled is
dependent on the window resolution setting, a conflict arises when a given
channel is set up in both windows and the resolution settings are different.
In this case, the higher resolution setting is used to determine the filter
length.
The following example uses the resolution parameter to specify a resolution
setting of 3. This setting represents 3 significant digits if the measurement
suffix is W or %, and 0.01 dB if the suffix is dB or dBm. Refer to Chapter 2,
“Measurement Commands” for further details on the resolution parameter.
The expected power and source list parameters are defaulted in the
example. The expected power value will be left unchanged at its current
setting. The source list parameter will be defaulted as described in the note
on page 1- 12. Note that as the source list parameter is the last specified
parameter you do not have to specify DEF. The measurement is carried out
on the upper window.
Example 5 - Making a Difference Measurement
The following command can only be carried out on the HP EPM- 442A. It
queries the lower window to make a difference measurement of
channel B - channel A. The expected power and resolution parameters are
defaulted, leaving them at their current settings.
EPM- P Series Power Meters Programming Guide1- 11
Page 36
Power Meter Remote Operation
MEAS1:POW:AC:RAT? DEF,DEF,(@1),(@2)
specifies window
specifies the relationship of the
channels in the ratio
Channel A / B
Making Measurements
Example 6 - Making a Ratio Measurement
The following command can only be carried out on the E4417A. It queries
the upper window to make a ratio measurement of channel A/B. The
expected power and resolution parameters are defaulted, leaving them at
their current settings.
Note E4417A only.
The operation of the MEASure? command when the source list parameter is
defaulted depends on the current setup of the window concerned (for
example, A, B, A/B, A- B etc.) and on the particular command used (for
example, MEAS[:POW][:AC]? an d MEAS:POW:AC:RAT?).
MEAS1[:POW][AC]?Upper Window: AA
MEAS2[:POW][AC]?Lower Window: AA
MEAS1:POW:AC:RATUpper Window: A/BA/B
This means that when the source list parameter is defaulted, there are a
number of possibilities.
CommandCurrent Window SetupMeasurement
BB
Any OtherA
BB
Any OtherB
B/AB/A
1- 12EPM- P Series Power Meters Programming Guide
Any OtherA/B
Page 37
Power Meter Remote Operation
Making Measurements
CommandCurrent Window SetupMeasurement
MEAS2:POW:AC:RATLower Window: A/B
B/A
Any Other
MEAS1:POW:AC:DIFF?Upper Window:A- B
B- A
Any Other
MEAS2:POW:AC:DIFF?Lower Window: A- B
B- A
Any Other
A/B
B/A
A/B
A- B
B- A
A- B
A- B
B- A
A- B
EPM- P Series Power Meters Programming Guide1- 13
Page 38
Power Meter Remote Operation
Making Measurements
Using the CONFigure Command
When you execute this command, the power meter presets the best settings
for the requested configuration (like the MEASure? query). However, the
measurement is not automatically started and you can change measurement
parameters before making measurements. This allows you to incrementally
change the power meter’s configuration from the preset conditions. The
power meter offers a variety of low- level commands in the SENSe,
CALCulate, and TRIGger subsystems. For example, if you want to change
the averaging use the [SENSe[1]]|SENSe2:AVERage:COUNt command.
Use the INITiate or READ? query to initiate the measurement.
Using READ?
CONFigure does not take the measurement. One method of obtaining a
result is to use the READ? query. The READ? query takes the measurement
using the parameters set by the CONFigure command then sends the
reading to the output buffer. Using the READ? query will obtain new data.
Using INITiate and FETCh?
CONFigure does not take the measurement. One method of obtaining the
result is to use the INITiate and FETCh? commands. The INITiate command causes the measurement to be taken. The FETCh? query retrieves
a reading when the measurement is complete, and sends the reading to the
output buffer. FETCh? can be used to display the measurement results in a
number of different formats (for example, A/B and B/A) without taking
fresh data for each measurement.
CONFigure Examples
The following program segments show how to use the READ? command and
the INITiate and FETCh? commands with CONFigure to make
measurements.
It is advisable to read through these examples in order as they become
increasingly more detailed.
These examples give an overview of the CONFigure command. For further
information on the CONFigure commands refer to Chapter 2,
“Measurement Commands”.
1- 14EPM- P Series Power Meters Programming Guide
Page 39
Power Meter Remote Operation
Making Measurements
Example 1 - The Simplest Method
The following program segments show the simplest method of querying the
upper and lower window’s measurement results respectively.
Using READ?
*RSTReset instrument
CONF1Con fi gu re u ppe r w in d o w - d e f a u lt s t o a ch ann e l A
measurement
READ1?Take upper window (channel A) measurement
*RSTReset instrument
CONF2Configure the lower window - defaults to channel A
(E4416A), Channel B (E4417A) measurement
READ2?Take lower window measurement (channel A on
E4416A, B on E4417A)
Using INITiate and FE TCh?
*RSTReset instrument
CONF1Configure upper window - defaults to a channel A
measurement
INIT1Causes channel A to make a measurement
FETC1?Retrieves the upper window’s measurement
For the E4416A only:
*RSTReset instrument
CONF2Configure lower window - E4416A defaults to
channel A
INIT1?Causes channel A to make measurement
FETC2?Retrieves the lower window’s measurement
For the E4417 A only:
*RSTReset instrument
CONF2Configure lower window
INIT2?Causes channel B to make measurement
FETC2?Retrieves the lower window’s measurement
EPM- P Series Power Meters Programming Guide1- 15
Page 40
Power Meter Remote Operation
Making Measurements
Example 2 - Specifying the Source List Parameter
The CONFigure and READ? commands have three optional parameters, an
expected power value, a resolution and a source list. These parameters must
be entered in the specified order. If parameters are omitted, they will
default from the right. The parameter DEFault is used as a place holder.
The following examples use the source list parameter to specify the
measurement channel as channel A. The expected power and resolution
parameters are defaulted, leaving them at their current settings. The
measurement is carried out on the upper window.
Although the READ? and FETCh? queries have three optional parameters it
is not necessary to define them as shown in these examples. If they are
defined they must be identical to those defined in the CONFigure command
otherwise an error occurs.
Note For the HP EPM- 441A it is not necessary to specify a channel as only
one channel is available.
Using READ?
ABOR1Aborts channel A
CONF1 DEF,DEF,(@1)Configures the upper window to
make a channel A measurement
using the current expected power
and resolution settings.
READ1?Takes the upper window’s
measurement.
Using INITiate and FE TCh?
ABOR1Aborts channel A
CONF1 DEF,DEF,(@1)Configures the upper window to
make a channel A measurement
using the current expected power
and resolution settings.
INIT1Causes channel A to make a
measurement.
FETC1?Retrieves the upper window’s
measurement.
1- 16EPM- P Series Power Meters Programming Guide
Page 41
Power Meter Remote Operation
Making Measurements
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 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- 58 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?
ABOR2Aborts 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.
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?
EPM- P Series Power Meters Programming Guide1- 17
Page 42
Power Meter Remote Operation
Making Measurements
Using INITiate and FE TCh?
ABOR2Aborts 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.
INIT2Causes channel B to make a
measurement.
FETC1?Retrieves the upper window’s
measurement.
Some fine tuning of measurements can be carried out using the CONFigure
command and INITiate and FETCh? 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
INIT2
FETC1?
1- 18EPM- P Series Power Meters Programming Guide
Page 43
Power Meter Remote Operation
Making Measurements
Example 4 - Specifying the Resolution Parameter
The previous examples detailed the use of the expected value and source list
parameters. The resolution parameter is used to set the resolution of the
specified window. This parameter does not affect the resolution of the GPIB
data, however it does affect the auto averaging setting (refer to Figure 1- 3
on page 1- 60).
Since the filter length used for a channel with auto- averaging enabled is
dependent on the window resolution setting, a conflict arises when a given
channel is set up in both windows and the resolution settings are different.
In this case, the higher resolution setting is used to determine the filter
length.
The following example uses the resolution parameter to specify a resolution
setting of 3. This setting represents 3 significant digits if the measurement
suffix is W or %, and 0.01 dB if the suffix is dB or dBm (for further details
on the resolution parameter refer to the commands in Chapter 2,
“Measurement Commands”). Also, in this example the expected power and
source list parameters are defaulted. The expected power value will be left
unchanged at its current setting. The source list parameter will be defaulted
as described in the note on page 1- 12. Note that as the source list parameter
is the last specified parameter you do not have to specify DEF.
Using READ?
ABOR1Aborts channel A.
CONF1 DEF,3Configures the upper window to make a
measurement using the current setting of the
expected power and source list and a resolution
setting of 3.
READ1?Takes the upper window’s measurement. This will
be a channel A or B measurement depending on
current window setup
Some fine tuning of the above program segment can be carried out for
example, by setting the trigger delay off. The following program segment
assumes that channel A is currently being measured on the upper window.
ABOR1
CONF1 DEF,3
TRIG1:DEL:AUTO OFF
READ1?
EPM- P Series Power Meters Programming Guide1- 19
Page 44
Power Meter Remote Operation
Making Measurements
Using INITiate and FE TCh?
The following program segment assumes that channel A is currently being
measured on the upper window.
ABOR1Aborts channel A.
CONF1 DEF,3Configures the upper window to
make a measurement using the
current setting of the expected
power and source list and a
resolution setting of 3.
INIT1Causes channel A to make a
measurement.
FETC1?Retrieves the upper window’s
measurement.
Some fine tuning of the above program segment can be carried out for
example, by setting the trigger delay off.
ABOR1
CONF1 DEF,3
TRIG1:DEL:AUTO OFF
INIT1:IMM
FETC1?
1- 20EPM- P Series Power Meters Programming Guide
Page 45
Power Meter Remote Operation
Making Measurements
Example 5 - Making a Difference Measurement
The following program segment can be carried out on the HP EPM- 442A. It
queries the lower window to make a difference measurement of
channel A - channel B. The expected power level and resolution parameters
are defaulted, leaving them at their current settings. Some fine tuning of the
measurement is carried out by setting the averaging, and the trigger delay to
off.
Using READ?
ABOR1
ABOR2
CONF2:POW:AC:DIFF DEF,DEF,(@1),(@2)
SENS1:AVER:COUN 1024
SENS2:AVER:COUN 1024
TRIG1:DEL:AUTO OFF
TRIG2:DEL:AUTO OFF
READ2:POW:AC:DIFF?
READ2:POW:AC:DIFF? DEF,DEF,(@2),(@1)(A secondREAD? query is
sent to make a channel B - channel A measurement using fresh
measurement data.)
Using INITiate and FE TCh?
ABOR1
ABOR2
CONF2:POW:AC:DIFF DEF,DEF,(@1),(@2)
SENS1:AVER:COUN 1024
SENS2:AVER:COUN 1024
TRIG1:DEL:AUTO OFF
TRIG2:DEL:AUTO OFF
INIT1:IMM
INIT2:IMM
FETC2:POW:AC:DIFF?
FETC2:POW:AC:DIFF? DEF,DEF,(@2),(@1) (A second FETCh? query
is sent to make a channel B - channel A measurement using the current
measurement data.)
EPM- P Series Power Meters Programming Guide1- 21
Page 46
Power Meter Remote Operation
Making Measurements
Example 6 - Making a Ratio Measurement
The following program segment can be carried out on the HP EPM- 442A. It
queries the lower window to make a ratio measurement of channel A/B. The
expected power level and resolution parameters are defaulted, leaving them
at their current settings. Some fine tuning of the measurement is carried out
by setting the averaging.
FETC2:POW:AC:RAT? DEF,DEF,(@2),(@1) (A second FETCh? query is
sent to make a channel B - channel A measurement using the current
measurement data.)
1- 22EPM- P Series Power Meters Programming Guide
Page 47
Power Meter Remote Operation
Making Measurements
Using the Lower Level Commands
An alternative method of making measurements is to use the lower level
commands to set up the expected range and resolution. This can be done
using the following commands:
The advantage of using the lower level commands over the CONFigure
command is that they give you more precise control of the power meter. As
shown in Table 1- 1 on page 1- 8 the CONFigure command presets various
states in the power meter. It may be likely that you do not want to preset
these states.
Example
The following example sets the expected power value to - 50 dBm and the
resolution setting to 3 using the lower level commands. The measurement is
a single channel A measurement carried out on the lower window.
ABOR1Aborts channel A.
CALC2:MATH:EXPR "(SENS1)"Displays channel A on lower
window.
SENS1:POW:AC:RANG 0Sets lower range (E- series sensors
only).
DISP:WIND2:RES 3Sets the lower window’s resolution
to setting 3.
INIT1Causes channel A to make a
measurement.
FETC2?Retrieves the lower window’s
measurement.
EPM- P Series Power Meters Programming Guide1- 23
Page 48
Power Meter Remote Operation
Making Measurements on Wireless Communication Standards
Making Measurements on Wireless Communication
Standards
The following sections describe typical measurements you may want to
make. They are also described, for front panel operation, in the User’s
Guide.
Measuring GSM
The following shows you how to measure the average power in a GSM RF
burst. Triggering is achieved using the rising edge of the burst. The ‘useful’
part of the GSM burst lasts for 542.8ms with a rise time of 28ms. As the
power meter triggers during the rising power transition, the measurement
gate is configured to measure the average power in a 520 ms period, 20 ms
after triggering. The trigger is configured for the a power level of - 20 dBm
on a rising edge. A trigger hold off is also setup for 4275 ms, disabling the
trigger for 7.5 GSM time slots, ensuring the same time slot is measured at
the next GSM frame. The single numeric window is configured to display the
average power in gate 1. The trace window is configured to show the RF
burst from 20 ms ahead of the trigger for a duration of 700 ms.
Note The E9321A and E9325A sensors are best suited as they have the
optimum dynamic range and low- level stability in the 300 kHz
bandwidth.
*CLSClears error queue
*RSTResets meter settings to
their default states
:SYST:ERR? <read string>The system error query
should return “0: No Error”
SERV:SENS:TYPE?The sensor type query
should return one of the
following:
E9321A|E9322A|E9323A|
E9325A|E9326A|E9327A
The GSM setup is only valid
with these sensors
1- 24EPM- P Series Power Meters Programming Guide
Page 49
Power Meter Remote Operation
Making Measurements on Wireless Communication Standards
SENS:FREQ 900MHZSets the measurement
frequency to 900 MHz
SENS:BW:VID HIGHOnly send this command if
using an E9321A or E9325A
SENS:BW:VID LOWOnly send this command if
using an E9323A or E9327A
SENS:SWE1:OFFS:TIME 0.00002Sets gate1 start point to
20 ms after the trigger
SENS:SWE1:TIME 0.00052Sets gate1 length to 520 ms
INIT:CONT ONPuts meter in “wait for
SENS:TRAC:OFFS:TIME -0.00004Trace starts 40 ms before
trigger point
SENS:TRAC:TIME 0.0007Trace span set to 700 ms
DISP:WIND1:FORM TRACEAssigns upper window to a
trace display
DISP:WIND2:FORM SNUMAssigns lower window to a
single numeric display
CALC2:FEED1 “POW:AVER ON SWEEP1” Lower window to show
average power using timing
defined by gate1
EPM- P Series Power Meters Programming Guide1- 25
Page 50
Power Meter Remote Operation
Making Measurements on Wireless Communication Standards
Measuring EDGE
Enhanced Data for Global Evolution or Enhanced Data for GSM Evolution is
an enhancement of the GSM standard. The modulation scheme is 8PSK. As
Edge does not have constant amplitude GMSK modulation like GSM,
peak- to- average ratio may be of interest.
The following procedure shows you how to measure the average power in a
GSM RF burst. Triggering is achieved using the rising edge of the burst. The
‘useful’ part of the GSM burst lasts for 542.8 ms with a rise time of 28 ms.
Also, trigger hysteresis is included to prevent small power transitions
during the burst causing re- triggering. As the power meter triggers during
the rising power transition, the measurement gate is configured to measure
the average power in a 520 ms period, 20 ms after triggering. The display is
configured to show the peak and peak- to- average results in the lower
window in numeric format while the upper window shows the power trace
starting 40 ms before the trigger.
Note The E9321A and E9325A sensors are best suited as they have the
optimum dynamic range and low- level stability in the 300 kHz
bandwidth.
*CLSClears error queue
*RSTResets meter settings to
their default states
:SYST:ERR? <read string>The system error query
should return “0: No Error”
SERV:SENS:TYPE?The sensor type query
should return one of the
following:
E9321A|E9322A|E9323A|
E9325A|E9326A|E9327A
The EDGE setup is only
valid with these sensors
SENS:FREQ 900MHZSets the measurement
frequency to 900 MHz
SENS:BW:VID HIGHOnly send this command if
using an E9321A or E9325A
1- 26EPM- P Series Power Meters Programming Guide
Page 51
Power Meter Remote Operation
Making Measurements on Wireless Communication Standards
SENS:BW:VID LOWOnly send this command if
using an E9323A or E9327A
SENS:SWE1:OFFS:TIME 0.00002Sets gate1 start point to
20 ms after the trigger
SENS:SWE1:TIME 0.00052Sets gate1 length to 520 ms
INIT:CONT ONPuts meter in “wait for
trigger” state
TRIG:SOUR INTSelects internal trigger
TRIG:LEV:AUTO OFFTurn off auto leveling for
SENS:TRAC:OFFS:TIME -0.00004Trace starts 40 ms before
trigger point
SENS:TRAC:TIME 0.0007Trace span set to 700 ms
DISP:WIND1:FORM TRACEAssigns upper window to a
trace display
DISP:WIND2:FORM DNUMAssigns lower window to a
dual numeric display
CALC2:FEED1 “POW:AVER ON SWEEP1” Lower window upper
display line to show
average power using timing
defined by gate1
EPM- P Series Power Meters Programming Guide1- 27
Page 52
Power Meter Remote Operation
012012
IS- 136 full rate frame
Making Measurements on Wireless Communication Standards
CALC4:FEED1 “POW:PTAV ON SWEEP1” Lower window lower
display line to show
peak- to- average ratio
using timing defined by
gate1
Measuring NADC
The following procedure shows you how to measure the average power of
both active time slots in NADC or IS- 136 ‘full rate’ transmission. This
assumes that there are two time slots in each frame to be measured, for
example, time slots 0.
Triggering is achieved using the rising edge of the burst. The measurement
gates are configured to measure the average power in two NADC time slots,
separated by two inactive time slots. The rise time of an NADC TDMA burst
is approximately 123.5 ms (6bits) and the ‘useful’ part of the burst lasts
approximately 6.4 ms. Gate 1 is configured to measure the average power in
a 6.4ms period, 123.5 ms after triggering. Gate 2 is configured to measure
the average power in a 6.4ms period, 20.123 ms (3 time slots plus rise times)
after triggering.
The display is configured to show the Gate 1 and Gate 2 average results in
the lower window in numeric format, while the upper window shows the
power trace starting 2 ms before the trigger.
Note The narrow bandwidth of the NADC signal requires only the 30 kHz
bandwidth of the E9321A and E9325A sensors in the Low setting and
these are best suited. Other E9320 sensors may be used in their lowest
setting but they provide less dynamic range and low- level stability.
*CLSClears error queue
1- 28EPM- P Series Power Meters Programming Guide
Page 53
Power Meter Remote Operation
Making Measurements on Wireless Communication Standards
*RSTResets meter settings to
their default states
:SYST:ERR? <read string>The system error query
should return “0: No Error”
SERV:SENS:TYPE?The sensor type query
should return one of the
following:
E9321A|E9322A|E9323A|
E9325A|E9326A|E9327A
The NADC setup is only
valid with these sensors
SENS:FREQ 800MHZSets the measurement
frequency to 800 MHz
SENS:BW:VID LOWSelect low video bandwidth
SENS:SWE1:OFFS:TIME 0.0001235Sets gate1 start point to
123.5 ms after the trigger
SENS:SWE1:TIME 0.0064Sets gate1 length to 6.4 ms
SENS:SWE2:OFFS:TIME 0.020123Sets gate2 start point to
SENS:TRAC:OFFS:TIME -0.0002Trace starts 200 ms before
trigger point
EPM- P Series Power Meters Programming Guide1- 29
Page 54
Power Meter Remote Operation
Making Measurements on Wireless Communication Standards
SENS:TRAC:TIME 0.028Trace span set to 28 ms
DISP:WIND1:FORM TRACEAssigns upper window to a
trace display
DISP:WIND2:FORM DNUMAssigns lower window to a
dual numeric display
CALC2:FEED1 “POW:AVER ON SWEEP1” Lower window upper
display line to show
average power using timing
defined by gate1
CALC4:FEED1 “POW:PTAV ON SWEEP2” Lower window lower
display line to show
peak- to- average ratio
using timing defined by
gate2
1- 30EPM- P Series Power Meters Programming Guide
Page 55
Power Meter Remote Operation
Making Measurements on Wireless Communication Standards
Measuring iDEN
The following procedure shows you how to measure the average power, the
peak- to- average power ratio in one iDEN training and data pulse, and the
average power in a 90 ms iDEN frame. Triggering is achieved using the
rising edge of the training burst. The trigger is configured for a power level
of - 30 dBm on a rising edge. Auto- level triggering may also be used. A
trigger hold off is also set up to ensure the power meter is not
re- triggered by the data pulse following the training pulse. Time gating is
used to measure the average power in the following 15 ms pulse. The display
is configured to show the peak- to- average ratio within the data pulse and
the average power in the entire 90 ms frame on two display lines in the
lower window while the upper window shows the average power in a 15 ms
data pulse. All displays are numeric.
Note The narrow bandwidth of the iDEN signal requires only the 30 kHz
bandwidth of the E9321A and E9325A sensors in the Low setting and
these are best suited. Other E9320 sensors may be used in their lowest
setting but they provide less dynamic range and low- level stability.
*CLSClears error queue
*RSTResets meter settings to
their default states
:SYST:ERR? <read string>The system error query
should return “0: No Error”
SERV:SENS:TYPE?The sensor type query
should return one of the
following:
E9321A|E9322A|E9323A|
E9325A|E9326A|E9327A
The iDEN setup is only valid
with these sensors
SENS:FREQ 800MHZSets the measurement
frequency to 800 MHz
SENS:BW:VID LOWSelect low video bandwidth
SENS:SWE1:OFFS:TIME 0.00001Sets gate1 start point to
10 ms after the trigger
SENS:SWE1:TIME 0.015Sets gate1 length to 15 ms
EPM- P Series Power Meters Programming Guide1- 31
Page 56
Power Meter Remote Operation
Making Measurements on Wireless Communication Standards
SENS:SWE2:TIME 0.090Sets gate2 length to 90 ms
INIT:CONT ONPuts meter in “wait for
trigger” state
TRIG:SOUR INTSelects internal trigger
TRIG:LEV:AUTO OFFTurn off auto leveling for
trigger
TRIG:LEV -20.00DBMSets trigger level to
-20.0dBm
TRIG:HOLD 0.02Sets trigger hold- off to
20 ms
DISP:WIND1:FORM SNUMAssigns upper window to a
single numeric display
DISP:WIND2:FORM DNUMAssigns lower window to a
dual numeric display
CALC1:FEED1 “POW:AVER ON SWEEP1” Upper window to show
average power using timing
defined by gate1
CALC2:FEED1 “POW:PTAV ON SWEEP1” Lower window upper
display line to show
peak- to- average ratio
using timing defined by
gate1
CALC4:FEED1 “POW:PTAV ON SWEEP2” Lower window lower
display line to show peak
power ratio using timing
defined by gate2
1- 32EPM- P Series Power Meters Programming Guide
Page 57
Power Meter Remote Operation
Making Measurements on Wireless Communication Standards
Measuring Bluetooth
The following procedure shows you how to measure the peak and average
power in a single Bluetooth DH1 data burst. Triggering is achieved using the
rising edge of the burst. The trigger is configured for a power level of
- 20 dBm on a rising edge. A trigger hold off is also setup for 650 ms,
disabling the trigger until the current time slot is measured. The
measurement gate is configured to measure the peak and average power in a
366 ms period, 0.2 ms after the trigger. The display is configured to show
the peak and average power in the lower window in numeric format, while
the upper window shows the power trace over 6 time slots starting 50 ms
before the trigger.
Note The E9321A and E9325A sensors are best suited. The E9321A and
E9325A are not recommended due to lack of bandwidth.
*CLSClears error queue
*RSTResets meter settings to
their default states
:SYST:ERR? <read string>The system error query
should return “0: No Error”
SERV:SENS:TYPE?The sensor type query
should return one of the
following:
E9322A|E9323A|
E9326A|E9327A
The Bluetooth setup is only
valid with these sensors
SENS:FREQ 2400MHZSets the measurement
frequency to 2400 MHz
SENS:BW:VID HIGHOnly send this command if
using an E9322A or E9326A
SENS:SWE1:OFFS:TIME 0.0000002Sets gate1 start point to
200 ns after the trigger
SENS:SWE1:TIME 0.000366Sets gate1 length to 366 ms
INIT:CONT ONPuts meter in “wait for
trigger” state
TRIG:SOUR INTSelects internal trigger
EPM- P Series Power Meters Programming Guide1- 33
Page 58
Power Meter Remote Operation
Making Measurements on Wireless Communication Standards
SENS:TRAC:OFFS:TIME -0.00001Trace starts 10 ms before
trigger point
SENS:TRAC:TIME 0.00065Trace span set to 650 ms
DISP:WIND1:FORM TRACEAssigns upper window to a
trace display
DISP:WIND2:FORM DNUMAssigns lower window to a
dual numeric display
CALC2:FEED1 “POW:AVER ON SWEEP1” Lower window upper
display line to show
average power using timing
defined by gate1
CALC4:FEED1 “POW:PEAK ON SWEEP1” Lower window lower
display line to show peak
power using timing defined
by gate1
1- 34EPM- P Series Power Meters Programming Guide
Page 59
Power Meter Remote Operation
Making Measurements on Wireless Communication Standards
Measuring cdmaOne
The following procedure shows you how to make a continuous measurement
on a cdmaOne signal. Peak and peak- to- average power measurements are
made over a defined and statistically valid number of samples. With gated
10 ms measurements, corresponding to 200,000 samples, there is less than a
0.01% probability that there are no peaks above the measured peak value.
The trigger is configured for continuous triggering on a rising edge at
- 10 dBm. This results in continuously updated results based on a 10 ms
period relating to a position beyond 0.01% on the CCDF curve, responding
to any changes in signal or DUT.
Note The E9322A and E9326A sensors are best suited due to their 1.5 MHz
bandwidth. The E9321A and E9325A are not recommended due to their
lack of bandwidth.
*CLSClears error queue
*RSTResets meter settings to
their default states
:SYST:ERR? <read string>The system error query
should return “0: No Error”
SERV:SENS:TYPE?The sensor type query
should return one of the
following:
E9322A|E9323A|
E9326A|E9327A
The cdmaOne setup is only
valid with these sensors
SENS:FREQ 850MHZSets the measurement
frequency to 850 MHz
SENS:BW:VID HIGHOnly send this command if
using an E9322A or an
E9326A
SENS:SWE1:OFFS:TIME 0Sets gate1 start point to the
trigger point
SENS:SWE1:TIME 10E-3Sets gate time to 10 ms
INIT:CONT ONPuts meter in “wait for
trigger” state
EPM- P Series Power Meters Programming Guide1- 35
Page 60
Power Meter Remote Operation
Making Measurements on Wireless Communication Standards
TRIG:SOUR INTSelects internal trigger
TRIG:LEV:AUTO OFFTurn off auto leveling for
trigger
TRIG:LEV -10.00DBMSets trigger level to
-10.0dBm
DISP:WIND1:FORM SNUMAssigns upper window to a
single numeric display
DISP:WIND2:FORM DNUMAssigns lower window to a
dual numeric display
CALC1:FEED1 “POW:AVER”Upper window to show
average power
CALC2:FEED1 “POW:PEAK”Lower window upper
display line to show peak
power
CALC4:FEED1 “POW:PTAV”Lower window lower
display line to show
peak- to- average ratio
1- 36EPM- P Series Power Meters Programming Guide
Page 61
Power Meter Remote Operation
Making Measurements on Wireless Communication Standards
Measuring W-CDMA
The following procedure shows you how to make a continuous measurement
on a W- CDMA signal. Peak and peak- to-average power measurements are
made over a defined and statistically valid number of samples. With gated
10 ms measurements, corresponding to 200,000 samples, there is less than a
0.01% probability that there are no peaks above the measured peak
value.The trigger is configured for continuous triggering on a rising edge at
- 10 dBm. This results in continuously updated results based on a 10 ms
period relating to a position beyond 0.01% on the CCDF curve, responding
to any changes in signal or DUT.
Note The E9323A and E9327A sensors are best suited due to their 5 MHz
bandwidth. The E9321A, E9322A, E9325A, and E9326A sensors are not
recommended due to their lack of bandwidth (5 MHz required).
*CLSClears error queue
*RSTResets meter settings to
their default states
:SYST:ERR? <read string>The system error query
should return “0: No Error”
SERV:SENS:TYPE?The sensor type query
should return one of the
following:
E9323A| E9327A
The W- CDMA setup is only
valid with these sensors
SENS:FREQ 1900MHZSets the measurement
frequency to 1900 MHz
SENS:BW:VID HIGHSets the sensor bandwidth
to high
SENS:SWE1:OFFS:TIME 0Sets gate1 start point to the
trigger point
SENS:SWE1:TIME 10E-3Sets gate time to 10 ms
INIT:CONT ONPuts meter in “wait for
trigger” state
TRIG:SOUR INTSelects internal trigger
EPM- P Series Power Meters Programming Guide1- 37
Page 62
Power Meter Remote Operation
Making Measurements on Wireless Communication Standards
TRIG:LEV:AUTO OFFTurn off auto leveling for
trigger
TRIG:LEV -10.00DBMSets trigger level to
-10.0dBm
DISP:WIND1:FORM SNUMAssigns upper window to a
single numeric display
DISP:WIND2:FORM DNUMAssigns lower window to a
dual numeric display
CALC1:FEED1 “POW:AVER”Upper window to show
average power
CALC2:FEED1 “POW:PEAK”Lower window upper
display line to show peak
power
CALC4:FEED1 “POW:PTAV”Lower window lower
display line to show
peak- to- average ratio
1- 38EPM- P Series Power Meters Programming Guide
Page 63
Power Meter Remote Operation
Making Measurements on Wireless Communication Standards
Measuring cdma2000
The following procedure shows you how to make a continuous measurement
on a cdma2000 signal. Peak and peak- to- average power measurements are
made over a defined and statistically valid number of samples. With gated
10 ms measurements, corresponding to 200,000 samples, there is less than a
0.01% probability that there are no peaks above the measured peak value.
The trigger is configured for continuous triggering on a rising edge at
- 10 dBm. This results in continuously updated results based on a 10 ms
period relating to a position beyond 0.01% on the CCDF curve, responding
to any changes in signal or DUT.
Note The E9323A and E9327A sensors are best suited due to their 5 MHz
bandwidth. The E9321A, E9322A, E9325A, and E9326A sensors are not
recommended due to their lack of bandwidth (5 MHz required).
*CLSClears error queue
*RSTResets meter settings to
their default states
:SYST:ERR? <read string>The system error query
should return “0: No Error”
SERV:SENS:TYPE?The sensor type query
should return one of the
following:
E9323A| E9327A
The cdma2000 setup is only
valid with these sensors
SENS:FREQ 1900MHZSets the measurement
frequency to 1900 MHz
SENS:BW:VID HIGHSets the sensor bandwidth
to high
SENS:SWE1:OFFS:TIME Sets gate1 start point to the
trigger point
SENS:SWE1:TIME 10E-3Sets gate time to 10 ms
INIT:CONT ONPuts meter in “wait for
trigger” state
TRIG:SOUR INTSelects internal trigger
EPM- P Series Power Meters Programming Guide1- 39
Page 64
Power Meter Remote Operation
Making Measurements on Wireless Communication Standards
TRIG:LEV:AUTO OFFTurn off auto leveling for
trigger
TRIG:LEV -10.00DBMSets trigger level to
-10.0dBm
DISP:WIND1:FORM SNUMAssigns upper window to a
single numeric display
DISP:WIND2:FORM DNUMAssigns lower window to a
dual numeric display
CALC1:FEED1 “POW:AVER”Upper window to show
average power
CALC2:FEED1 “POW:PEAK”Lower window upper
display line to show peak
power
CALC4:FEED1 “POW:PTAV”Lower window lower
display line to show
peak- to- average ratio
1- 40EPM- P Series Power Meters Programming Guide
Page 65
Power Meter Remote Operation
Using Sensor Calibration Tables
Using Sensor Calibration Tables
This section applies to all 8480 series power sensors. It does not apply to the
E- series power sensors. All E- series power sensors have their sensor
calibration tables stored in EEPROM which allows frequency and
calibration factor data to be downloaded by the power meter automatically.
This section describes how to use sensor calibration tables. Sensor
calibration tables are used to store the measurement calibration factors,
supplied with each power sensor, in the power meter. These calibration
factors are used to correct measurement results.
Overview
For the 8480 series power sensors there are two methods of providing
correction data to the power meter depending on the setting of the
[SENSe[1]]|SENSe2:CORRection:CSET1:STATe command. If
[SENSe[1]]|SENSe2:CORRection:CSET1:STATe is OFF the sensor
calibration tables are not used. To make a calibrated power measurement
when [SENSe[1]]|SENSe2:CORRection:CSET1:STATe is OFF, perform
the following steps:
1. Zero and calibrate the power meter. Before carrying out the
calibration set the reference calibration factor for the power meter
you are using.
2. Set the calibration factor to the value for the frequency of the signal
you want to measure.
3.Make the measurement.
When [SENSe[1]]|SENSe2:CORRection:CSET1:STATe is ON, the
sensor calibration tables are used, providing you with a quick and
convenient method for making power measurements at a range of
frequencies using one or more power sensors. Note that with the sensor
calibration table selected, the RCF from the table overrides any value
previously set. The power meter is capable of storing 20 sensor calibration
tables of 80 frequency points each.
EPM- P Series Power Meters Programming Guide1- 41
Page 66
Power Meter Remote Operation
TABLE N
FREQ
FREQ
1
.
.
.
.
.
.
.
.
.
.
.
FREQ
2
80
CFAC
CFAC
1
.
.
.
.
.
.
.
.
.
.
.
80
TABLE 1
FREQ
FREQ
1
.
.
.
.
.
.
.
.
.
.
.
FREQ
2
80
CFAC
CFAC
1
.
.
.
.
.
.
.
.
.
.
.
CFAC
2
80
TABLE 20
FREQ
FREQ
1
.
.
.
.
.
.
.
.
.
.
.
FREQ
2
80
CFAC
CFAC
1
.
.
.
.
.
.
.
.
.
.
.
CFAC
2
80
CFAC = Calibration Factor
RCF = Reference Calibration Factor
FREQ
FREQ
1
.
.
.
.
.
.
.
.
.
.
.
FREQ
2
80
CFAC
CFAC
1
.
.
.
.
.
.
.
.
.
.
.
CFAC
2
80
Frequency of the signal you want
to measure
Calibration Factor used
TABLE SELECTED
to make Measurement.
Calculated by the Power
Meter using linear
interpolation
RCF
RCF
RCF
CFAC
2
RCF
Reference Calibration
Factor used for Power
Meter Calibration.
Using Sensor Calibration Tables
Figure 1- 1 illustrates how sensor calibration tables operate.
Figure 1- 1: Sensor Calibration Tables
1- 42EPM- P Series Power Meters Programming Guide
Page 67
Power Meter Remote Operation
Using Sensor Calibration Tables
To use sensor calibration tables you:
1. Edit a sensor calibration table if necessary.
2. Select the sensor calibration table.
3.Enable the sensor calibration table.
4. Zero and calibrate the power meter. The reference calibration factor
used during the calibration is automatically set by the power meter
from the sensor calibration table.
5. Specify the frequency of the signal you want to measure. The
calibration factor is automatically set by the power meter from the
sensor calibration table.
6.Make the measurement.
EPM- P Series Power Meters Programming Guide1- 43
Page 68
Power Meter Remote Operation
Using Sensor Calibration Tables
Editing Sensor Calibration Tables
It is not possible to create any additional sensor calibration tables. However,
the 20 existing ones can be edited using the MEMory subsystem. To do this:
1. Select one of the existing tables using:
MEMory:TABle:SELect <string>.
For information on naming sensor calibration tables see “Naming
Sensor Calibration Tables”, on page 1- 47. For information on the
current names which you can select refer to “Listing Sensor
Calibration Table Names”, on page 1- 45.
{,<numeric_value>}. The first parameter you enter should be
the reference calibration factor, each subsequent parameter is a
calibration factor in the sensor calibration table. This means that
entries in the frequency list correspond as shown with entries in the
calibration factor list.
FrequencyCalibration Factor
Reference Calibration
Factor
Frequency 1Calibration Factor 1
Frequency 2Calibration Factor 2
""
Frequency nCalibration Factor n
4. If required, rename the sensor calibration table using:
MEMory:TABLe:MOVE <string>,<string>. The first <string>
parameter identifies the existing table name, and the second
identifies the new table name.
Note The legal frequency suffix multipliers are any of the IEEE suffix
multipliers, for example, KHZ, MHZ and GHZ. If no units are specified
1- 44EPM- P Series Power Meters Programming Guide
Page 69
Power Meter Remote Operation
Using Sensor Calibration Tables
the power meter assumes the data is Hz.
PCT is the only legal unit for calibration factors and can be omitted.
The frequency and calibration data must be within range. Refer to the
individual commands in Chapter 4 for their specified ranges.
The number of calibration factor points must be one more than the
number of frequency points. This is verified when the sensor calibration
table is selected using
Ensure that the frequency points you use cover the frequency range of
the signals you want to measure. If you measure a signal with a
frequency outside the frequency range defined in the sensor calibration
table, then the power meter uses the highest or lowest frequency point
in the sensor calibration table to calculate the calibration factor.
To make subsequent editing of a sensor calibration table simpler, it is
recommended that you retain a copy of your data in a program.
Listing Sensor Calibration Table Names
To list the tables currently stored in the power meter, use the following
command:
MEMory:CATalog:TABLe?
Note that all tables are listed, including frequency dependent offset tables.
The power meter returns the data in the form of two numeric parameters
and a string list representing all the stored tables.
• <numeric_value>,<numeric_value>{,<string>}
The first numeric parameter indicates the amount of memory, in bytes,
used for storage of tables. The second parameter indicates the memory, in
bytes, available for tables.
EPM- P Series Power Meters Programming Guide1- 45
Page 70
Power Meter Remote Operation
Using Sensor Calibration Tables
Each string parameter returned indicates the name, type and size of a
stored sensor calibration table:
• <string>,<type>,<size>
The <string>, <type> and <size> are all character data. The <type>
is always TABL. The <size> is displayed in bytes.
For example, a sample of the response may look like:
The power meter is shipped with a set of predefined sensor calibration
tables. The data in these sensor calibration tables is based on statistical
averages for a range of Agilent Technologies power sensors. These power
sensors are:
•DEFAULT
1
• 8481A
• 8482A
2
• 8483A
• 8481D
• 8485A
• R8486A
• Q8486A
• R8486D
•8487A
For further information on naming sensor calibration tables see “Naming
Sensor Calibration Tables”, on page 1- 47.
1. DEFAULT is a sensor calibration table in which the reference calibration
factor and calibration factors are 100%. This sensor calibration table can be
used during the performance testing of the power meter.
2. The 8482B and 8482H power sensors use the same data as the 8482A.
1- 46EPM- P Series Power Meters Programming Guide
Page 71
Power Meter Remote Operation
Using Sensor Calibration Tables
Naming Sensor Calibration Tables
To rename a sensor calibration table use:
MEMory:TABLe:MOVE <string>,<string>
The first <string> parameter identifies the existing table name, and the
second identifies the new table name.
The following rules apply to sensor calibration table names:
a) The sensor calibration table must consist of no more than 12
characters.
b) All characters must be upper or lower case alphabetic characters, or
numeric (0- 9), or an underscore (_).
c) No spaces are allowed in the name.
EPM- P Series Power Meters Programming Guide1- 47
Page 72
Power Meter Remote Operation
Using Sensor Calibration Tables
Reviewing Table Data
To review the data stored in a sensor calibration table, use the following
commands:
• MEMory:TABLe:SELect "Sense1"
Select the sensor calibration table named “Sense1”.
• MEMory:TABLe:SELect?
Query command which returns the name of the currently selected table.
• MEMory:TABLe:FREQuency:POINTs?
Query command which returns the number of stored frequency points.
• MEMory:TABLe:FREQuency?
Query command which returns the frequencies stored in the sensor
calibration table (in Hz).
• MEMory:TABLe:GAIN[:MAGNitude]:POINTs?
Query command which returns the number of calibration factor points
stored in the sensor calibration table.
• MEMory:TABLe:GAIN[:MAGNitude]?
Query command which returns the calibration factors stored in the
sensor calibration table. The first point returned is the reference
calibration factor.
Modifying Data
If you need to modify the frequency and calibration factor data stored in a
sensor calibration table you need to resend the complete data lists. There
are two ways to do this:
1. If you have retained the original data in a program, edit the
program and resend the data.
2. Use the query commands shown in “Reviewing Table Data”, on
page 1- 48 to enter the data into your computer. Edit this data, then
resend it.
Selecting a Sensor Calibration Table
After you have created the sensor calibration table, you can select it using
the following command:
ABORt1
CONFigure1:POWer:AC DEF,2,(@1)
SENS1:CORR:CSET1:SEL "HP8481A"
SENS1:CORR:CSET1:STAT ON
SENSe1:FREQuency 500KHZ
READ1?
Note If the measurement frequency does not correspond directly to a
frequency in the sensor calibration table, the power meter calculates
the calibration factor using linear interpolation.
If you enter a frequency outside the frequency range defined in the
sensor calibration table, then the power meter uses the highest or
lowest frequency point in the sensor calibration table to set the
calibration factor.
To find out the value of the calibration factor being used by the power
meter to make a measurement, use the query command:
[SENSe[1]]|SENSe2:CORRection:CFAC? The response may be an
interpolated value.
To find out the value of the reference calibration factor being used, use
the commands:
CALibration[1|2]:RCFactor?
1- 50EPM- P Series Power Meters Programming Guide
Page 75
Power Meter Remote Operation
Using Frequency Dependent Offset Tables
Using Frequency Dependent Offset Tables
This section describes how to use frequency dependent offset tables.
Frequency dependent offset tables give you the ability to compensate for
frequency effects in your test setup.
Overview
If the [SENSe[1]]|SENSe2:CORRection:CSET2:STATe command is
OFF, the frequency dependent offset tables are not used. When
[SENSe[1]]|SENSe2:CORRection:CSET2:STATe is ON, the frequency
dependent offset tables are used, providing you with a quick and convenient
method of compensating for your external test setup over a range of
frequencies. Note that when selected, frequency dependent offset correction
is IN ADDITION to any correction applied for sensor frequency response.
The power meter is capable of storing 10 frequency dependent offset tables
of 80 frequency points each.
To use frequency dependent offset tables you:
1.Edit a frequency dependent offset table if necessary.
2.Select the frequency dependent offset table.
3. Enable the frequency dependent offset table.
4. Zero and calibrate the power meter. The reference calibration factor
used during the calibration will be automatically set by the power
meter from a sensor calibration table, if enabled; otherwise it
should be entered manually.
5. Specify the frequency of the signal you want to measure. The
required offset is automatically set by the power meter from the
frequency dependent offset table.
6.Make the measurement.
EPM- P Series Power Meters Programming Guide1- 51
Page 76
Power Meter Remote Operation
TABLE N
FREQ
FREQ
1
.
.
.
.
.
.
.
.
.
.
.
FREQ
2
80
OFFSET
OFFSET
1
.
.
.
.
.
.
.
.
.
.
.
80
TABLE 1
FREQ
FREQ
1
.
.
.
.
.
.
.
.
.
.
.
FREQ
2
80
OFFSET
OFFSET
1
.
.
.
.
.
.
.
.
.
.
.
2
80
TABLE 10
FREQ
FREQ
1
.
.
.
.
.
.
.
.
.
.
.
FREQ
2
80
OFFSET
OFFSET
1
.
.
.
.
.
.
.
.
.
.
.
OFFSET
2
80
OFFSET = Frequency Dependent Offset
FREQ
FREQ
1
.
.
.
.
.
.
.
.
.
.
.
FREQ
2
80
OFFSET
OFFSET
1
.
.
.
.
.
.
.
.
.
.
.
OFFSET
2
80
Frequency of the signal you want
to measure
TABLE SELECTED
OFFSET
2
OFFSET
Frequency dependent
offset used to make
Measurement. Calculated
by the Power Meter using
linear interpolation.
Using Frequency Dependent Offset Tables
Figure 1- 2 illustrates how frequency dependent offset tables operate.
Figure 1- 2: Frequency Dependent Offset Tables
1- 52EPM- P Series Power Meters Programming Guide
Page 77
Power Meter Remote Operation
Using Frequency Dependent Offset Tables
Editing Frequency Dependent Offset Tables
It is not possible to create any additional frequency dependent offset tables.
However, the 10 existing ones can be edited using the MEMory subsystem.
To do this:
1. Select one of the existing tables using:
MEMory:TABle:SELect <string>.
For information on naming frequency dependent offset tables see
“Naming Frequency Dependent Offset Tables”, on page 1- 55. For
information on the current names which you can select refer to
“Listing the Frequency Dependent Offset Table Names”, on
page 1- 54.
3. Enter the offset factors as shown in the table below using:
MEMory:TABle:GAIN <numeric_value>
{,<numeric_value>}
FrequencyOffset
Frequency 1Offset 1
Frequency 2Offset 2
""
Frequency nOffset n
4. If required, rename the frequency dependent offset table using:
MEMory:TABLe:MOVE <string>,<string>. The first <string>
parameter identifies the existing table name, and the second
identifies the new table name.
Note The legal frequency suffix multipliers are any of the IEEE suffix
multipliers, for example, KHZ, MHZ and GHZ. If no units are specified
the power meter assumes the data is Hz.
PCT is the only legal unit for offset factors and can be omitted.
The frequency and offset data must be within range. Refer to the
individual commands in Chapter 4 for their specified ranges.
EPM- P Series Power Meters Programming Guide1- 53
Page 78
Power Meter Remote Operation
Using Frequency Dependent Offset Tables
Any offset values entered into the table should exclude the effect of the
sensor. Characterization of the test setup independently of the sensor
allows the same table to be used with any sensor.
Ensure that the frequency points you use cover the frequency range of
the signals you want to measure. If you measure a signal with a
frequency outside the frequency range defined in the frequency
dependent offset table, then the power meter uses the highest or lowest
frequency point in the table to calculate the offset.
To make subsequent editing of a frequency dependent offset table
simpler, it is recommended that you retain a copy of your data in a
program.
Listing the Frequency Dependent Offset Table Names
To list the frequency dependent offset tables currently stored in the power
meter, use the following command:
MEMory:CATalog:TABLe?
Note that all tables are listed; including sensor calibration tables.
The power meter returns the data in the form of two numeric parameters
and a string list representing all stored tables.
• <numeric_value>,<numeric_value>{,<string>}
The first numeric parameter indicates the amount of memory, in bytes,
used for storage of tables. The second parameter indicates the memory, in
bytes, available for tables.
1- 54EPM- P Series Power Meters Programming Guide
Page 79
Power Meter Remote Operation
Using Frequency Dependent Offset Tables
Each string parameter returned indicates the name, type and size of a
stored frequency dependent offset table:
• <string>,<type>,<size>
The <string>, <type> and <size> are all character data. The <type> is
always TABL. The <size> is displayed in bytes.
For example, a sample of the response may look like:
The first <string> parameter identifies the existing table name, and the
second identifies the new table name.
The following rules apply to frequency dependent offset table names:
a) Table names use a maximum of 12 characters.
b) All characters must be upper or lower case alphabetic characters, or
numeric (0- 9), or an underscore (_).
c) No spaces are allowed in the name.
Reviewing Table Data
To review the data stored in a frequency dependent offset table, use the
following commands:
• MEMory:TABLe:SELect "Offset1"
Select the sensor calibration table named “Offset1”.
• MEMory:TABLe:SELect?
Query command which returns the name of the currently selected table.
• MEMory:TABLe:FREQuency:POINTs?
Query command which returns the number of stored frequency points.
• MEMory:TABLe:FREQuency?
Query command which returns the frequencies stored in the frequency
dependent offset table (in Hz).
• MEMory:TABLe:GAIN[:MAGNitude]:POINTs?
Query command which returns the number of offset factor points stored
in the frequency dependent offset table.
EPM- P Series Power Meters Programming Guide1- 55
Page 80
Power Meter Remote Operation
Using Frequency Dependent Offset Tables
• MEMory:TABLe:GAIN[:MAGNitude]?
Query command which returns the offset factors stored in the frequency
dependent offset table.
Modifying Data
If you need to modify the frequency and offset factor data stored in a
frequency dependent offset table you need to resend the complete data lists.
There are two ways to do this:
1. If you have retained the original data in a program, edit the program
and resend the data.
2.Use the query commands shown in “Reviewing Table Data”, on
page 1- 48 to enter the data into your computer. Edit this data, then
resend it.
Selecting a Frequency Dependent Offset Table
After you have created the frequency dependent offset table, you can select it
using the following command:
ABORt1
CONFigure1:POWer:AC DEF,2,(@1)
SENS1:CORR:CSET2:SEL "Offset1"
SENS1:CORR:CSET2:STAT ON
SENSe1:FREQuency 500KHZ
READ1?
Note If the measurement frequency does not correspond directly to a
frequency in the frequency dependent offset table, the power meter
calculates the offset using linear interpolation.
If you enter a frequency outside the frequency range defined in the
frequency dependent offset table, then the power meter uses the highest
or lowest frequency point in the table to set the offset.
To find out the value of the offset being used by the power meter to
make a measurement, use the query command:
This section provides an overview of setting the range, resolution and
averaging. For more detailed information about these features refer to the
individual commands in Chapter 9.
Range
The power meter has no internal ranges which can be set. The only ranges
that can be set are those of the E- series power sensors. With an E- series
power sensor the range can be set either automatically or manually. Use
autoranging when you are not sure of the power level you will be measuring.
Setting the Range
To set the range manually use the following command:
[SENSe[1]]|SENSe2:POWer:AC:RANGe <numeric_value>
If the <numeric_value> is set to:
• 0, the sensor’s lower range is selected. (For example, this range is - 70 to
- 13.5 dBm for the E4412A power sensor.)
• 1, the sensor’s upper range is selected. (For example, this range is - 14.5
to +20 dBm for the E4412A power sensor.)
For details on the range limits of other E- series power sensors refer to the
appropriate power sensor manual.
For further information on this command refer to page 9- 47.
To enable autoranging use the following command:
[SENSe[1]]|SENSe2:POWer:AC:RANGe:AUTO ON
Use autoranging when you are not sure of the power level you will be
measuring.
1- 58EPM- P Series Power Meters Programming Guide
Page 83
Power Meter Remote Operation
Setting the Range, Resolution and Averaging
Resolution
You can set the window’s resolution using the following command:
There are four levels of resolution available (1 through 4).
When the measurement suffix is W or % this parameter represents the
number of significant digits. When the measurement suffix is dB or dBM, 1
through 4 represents 1, 0.1, 0.01, and 0.001 dB respectively.
For further information refer to the :RESolution command on page 5- 21.
Averaging
The power meter has a digital filter to average power readings. The number
of readings averaged can range from 1 to 1024. This filter is used to reduce
noise, obtain the desired resolution and to reduce the jitter in the
measurement results. However, the time to take the measurement is
increased. You can select the filter length or you can set the power meter to
auto filter mode. To enable and disable averaging use the following
command:
[SENSe[1]]|SENSe2:AVERage[:STATe] <boolean>
Auto Averaging Mode
To enable and disable auto filter mode, use the following command:
[SENSe[1]]|SENSe2:AVERage:COUNt:AUTO <boolean>
When the auto filter mode is enabled, the power meter automatically sets
the number of readings averaged together to satisfy the filtering
requirements for most power measurements. The number of readings
averaged together depends on the resolution and the power level currently
being measured. Figure 1-3 lists the number of readings averaged for each
range and resolution when the power meter is in auto filter mode.
Note Figure 1- 3 applies to 8480 series sensors only.
EPM- P Series Power Meters Programming Guide1- 59
Page 84
Power Meter Remote Operation
10 dB
10 dB
Minimum Sensor Power
Maximum Sensor Power
Power Sensor
Dynamic Range
10 dB
10 dB
1234
88128128
Resolution Setting
Number of Averages
1116256
11232
11116
1118
Minimum Sensor Pow e rMinimum Se nsor Power + 10 dB
Range Hysteresis
10.5 dB9.5 dB
Setting the Range, Resolution and Averaging
Figure 1- 3: Averaged Readings
Figure 1- 4 illustrates part of the power sensor dynamic range hysteresis.
Figure 1- 4: Averaging Range Hysteresis
1- 60EPM- P Series Power Meters Programming Guide
Page 85
Power Meter Remote Operation
Setting the Range, Resolution and Averaging
Filter Length
You specify the filter length using the following command:
[SENSe[1]]|SENSe2:AVERage:COUNt <numeric_value>
The range of values for the filter length is 1 to 1024. Specifying this
command disables automatic filter length selection. Increasing the value of
the filter length reduces measurement noise. However, the time to take the
measurement is increased.
EPM- P Series Power Meters Programming Guide1- 61
Page 86
Power Meter Remote Operation
Loss
1
Gain
---------=
GainLoss–=
Setting Offsets
Setting Offsets
Channel Offsets
The power meter can be configured to compensate for signal loss or gain in
your test setup (for example, to compensate for the loss of a 10 dB
attenuator). You use the SENSe command subsystem to configure the power
meter. Gain and loss correction are a coupled system. This means that a
gain set by [SENSe[1]]|SENSe2:CORRection:GAIN2 is represented in
the [SENSe[1]]|SENSe2:CORRection:LOSS2? command. If you enter
an offset value the state is automatically enabled. However it can be enabled
and disabled using either the
[SENSe[1]]|SENSe2:CORRection:GAIN2:STATe or
[SENSe[1]]|SENSe2:CORRection:LOSS2:STATe commands.
LOSS2 is coupled to GAIN2 by the equation when the default
unit is linear, and when the default is logarithmic.
Note You can only use LOSS2 and GAIN2 for external losses and gains. LOSS1
and GAIN1 are specifically for calibration factors.
Display Offsets
Display offset values can be entered using the
CALCulate[1|2]:GAIN[:MAGNitude] command.
CALCulate[1|2]:GAIN:STATe must be set to ON to enable the offset
value. If you enter an offset value the state is automatically enabled. On the
HP EPM- 442A this offset is applied after any math calculations (refer to
Figure 1- 8 on page 1- 75).
1- 62EPM- P Series Power Meters Programming Guide
Page 87
Power Meter Remote Operation
A
dBm
10–
B
dBm
10–
------------------
⎝⎠
⎛⎞
20–
⎝⎠
⎛⎞
dB
Setting Offsets
Example
The following example program, in HP Basic, details how to use the channel
and display offsets on an E4417A 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- 35. For further
information on display offsets refer to page 3- 7.
EPM- P Series Power Meters Programming Guide1- 63
Page 88
Power Meter Remote Operation
Power M et er
Swept Source
CHANNEL A
INPUT
OUT
IN
OUT
Device
Under Test
Setting Measurement Limits
Setting Measurement Limits
You can configure the power meter to detect when a measurement is outside
of a predefined upper and/or lower limit value.
Limits are window or measurement display line based and can be applied to
power, ratio or difference measurements. In addition, the limits can be set
to output a TTL logic level at the rear panel Rmt I/O port when the
predefined limits are exceeded.
Setting Limits
The power meter can be configured to verify the power being measured
against an upper and/or lower limit value. The range of values that can be
set for lower and upper limits is - 150.00 dBm to +230.00 dBm. The default
upper limit is +90.00 dBm and the default lower limit is - 90.00 dBm.
A typical application for this feature is shown in Figure 1- 5.
Figure 1- 5: Limits Checking Application
1- 64EPM- P Series Power Meters Programming Guide
Page 89
Setting Limits
+4dBm
+10dBm
Amplitude
Frequency
o
o
o
o
o
o
o
Fail
Fail
Power Meter Remote Operation
Setting Measurement Limits
Figure 1- 6: Limits Checking Results
The power meter can be configured to verify the current measurement in
any measurement line against predefined upper and/or lower limit values.
The range of values that can be set for the upper and lower limits and the
default values depends on the measurement units in the currently
measurement line - see Table 1- 2.
Table 1-2: Range of Values for Window Limits
Window
Units
dB+200 dB- 180 dB60 dB- 120 dB
dBm+230 dBm- 150 dBm90 dBm- 90 dBm
%999.9 X%100.0 a%100.0 M%100.0 p%
W100.000 XW1.000 aW1.000 MW1.000 pW
The limits can also be set to output a TTL logic level at the rear panel Rmt
I/O port when the predefined limits are exceeded. You can switch the rear
panel TTL outputs on or off; set the TTL output level to active high or low;
and determine whether the TTL output represents an over limit condition,
EPM- P Series Power Meters Programming Guide1- 65
MaxMin
Default
MaxMin
Page 90
Power Meter Remote Operation
Setting Measurement Limits
under limit condition or both. Refer to Chapter 8 “OUTput Subsystem” for
TTL output programming commands and to the EPM- P Series Power MetersUser’s Guide for connector and pin- out information.
Checking for Limit Failures
There are two ways to check for limit failures:
1. Use the SENSe:LIMit:FAIL? and SENSe:LIMit:FCOunt?
commands for channel limits or the
CALCulate[1|2]:LIMit:FAIL? and the
CALCulate[1|2]:LIMit:FCOunt? for window limits.
2. Use the STATus command subsystem.
Using SENSe and CALCulate
Using SENSe to check the channel limit failures in Figure 1- 6 would return
the following results:
SENSe:LIMit:FAIL?Returns 1 if there has been 1 or
more limit failures or 0 if there
have been no limit failures. In
this case 1 is returned.
SENSe:LIMit:FCOunt?Returns the total number of
limit failures, in this case 2.
Use the equivalent CALCulate commands for checking window limit
failures.
Note If TRIGger:DELay:AUTO is set to ON, then the number of failures
returned by SENSe:LIMit:FCOunt? or
CALCulate[1|2]:LIMit:FCOunt?will be affected by the current
filter settings.
1- 66EPM- P Series Power Meters Programming Guide
Page 91
Power Meter Remote Operation
Setting Measurement Limits
Using STATus
You can use the STATus subsystem to generate an SRQ to interrupt your
program when a limit failure occurs. This is a more efficient method than
using SENSe or CALCulate, since you do not need to check the limit
failures after every power measurement.
Refer to “Status Reporting”, on page 1-76 and “STATus Subsystem”, on
page 10- 2 for further information.
Configuring the TTL Outputs
The TTL Outputs on the rear panel Rmt I/O port can be used to determine
when a predefined limit in either, or both, windows has been exceeded.
Example
The following program segment shows how to use TTL output 1 to indicate
when a measurement is outside the range - 30 dBm to - 10 dBm. It is
assumed that the measurement has already been set up in the upper
window (window 1).
CALC1:LIM:LOW -30Sets the lower limit for the
upper window to - 30 dBm.
CALC1:LIM:UPP -10Sets the upper limit for the
upper window to - 10 dBm.
CALC1:LIM:STAT ONTurns the limits on.
OUTP:TTL1:FEED
“CALC1:LIM:LOW,CALC1:LIM:UPP”
OUTP:TTL1:ACT HIGHSpecifies that TTL output 1
OUTP:TTL1:STAT ONActivates TTL output 1
EPM- P Series Power Meters Programming Guide1- 67
Specifies that TTL output 1
should be asserted when the
upper or lower limit fails on the
upper window.
should be active- high.
Page 92
Power Meter Remote Operation
Measuring Pulsed Signals
Measuring Pulsed Signals
Note The E- series E9320 power sensors are best suited for peak and pulse
power measurement However, the E- series E9300 or 8480 series power
sensors can be used.
Pulse measurements are not recommended using E- series E4410 power
sensors.
Using Duty Cycle
The following method describes pulse measurement without the use of an
E- series E9320 power sensor. The measurement result is a mathematical
representation of the pulse power rather than an actual measurement. The
power meter measures the average power of the pulsed input signal and
then divides the measurement result by the duty cycle value to obtain the
pulse power reading. The allowable range of values is 0.001% to 99.999%.
The default is 1.000%. A duty cycle value can be set using the following
command:
An example of a pulsed signal is shown in Figure 1- 7.
1- 68EPM- P Series Power Meters Programming Guide
Page 93
Power Meter Remote Operation
Power
Time
B
A
Duty Cycle = A
B
Duty Cycle (%) = A x 100
B
Measuring Pulsed Signals
Figure 1- 7: Pulsed Signal
You use t he SENSe command subsystem to configure the power meter to
measure a pulsed signal. The following example program, in HP Basic,
shows how to measure the signal for the 8480 series power sensors.
Note Pulse power averages out any aberrations in the pulse such as
overshooting or ringing. For this reason it is called pulse power and not
peak power or peak pulse power.
In order to ensure accurate pulse power readings, the input signal must
be pulsed with a rectangular pulse. Other pulse shapes (such as
triangle, chirp or Gaussian) will cause erroneous results.
The pulse power on/off ratio must be much greater than the duty cycle
ratio.
EPM- P Series Power Meters Programming Guide1- 69
Page 94
Power Meter Remote Operation
Measuring Pulsed Signals
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
200OUTPUT @Power;"UNIT:POW WATT"
210!
220!Set the measurement calibration factor for the
sensor
230OUTPUT @Power;"SENS:CORR:CFAC 97.5PCT"
240!Set the power meter for a duty cycle of 16PCT
250OUTPUT @Power;"SENS1:CORR:DCYC 16PCT"
260!
270!Enable the duty cycle correction
280OUTPUT @Power;"SENS:CORR:DCYC:STAT ON
290PRINT "MAKING THE MEASUREMENT"
300!Initiate the measurement
310OUTPUT @Power;"INIT1:IMM"
320!... and get the result
330OUTPUT @Power;"FETC?"
340ENTER @Power;Reading
350!
360PRINT "The result is ";Reading*1000;"mW"
370!
380 ELSE
390PRINT "THERE WAS A CALIBRATION ERROR!"
400 END IF
410 PRINT "PROGRAM COMPLETED"
420 END
1- 70EPM- P Series Power Meters Programming Guide
Page 95
Power Meter Remote Operation
Getting the Best Speed Performance
Getting the Best Speed Performance
This section discusses the factors that influence the speed of operation
(number of readings/sec) of an EPM- P series power meter.
The following factors are those which have the greatest effect upon
measurement speed (in no particular order):
• The selected measurement rate, i.e. NORMal, DOUBle, FAST.
•The sensor being used.
• The trigger mode (for example, free run, trigger with delay etc.).
• The output format: ASCii or REAL.
• The units used for the measurement.
• The comm and us ed to ta k e a me a sur e m e nt.
In addition, in FAST mode there are other inf luences which are described in
“Fast Mode”, on page 1- 74.
The following paragraphs give a brief description of the above factors and
how they are controlled from SCPI.
Measurement Rate
There are three possible speed settings NORMal, DOUBle and FAST. These
are set using the SENSe:MRATe command and can be applied to each
channel independently (E4417A only).
In NORMal and DOUBle modes, full instrument functionality is available
and these settings can be used with all sensors. FAST mode is available only
for E- series sensors and averaging, limits and ratio/difference math
functions are disabled.
Refer to “Specifications” in the EPM- P Series Power Meters User’s Guide to
see the influence of these speed settings on the accuracy and noise
performance of the power meter.
EPM- P Series Power Meters Programming Guide1- 71
Page 96
Power Meter Remote Operation
Getting the Best Speed Performance
Sensor
Different measurement rates are achievable depending on the sensor type
being used:
Measurement Rate
Sensor
NORMalDOUBleFAST
8480 series50 ms25 msNA
E- series E4410 and E930050 ms25 msUp to 400
E- series E9320,
AVE R a g e o n l y m od e
E- series E9320,
NORMal mode
50 ms25 msUp to 400
50 ms25 msUp to 1000
Trigger Mode
The power meter has a very flexible triggering system. For simplicity, it can
be described as having three modes:
• Free Run: When a channel is in Free Run, it continuously takes
measurements on this channel. A channel is in free run when
INITiate:CONTinuous is set to ON and TRIGger:SOURce is set to
IMMediate.
• Triggered Free Run: When a channel is in Triggered Free Run Continuous
Trigger, it takes a new measurement each time a trigger even is detected.
A channel is in Triggered Free Run Continuous Trigger when
INITiate:CONTinuous is set to ON and TRIGger:SOURce is not set to
IMMediate.
• Single Shot: When a channel is in Single Shot, it takes a new
measurement when a trigger event is detected and then returns to the
idle state. A channel is in Single Shot when INITiate:CONTinuous is
set to OFF. Note that a measurement can take several INT/EXT triggers
depending on the filter settings. Refer to TRIGger[1]|2:DELay:AUTO
<boolean> in Chapter 13 for further information.
Note A trigger event can be any of the following:
• The input signal meeting the trigger level criteria.
1- 72EPM- P Series Power Meters Programming Guide
Page 97
Power Meter Remote Operation
Getting the Best Speed Performance
• Auto- level triggering being used.
• A TRIGger GET or *TRG command being sent.
• An external TTL level trigger being detected.
Trigger with delay
This can be achieved using the same sequences above (apart from the
second) with TRIG:DEL:AUTO set to ON. Also, the MEAS? command
operates in trigger with delay mode.
In trigger with delay mode, a measurement is not completed until the power
meter filter is full. In this way, the reading returned is guaranteed to be
settled. In all other modes, the result returned is simply the current result
from the filter and may or may not be settled. This depends on the current
length of the filter and the number of readings that have been taken since a
change in power level.
With trigger with delay enabled, the measurement speed can be calculated
roughly using the following equation:
readings/sec = speed (as set by SENSe:SPEed) / filter length
For example, with a filter length of 4 and SENS:SPE set to 20, approximately
5 readings/sec will be calculated by the power meter.
In general, free run mode will provide the best speed performance from the
power meter (especially in 200 readings/sec mode).
Output Format
The power meter has two output formats for measurement results: ASCii
and REAL. These formats can be selected using the FORMat command. When FORMat is set to REAL, the result returned is in IEEE 754 floating- point
format (note that the byte order can be changed using FORMat:BORDer)
plus <LF> as an end sentinel of the block.
The REAL format is likely to be required only for FAST mode as a means to
reduce bus traffic.
Units
The power meter can output results in either linear or log units. The
internal units are linear and therefore optimal performance will be achieved
EPM- P Series Power Meters Programming Guide1- 73
Page 98
Power Meter Remote Operation
Getting the Best Speed Performance
when the results output are also in linear units (since the overhead of
performing a log function is removed).
Command Used
In Free Run mode, FETCh? must be used to return a result.
In other trigger modes, there are a number of commands which can be used,
for example, MEASure?, READ?, FETCh? Note that the MEAS? and READ?
commands are compound commands—they perform a combination of other
lower level commands. In general, the best speed performance is achieved
using the low level commands directly.
Trigger Count
To get the fastest measurement speed the a TRIG:COUNT must be set to
return multiple measurements for each FETCh command. For average only
measurements a count of 4 is required but 10 is recommended. In normal
mode (peak measurements) a count of 50 is required to attain 1000 readings
per second.
Fast Mode
In the highest speed setting, the limiting factor tends to be the speed of the
controller being used to retrieve results from the power meter, and to a
certain extent, the volume of GPIB traffic. The latter can be reduced using
the FORMat REAL command to return results in binary format. The former
is a combination of two factors:
• the hardware platform being used.
• the programming environment being used.
1- 74EPM- P Series Power Meters Programming Guide
Page 99
Power Meter Remote Operation
TRIGger
DISPlay
WINDow2
:FORMat
:METer
:SELect [1]|2
:NUMeric[1]:RESoluti on
:NUMeric2:RESoluti on
Upper Meas
Lower Meas
UNIT4
Conversion
:POW
CALCu late2
Maths OffsetRelative
Limits
:MATH :GAIN:REL
:LIM
Switch
Switch
:FEED
UNIT2
Conversion
:POW
UNIT3
Conversion
:POW
UNIT1
Conversion
:POW
CALCu late4
Maths OffsetRelative
Limits
:MATH :GAIN:REL
:LIM
Switch
Switch
:FEED
CALCu late1
Maths OffsetRelative
Limits
:MATH :GAIN:REL
:LIM
Switch
Switch
:FEED
CALCu late3
Maths OffsetRelative
Limits
:MATH :GAIN:REL
:LIM
Switch
Switch
:FEED
[WINDow[1]]
:FORMat
:METer
:SELect [1]|2
:NUMeric[1]:RESoluti on
:NUMeric2:RESoluti on
Upper Meas
Lower Meas
SENSe1
SensorFilter
Freq.
Corr.
Offset
Duty
Cycle
:SPEed
:POW:AC:RANG
:POW:AC:RANG:AUTO:DIR
:DET:FUNC
:AVER[1]
:FREQ
:CORR:CFAC
:CORR:CSET
:CORR:GAIN2
:CORR:LOSS 2
:CORR:DCYC
Video
Filter
Data
Selection
:BAND:VID (B/W)
:AVE R2 (vid eo averaging)
:SWEep:TIME:GATE:DELa y
:SWEep:TIME:GATE:LENGth
SENSe2
SensorFilter
Freq.
Corr.
Offset
Duty
Cycle
:SPEed
:POW:AC:RANG
:POW:AC:RANG:AUTO:DIR
:DET:FUNC
:AVER[1]
:FREQ
:CORR:CFAC
:CORR:CSET
:CORR:GAIN2
:CORR:LOSS 2
:CORR:DCYC
Video
Filter
Data
Selection
:BAND:VID (B/W)
:AVE R2 (vid eo averaging)
:SWEep:TIME:GATE:DELa y
:SWEep:TIME:GATE:LENGth
:CONTrast
:ENABle
:FORMat
FORMat
Switch
Switch
Switch
Switch
MEAS?
READ?
FETC?
CONF
TRACe:DATA?
“TRA Ce1”
TRACe:DATA?
“TRA Ce2”
WINDow1
WINDow2
How Measurements are Calculated
How Measurements are Calculated
Figure 1- 8 details how measurements are calculated. It shows the order in
which the various power meter functions are implemented in the
measurement calculation.
Figure 1- 8: How Measurements are Calculated
Note All references to channel B in the above diagram refer to the E4417A
The MEASure commands in this figure can be replaced with the FETCh?
and READ? commands.
only. MEAS[1|2]:POW:AC? and MEAS[1|2]:POW:AC:REL? are the
only commands that apply to the E4416A.
EPM- P Series Power Meters Programming Guide1- 75
Page 100
Power Meter Remote Operation
Status Reporting
Status Reporting
Status reporting is used to monitor the power meter to determine when
events have occurred. Status reporting is accomplished by configuring and
reading status registers.
The power meter has the following main registers:
• Status Register
• Standard Event Register
•Operation Status Register
• Questionable Status Register
• Device Status Register
A number of other registers exist “behind” these and are described later in
this chapter.
Status and Standard Event registers are read using the IEEE- 488.2 common
commands.
Operation and Questionable Status registers are read using the SCPI
STATus command subsystem.
1- 76EPM- P Series Power Meters Programming Guide
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.