E4416 Programming Guide
E4416 Programming Guide
Agilent Technologies
EPM-P Series Power Meters
ii
Equipment Operation
Equipment Operation
Warnings and Cautions
This guide uses warnings and cautions to denote hazards.
WARNING
Caution
iii
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
User Environment
The product is suitable for indoor use only.
iv
vi
Appendix A
This appendix contains information about the calibration factor block layout.
vii
Related Publications
Related Publications
The EPM-P Series Power Meters Users Guide is available on the CD-ROM and in
the following languages:
viii
Table of Contents
Page
Equipment Operation ................................................................................... -iii
Personal Safety Considerations............................................................. -iii
General Safety Considerations ..................................................................... -iv
User Environment ................................................................................. -iv
About this Guide .......................................................................................... -v
Related Publications..................................................................................... -viii
Table of Contents ....................................................................................Contents-1
List of Tables .............................................................................................. Tables-1
List of Figures............................................................................................ Figures-1
Power Meter Remote Operation........................................................................ 1-1
Introduction ................................................................................................ 1-2
Configuring the Remote Interface.............................................................. 1-3
Interface election................................................................................. 1-3
GPIB Address ..................................................................................... 1-3
RS232/RS422 Configuration .............................................................. 1-4
Zeroing and Calibrating the Power Meter ................................................. 1-5
Zeroing ................................................................................................ 1-5
Calibration........................................................................................... 1-5
Setting the Reference Calibration Factor ........................................... 1-7
Making Measurements .............................................................................. 1-8
Using MEASure? ............................................................................... 1-9
Using the CONFigure Command ....................................................... 1-14
Using the Lower Level Commands .................................................... 1-23
Making Measurements on Wireless Communication Standards ............... 1-24
Measuring GSM.................................................................................. 1-24
Measuring EDGE ............................................................................... 1-25
Measuring NADC .............................................................................. 1-27
Measuring iDEN ................................................................................ 1-30
Measuring Bluetooth........................................................................... 1-32
Measuring cdmaOne ........................................................................... 1-34
Measuring W-CDMA ......................................................................... 1-36
Measuring cdma2000 ......................................................................... 1-38
Contents-1
Contents-2
Contents-3
[<expected_value>[,<resolution>[,<source list>]]]....................................2-24
FETCh[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-27
FETCh[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence:RELative?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-29
FETCh[1]|2|3|4[:SCALar][:POWer:AC]:RATio?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-31
FETCh[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-33
READ[1]|2|3|4 Commands .........................................................................2-35
READ[1]|2|3|4[:SCALar][:POWer:AC]? [<expected_value>[,<resolution>[,<source list>]]].................................................................................2-36
READ[1]|2|3|4[:SCALar][:POWer:AC]:RELative?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-38
READ[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-41
READ[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence:RELative?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-43
READ[1]|2|3|4[:SCALar][:POWer:AC]:RATio? [<expected_value>[,<resolution>[,<source list>]]].................................................................................2-45
READ[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-47
MEASure[1]|2|3|4 Commands....................................................................2-49
MEASure[1]|2|3|4[:SCALar][:POWer:AC]? [<expected_value>[,<resolution>[,<source list>]]].................................................................................2-50
MEASure[1]|2|3|4[:SCALar][:POWer:AC]:RELative?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-52
MEASure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-54
MEASure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence:RELative?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-56
MEASure[1]|2|3|4[:SCALar][:POWer:AC]:RATio?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-58
MEASure[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-60
CALCulate Subsystem ........................................................................................3-1
CALCulate Subsystem ..............................................................................3-2
CALCulate[1]|2|3|4:FEED[1]|2 <string> ...................................................3-4
CALCulate[1]|2|3|4:GAIN Commands ......................................................3-6
CALCulate[1]|2|3|4:GAIN[:MAGNitude] <numeric_value> ...................3-7
CALCulate[1]|2|3|4:GAIN:STATe <boolean> ..........................................3-9
CALCulate[1]|2|3|4:LIMit Commands ......................................................3-11
Contents-4
Contents-5
Contents-7
STATus Subsystem............................................................................................10-1
STATus Subsystem .................................................................................10-2
Status Register Set Commands.................................................................10-4
Device Status Register Sets .....................................................................10-8
Operation Register Sets ...........................................................................10-10
STATus:OPERation .................................................................................10-11
STATus:OPERation:CALibrating[:SUMMary].......................................10-12
STATus:OPERation:LLFail[:SUMMary] ................................................10-13
STATus:OPERation:MEASuring[:SUMMary]........................................10-14
STATus:OPERation:SENSe[:SUMMary]................................................10-15
STATus:OPERation:TRIGger[:SUMMary].............................................10-16
STATus:OPERation:ULFail[:SUMMary]................................................10-17
STATus:PRESet .......................................................................................10-18
Questionable Register Sets ......................................................................10-19
STATus:QUEStionable ...........................................................................10-20
STATus:QUEStionable:CALibration[:SUMMary] .................................10-21
STATus:QUEStionable:POWer[:SUMMary] .........................................10-22
Status Block Diagram ...............................................................................10-25
SYSTem Subsystem...........................................................................................11-1
SYSTem Subsystem ................................................................................11-2
SYSTem:COMMunicate:GPIB[:SELF]:ADDRess <numeric_value> ...11-4
SYStem:COMMunicate:Serial Commands .............................................11-6
SYSTem:COMMunicate:SERial:CONTrol:DTR <boolean> .................11-7
SYSTem:COMMunicate:SERial:CONTrol:RTS <boolean> ..................11-8
SYSTem:COMMunicate:SERial[:RECeive]:BAUD <numeric_value> .11-9
SYSTem:COMMunicate:SERial[:RECeive]:BITs <numeric_value> ....11-11
SYSTem:COMMunicate:SERial[:RECeive]:PACE XON|NONE ..........11-13
SYSTem:COMMunicate:SERial[:RECeive]:PARity[:TYPE] EVEN|ODD|ZERO|ONE|NONE .......................................................................................11-14
SYSTem:COMMunicate:SERial[:RECeive]:SBITs <numeric_value> ..11-16
SYSTem:COMMunicate:SERial:TRANsmit:AUTO? ............................11-17
SYSTem:COMMunicate:SERial:TRANsmit:BAUD <numeric_value> 11-18
SYSTem:COMMunicate:SERial:TRANsmit:BITs <numeric_value> ....11-20
SYSTem:COMMunicate:SERial:TRANsmit:ECHO <boolean>.............11-21
SYSTem:COMMunicate:SERial:TRANsmit:PACE XON|NONE .........11-22
SYSTem:COMMunicate:SERial:TRANsmit:PARity[:TYPE]
EVEN|ODD|ZERO|ONE|NONE .............................................................11-23
SYSTem:COMMunicate:SERial:TRANsmit:SBITs <numeric_value> .11-25
SYSTem:HELP:HEADers? .....................................................................11-26
SYStem:LOCal ........................................................................................11-27
SYSTem:PRESet <character_data> .........................................................11-28
Preset Values .....................................................................................11-30
Contents-8
SYSTem:REMote..................................................................................... 11-58
SYSTem:RINTerface GPIB|RS232|RS422 ............................................ 11-59
SYSTem:RWLock .................................................................................. 11-60
SYSTem:VERSion? ................................................................................ 11-61
TRACe Subsystem ............................................................................................ 12-1
TRACe Subsystem .................................................................................. 12-2
TRACe[1]|2[:DATA]? <character_data> ............................................... 12-3
TRACe[1]|2:STATe <boolean> .............................................................. 12-5
TRACe[1]|2:UNIT <character_data> ..................................................... 12-6
TRIGger Subsystem.......................................................................................... 13-1
TRIGger Subsystem ................................................................................ 13-2
ABORt[1]|2] ............................................................................................ 13-3
INITiate Commands ................................................................................ 13-4
INITiate[1]|2:CONTinuous <boolean>.................................................... 13-5
INITiate[1]|2[:IMMediate] ...................................................................... 13-7
INITiate:CONTinuous:ALL <boolean> ................................................. 13-8
INITiate:CONTinuous:SEQuence[1]|2 <boolean> ................................. 13-9
INITiate[:IMMediate]:ALL .................................................................... 13-11
INITiate[:IMMediate]:SEQuence[1]|2 .................................................... 13-12
TRIGger Commands ............................................................................... 13-13
TRIGger[1]|2:DELay:AUTO <boolean> ................................................ 13-14
TRIGger[1]|2[:IMMediate] ..................................................................... 13-16
TRIGger[1]|2:SOURce BUS|EXTernal|HOLD|IMMediate|INTernal[[1]|2] 1317
TRIGger[:SEQuence]:DELay <numeric_value> .................................... 13-19
TRIGger[:SEQuence]:HOLDoff <numeric_value> ................................ 13-21
TRIGger[:SEQuence]:HYSTeresis <numeric_value> ............................ 13-23
TRIGger[:SEQuence]:LEVel <numeric_value> ..................................... 13-25
TRIGger[:SEQuence]:LEVel:AUTO <boolean> .................................... 13-27
TRIGger[:SEQuence]:SLOPe <character_data> .................................... 13-29
TRIGger[:SEQuence[1]|2]:COUNt <numeric_value> ........................... 13-31
TRIGger[:SEQuence[1]|2]:DELay:AUTO <boolean> ........................... 13-33
TRIGger[:SEQuence[1]|2]:IMMediate ................................................... 13-35
TRIGger[:SEQuence[1]|2]:SOURce BUS|EXTernal|HOLD|IMMediate|INTernal[[1]|2] .................................................................................................. 13-36
UNIT Subsystem ............................................................................................... 14-1
UNIT Subsystem ..................................................................................... 14-2
UNIT[1]|2|3|4:POWer <amplitude_unit> ............................................... 14-3
UNIT[1]|2|3|4:POWer:RATio <ratio_unit> ............................................ 14-6
Contents-9
SERVice Subsystem...........................................................................................15-1
SERVice Subsystem ................................................................................15-2
SERVice:BIST:CALibrator <boolean>....................................................15-3
SERVice:BIST:FPATH[1]|2:MEASure? .................................................15-4
SERVice:BIST:FPATH[1]|2:REFerence <numeric_value> ....................15-5
SERVice:BIST:FPATH[1]|2:STATe <boolean> .....................................15-6
SERVice:BIST:TBASe:STATe <boolean> .............................................15-7
SERVice:BIST:TRIGger:LEVel:STATe .................................................15-8
SERVice:BIST:TRIGger:TEST?..............................................................15-9
SERVice:OPTion <character_data> ........................................................15-10
SERVice:SENSor[1]|2:CALFactor <cal_factor_data> ...........................15-11
SERVice:SENSor[1]|2:CDATe? .............................................................15-13
SERVice:SENSor[1]|2:CORRections:STATe <boolean> .......................15-14
SERVice:SENSor[1]|2:CPLace? .............................................................15-16
SERVice:SENSor[1]|2:FREQuency:MAXimum? ..................................15-17
SERVice:SENSor[1]|2:FREQuency:MINimum? ....................................15-18
SERVice:SENSor[1]|2:PCALfactor <cal_factor_data> ..........................15-19
SERVice:SENSor[1]|2:POWer:AVERage:MAXimum? ........................15-20
SERVice:SENSor[1]|2:POWer:PEAK:MAXimum? ..............................15-21
SERVice:SENSor[1]|2:POWer:USABle:MAXimum? ...........................15-22
SERVice:SENSor[1]|2:POWer:USABle:MINimum? .............................15-23
SERVice:SENSor[1]|2:RADC? ...............................................................15-24
SERVice:SENSor[1]|2:SNUMber? .........................................................15-25
SERVice:SENSor[1]|2:TNUMber? .........................................................15-26
SERVice:SENSor[1]|2:TYPE? ................................................................15-27
SERVice:SNUMber <character_data> ....................................................15-28
SERVice:VERSion:PROCessor <character_data> .................................15-29
SERVice:VERSion:SYSTem <character_data> .....................................15-30
IEEE488.2 Command Reference .....................................................................16-1
IEEE-488 Compliance Information .........................................................16-2
Universal Commands ...............................................................................16-3
DCL ..................................................................................................16-3
GET ..................................................................................................16-3
GTL ..................................................................................................16-3
LLO ..................................................................................................16-3
PPC ...................................................................................................16-4
PPD ...................................................................................................16-4
PPE ...................................................................................................16-4
PPU ...................................................................................................16-5
SDC ...................................................................................................16-5
SPD....................................................................................................16-5
SPE ....................................................................................................16-5
Contents-10
Contents-11
Contents-12
List of Tables
Page
0-1
0-2
0-3
0-4
0-5
0-6
0-7
0-8
0-9
0-10
0-11
0-12
0-13
0-14
0-15
0-1
0-2
0-3
0-4
0-5
0-6
0-7
0-8
0-9
0-10
0-11
0-12
0-13
0-14
0-15
0-16
0-17
0-18
0-19
0-20
0-21
Tables-1
0-22
0-23
0-24
0-25
0-26
0-27
0-28
0-29
0-30
0-31
Tables-2
List of Figures
Page
0-1
0-2
0-3
0-4
0-5
0-6
0-7
0-8
0-9
0-10
0-11
0-12
0-13
0-1
Figures-1
Figures-2
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-40.
Using Frequency Dependent Offset Tables, on page 1-50
Setting the Range, Resolution and Averaging, on page 1-57.
Setting Offsets, on page 1-61.
Setting Measurement Limits, on page 1-63.
Measuring Pulsed Signals, on page 1-67.
END, on page 1-69.
Getting the Best Speed Performance, on page 1-70.
How Measurements are Calculated, on page 1-74.
Status Reporting, on page 1-75.
Saving and Recalling Power Meter Configurations, on page 1-95.
Using Device Clear to Halt Measurements, on page 1-96.
An Introduction to the SCPI Language, on page 1-97.
Summary Of Commands, on page 1-106.
SCPI Compliance Information, on page 1-119.
1-2
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 Users 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 meters 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 controllers
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 Users 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.
1-3
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 Users 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 Users Guide. For remote operation use the
following commands:
SYSTem:COMMunicate:SERial:CONTrol:DTR
SYSTem:COMMunicate:SERial:CONTrol:RTS
SYSTem:COMMunicate:SERial[:RECeive]:BAUD
SYSTem:COMMunicate:SERial[:RECeive]:BITs
SYSTem:COMMunicate:SERial[:RECeive]:PACE
SYSTem:COMMunicate:SERial[:RECeive]:PARity[:TYPE]
SYSTem:COMMunicate:SERial[:RECeive]:SBITs
SYSTem:COMMunicate:SERIal:TRANsmit:AUTO?
SYSTem:COMMunicate:SERial:TRANsmit:BAUD
SYSTem:COMMunicate:SERial:TRANsmit:BITs
SYSTem:COMMunicate:SERial:TRANsmit:ECHO
SYSTem:COMMunicate:SERial:TRANsmit:PACE
SYSTem:COMMunicate:SERial:TRANsmit:PARity[:TYPE]
SYSTem:COMMunicate:SERial:TRANsmit:SBITs
1-4
Zeroing
Zeroing adjusts the power meters 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:
when a 50C change in temperature occurs.
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.
Calibration
Calibration sets the gain of the power meter using a 50 MHz 1 mW calibrator as a
traceable power reference. The power meters 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 and N8480 Series power sensors with
Option CFT require you to set the reference calibration factor. All E-Series power
sensors and N8480 Series power sensors (excluding Option CFT) set the reference
calibration factor automatically. Offset, relative and duty cycle settings are ignored
during calibration.
1-5
1-6
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-40. To select and enable the table use the following commands:
[SENSe[1]]|SENSe2:CORRection:CSET1:SELect <string>
[SENSe[1]]|SENSe2:CORRection:CSET1:STATe ON
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?
1-7
Making Measurements
The MEASure? and CONFigure commands provide the most straight-forward
method to program the power meter for measurements. You can select the
measurements 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 0-1.
Table 0-1: MEASure? and CONFigure Preset States
Command
Immediate
Filter
(SENSe:AVERage:COUNt:AUTO)
On
Filter state
(SENSe:AVERage:STATe)
On
Trigger cycle
(INITiate:CONTinuous)
Off
Trigger Delay
(TRIGger:DELay:AUTO)
On
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 0-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.
1-8
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-49.
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).
specifies window
MEAS1?
MEAS2?
1-9
specifies channel
MEAS1? DEF,DEF,(@1)
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 or N8480 Series power sensor (excluding Option CFT). The value
entered determines which of the power sensors two ranges is used for the
measurement. If the current setting of the power sensors 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 sensors lower range (refer to Range, on page 1-57 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.
specifies expected power value
specifies window
specifies channel
MEAS2? -50,DEF,(@2)
1-10
specifies window
MEAS2:POW:AC:DIFF? DEF,DEF,(@2),(@1)
Channel B - A
1-11
specifies window
MEAS1:POW:AC:RAT? DEF,DEF,(@1),(@2)
Channel A / B
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]? and MEAS:POW:AC:RAT?).
This means that when the source list parameter is defaulted, there are a number of
possibilities.
Command
MEAS1[:POW][AC]?
MEAS2[:POW][AC]?
MEAS1:POW:AC:RAT
MEAS2:POW:AC:RAT
1-12
Lower Window:
Upper Window:
Lower Window:
Measurement
Any Other
Any Other
A/B
A/B
B/A
B/A
Any Other
A/B
A/B
A/B
Command
MEAS1:POW:AC:DIFF?
MEAS2:POW:AC:DIFF?
Upper Window:
Lower Window:
Measurement
B/A
B/A
Any Other
A/B
A-B
A-B
B-A
B-A
Any Other
A-B
A-B
A-B
B-A
B-A
Any Other
A-B
1-13
1-14
*RST
CONF1
READ1?
Reset instrument
Configure upper window - defaults to a channel A
measurement
Take upper window (channel A) measurement
Reset instrument
Configure the lower window - defaults to channel A
Channel B (E4417A) measurement
READ2?
Take lower window measurement (channel A on
E4416A, B on E4417A)
*RST
CONF2
(E4416A),
*RST
CONF1
INIT1
FETC1?
Reset instrument
Configure upper window - defaults to a channel A
measurement
Causes channel A to make a measurement
Retrieves the upper windows measurement
Reset instrument
Configure lower window - E4416A defaults to
channel A
Causes channel A to make measurement
Retrieves the lower windows measurement
Reset instrument
Configure lower window
Causes channel B to make measurement
Retrieves the lower windows measurement
1-15
ABOR1
Aborts channel A
CONF1 DEF,DEF,(@1)
READ1?
ABOR1
Aborts channel A
CONF1 DEF,DEF,(@1)
INIT1
FETC1?
1-16
ABOR2
Aborts channel B
CONF1 -50,DEF,(@2)
READ1?
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?
Using INITiate and FETCh?
ABOR2
Aborts channel B
1-17
CONF1 -50,DEF,(@2)
INIT2
FETC1?
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-18
ABOR1
Aborts channel A.
CONF1 DEF,3
READ1?
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?
1-19
The following program segment assumes that channel A is currently being measured
on the upper window.
ABOR1
Aborts channel A.
CONF1 DEF,3
INIT1
FETC1?
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-20
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 second READ? query is sent
to make a channel B - channel A measurement using fresh measurement data.)
Using INITiate and FETCh?
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.)
1-21
ABOR1
ABOR2
CONF2:POW:AC:RAT DEF,DEF,(@1),(@2)
SENS1:AVER:COUN 512
SENS2:AVER:COUN 256
READ2:POW:AC:RAT?
READ2:POW:AC:RAT? DEF,DEF,(@2),(@1) (A second READ? query is sent
to make a channel B - channel A ratio measurement using fresh measurement data.)
Using INITiate and FETCh?
ABOR1
ABOR2
CONF2:POW:AC:RAT DEF,DEF,(@1),(@2)
SENS1:AVER:COUN 512
SENS2:AVER:COUN 256
INIT1:IMM
INIT2:IMM
FETC2:POW:AC:RAT?
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-22
Aborts channel A.
CALC2:MATH:EXPR "(SENS1)"
SENS1:POW:AC:RANG 0
DISP:WIND2:RES 3
INIT1
FETC2?
1-23
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.8s with a rise time of 28s. As the power meter triggers during
the rising power transition, the measurement gate is configured to measure the
average power in a 520 s period, 20 s 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 s, 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 s ahead of the trigger for a duration of 700 s.
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.
*CLS
*RST
SERV:SENS:TYPE?
SENS:FREQ:900MHZ
SENS:BW:VID:HIGH
1-24
SENS:BW:VID:LOW
SENS:SWE1:OFFS:TIME:0.00002
SENS:SWE1:TIME0.00052
INIT:CONT ON
TRIG:SOUR INT
TRIG:LEV:AUTO OFF
TRIG:LEV -20.00DBM
TRIG:DEL 0.00002
TRIG:HOLD 0.004275
DISP:WIND1:TRACE:LOW -35
DISP:WIND1:TRACE:UPP 20
SENS:TRAC:OFFS:TIME -0.00004
SENS:TRAC:TIME 0.0007
DISP:WIND1:FORM TRACE
DISP:WIND2:FORM SNUM
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 s with a rise time of 28 s. Also, trigger hysteresis is
EPM-P Series Power Meters Programming Guide
1-25
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 s period, 20 s 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 s 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.
*CLS
*RST
SERV:SENS:TYPE?
SENS:FREQ:900MHZ
SENS:BW:VID:HIGH
SENS:BW:VID:LOW
SENS:SWE1:OFFS:TIME:0.00002
SENS:SWE1:TIME0.00052
INIT:CONT ON
TRIG:SOUR INT
TRIG:LEV:AUTO OFF
TRIG:LEV -20.00DBM
1-26
TRIG:DEL 0.00002
TRIG:HOLD 0.004275
TRIG:HYST 3.0
Sets Hysteresis to 3 dB
DISP:WIND1:TRACE:LOW -55
DISP:WIND1:TRACE:UPP 20
SENS:TRAC:OFFS:TIME -0.00004
SENS:TRAC:TIME 0.0007
DISP:WIND1:FORM TRACE
DISP:WIND2:FORM DNUM
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.
IS-136 full rate frame
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 s
EPM-P Series Power Meters Programming Guide
1-27
(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 s 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.
*CLS
*RST
SERV:SENS:TYPE?
SENS:FREQ:800MHZ
SENS:BW:VID:LOW
SENS:SWE1:OFFS:TIME:0.0001235
SENS:SWE1:TIME0.0064
SENS:SWE2:OFFS:TIME:0.020123
SENS:SWE2:TIME0.0064
INIT:CONT ON
TRIG:SOUR INT
1-28
TRIG:LEV:AUTO OFF
TRIG:LEV -20.00DBM
TRIG:HOLD 0.03
DISP:WIND1:TRACE:LOW -35
DISP:WIND1:TRACE:UPP 20
SENS:TRAC:OFFS:TIME -0.0002
SENS:TRAC:TIME 0.028
DISP:WIND1:FORM TRACE
DISP:WIND2:FORM DNUM
1-29
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.
*CLS
*RST
SERV:SENS:TYPE?
SENS:FREQ:800MHZ
SENS:BW:VID:LOW
SENS:SWE1:OFFS:TIME:0.00001
SENS:SWE1:TIME0.015
SENS:SWE2:TIME0.090
1-30
INIT:CONT ON
TRIG:SOUR INT
TRIG:LEV:AUTO OFF
TRIG:LEV -20.00DBM
TRIG:HOLD 0.02
DISP:WIND1:FORM SNUM
DISP:WIND2:FORM DNUM
1-31
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 s, 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 s period, 0.2 s 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 s before the trigger.
Note
The E9321A and E9325A sensors are best suited. The E9321A and E9325A are
not recommended due to lack of bandwidth.
*CLS
*RST
SERV:SENS:TYPE?
SENS:FREQ:2400MHZ
SENS:BW:VID:HIGH
SENS:SWE1:OFFS:TIME:0.0000002
SENS:SWE1:TIME0.000366
INIT:CONT ON
TRIG:SOUR INT
TRIG:LEV:AUTO OFF
TRIG:LEV -20.00DBM
1-32
TRIG:HOLD 0.00065
TRIG:HYST 3.0
Sets Hysteresis to 3 dB
DISP:WIND1:TRACE:LOW -35
DISP:WIND1:TRACE:UPP 20
SENS:TRAC:OFFS:TIME -0.00001
SENS:TRAC:TIME 0.00065
DISP:WIND1:FORM TRACE
DISP:WIND2:FORM DNUM
1-33
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.
*CLS
*RST
SERV:SENS:TYPE?
SENS:FREQ:850MHZ
SENS:BW:VID:HIGH
SENS:SWE1:OFFS:TIME:0
SENS:SWE1:TIME 10E-3
INIT:CONT ON
TRIG:SOUR INT
TRIG:LEV:AUTO OFF
1-34
TRIG:LEV -10.00DBM
DISP:WIND1:FORM SNUM
DISP:WIND2:FORM DNUM
CALC1:FEED1 POW:AVER
CALC2:FEED1 POW:PEAK
CALC4:FEED1 POW:PTAV
1-35
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).
*CLS
*RST
SERV:SENS:TYPE?
SENS:FREQ:1900MHZ
SENS:BW:VID:HIGH
SENS:SWE1:OFFS:TIME:0
SENS:SWE1:TIME 10E-3
INIT:CONT ON
TRIG:SOUR INT
TRIG:LEV:AUTO OFF
TRIG:LEV -10.00DBM
1-36
DISP:WIND1:FORM SNUM
DISP:WIND2:FORM DNUM
CALC1:FEED1 POW:AVER
CALC2:FEED1 POW:PEAK
CALC4:FEED1 POW:PTAV
1-37
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).
*CLS
*RST
SERV:SENS:TYPE?
SENS:FREQ:1900MHZ
SENS:BW:VID:HIGH
SENS:SWE1:OFFS:TIME:0E-6
SENS:SWE1:TIME 10E-3
INIT:CONT ON
TRIG:SOUR INT
TRIG:LEV:AUTO OFF
TRIG:LEV -10.00DBM
1-38
DISP:WIND1:FORM SNUM
DISP:WIND2:FORM DNUM
CALC1:FEED1 POW:AVER
CALC2:FEED1 POW:PEAK
CALC4:FEED1 POW:PTAV
1-39
Overview
For the 8480 Series power sensors and N8480 Series power sensors with Option CFT,
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.
1-40
TABLE N
TABLE 20
RCF
RCF
RCF
FREQ
1
CFAC
1
FREQ
1
FREQ
2
.
.
.
.
.
.
.
.
.
.
CFAC
2
.
.
.
.
.
.
.
.
.
.
FREQ
2
.
.
.
.
.
.
.
.
.
.
FREQ
80
CFAC
80
FREQ
80
FREQ
1
CFAC
1
CFAC
2
.
.
.
.
.
.
.
.
.
.
FREQ
2
.
.
.
.
.
.
.
.
.
.
CFAC
2
.
.
.
.
.
.
.
.
.
.
CFAC
80
FREQ
80
CFAC
80
CFAC
1
RCF
FREQ
1
CFAC
1
FREQ
2
.
.
.
.
.
.
.
.
.
.
CFAC
2
.
.
.
.
.
.
.
.
.
.
FREQ
80
CFAC
80
1-41
2.
3.
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.
1-42
2.
3.
Calibration Factor
Reference Calibration Factor
4.
Note
Frequency 1
Calibration Factor 1
Frequency 2
Calibration Factor 2
"
"
Frequency n
Calibration Factor n
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 calibration factors and can be omitted.
EPM-P Series Power Meters Programming Guide
1-43
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 [SENSe[1]]|SENSe2:CORRection:CSET1[:SELect] <string>
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.
1-44
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:
560,8020,Sensor_1,TABL,220,Sensor_2,TABL,340 ....
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:
DEFAULT1
8481A
8482A2
8483A
8481D
8485A
R8486A
Q8486A
R8486D
8487A
For further information on naming sensor calibration tables see Naming Sensor
Calibration Tables, on page 1-46.
Note
Predefined sensor calibration table is not applicable for N8480 Series power
sensors with Option CFT. Therefore you are required to create a new sensor
calibration table for the sensors when a sensor calibration table is needed.
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-45
1-46
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-47 to
enter the data into your computer. Edit this data, then resend it.
1-47
1-48
1-49
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.
2.
3.
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.
1-50
TABLE 10
TABLE N
FREQ
1
OFFSET
1
FREQ
1
OFFSET
1
FREQ
1
OFFSET
1
FREQ
2
.
.
.
.
.
.
.
.
.
.
OFFSET
2
.
.
.
.
.
.
.
.
.
.
FREQ
2
.
.
.
.
.
.
.
.
.
.
OFFSET
2
.
.
.
.
.
.
.
.
.
.
FREQ
2
.
.
.
.
.
.
.
.
.
.
OFFSET
2
.
.
.
.
.
.
.
.
.
.
FREQ
80
OFFSET
80
FREQ
80
OFFSET
80
FREQ
80
OFFSET
80
TABLE SELECTED
FREQ
1
OFFSET
1
FREQ
2
.
.
.
.
.
.
.
.
.
.
OFFSET
2
.
.
.
.
.
.
.
.
.
.
FREQ
80
OFFSET
80
Frequency dependent
offset used to make
Measurement. Calculated
by the Power Meter using
linear interpolation.
1-51
2.
3.
4.
Note
Frequency
Offset
Frequency 1
Offset 1
Frequency 2
Offset 2
"
"
Frequency n
Offset n
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.
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
1-52
1-53
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:
560,8020,Offset_1,TABL,220,Offset_2,TABL,340 ....
1-54
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-47 to
enter the data into your computer. Edit this data, then resend it.
1-55
INITiate Example
ABORt1
CONFigure1:POWer:AC DEF,1,(@1)
SENS1:CORR:CSET2:SEL "Offset1"
SENS1:CORR:CSET2:STAT ON
SENSe1:FREQuency 500KHZ
INITiate1:IMMediate
FETCh1?
READ? Example
ABORt1
CONFigure1:POWer:AC DEF,2,(@1)
SENS1:CORR:CSET2:SEL "Offset1"
SENS1:CORR:CSET2:STAT ON
SENSe1:FREQuency 500KHZ
READ1?
Note
1-56
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 and N8480 Series power sensors
(excluding Option CFT). With an E-Series power sensor or N8480 Series power
sensor (excluding Option CFT), 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 sensors lower range is selected. (For example, this range is -70 to
-13.5 dBm for the E4412A power sensor.)
1, the sensors 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 and N8480 Series
power sensors (excluding Option CFT), refer to the appropriate power sensor manual.
For further information on this command refer to page 9-46.
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-57
Resolution
You can set the windows resolution using the following command:
DISPlay[:WINDow[1]|2][:NUMeric[1]|2]
:RESolution <numeric_value>
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 0-3 lists the number of readings
averaged for each range and resolution when the power meter is in auto filter mode.
Note
1-58
Resolution Setting
2
3
10 dB
128
128
10 dB
16
256
10 dB
32
10 dB
16
Number of Averages
Power Sensor
Dynamic Range
Range Hysteresis
9.5 dB
10.5 dB
Minimum Sensor Power + 10 dB
1-59
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.
1-60
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.
1
Gain
LOSS2 is coupled to GAIN2 by the equation Loss = ------------- when the default
unit is linear, and Gain = Loss 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 0-8 on page 1-74).
1-61
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:
dBm 10
A
--------------------------- 20
B dBm 10
dB
1-62
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 0-5.
Figure 0-5: Limits Checking Application
Power Meter
Swept Source
Device
Under Test
OUT
IN
OUT
CHANNEL A
INPUT
1-63
Amplitude
+10 dBm
o
Fail
o
o
o
+4 dBm
o
Fail
Frequency
Setting Limits
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 0-2.
Table 0-2: Range of Values for Window Limits
Window
Units
Max
Min
Default
dB
+200 dB
-180 dB
60 dB
-120 dB
dBm
+230 dBm
-150 dBm
90 dBm
-90 dBm
10.0 Z%
100.0 a%
100.0 M%
100.0 p%
100.000 XW
1.000 aW
1.000 MW
1.000 pW
Max
Min
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, under limit condition or both. Refer to
1-64
Chapter 8 OUTput Subsystem for TTL output programming commands and to the
EPM-P Series Power Meters Users Guide for connector and pin-out information.
2.
SENSe:LIMit:FCOunt?
Use the equivalent CALCulate commands for checking window limit failures.
Note
1-65
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-75 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 -30
CALC1:LIM:UPP -10
CALC1:LIM:STAT ON
OUTP:TTL1:FEED
CALC1:LIM:LOW,CALC1:LIM:UPP
OUTP:TTL1:ACT HIGH
OUTP:TTL1:STAT ON
1-66
The E-Series E9320 power sensors are best suited for peak and pulse power
measurement However, the E-Series E9300, 8480 or N8480 Series power sensors
can be used.
Pulse measurements are not recommended using E-Series E4410 power sensors.
Duty Cycle = A
Time
A
1-67
You use the 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 and N8480 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.
1-68
1-69
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 Users Guide to see the
influence of these speed settings on the accuracy and noise performance of the power
meter.
1-70
Sensor
Different measurement rates are achievable depending on the sensor type being used:
Measurement Rate
Sensor
NORMal
DOUBle
FAST
50 ms
25 ms
NA
50 ms
25 ms
Up to 400
E-Series E9320,
AVERage only mode
50 ms
25 ms
Up to 400
E-Series E9320,
NORMal mode
50 ms
25 ms
Up 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
1-71
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 when the results output are
also in linear units (since the overhead of performing a log function is removed).
1-72
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 commandsthey 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-73
TRACe:DATA?
TRACe1
TRACe:DATA?
TRACe2
CALCulate1
FORMat
:LIM
:FEED
Limits
SENSe1
Switch
Switch
:BAND:VID (B/W)
:AVER2 (video averaging)
Sensor
Video
Filter
Data
Selection
:SPEed
:POW:AC:RANG
:POW:AC:RANG:AUTO:DIR
:DET:FUNC
Freq.
Corr.
:FREQ
:CORR:CFAC
:CORR:CSET
Filter
Duty
Cycle
Offset
Offset
Relative
:MATH
:GAIN
:REL
:CORR:DCYC
UNIT1
Conversion
CALCulate3
Switch
:CORR:GAIN2
:CORR:LOSS2
Switch
:LIM
Maths
Offset
Relative
:MATH
:GAIN
:REL
Switch
MEAS?
READ?
FETC?
CONF
:FEED
Switch
Switch
Switch
:POW
Limits
:AVER[1]
:SWEep:TIME:GATE:DELay
:SWEep:TIME:GATE:LENGth
Maths
UNIT3
Conversion
:POW
DISPlay
[WINDow[1]]
Upper Meas
:NUMeric[1]:RESolution
Lower Meas
SENSe2
CALCulate2
:LIM
:NUMeric2:RESolution
:FEED
:BAND:VID (B/W)
:AVER2 (video averaging)
Limits
Switch
Switch
Sensor
Video
Filter
:SPEed
:POW:AC:RANG
:POW:AC:RANG:AUTO:DIR
:DET:FUNC
Data
Selection
Freq.
Corr.
Filter
:AVER[1]
:FREQ
:CORR:CFAC
:CORR:CSET
:SWEep:TIME:GATE:DELay
:SWEep:TIME:GATE:LENGth
Duty
Cycle
Offset
Offset
Relative
Conversion
:MATH
:GAIN
:REL
:POW
:FORMat
:METer
:SELect [1]|2
WINDow2
Upper Meas
:CORR:DCYC
CALCulate4
:LIM
:NUMeric[1]:RESolution
:FEED
:CORR:GAIN2
:CORR:LOSS2
Limits
Switch
Switch
TRIGger
UNIT2
Maths
Maths
Offset
Relative
:MATH
:GAIN
:REL
Lower Meas
UNIT4
:NUMeric2:RESolution
Conversion
:POW
:FORMat
:METer
:SELect [1]|2
:CONTrast
:ENABle
:FORMat
The MEASure commands in this figure can be replaced with the FETCh? and
READ? commands.
Note
All references to channel B in the above diagram refer to the E4417A only.
MEAS[1|2]:POW:AC? and MEAS[1|2]:POW:AC:REL? are the only
commands that apply to the E4416A.
1-74
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-75
Bit 0
Bit 1
Bit 2
Transition
Filter
Event
Register
Enable
Register
Logical OR
Condition
Register
Summary
Bit
Bit 3
1-76
Enable Register
The enable register specifies the bits in the event register that can generate a summary
bit. The instrument logically ANDs corresponding bits in the event and enable
registers and ORs all the resulting bits to obtain a summary bit. Enable registers are
read-write. Querying an enable register does not affect it.
An Example Sequence
Figure 0-10 illustrates the response of a single bit position in a typical status group for
various settings. The changing state of the condition in question is shown at the
bottom of the figure. A small binary table shows the state of the chosen bit in each
status register at the selected times T1 to T5.
Event
Summary Bit
Condition
Event
Summary Bit
Condition
Event
Summary Bit
Condition
Event
Summary Bit
Condition
Event
Summary Bit
Case D
Condition
Case C
Enable
Case B
NTR
Case A
PTR
0
0
1
1
0
1
0
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Condition
1
0
T1
T2
T3
T4
T5
1-77
1-78
Determine which register contains the bit that monitors the condition.
2.
3.
The polling method works well if you do not need to know about the changes the
moment they occur. The SRQ method is more effective if you must know
immediately when a condition changes. Detecting an immediate change in a
condition using the polling method requires your program to continuously read the
registers at very short intervals. This is not particularly efficient and there is a
possibility that an event may be missed.
1-79
You can determine which bits are enabled in the Status Register using *SRE?.
This command returns the decimal weighted sum of all the bits.
Procedure
Send a bus device clear message.
Clear the event registers with the *CLS (clear status) command.
Set the *ESE (standard event register) and *SRE (status byte register) enable
masks.
Enable your bus controllers IEEE-488 SRQ interrupt.
Examples
The following two examples are written in HP BASIC and illustrate possible uses for
SRQ. In both cases, it is assumed that the meter has been zeroed and calibrated.
Example 1:
10
20
30
40
50
60
70
80
90
100
110
120
130
140
150
160
170
180
190
200
210
220
230
240
250
260
270
280
290
300
310
320
330
340
350
360
370
380
OUTPUT @Pm;STAT:DEV:NTR 2
OUTPUT @Pm;STAT:DEV:PTR 2
OUTPUT @Pm;*SRE 2
!
ENABLE INTR 7;2 ! Enable an SRQ to cause an interrupt
LOOP
! Idle loop
! Forever
END LOOP
!
! When a SRQ is detected , the following routine will
service it.
!
Srq_i:
!
St=SPOLL(@Pm)
! Serial Poll (reads status byte)
IF BIT(St,1)=1 THEN
! Device status reg bit set ?
OUTPUT @Pm;STAT:DEV:EVEN? ! Yes , read register
ENTER @Pm;Event
! (this also clears it)
OUTPUT @Pm;STAT:DEV:COND?
ENTER @Pm;Cond
IF Cond=0 THEN
PRINT Sensor disconnected
ELSE
PRINT Sensor connected
END IF
END IF
GOTO 170
! Return to idle loop
END
Example 2:
10
20
30
40
50
60
70
80
90
100
110
120
1-81
130
140
150
160
170
180
190
200
210
220
230
240
250
260
270
280
290
300
310
320
330
340
350
360
1-82
Status Registers
The Status System in the power meter is shown in Figure 0-11. The Operation Status
and Questionable Status groups are 16 bits wide, while the Status Byte and Standard
Event groups are 8 bits wide. In all 16-bit groups, the most significant bit (bit 15) is
not used and is always set to 0.
Figure 0-11: Status System
Error/Event Queue
Logical OR
Device Status
Condition
Event
Enable
Logical OR
Questionable Status
Event
Enable
Status Byte
Output Queue
0
1
2
QUE
MAV
ESB
RQS/MSS
OPR
*STB?
0
1
2
QUE
MAV
ESB
X
OPR
*SRE
Logical OR
Condition
Logical OR
Standard Event
Event
*ESR
Enable
*ESE
Logical OR
Operation Status
Condition
Event
Enable
1-83
Decimal
Weight
Error/Event Queue
16
Data Available
Data is available in the power meters output buffer.
32
Standard Event
One or more bits are set in the Standard Event register (bits
must be enabled in enable register).
64
Request Service
The power meter is requesting service (serial poll).
128
1-84
Definition
1-85
Decimal
Value
Operation Complete
All overlapped commands following an *OPC command
have been completed.
Query Error
A query error occurred, refer to error numbers 410 to 440 in
the Users Guide.
Device Error
A device error occurred, refer to error numbers 310 to 350 in
the Users Guide.
16
Execution Error
An execution error occurred, refer to error numbers 211 to
241 in the Users Guide.
32
Command Error
A command syntax error occurred, refer to error numbers 101
to 161 in the Users Guide.
64
User request.
128
Power On
Power has been turned off and on since the last time the event
register was read or cleared.
Definition
1-86
Decimal
Weight
0 to 2
Not used
POWer Summary
4 to 7
Not used
256
CALibration Summary
512
10 to 14
Not Used
15
Definition
1-87
The condition bits are set and cleared under the following conditions:
Bit Number Meaning
POWer
Summary
SET:
Error -230, Data corrupt or stale
Error -231, Data questionable;Input Overload
Error -231, Data questionable;Input Overload ChA1
Error -231, Data questionable;Input Overload ChB1
Error -231, Data questionable;PLEASE ZERO
Error -231, Data questionable;PLEASE ZERO ChA1
Error -231, Data questionable;PLEASE ZERO ChB1
Error -231, Data questionable;Lower window log error1
Error -231, Data questionable;Upper window log error1
CLEARED: When no errors are detected by the power meter
during a measurement covering the causes given for it to set.
CALibration
Summary
Power On Self SET: This bit is set when the power on self test fails.
Test
CLEARED: When the power on self test passes.
1. E4417A only
1-88
Operation Status
The Operation Status group monitors conditions in the power meters measurement
process.
The Operation status model is shown in the pullout at the end of this chapter.
The following bits in these registers are used by the power meter:
Bit
Number
Decimal
Weight
CALibrating Summary
1-3
Not used
16
MEASuring Summary
32
6-9
10
1024
SENSe Summary
11
2048
12
4096
13 to 14
Not used
15
Definition
Not used
The condition bits are set and cleared under the following conditions:
Bit
Number
Meaning
CALibrating
1-89
Bit
Number
Meaning
MEASuring
Waiting for
TRIGger
10
SENSe
11
Lower Limit
Fail
12
Upper Limit
Fail
1-90
Decimal
Weight
Not used
16
32
64
14
16384
Definition
1. E4417A only
1-91
The condition bits are set and cleared under the following conditions:
Bit
Number
1
Meaning
Channel A
sensor
connected
Channel B
sensor
connected
Channel A
error
Channel B
error
Channel A
Front/Rear
Channel B
Front/Rear
14
1-92
Front Panel
Key Press
1-93
Examples
This example program uses the *OPC? command to determine when the power meter
has finished calibrating.
CAL:AUTO ONCE
*OPC?
MEAS:POW:AC?
This example program, in HP Basic, uses the *OPC command and serial poll to
determine when the power meter has finished calibrating. The advantage to using this
method over the *OPC? command is that the computer can perform other operations
while it is waiting for the power meter to finish calibrating.
10 ASSIGN @Power TO 713
20 OUTPUT @Power;*CLS
30 OUTPUT @Power;*ESE 1
40 OUTPUT @Power;CAL:AUTO ONCE;*OPC
50 WHILE NOT BIT(SPOLL(@Power),5)
60 !(Computer carries out other operations here)
70 END WHILE
80 OUTPUT @Power;MEAS:POW:AC?
90 ENTER @Power;Result
100 PRINT Result
110 END
1-94
Example Program
10 ASSIGN @POWER TO 713
20 !Configure the power meter
30 OUTPUT @POWER;UNIT:POW W
40 OUTPUT @POWER;SENS:CORR:LOSS2 -10
50 OUTPUT @POWER;SENS:CORR:LOSS2:STAT ON
60 !Save the configuration
70 OUTPUT @POWER;*SAV 5
80 PRINT Configuration Saved
90 !Now reset the power meter
100 OUTPUT @POWER;*RST
110 !Recall the configuration
120 OUTPUT @POWER;*RCL 5
130 PRINT Configuration Recalled
140 PRINT Save and Recall complete
150 END
1-95
1-96
:D
:E
B Subsystem
:F
:G
:H
:M
C Subsystem
:I
:J
:K
:L=:C:L
:N=:B:H:N
Mnemonic Forms
Each keyword has both a long and a short form. A standard notation is used to
differentiate the short form keyword from the long form keyword. The long form of
the keyword is shown, with the short form portion shown in uppercase characters, and
the rest of the keyword shown in lowercase characters. For example, the short form of
TRIGger is TRIG.
Using a Colon (:)
When a colon is the first character of a command keyword, it indicates that the next
command mnemonic is a root-level command. When a colon is inserted between two
command mnemonics, the colon moves the path down one level in the present path
(for the specified root-level command) of the command tree. You must separate
command mnemonics from each other using a colon. You can omit the leading colon
if the command is the first of a new program line.
1-97
If you send two query commands without reading the response from the first,
then attempt to read the second response, you may receive some data from the
first response followed by the complete second response. To avoid this, do not
send a query command without reading the response. When you cannot avoid
this situation, send a device clear before sending the second query command.
Using * Commands
Commands starting with a * are called common commands. They are required to
perform the identical function for all instruments that are compliant with the
IEEE-488.2 interface standard. The * commands are used to control reset, self-test,
and status operations in the power meter.
1-98
Syntax Conventions
Throughout this guide, the following conventions are used for SCPI command syntax.
Square brackets ([]) indicate optional keywords or parameters.
Braces ({}) enclose one or more parameters that may be included zero or more
times.
Triangle brackets (<>) indicate that you must substitute a value for the enclosed
parameter.
Bars (|) can be read as or and are used to separate alternative parameter options.
Syntax Diagram Conventions
Solid lines represent the recommended path.
Ovals enclose command mnemonics. The command mnemonic must be entered
exactly as shown.
Dotted lines indicate an optional path for bypassing secondary keywords.
Arrows and curved intersections indicate command path direction.
1-99
<character_data> Definition
Throughout this chapter <character_data> is used to represent character data,
that is, A - Z, a - z, 0 - 9 and _ (underscore). For example: START and R6_5F. The
format is defined as:
<upper-case
alpha>
<upper-case
alpha>
<digit>
<NAN> Definition
Not a number (NAN) is represented as 9.91 E37. Not a number is defined in IEEE 754.
1-100
C/c
D/d
E/e
F/f
<digit>
0
1
2
Q/q
3
4
5
6
7
0
B/b
1
1-101
<NRf> Definition
Throughout this chapter <NRf> is used to denote a flexible numeric representation.
For example: +200; -56; +9.9E36. Refer to section 7.7.2.1 of IEEE 488.2 for further
details.
<NR1> Definition
Throughout this chapter <NR1> numeric response data is defined as:
+
digit
For example:
146
+146
-12345
Refer to section 8.7.2 of IEEE 488.2 for further details.
<NR2> Definition
Throughout this chapter <NR2> numeric response data is defined as:
+
digit
digit
For example:
12.3
+1.2345
-0.123
Refer to section 8.7.3 of IEEE 488.2 for further details.
1-102
<NR3> Definition
Throughout this chapter <NR3> numeric response data is defined as:
+
digit
digit
+
E
digit
For example:
1.23E+6
123.4E-54
-1234.567E+90.
Refer to section 8.7.4 of IEEE 488.2 for further details.
<numeric_value> Definition
Throughout this chapter the decimal numeric element is abbreviated to
<numeric_value>. For example, <NRf>, MINimum, MAXimum, DEFault or
Not A Number (NAN).
1-103
<string> Definition
Throughout this chapter <string> is used to represent 7-bit ASCII characters.
The format is defined as:
Program Data
'
'
<inserted '>
'
<non-single
quote char>
"
"
<inserted ">
"
<non-double
quote char>
Response Data
"
"
1-104
<inserted ">
<non-double
quote char>
"
1-105
Summary Of Commands
Note
This Guide details the commands available for both the E4416A and the E4417A
power meters. As the E4416A is a single channel power meter only channel A
can be selected. Where instances of channel selection are detailed in this chapter
they are only relevant for the E4417A.
This section summarizes the SCPI (Standard Commands for Programmable
Instruments) commands available to program the power meter. All the commands
listed also have queries unless otherwise stated in the Notes column. Refer to later
chapters for more details on each command.
In different subsystems the numeric suffix of program mnemonics can represent
either a channel selection or a window selection. Refer to the appropriate command
description to verify the meaning of the numeric suffix.
With commands that require you to specify a channel, Channel A is represented by a
1 and Channel B by a 2. If you omit the channel number, Channel A is assumed.
With commands that require you to specify a window, the upper window is
represented by a 1 and the lower window by a 2. If you omit the window number, the
upper window is assumed.
1-106
MEASurement Commands
Keyword
Parameter Form
CONFigure[1]|2|3|4
CONFigure[1]|2|3|4
[:SCALar]
[:POWer:AC]
:RELative
:DIFFerence
:RELative
:RATio
:RELative
FETCh[1]|2|3|4
[:SCALar]
[:POWer:AC]?
:RELative?
:DIFFerence?
:RELative?
:RATio?
:RELative?
READ[1]|2|3|4
[:SCALar]
[:POWer:AC]?
:RELative?
:DIFFerence?
:RELative?
:RATio?
:RELative?
Notes
[query only]
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[no query]
list>]]]
list>]]]
list>]]]
list>]]]
[no query]
[non-SCPI]
[no query]
[non-SCPI]
[no query]
[non-SCPI]
[no query]
list>]]]
list>]]]
[no query]
[non-SCPI]
[query only]
list>]]]
list>]]]
list>]]]
list>]]]
[query only]
[non-SCPI]
[query only]
[non-SCPI]
[query only]
[non-SCPI]
[query only]
list>]]]
list>]]]
[query only]
[non-SCPI]
[query only]
list>]]]
list>]]]
list>]]]
list>]]]
[query only]
[non-SCPI]
[query only]
[non-SCPI]
[query only]
[non-SCPI]
[query only]
list>]]]
list>]]]
[query only]
[non-SCPI]
1-107
Keyword
Parameter Form
MEASure[1]|2|3|4
[:SCALar]
[:POWer:AC]?
:RELative?
:DIFFerence?
:RELative?
:RATio?
:RELative?
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
Notes
[query only]
list>]]]
list>]]]
list>]]]
list>]]]
[<expected_value>
[,<resolution>[,<source list>]]]
[<expected_value>
[,<resolution>[,<source list>]]]
[query only]
[non-SCPI]
[query only]
[non-SCPI]
[query only]
[non-SCPI]
[query only]
[query only]
[non-SCPI]
CALCulate Subsystem
Keyword
CALCulate[1]|2|3|4
:FEED[1]|2
:GAIN
[:MAGNitude]
:STATe
:LIMit
:CLEar
:AUTO
[:IMMediate]
:FAIL?
:FCOunt?
:LOWer
[:DATA]
:STATe
:UPPer
[:DATA]
:MATH
[:EXPRession]
:CATalog?
:PHOLd
:CLEAr
:RELative
[:MAGNitude]
:AUTO
:STATe
1-108
Parameter Form
Notes
<data_handle>
<numeric_value>
<boolean>
<boolean>
[query only]
[query only]
<numeric_value>
<boolean>
<numeric_value>
<string>
[query only]
[no query]
<boolean>
<boolean>
CALibration Subsystem
Keyword
Parameter Form
CALibration[1]|2
[:ALL]
[event;
no query]
[event;
query]
[:ALL]?
:AUTO
:ECONtrol
:STATe
:RCALibration
:RCFactor
:ZERO
:AUTO
:NORMal
:AUTO
Notes
<boolean>|ONCE
<boolean>
<boolean>
<numeric_value>
[non-SCPI]
<boolean>|ONCE
<boolean>|ONCE
DISPlay Subsystem
Keyword
DISPlay
:CONTrast
:ENABle
:SCReen
:FORMat
[:WINDow[1]|2]
:ANALog
:LOWer
:UPPer
:FORMat
:METer
:LOWer
:UPPer
[:NUMeric[1]|2]
:RESolution
:SELect[1]|2
[:STATe]
:TRACe
:FEED
:LOWer
:UPPer
Parameter Form
Notes
<numeric_value>
<boolean>
<character_data>
<numeric_value>
<numeric_value>
<character_data>
[non-SCPI]
<numeric_value>
<numeric_value>
[non-SCPI]
[non-SCPI]
<numeric_value>
<boolean>
<character_data>
<numeric_value>
<numeric_value>
FORMat Subsystem
Keyword
Parameter Form
Notes
FORMat
[:READings]
1-109
Keyword
Parameter Form
:BORDer
[:DATA]
1-110
Notes
<character_data>
<character_data>
MEMory Subsystem
Keyword
Parameter Form
MEMory
:CATalog
[:ALL]?
:STATe?
:TABLe?
:CLEar
[:NAME]
Notes
[query only]
[query only]
[query only]
<character_data>
:TABLe
:FREE
[:ALL]?
:STATe?
:TABLe?
:NSTates?
:STATe
:CATalog?
:DEFine
[no query],
[non-SCPI]}
[no query]
[query only]
[query only]
[query only]
[query only]
<character_data>
[,<numeric_value>]
:TABLe
:FREQuency
:POINts?
:GAIN
[:MAGNitude]
<numeric_value>
[,<numeric_value>]
[query only]
<numeric_value>
[,<numeric_value>]
:POINts?
:MOVE
:SELect
[query only]
[non-SCPI]
<character_data>,
<character_data>
<character_data>
[non-SCPI]
[query only],
[non-SCPI]
[no query],
[non-SCPI]
[no query],
[non-SCPI]
OUTPut Subsystem
Keyword
OUTPut
:RECorder[1]|2
:FEED
:LIMit
:LOWer
:UPPer
:STATe
:ROSCillator
[:STATe]
:TRIGger
[:STATe]
:TTL[1]|2
Parameter Form
Notes
<data_handle>
<numeric_value>
<numeric_value>
<boolean>
<boolean>
<boolean>
1-111
Keyword
Parameter Form
:ACTive
:FEED
:STATe
1-112
Notes
HIGH|LOW
<string>
<boolean>
[SENSe] Subsystem
Keyword
Parameter Form
[SENSe[1]]|SENSe2
:AVERage
:COUNt
:AUTO
:SDETect
[:STATe]
AVERage2
:COUNt
[:STATe]
:BANDwidth|BWIDth
:VIDeo
:CORRection
:CFACtor|GAIN[1]
[:INPut]
[:MAGNitude]
:CSET[1]|CSET2
[:SELect]
:STATe
:DCYCle|GAIN3
[:INPut]
[:MAGNitude]
:STATe
:FDOFfset|GAIN4
[:INPut]
[:MAGNitude]?
:GAIN2
:STATe
[:INPut]
[:MAGNitude]
:DETector
:FUNCtion
:FREQuency
[:CW|:FIXed]
:MRATe
:POWer
:AC
:RANGe
:AUTO
:SPEed
:SWEep[1]|2|3|4
:OFFSet
:TIME
:TIME
:TRACe
:LIMit
:LOWer
:UPPer
:OFFSet
<numeric_value>
<boolean>
<boolean>
<boolean>
Notes
[non-SCPI]
<numeric_value>
<boolean>
<character_data>
[non-SCPI]
<numeric_value>
<string>
<boolean>
[non-SCPI]
<numeric_value>
<boolean>
[query only]
<boolean>
<numeric_value>
<character_data>
<numeric_value>
<character_data>
<numeric_value>
<boolean>
<numeric_value>
[non-SCPI]
[non-SCPI]
<numeric_value>
<numeric_value>
<numeric_value>
<numeric_value>
1-113
Keyword
:TIME
:TIME
:UNIT
:V2P
1-114
Parameter Form
Notes
<numeric_value>
<numeric_value>
<character_data>
ATYPe|DTYPe
[non-SCPI]
STATus Subsystem
As the status reporting commands are orthogonal, the same commands apply to all the
registers. The registers are:
STATus:DEVice
STATus:OPERation
STATus:OPERation:CALibrating[:SUMMary]
STATus:OPERation:LLFail[:SUMMary]
STATus:OPERation:MEAsuring[:SUMMary]
STATus:OPERation:SENSe[:SUMMary]
STATus:OPERation:TRIGger[:SUMMary]
STATus:OPERation:ULFail[:SUMMary]
STATus:QUEStionable
STATus:QUEStionable:CALibration[:SUMMary]
STATus:QUEStionable:POWer[:SUMMary]
The following five commands operate on each of these registers. However, to avoid
duplication they are only listed once.
Keyword
:CONDition?
:ENABle
[:EVENt?]
:NTRansition
:PTRansition
Parameter Form
Notes
[query only]
<NRf>|<non-decimal numeric>
[query only]
<NRf>|<non-decimal numeric>
<NRf>|<non-decimal numeric>
1-115
SYSTem Subsystem
Keyword
SYSTem
:COMMunicate
:GPIB
[:SELF]
:ADDRess
:SERial
:CONTrol
:DTR
:RTS
[:RECeive]
:BAUD
:BITs
:PACE
:PARity
[:TYPE]
:SBITs
:TRANsmit
:AUTO?
:BAUD
:BITs
:ECHO
:PACE
:PARity
[:TYPE]
:SBITs
:HELP
:HEADers?
:LoCAL
:PRESet
:REMote
:RINTerface
:RWLock
:VERSion?
Parameter Form
Notes
<numeric_value>
<boolean>
<boolean>
<numeric_value>
<numeric_value>
XON|NONE
EVEN|ODD|ZERO|ONE|NONE
<numeric_value>
[query only]
<numeric_value>
<numeric_value>
<boolean>
XON|NONE
EVEN|ODD|ZERO|ONE|NONE
<numeric_value>
[query only]
[event; no
query]
GPIB|RS232|RS422
[query only]
TRACe Subsystem
Keyword
Parameter Form
Notes
TRACe[1]|2
[:DATA]?
:STATe
:UNIT
<character_data>
<boolean>
<character_data>
[query only]
1-116
TRIGger Subsystem
Keyword
Parameter Form
INITiate[1]|2
:CONTinuous
[:IMMediate]
INITiate
:CONTinuous
:ALL
:SEQuence[1]|2
[:IMMediate]
:ALL
:SEQuence[1]|2
TRIGger[1]|2
:DELay
:AUTO
[:IMMediate]
:SOURce
TRIGger
[:SEQuence]
:DELay
:HOLDoff
:HYSTeresis
:LEVel
:AUTO
:SLOPe
[:SEQuence[1]|2]
:COUNt
:DELay
:AUTO
:IMMediate
:SOURce
Notes
[no query]
[non-SCPI]
ABORt[1]|2
<boolean>
[no query]
<boolean>
<boolean>
[no query]
[no query]
<boolean>
[no query]
BUS|EXTernal|HOLD|IMMedi
ate|INTernal[[1]|2]
<numeric_value>
<numeric_value>
<numeric_value>
<numeric_value>
<boolean>
<character_data>
<numeric_value>
<boolean>
[no query]
BUS|EXTernal|HOLD|IMMedi
ate|INTernal[[1]|2]
UNIT Subsystem
Keyword
Parameter Form
Notes
UNIT[1]|2|3|4
:POWer
:RATio
<amplitude unit>
<ratio_unit>
[non-SCPI]
1-117
SERVice Subsystem
Keyword
SERVice
:BIST
:CALibrator
:FPATH[1]|2
:MEASure?
:REFerence
:STATe
:TBASe
:STATe
:TRIG
:LEVel
:STATe?
:TEST?
:OPTion
:SENSor[1]|2
:CALFactor
:CDATe?
:CORRections
:STATe
:CPLace?
:FREQuency
:MAXimum?
:MINimum?
:PCALfactor
:POWer
:AVERage
:MAXimum?
:PEAK
:MAXimum?
:USABle
:MAXimum?
:MINimum?
:RADC?
:SNUMber?
:TNUMber?
:TYPE?
:SNUMber
:VERSion
:PROCessor
:SYSTem
1-118
Parameter Form
Notes
<boolean>
<numeric_value>
<boolean>
[query only]
[no query]
[no query]
<boolean>
[query only]
[query only]
<character_data>
<cal_factor_data>
[query only]
<boolean>
[query only]
[query only]
[query only]
<cal_factor_data>
[query only]
[query only]
[query only]
[query only]
[query only]
[query only]
[query only]
[query only]
<character_data>
<character_data>
<character_data>
1-119
TRANsmit:ECHO
UNIT[1|2]:POWer:RATio
1-120
Measurement Commands
Measurement Commands
Measurement Commands
Measurement Commands
Measurement commands are high level commands used to acquire data. They enable
you to trade interchangeability against fine control of the measurement process.
Measurement
Command
Description
MEASure?
CONFigure
READ?
FETCh?
The CONFigure, FETCh?, READ? and MEASure? commands all have a numeric
suffix which refers to a specific window/measurement. For example:
2-2
Measurement Commands
Measurement Commands
A resolution.
A source list.
What channel the measurement will be made on, for a dual channel
measurement.
Entering a <source list> is only required if you are using an E4417A. As the
E4416A has a single channel only, the source list can only be channel A.
2-3
Measurement Commands
Measurement Commands
Parameter Form
CONFigure[1]|2|3|4
CONFigure[1]|2|3|4
[:SCALar]
[:POWer:AC]
:RELative
:DIFFerence
:RELative
:RATio
:RELative
FETCh[1]|2|3|4
[:SCALar]
[:POWer:AC]?
:RELative?
:DIFFerence?
:RELative?
:RATio?
:RELative?
READ[1]|2|3|4
[:SCALar]
[:POWer:AC]?
:RELative?
:DIFFerence?
:RELative?
:RATio?
:RELative?
2-4
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
Notes
Page
[query only]
page 2-6
[no query]
page 2-9
[no query]
[non-SCPI]
[no query]
[non-SCPI]
[no query]
[non-SCPI]
[no query]
page 2-11
[no query]
[non-SCPI]
page 2-19
[query only]
page 2-22
[query only]
[non-SCPI]
[query only]
[non-SCPI]
[query only]
[non-SCPI]
[query only]
page 2-24
[query only]
[non-SCPI]
page 2-33
[query only]
page 2-36
[query only]
[non-SCPI]
[query only]
[non-SCPI]
[query only]
[non-SCPI]
[query only]
page 2-38
[query only]
[non-SCPI]
page 2-47
list>]]]
list>]]]
list>]]]
list>]]]
page 2-13
page 2-15
page 2-17
list>]]]
list>]]]
list>]]]
list>]]]
list>]]]
list>]]]
page 2-27
page 2-29
page 2-31
list>]]]
list>]]]
list>]]]
list>]]]
list>]]]
list>]]]
page 2-41
page 2-43
page 2-45
list>]]]
list>]]]
Measurement Commands
Measurement Commands
Keyword
Parameter Form
MEASure[1]|2|3|4
[:SCALar]
[:POWer:AC]?
:RELative?
:DIFFerence?
:RELative?
:RATio?
:RELative?
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
[<expected_value>
[,<resolution>[,<source
Notes
Page
[query only]
page 2-50
[query only]
[non-SCPI]
[query only]
[non-SCPI]
[query only]
[non-SCPI]
page 2-52
[query only]
page 2-58
[query only]
[non-SCPI]
page 2-60
list>]]]
list>]]]
list>]]]
list>]]]
[<expected_value>
[,<resolution>[,<source list>]]]
[<expected_value>
[,<resolution>[,<source list>]]]
page 2-54
page 2-56
2-5
Measurement Commands
CONFigure[1]|2|3|4?
CONFigure[1]|2|3|4?
This query returns the present configuration of the specified window/measurement.
Syntax
CONF
2
3
4
CALCulate:R
ELative:
STATe
Function
<source list>
(SENSe1)
OFF
:POW:AC
(@1)
(SENSe2)1
OFF
:POW:AC
(@2)
(SENSe1)
ON
:POW:AC:REL
(@1)
(SENSe2)1
ON
:POW:AC:REL
(@2)
(SENSe1 - SENSe2)1
OFF
:POW:AC:DIFF
(@1),(@2)
(SENSe2 - SENSe1)1
OFF
:POW:AC:DIFF
(@2),(@1)
(SENSe1 - SENSe2)1
ON
:POW:AC:DIFF:REL
(@1),(@2)
(SENSe2 - SENSe1)1
ON
:POW:AC:DIFF:REL
(@2),(@1)
(SENSe1 - SENSe1)
OFF
:POW:AC:DIFF
(@1),(@1)
(SENSe2 - SENSe2)1
OFF
:POW:AC:DIFF
(@2),(@2)
(SENSe1 - SENSe1)
ON
POW:AC:DIFF:REL
(@1),(@1)
SENSe2)1
ON
:POW:AC:DIFF:REL
(@2),(@2)
(SENSe1 / SENSe2)
OFF
:POW:AC:RAT
(@1),(@2)
(SENSe2 / SENSe1)
(SENSe2 -
OFF
:POW:AC:RAT
(@2),(@1)
SENSe2)1
ON
:POW:AC:RAT:REL
(@1),(@2)
(SENSe2 / SENSe1)1
ON
:POW:AC:RAT:REL
(@2),(@1)
(SENSe1/SENSe1)
OFF
POW:AC:RAT
(@1),(@1)
(SENSe1 /
2-6
Measurement Commands
CONFigure[1]|2|3|4?
CALCulate:MATH
CALCulate:R
ELative:
STATe
Function
<source list>
(SENSe2/SENSe2)1
OFF
POW:AC:RAT
(@2),(@2)
(SENSe1/SENSe1)
ON
POW:AC:RAT:REL
(@1),(@1)
(SENSe2/SENSe2)1
ON
POW:AC:RAT:REL
(@2),(@2)
1. E4417A only.
Reset Condition
On reset:
The source list on the E4416A is set to channel A on both windows and their
measurements.
The source list on the E4417A is set to channel A for the upper measurement
on both windows and channel B for the lower measurement on both
windows.
2-7
Measurement Commands
CONFigure[1]|2|3|4 Commands
CONFigure[1]|2|3|4 Commands
The CONFigure commands are used on the specified window/measurement to set:
The CONFigure commands do not make the power measurement after setting the
configuration. Use READ?, or alternatively use INITiate followed by a FETCh?
to make the measurement.
The CONFigure command also applies the following defaults to the channel(s)
which are in the specified window (the channel(s) in the window are specified in the
<source list> parameter):
Default Settings
Description
INITiate:CONTinuous OFF
TRIGger:SOURce IMMediate
TRIGger:DELay:AUTO ON
SENSE:AVERage:COUNt:AUTO ON
SENSE:AVERage:STATe ON
Enables averaging.
2-8
Measurement Commands
CONFigure[1]|2|3|4[:SCALar][:POWer:AC] [<expected_value>[,<resolution>[,<source list>]]]
CONFigure[1]|2|3|4[:SCALar][:POWer:AC] [<expected_value>[,<resolution>[,<source
list>]]]
This command is used on the specified window/measurement to set:
Syntax
CONF
:SCAL
:AC
:POW
2
3
4
Space
expected_value
DEF
resolution
source list
DEF
2-9
Measurement Commands
CONFigure[1]|2|3|4[:SCALar][:POWer:AC] [<expected_value>[,<resolution>[,<source list>]]]
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
Sensor dependent.
1 to 4 2
resolution
DEF1
source list
(@1)
(@2)3
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in the
command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant digits.
When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01 and 0.001
respectively.
3. E4417A only.
Example
CONF1:POW:AC DEF,2,(@1)
2-10
Measurement Commands
CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:RELative [<expected_value>[,<resolution>[,<source list>]]]
CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:RELative
[<expected_value>[,<resolution>[,<source list>]]]
This command sets the measurement function, range and resolution of the specified
window. It sets the measurement function to single channel with relative mode on.
The relative value used is that set by the
CALCulate:RELative:MAGNitude:AUTO command.
Syntax
CONF
:SCAL
:AC
:POW
:REL
2
3
4
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
resolution
1 to 4 2
DEF1
source list
(@1)
(@2)3
2-11
Measurement Commands
CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:RELative [<expected_value>[,<resolution>[,<source list>]]]
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
3. E4417A only.
Example
CONF2:REL -50DBM,3,(@1)
2-12
Measurement Commands
CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence [<expected_value>[,<resolution>[,<source
list>]]]
CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence
[<expected_value>[,<resolution>[,<source list>]]]
This command sets the measurement function and resolution of the specified window.
It sets the measurement function to difference with relative mode off.
Syntax
CONF
:SCAL
:POW
:AC
:DIFF
2
3
4
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
resolution
1 to 4 2
DEF1
source list
(@1),(@2)3
(@2),(@1)3
(@1),(@1)
(@2),(@2)3
2-13
Measurement Commands
CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence [<expected_value>[,<resolution>[,<source
list>]]]
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
3. E4417A only.
Example
CONF2:DIFF DEF,1,(@2),(@1)
2-14
Measurement Commands
CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence:RELative
[<expected_value>[,<resolution>[,<source list>]]]
CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence:RELative
[<expected_value>[,<resolution>[,<source list>]]]
This command sets the measurement function, range and resolution of the specified
window. It sets the measurement function to difference with relative mode on. The
relative value used is set by the CALCulate:RELative:MAGNitude:AUTO
command.
Syntax
CONF
:SCAL
:AC
:POW
:REL
:DIFF
2
3
4
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
resolution
1 to 4 2
DEF1
source list
(@1),(@2)3
(@2),(@1)3
(@1),(@1)
(@2),(@2)3
2-15
Measurement Commands
CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence:RELative
[<expected_value>[,<resolution>[,<source list>]]]
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
3. E4417A only.
Example
CONF1:DIFF:REL DEF,1,(@1),(@2)
2-16
Measurement Commands
CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:RATio [<expected_value>[,<resolution>[,<source list>]]]
CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:RATio
[<expected_value>[,<resolution>[,<source list>]]]
This command sets the measurement function, range and resolution of the specified
window. It sets the measurement function to ratio with relative mode off.
Syntax
CONF
:SCAL
:AC
:POW
:RAT
2
3
4
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
resolution
1 to 4 2
DEF1
source list
(@1),(@2)3
(@2),(@1)3
(@1),(@1)
(@2),(@2)3
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2-17
Measurement Commands
CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:RATio [<expected_value>[,<resolution>[,<source list>]]]
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
3. E4417A only.
Example
CONF1:RAT DEF,4,(@1),(@2)
2-18
Measurement Commands
CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative [<expected_value>[,<resolution>[,<source
list>]]]
CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative
[<expected_value>[,<resolution>[,<source list>]]]
This command sets the measurement function, range and resolution of the specified
window. It sets the measurement function to ratio with relative mode on. The relative
value used is that set by the CALCulate:RELative:MAGNitude:AUTO
command.
Syntax
CONF
:SCAL
:AC
:POW
:REL
:RAT
2
3
4
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
resolution
1 to 4 2
DEF1
source list
(@1),(@2)3
(@2),(@1)3
(@1),(@1)
(@2),(@2)3
2-19
Measurement Commands
CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative [<expected_value>[,<resolution>[,<source
list>]]]
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
3. E4417A only.
Example
CONF1:RAT:REL DEF,1,(@1),(@2)
2-20
Measurement Commands
FETCh[1]|2|3|4 Queries
FETCh[1]|2|3|4 Queries
The FETCh? queries set the specified windows measurement function to either
single channel, difference or ratio measurements with relative mode either off or on.
They then recalculate the measurement and place the result on the bus. The format of
the result is set by FORM[:READ][:DATA]. Refer to chapter 6, Format, for further
information.
The query returns a measurement result whenever it is valid. The measurement result
becomes invalid under the following conditions:
If data is invalid, the FETCh? query is not completed until all data is valid. The
exceptions to this are, if the power meter is in the idle state and the data is invalid, or
the power meter has been reconfigured as defined above and no new measurement
has been initiated. In such cases, the FETCh? routine generates the error -230, Data
corrupt or stale and no result is returned. A common cause for this error is receiving
a FETCh? after a *RST. If the expected value and resolution parameters are not the
same as those that were used to collect the data, error -221, Settings conflict occurs.
Note
When TRIG:SOUR is INT1, INT2 or EXT and a new acquisition has been
initiated (using the INIT command for example), FETCH? waits until the
trigger takes place before executing. If trigger conditions are not
satisfiedwhen the trigger level differs greatly from the signal level for
examplethis can give the impression that the power meter has hung.
To unlock the power meter and adjust trigger settings, a GPIB bus execute
clear must be performed.
2-21
Measurement Commands
FETCh[1]|2|3|4[:SCALar][:POWer:AC]? [<expected_value>[,<resolution>[,<source list>]]]
:SCAL
:AC
:POW
2
3
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
resolution
1 to 4 2
2-22
DEF1
Measurement Commands
FETCh[1]|2|3|4[:SCALar][:POWer:AC]? [<expected_value>[,<resolution>[,<source list>]]]
Item
Description/Default
Range of Values
source list
(@1)
(@2) (E4417A only)
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
Example
FETC2:POW:AC?
Error Messages
If the last measurement is not valid error -230, Data corrupt or stale occurs. A
measurement is valid after it has been initiated. It becomes invalid when either a
reset occurs or any measurement parameter, for example frequency, is changed.
If the expected_value and resolution parameters are not the same as the current
expected value and resolution setting on the specified window, error -221,
Settings conflict occurs.
2-23
Measurement Commands
FETCh[1]|2|3|4[:SCALar][:POWer:AC]:RELative? [<expected_value>[,<resolution>[,<source list>]]]
FETCh[1]|2|3|4[:SCALar][:POWer:AC]:RELative?
[<expected_value>[,<resolution>[,<source list>]]]
This command sets the specified windows measurement function to single channel
with relative mode on, recalculates the measurement and places the results on the bus.
The result is a ratio based measurement and is expressed in the units defined by
UNIT[1]|2|3|4:POWer:RATio. The relative value used is that set by the
CALCulate:RELative:MAGNitude:AUTO command.
Syntax
FETC
:SCAL
:AC
:POW
:REL
2
3
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
resolution
1 to 4 2
2-24
DEF1
Measurement Commands
FETCh[1]|2|3|4[:SCALar][:POWer:AC]:RELative? [<expected_value>[,<resolution>[,<source list>]]]
Item
Description/Default
Range of Values
source list
(@1)
(@2) (E4417A only)
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
Example
FETC1:REL? DEF,2,(@2)
2-25
Measurement Commands
FETCh[1]|2|3|4[:SCALar][:POWer:AC]:RELative? [<expected_value>[,<resolution>[,<source list>]]]
Error Messages
If the last measurement is not valid error -230, Data corrupt or stale occurs. A
measurement is valid after it has been initiated. It becomes invalid when either a
reset occurs or any measurement parameter, for example frequency, is changed.
If the expected_value and resolution parameters are not the same as the current
expected value and resolution settings on the specified window, error -221,
Settings conflict occurs.
2-26
Measurement Commands
FETCh[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence? [<expected_value>[,<resolution>[,<source list>]]]
FETCh[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence?
[<expected_value>[,<resolution>[,<source list>]]]
This command sets the specified windows measurement function to power difference
with relative mode off, recalculates the measurement and places the results on the
bus. The result is a power based measurement and is expressed in the units defined by
UNIT[1]|2|3|4:POWer.
Syntax
FETC
:SCAL
:AC
:POW
:DIFF
2
3
4
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
resolution
1 to 4 2
DEF1
2-27
Measurement Commands
FETCh[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence? [<expected_value>[,<resolution>[,<source list>]]]
Item
Description/Default
Range of Values
source list
(@1),(@2)3
(@2),(@1)3
(@1),(@1)
(@2),(@2)3
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
3. E4417A only.
Example
FETC2:DIFF?
Error Messages
If the last measurement on either channel is not valid error -230, Data corrupt or
stale occurs. A measurement is valid after it has been initiated. It becomes invalid
when either a reset occurs or any measurement parameter, for example frequency,
is changed.
If the expected_value and resolution parameters are not the same as the current
expected value and resolution settings on the specified window, error -221,
Settings conflict occurs.
2-28
Measurement Commands
FETCh[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence:RELative?
[<expected_value>[,<resolution>[,<source list>]]]
FETCh[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence:RELative?
[<expected_value>[,<resolution>[,<source list>]]]
This command sets the specified windows measurement function to power difference
with relative mode on, recalculates the measurement and places the results on the bus.
The result is a ratio based measurement and is expressed in the units defined by
UNIT[1]|2|3|4:POWer:RATio. The relative value used is that set by the
CALCulate:RELative:MAGNitude:AUTO command.
Syntax
FETC
:SCAL
:AC
:POW
:REL
:DIFF
2
3
4
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
resolution
1 to 4 2
DEF1
2-29
Measurement Commands
FETCh[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence:RELative?
[<expected_value>[,<resolution>[,<source list>]]]
Item
Description/Default
Range of Values
source list
(@1),(@2)3
(@2),(@1)3
(@1),(@1)
(@2),(@2)3
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
3. E4417A only.
Example
FETC1:DIFF:REL? DEF,3,(@2),(@1)
Error Messages
If the last measurement on either channel is not valid error -230, Data corrupt or
stale occurs. A measurement is valid after it has been initiated. It becomes invalid
when either a reset occurs or any measurement parameter, for example frequency,
is changed.
If the expected_value and resolution parameters are not the same as the current
expected value and resolution settings on the specified window, error -221,
Settings conflict occurs.
2-30
Measurement Commands
FETCh[1]|2|3|4[:SCALar][:POWer:AC]:RATio? [<expected_value>[,<resolution>[,<source list>]]]
FETCh[1]|2|3|4[:SCALar][:POWer:AC]:RATio?
[<expected_value>[,<resolution>[,<source list>]]]
This command sets the specified windows measurement function to power ratio with
relative mode off, recalculates the measurement and places the results on the bus. The
result is a ratio based measurement and is expressed in the units defined by
UNIT[1]|2|3|4:POWer:RATio.
Syntax
FETC
:SCAL
:AC
:POW
:RAT
2
3
4
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
resolution
1 to 4 2
DEF1
2-31
Measurement Commands
FETCh[1]|2|3|4[:SCALar][:POWer:AC]:RATio? [<expected_value>[,<resolution>[,<source list>]]]
Item
Description/Default
Range of Values
source list
(@1),(@2)3
(@2),(@1)3
(@1),(@1)
(@2),(@2)3
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
3. E4417A only.
Example
FETC2:RAT? DEF,1,(@1),(@2)
Error Messages
If the last measurement on either channel is not valid error -230, Data corrupt or
stale occurs. A measurement is valid after it has been initiated. It becomes invalid
when either a reset occurs or any measurement parameter, for example frequency,
is changed.
If the expected_value and resolution parameters are not the same as the current
expected value and resolution settings on the specified window, error -221,
Settings conflict occurs.
2-32
Measurement Commands
FETCh[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative? [<expected_value>[,<resolution>[,<source
list>]]]
FETCh[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative?
[<expected_value>[,<resolution>[,<source list>]]]
This command sets the specified windows measurement function to power ratio with
relative mode on, recalculates the measurement and places the results on the bus. The
result is a ratio based measurement and is expressed in the units defined by
UNIT[1]|2|3|4:POWer:RATio. The relative value used is that set by the
CALCulate:RELative:MAGNitude:AUTO command.
Syntax
FETC
:SCAL
:AC
:POW
:REL
:RAT
2
3
4
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
resolution
1 to 4 2
DEF1
2-33
Measurement Commands
FETCh[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative? [<expected_value>[,<resolution>[,<source
list>]]]
Item
Description/Default
Range of Values
source list
(@1),(@2)3
(@2),(@1)3
(@1),(@1)
(@2),(@2)3
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
3. E4417A only.
Example
FETC:RAT:REL?
Error Messages
If the last measurement on either channel is not valid error -230, Data corrupt or
stale occurs. A measurement is valid after it has been initiated. It becomes invalid
when either a reset occurs or any measurement parameter, for example frequency,
is changed.
If the expected_value and resolution parameters are not the same as the current
expected value and resolution settings on the specified window, error -221,
Settings conflict occurs.
2-34
Measurement Commands
READ[1]|2|3|4 Commands
READ[1]|2|3|4 Commands
The READ? commands are most commonly used with the CONFigure command to
cause a new power measurement to be taken and the result returned to the output
buffer. The format of the result is set by FORM[:READ][:DATA]. Refer to chapter
6, Format, for further information.
.
For the E4417A carrying out a single channel measurement the READ?
queries are equivalent to:
ABORt1
INITiate1
FETCh1?
or
ABORt2
INITiate2
FETCh2?
2-35
Measurement Commands
READ[1]|2|3|4[:SCALar][:POWer:AC]? [<expected_value>[,<resolution>[,<source list>]]]
Syntax
READ
:SCAL
:AC
:POW
2
3
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
resolution
1 to 4 2
2-36
DEF1
Measurement Commands
READ[1]|2|3|4[:SCALar][:POWer:AC]? [<expected_value>[,<resolution>[,<source list>]]]
Item
Description/Default
Range of Values
source list
(@1)
(@2) (E4417A only)
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
Example
READ2:POW:AC?
Error Messages
INITiate:CONTinuous must be set to OFF, otherwise error -213, INIT
ignored occurs.
If TRIGger:SOURce is set to BUS or HOLD, error -214, Trigger deadlock
occurs.
If the expected value and resolution parameters are not the same as the current
expected value and resolution settings on the specified window, error -221,
Settings conflict occurs.
2-37
Measurement Commands
READ[1]|2|3|4[:SCALar][:POWer:AC]:RELative? [<expected_value>[,<resolution>[,<source list>]]]
READ[1]|2|3|4[:SCALar][:POWer:AC]:RELative?
[<expected_value>[,<resolution>[,<source list>]]]
This command sets the specified windows measurement function to single channel
with relative mode on, aborts then initiates the specified channel, calculates the
measurement result and places the result on the bus. The result is a ratio based
measurement and is expressed in the units defined by
UNIT[1]|2|3|4:POWer:RATio. The relative value used is that set by the
CALCulate:RELative:MAGNitude:AUTO command.
Note
Syntax
READ
:SCAL
:AC
:POW
:REL
2
3
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
2-38
DEF1
Measurement Commands
READ[1]|2|3|4[:SCALar][:POWer:AC]:RELative? [<expected_value>[,<resolution>[,<source list>]]]
Item
Description/Default
Range of Values
resolution
1 to 4 2
(@1)
source list
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
Example
READ1:REL? DEF,1,(@2)
2-39
Measurement Commands
READ[1]|2|3|4[:SCALar][:POWer:AC]:RELative? [<expected_value>[,<resolution>[,<source list>]]]
Error Messages
INITiate:CONTinuous must be set to OFF, otherwise error -213, INIT
ignored occurs.
If TRIGger:SOURce is set to BUS or HOLD, error -214, Trigger deadlock
occurs.
If the expected value and resolution parameters are not the same as the current
expected value and resolution settings on the specified window, error -221,
Settings conflict occurs.
2-40
Measurement Commands
READ[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence? [<expected_value>[,<resolution>[,<source list>]]]
READ[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence?
[<expected_value>[,<resolution>[,<source list>]]]
This command sets the specified windows measurement function to difference mode
with relative mode off, aborts then initiates both channel A and B, calculates the
difference measurement result and places the result on the bus. The result is a power
based measurement and is expressed in the units defined by
UNIT[1]|2|3|4:POWer.
Note
Syntax
READ
:SCAL
:AC
:POW
:DIFF
2
3
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
resolution
1 to 4 2
DEF1
2-41
Measurement Commands
READ[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence? [<expected_value>[,<resolution>[,<source list>]]]
Item
Description/Default
Range of Values
source list
(@1),(@2)3
(@2),(@1)3
(@1),(@1)
(@2),(@2)3
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
3. E4417A only.
Example
READ2:DIFF?
Error Messages
INITiate:CONTinuous must be set to OFF on both channels, otherwise error
-213, INIT ignored occurs.
If TRIGger:SOURce is set to BUS or HOLD on either channel, error -214,
Trigger deadlock occurs.
If the resolution parameter is not the same as the current resolution setting on the
specified window, error -221, Settings conflict occurs.
2-42
Measurement Commands
READ[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence:RELative?
[<expected_value>[,<resolution>[,<source list>]]]
READ[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence:RELative?
[<expected_value>[,<resolution>[,<source list>]]]
This command sets the specified windows measurement function to difference mode
with relative mode on, aborts then initiates both channel A and B, calculates the
difference measurement result and places the result on the bus. The result is a ratio
based measurement and is expressed in the units defined by
UNIT[1]|2|3|4:POWer:RATio. The relative value used is that set by the
CALCulate:RELative:MAGNitude:AUTO command.
Note
Syntax
READ
:SCAL
:POW
:AC
:REL
:DIFF
2
3
4
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
resolution
1 to 4 2
DEF1
2-43
Measurement Commands
READ[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence:RELative?
[<expected_value>[,<resolution>[,<source list>]]]
Item
Description/Default
Range of Values
source list
(@1),(@2)3
(@2),(@1)3
(@1),(@1)
(@2),(@2)3
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
3. E4417A only.
Example
READ1:DIFF:REL? DEF,4,(@2),(@1)
Error Messages
INITiate:CONTinuous must be set to OFF on both channels, otherwise error
-213, INIT ignored occurs.
If TRIGger:SOURce is set to BUS or HOLD on either channel, error -214,
Trigger deadlock occurs.
If the resolution parameter is not the same as the current resolution setting on the
specified window, error -221, Settings conflict occurs.
2-44
Measurement Commands
READ[1]|2|3|4[:SCALar][:POWer:AC]:RATio? [<expected_value>[,<resolution>[,<source list>]]]
READ[1]|2|3|4[:SCALar][:POWer:AC]:RATio? [<expected_value>[,<resolution>[,<source
list>]]]
This command sets the specified windows measurement function to ratio mode with
relative mode off, aborts then initiates both channel A and B, calculates the ratio
measurement result and places the result on the bus. The result is a ratio based
measurement and is expressed in the units defined by
UNIT[1]|2|3|4:POWer:RATio.
Note
Syntax
READ
:SCAL
:AC
:POW
:RAT
2
3
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
resolution
1 to 4 2
DEF1
2-45
Measurement Commands
READ[1]|2|3|4[:SCALar][:POWer:AC]:RATio? [<expected_value>[,<resolution>[,<source list>]]]
Item
Description/Default
Range of Values
source list
(@1),(@2)3
(@2),(@1)3
(@1),(@1)
(@2),(@2)3
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
3. E4417A only.
Example
READ2:RAT? DEF,1,(@1),(@2)
Error Messages
INITiate:CONTinuous must be set to OFF on both channels, otherwise error
-213, INIT ignored occurs.
If TRIGger:SOURce is set to BUS or HOLD on either channel, error -214,
Trigger deadlock occurs.
If the resolution parameter is not the same as the current resolution setting on the
specified window, error -221, Settings conflict occurs.
2-46
Measurement Commands
READ[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative? [<expected_value>[,<resolution>[,<source
list>]]]
READ[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative?
[<expected_value>[,<resolution>[,<source list>]]]
This command sets the specified windows measurement function to ratio mode with
relative mode on, aborts then initiates both channel A and B, calculates the ratio
measurement result using the new sensor data and places the result on the bus. The
result is a ratio based measurement and is expressed in the units defined by
UNIT[1]|2|3|4:POWer:RATio. The relative value used is that set by the
CALCulate:RELative:MAGNitude:AUTO command.
Note
Syntax
READ
:SCAL
:AC
:POW
:REL
:RAT
2
3
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
resolution
1 to 4 2
DEF1
2-47
Measurement Commands
READ[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative? [<expected_value>[,<resolution>[,<source
list>]]]
Item
Description/Default
Range of Values
source list
(@1),(@2)3
(@2),(@1)3
(@1),(@1)
(@2),(@2)3
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
3. E4417A only.
Example
READ:RAT:REL?
Error Messages
INITiate:CONTinuous must be set to OFF on both channels, otherwise error
-213, INIT ignored occurs.
If TRIGger:SOURce is set to BUS or HOLD on either channel, error -214,
Trigger deadlock occurs.
If the resolution parameter is not the same as the current resolution setting on the
specified window, error -221, Settings conflict occurs.
2-48
Measurement Commands
MEASure[1]|2|3|4 Commands
MEASure[1]|2|3|4 Commands
The MEASure? commands configure the power meter to perform a power
measurement with the given measurement function, relative mode setting, range and
resolution then makes the measurement. The format of the result is set by
FORM[:READ][:DATA]. Refer to chapter 6, Format, for further information.
MEASure? is a compound command which is equivalent to:
For the E4417A carrying out a single channel measurement the MEASure?
queries are equivalent to:
ABORt1
CONFigure
READ1?
or
ABORt2
CONFigure
READ2?
2-49
Measurement Commands
MEASure[1]|2|3|4[:SCALar][:POWer:AC]? [<expected_value>[,<resolution>[,<source list>]]]
:SCAL
:AC
:POW
2
3
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
resolution
1 to 4 2
DEF1
source list
2-50
(@1)
(@2) (E4417A only)
Measurement Commands
MEASure[1]|2|3|4[:SCALar][:POWer:AC]? [<expected_value>[,<resolution>[,<source list>]]]
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
Example
MEAS2:POW:AC? -70DBM,1,(@1) This command queries the lower
windows measurement of channel A,
using an expected power level of
-70 dBm and a resolution setting of 1.
2-51
Measurement Commands
MEASure[1]|2|3|4[:SCALar][:POWer:AC]:RELative? [<expected_value>[,<resolution>[,<source list>]]]
MEASure[1]|2|3|4[:SCALar][:POWer:AC]:RELative?
[<expected_value>[,<resolution>[,<source list>]]]
This command sets the specified windows measurement function to single channel
with relative mode on, aborts, configures then initiates the specified channel,
calculates the measurement result and places the result on the bus. The result is a ratio
based measurement and is expressed in the units defined by
UNIT[1]|2|3|4:POWer:RATio. The relative value used is that set by the
CALCulate:RELative:MAGNitude:AUTO command.
Syntax
MEAS
:SCAL
:POW
:AC
:REL
2
3
4
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
resolution
1 to 4 2
DEF1
2-52
Measurement Commands
MEASure[1]|2|3|4[:SCALar][:POWer:AC]:RELative? [<expected_value>[,<resolution>[,<source list>]]]
Item
Description/Default
Range of Values
source list
(@1)
(@2) (E4417A only)
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
Example
MEAS1:REL? -50DBM,2,(@2)
2-53
Measurement Commands
MEASure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence? [<expected_value>[,<resolution>[,<source
list>]]]
MEASure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence?
[<expected_value>[,<resolution>[,<source list>]]]
This command applies to the E4417A power meter only.
This command sets the specified windows measurement function to difference mode
with relative mode off, aborts, configures then initiates both channel A and B,
calculates the difference measurement result and places the result on the bus. The
result is a power based measurement and is expressed in the units defined by
UNIT[1]|2|3|4:POWer.
Syntax
MEAS
:SCAL
:AC
:POW
:DIFF
2
3
4
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
resolution
1 to 4 2
DEF1
2-54
Measurement Commands
MEASure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence? [<expected_value>[,<resolution>[,<source
list>]]]
Item
Description/Default
Range of Values
source list
(@1),(@2)3
(@2),(@1)3
(@1),(@1)
(@2),(@2)3
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
3. E4417A only.
Example
MEAS2:DIFF?
2-55
Measurement Commands
MEASure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence:RELative?
[<expected_value>[,<resolution>[,<source list>]]]
MEASure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence:RELative?
[<expected_value>[,<resolution>[,<source list>]]]
This command sets the specified windows measurement function to difference mode
with relative mode on, aborts, configures then initiates both channel A and B,
calculates the difference measurement result and places the result on the bus. The
result is a ratio based measurement and is expressed in the units defined by
UNIT[1]|2|3|4:POWer:RATio. The relative value used is that set by the
CALCulate:RELative:MAGNitude:AUTO command.
Syntax
MEAS
:SCAL
:AC
:POW
:DIFF
:REL
2
3
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
resolution
1 to 4 2
DEF1
source list
2-56
(@1),(@2)3
(@2),(@1)3
(@1),(@1)
(@2),(@2)3
Measurement Commands
MEASure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence:RELative?
[<expected_value>[,<resolution>[,<source list>]]]
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
3. E4417A only.
Example
MEAS1:DIFF:REL? DEF,3,(@2),(@1)
2-57
Measurement Commands
MEASure[1]|2|3|4[:SCALar][:POWer:AC]:RATio? [<expected_value>[,<resolution>[,<source list>]]]
MEASure[1]|2|3|4[:SCALar][:POWer:AC]:RATio?
[<expected_value>[,<resolution>[,<source list>]]]
This command sets the specified windows measurement function to ratio mode with
relative mode off, aborts, configures then initiates both channel A and B, calculates
the ratio measurement result and places the result on the bus. The result is a ratio
based measurement and is expressed in the units defined by
UNIT[1]|2|3|4:POWer:RATio.
Syntax
MEAS
:SCAL
:AC
:POW
:RAT
2
3
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
resolution
1 to 4 2
DEF1
source list
2-58
(@1),(@2)3
(@2),(@1)3
(@1),(@1)
(@2),(@2)3
Measurement Commands
MEASure[1]|2|3|4[:SCALar][:POWer:AC]:RATio? [<expected_value>[,<resolution>[,<source list>]]]
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
3. E4417A only.
Example
MEAS2:RAT? DEF,1,(@1),(@2)
2-59
Measurement Commands
MEASure[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative? [<expected_value>[,<resolution>[,<source
list>]]]
MEASure[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative?
[<expected_value>[,<resolution>[,<source list>]]]
This command sets the specified windows measurement function to ratio mode with
relative mode on, aborts, configures then initiates both channel A and B, calculates
the ratio measurement and places the result on the bus. The result is a ratio based
measurement and is expressed in the units defined by
UNIT[1]|2|3|4:POWer:RATio. The relative value used is that set by the
CALCulate:RELative:MAGNitude:AUTO command.
Syntax
MEAS
:SCAL
:AC
:POW
:RAT
:REL
2
3
Space
expected_value
DEF
resolution
source list
DEF
Parameters
Refer to Optional Parameters, on page 2-3 for additional details on the parameters
in this command.
Item
Description/Default
Range of Values
expected_value
(for the expected
power level)
sensor dependent
resolution
1 to 4 2
DEF1
2-60
Measurement Commands
MEASure[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative? [<expected_value>[,<resolution>[,<source
list>]]]
Item
Description/Default
Range of Values
source list
(@1),(@2)3
(@2),(@1)3
(@1),(@1)
(@2),(@2)3
1. The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in
the command sub-systems. The 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.
Specifying DEF leaves the parameter value unchanged.
2. When the measurement result is linear this parameter represents the number of significant
digits. When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01
and 0.001 respectively.
3. E4417A only.
Example
MEAS:RAT:REL?
2-61
Measurement Commands
MEASure[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative? [<expected_value>[,<resolution>[,<source
list>]]]
2-62
CALCulate Subsystem
CALCulate Subsystem
CALCulate Subsystem
CALCulate Subsystem
The CALCulate subsystem performs post acquisition data processing. Functions in
the SENSe subsystem are related to data acquisition, while the CALCulate
subsystem operates on the data acquired by a SENSe function.
There are four independent CALCulate blocks in the power meter: two for each
window. The numeric suffix of the CALCulate command determines which
CALCulate block will be used and where the measurement result will be displayed:
Data from both SENSe blocks may feed any or all of the CALCulate blocks via the
MATH command. Figure 0-12 details where the commands are applied within the
CALCulate block.
Figure 0-12: CALCulate Block
CALCulate Block
SENSe1:
Input from
SENSe1
block
:FEED
FEED1
:MATH
A | B
A-A | A/A
B-B | B/B
SENSe2:
Input from
SENSe2
block
(E4417A only)
3-2
FEED2
:GAIN
:REL
A-B | A/B
B-A | B/A
CALCulate Subsystem
CALCulate Subsystem
Keyword
CALCulate[1]|2|3|4
:FEED[1]|2
:GAIN
[:MAGNitude]
:STATe
:LIMit
:CLEar
:AUTO
[:IMMediate]
:FAIL?
:FCOunt?
:LOWer
[:DATA]
:STATe
:UPPer
[:DATA]
:MATH
[:EXPRession]
:CATalog?
:PHOLd
:CLEar
:RELative
[:MAGNitude]
:AUTO
:STATe
Parameter Form
Notes
Page
<data_handle>
page 3-4
<numeric_value>
<boolean>
page 3-7
page 3-9
<boolean>
page 3-12
page 3-14
page 3-15
page 3-16
[query only]
[query only]
<numeric_value>
<boolean>
page 3-18
page 3-22
<numeric_value>
page 3-20
[query only]
page 3-25
page 3-27
[no query]
page 3-28
<string>
<boolean>
<boolean>
page 3-30
page 3-32
3-3
CALCulate Subsystem
CALCulate[1]|2|3|4:FEED[1]|2 <string>
CALCulate[1]|2|3|4:FEED[1]|2 <string>
This command sets the input measurement mode to be fed to the specified input on
the CALC block. It is applied to the measurement after the CALC:MATH:EXPR
command has been used to specify which channel the feed will be taken from.
Measurement modes are coupled for combination measurements (for example, ratio
measurements). For example, if one feed is changed to PTAV, the other is
automatically changed to PTAV.
Under certain circumstances the measurement mode may be changed by the
CALC:MATH:EXPR command. Refer to page 3-25 for further information.
Syntax
CALC
:FEED
Space
string
Parameters
Item
Description
Range of Values
string
POW:PEAK
POW:PTAV
POW:AVER
3-4
CALCulate Subsystem
CALCulate[1]|2|3|4:FEED[1]|2 <string>
Example
CALC3:FEED2 POW:AVER ON
SWEEP2
Reset Condition
On reset, data_handle is set to :POW:AVER.
Query
CALCulate[1]|2|3|4:FEED[1]2?
The query returns the current value of the string.
Query Example
CALC1:FEED2?
Error Message
If the command is used when no sensor is attached, error -241 Hardware missing
occurs.
If <string> contains ON SWEEP[1]|2|3|4 and the feeds TRIG:SOUR is
not INT or EXT (for single channel power meters) or INT1, INT2 or EXT (for
dual channel power meters), error -221 Settings conflict occurs.
If the command changes the measurement mode to PEAK or PTAV when a non
E9320 sensor is connected or an E9320 sensor is connected and set to AVERage
mode rather than NORMal mode, error -221, Settings Conflict occurs.
3-5
CALCulate Subsystem
CALCulate[1]|2|3|4:GAIN Commands
CALCulate[1]|2|3|4:GAIN Commands
These commands are used to enter and enable a display offset on the specified
window/measurement. The display offset is applied to the measurement signal after
any math calculation.
The following commands are detailed in this section:
CALCulate[1]|2|3|4:GAIN[:MAGNitude] <numeric value>
CALCulate[1]|2|3|4:GAIN:STATe <boolean>
3-6
CALCulate Subsystem
CALCulate[1]|2|3|4:GAIN[:MAGNitude] <numeric_value>
CALCulate[1]|2|3|4:GAIN[:MAGNitude] <numeric_value>
This command is used to enter a value for the display offset on the specified
window/measurement. The display offset is applied to the measurement signal after
any math calculation.
Entering a value using this command automatically turns the
CALCulate[1]|2|3|4:GAIN:STATe command to ON.
Syntax
CALC
:GAIN
:MAGN
Space
numeric_value
DEF
MIN
MAX
Space
MIN
MAX
Parameters
Item
Description/Default
Range of Values
numeric_value
-100.000 to
+100.000 dB
DEF
MIN
MAX
Example
CALC2:GAIN 20
Reset Condition
On reset, the display offset is set to 0 dB (DEF).
3-7
CALCulate Subsystem
CALCulate[1]|2|3|4:GAIN[:MAGNitude] <numeric_value>
Query
CALCulate[1]|2|3|4:GAIN[:MAGNitude]? [MIN|MAX]
The query returns the current setting of the display offset or the value associated with
MIN and MAX.
Query Example
CALC1:GAIN?
Error Message
If CALCulate[1]|2|3|4:GAIN[:MAGNitude] is set to ON while
SENSe:SPEed is set to 200, error -221, Settings Conflict occurs.
3-8
CALCulate Subsystem
CALCulate[1]|2|3|4:GAIN:STATe <boolean>
CALCulate[1]|2|3|4:GAIN:STATe <boolean>
This command is used on the specified window/measurement to enable and disable
the display offset set by the CALCulate[1]|2|3|4:GAIN[:MAGNitude]
command.
Syntax
CALC
:GAIN
Space
:STAT
0|OFF
1|ON
Example
CALC2:GAIN:STAT 1
Reset Condition
On reset, the gain is disabled.
Query
CALCulate[1]|2|3|4:GAIN:STATe?
The query enters a 1 or 0 into the output buffer indicating the status of the display
offset.
Query Example
CALC1:GAIN:STAT?
3-9
CALCulate Subsystem
CALCulate[1]|2|3|4:GAIN:STATe <boolean>
Error Message
If CALCulate[1]|2|3|4:GAIN:STATe is set to ON while SENSe:SPEed is
set to 200, error -221, Settings Conflict occurs.
3-10
CALCulate Subsystem
CALCulate[1]|2|3|4:LIMit Commands
CALCulate[1]|2|3|4:LIMit Commands
These commands set the limits on both the upper and lower windows/measurements
enabling you to:
3-11
CALCulate Subsystem
CALCulate[1]|2|3|4:LIMit:CLEar:AUTo <boolean>|ONCE
CALCulate[1]|2|3|4:LIMit:CLEar:AUTo <boolean>|ONCE
This command controls when the FCO (fail counter) is cleared of any limit failures.
The FCO is used to determine the results returned by the
CALCulate[1]|2|3|4:LIMit:FAIL? query.
If ONCE is specified, the FCO is cleared only after the first initialization then
starts accumulating any limit failures.
Syntax
CALC
:LIM
:CLE
:AUTO
Space
1|ON
ONCE
3
4
0|OFF
Example
CALC1:LIM:CLE:AUTO 1
Reset Condition
On reset, both windows and their measurements are set to ON.
3-12
CALCulate Subsystem
CALCulate[1]|2|3|4:LIMit:CLEar:AUTo <boolean>|ONCE
Query
CALCulate[1]|2|3|4:LIMit:CLEar:AUTO?
The query command enters a 1 or 0 into the output buffer indicating whether limit
failures are cleared automatically when a new measurement is initiated on the
specified window section.
1 is entered into the output buffer when limit failures are cleared
automatically when a new measurement is initiated.
0 is entered into the output buffer when limit failures are not cleared
automatically when a new measurement is initiated.
In the case where limit failures are cleared once, when a query occurs a 1 is entered
into the output buffer if no measurement is initiated. If a measurement is initiated then
0 is entered.
Query Example
CALC1:LIM:CLE:AUTO?
3-13
CALCulate Subsystem
CALCulate[1]|2|3|4:Limit:CLEar[:IMMediate]
CALCulate[1]|2|3|4:Limit:CLEar[:IMMediate]
This command immediately clears the FCO (fail counter) of any limit failures for the
specified window. The FCO is used to determine the results returned by the
CALCulate[1]|2|3|4:LIMit:FAIL? query
Syntax
CALC
:LIM
:CLE
:IMM
2
3
4
Example
CALC2:LIM:CLE:IMM
3-14
CALCulate Subsystem
CALCulate[1]|2|3|4LIMit:FAIL?
CALCulate[1]|2|3|4LIMit:FAIL?
This query enters a 1 or 0 into the output buffer indicating whether there have been
any limit failures for the specified window. A limit failure is defined as
CALC[1]|2|3|4:LIMit:FCO? being non-zero. The FCO (fail counter) can be
zeroed using the CALC[1]|2|3|4:LIMit:CLEar command.
Syntax
CALC
:LIM
:FAIL
2
3
4
Example
CALC1:LIM:FAIL?
Reset Condition
On reset, the buffer is set to zero for both upper and lower window measurements.
3-15
CALCulate Subsystem
CALCulate[1]|2|3|4:LIMit:FCOunt?
CALCulate[1]|2|3|4:LIMit:FCOunt?
This query returns the total number of limit failures for the specified
window/measurement.
If the appropriate STATe commands are set to ON, each time a measurement is
initiated on the specified window/measurement and the result is outside the limits, the
counter is incremented by one.
If the measured value is equal to a limit, this is a limit pass.
The counter is reset to zero by any of the following commands:
*RST
CALCulate[1]|2|3|4:LIMit:CLEar:IMMediate
CALCulate[1]|2|3|4:LIMit:CLEar:AUTO ON
initiated using:
INITiate[:IMMediate] or,
INITiate:CONTinuous ON
initiated using:
INITiate[:IMMediate] or,
INITiate:CONTinuous ON
The maximum number of errors is 216-1. If more than 216-1 errors are detected the
counter returns to zero.
3-16
CALCulate Subsystem
CALCulate[1]|2|3|4:LIMit:FCOunt?
Syntax
CALC
:LIM
:FCO
2
3
4
Example
CALC1:LIM:FCO?
Reset Condition
On reset, the counter is set to zero for both measurements of the upper and lower
windows
3-17
CALCulate Subsystem
CALCulate[1]|2|3|4:LIMit:LOWer[:DATA] <numeric_value>
CALCulate[1]|2|3|4:LIMit:LOWer[:DATA] <numeric_value>
This command enters a value for the lower test limit for the specified
window/measurement used in the CALCulate[1]|2|3|4:LIMit
:FAIL? test. The units used are dependent on the current setting of UNIT:POWer
and CALCulate:RELative:STATe as shown in Table 0-5. When the measured
value is less than the value specified in
CALCulate[1]|2|3|4:LIMit:LOWer[:DATA],
CALCulate[1]|2|3|4:LIMit:FAIL? reports a fail. When the measured value
is greater than or equal to the limit, a fail is not reported.
Table 0-5: Measurement Units
CALC:REL:STAT OFF
Measurement
Mode
CALC:REL:STAT ON
Measurement Type
Linear
Single Channel
Ratio
Difference
Log
Linear
Log
Avg, Pk
Watt
dBm
dB
Pk-Avg
dB
dB
dB
dB
Avg, Pk
Watt
dBm
dB
Pk-Avg
dB
dB
Syntax
CALC
:LIM
:LOW
:DATA
Space
DEF
MIN
3
4
numeric_value
MAX
?
Space
MIN
MAX
3-18
CALCulate Subsystem
CALCulate[1]|2|3|4:LIMit:LOWer[:DATA] <numeric_value>
Parameters
Item
Description/Default
Range of Values
numeric_value
DEF
MIN
MAX
Example
CALC2:LIM:LOW:DATA 0.1
Reset Condition
On reset, both measurements of the upper and lower windows are set to -90.00 dBm
or -90 dB (DEF).
Query
CALCulate[1]|2|3|4:LIMit:LOWer[:DATA]? [MIN|MAX]
The query returns the current setting of the lower limit or the values associated with
MIN and MAX for the specified window.
Query Example
CALC2:LIM:LOW:DATA?
3-19
CALCulate Subsystem
CALCulate[1]|2|3|4:LIMit:UPPer[:DATA] <numeric_value>
CALCulate[1]|2|3|4:LIMit:UPPer[:DATA] <numeric_value>
This command enters a value for the upper test limit for the specified
window/measurement used in the CALCulate[1]|2|3|4:LIMit
:FAIL? test. The units used are dependent on the current setting of UNIT:POWer
and CALCulate:RELative:STATe as shown in Table 0-6. When the measured
power is greater than the value specified in
CALCulate[1]|2|3|4:LIMit:UPPer[:DATA],
CALCulate[1]|2|3|4:LIMit:FAIL? reports a fail. When the measured level
is less than or equal to the limit, a fail is not reported.
Table 0-6: Measurement Units
CALC:REL:STAT OFF
Measurement
Mode
CALC:REL:STAT ON
Measurement Type
Linear
Single Channel
Ratio
Difference
Log
Linear
Log
Avg, Pk
Watt
dBm
dB
Pk-Avg
dB
dB
dB
dB
Avg, Pk
Watt
dBm
dB
Pk-Avg
dB
dB
Syntax
CALC
:LIM
:UPP
:DATA
Space
DEF
MIN
3
4
numeric_value
MAX
?
Space
MIN
MAX
3-20
CALCulate Subsystem
CALCulate[1]|2|3|4:LIMit:UPPer[:DATA] <numeric_value>
Parameters
Item
Description/Default
Range of Values
numeric_value
-180 to +200 dB
DEF
MIN
MAX
Example
CALC2:LIM:UPP:DATA 5
Reset Condition
On reset, both channels are set to +90.00 dBm or +90 dB.
Query
CALCulate[1]|2|3|4:LIMit:UPPer[:DATA]? [MIN|MAX]
The query returns the current setting of the upper limit or the values associated with
MIN and MAX for the specified window/measurement.
Query Example
CALC2:LIM:UPP:DATA?
3-21
CALCulate Subsystem
CALCulate[1]|2|3|4:LIMit:STATe <boolean>
CALCulate[1]|2|3|4:LIMit:STATe <boolean>
This command enables/disables the test limits for the specified window.
Syntax
CALC
Space
:STAT
:LIM
0|OFF
1|ON
2
?
3
4
Example
This command enables the limit
checking function for the lower window
upper measurement.
CALC2:LIM:STAT 1
Reset Condition
On reset, limit checking is disabled.
Query
CALCulate[1]|2|3|4:LIMit:STATe?
The query enters 1 or 0 into the output buffer indicating the status of the limits testing
feature for the specified window/measurement.
Query Example
CALC1:LIM:STAT?
3-22
CALCulate Subsystem
CALCulate[1]|2|3|4:LIMit:STATe <boolean>
Error Message
If CALCulate[1|2|3|4]:LIMit:STATe is set to ON while
[SENSe[1]]|SENSe2:SPEed is set to 200, error -221, Settings Conflict
occurs.
3-23
CALCulate Subsystem
CALCulate[1]|2|3|4:MATH Commands
CALCulate[1]|2|3|4:MATH Commands
These commands define and carry out the following mathematical transformations on
SENSe data:
Single channel.
Difference.
Ratio.
3-24
CALCulate Subsystem
CALCulate[1]|2|3|4:MATH[:EXPRession] <string>
CALCulate[1]|2|3|4:MATH[:EXPRession] <string>
This command sets the specified window/measurement to a single channel, difference
or ratio measurement.
The command may result in a change to the measurement mode set by
CALC:FEED <string>. The following sequence of commands provides an
example:
1.
2.
3.
4.
SENS2:DET:FUN=AVERage
CALC:MATH (SENS1)
CALC:FEED1 POW:PEAK
CALC:MATH (SENS2)
The FEED1 measurement mode, set in step 3, is made invalid by step 4 and
automatically changed to POW:AVER.
Syntax
CALC
:MATH
:EXPR
Space
string
?
2
3
4
Parameters
Item
Description/Default
Range of Values
string
(SENS1)1
(SENS2)1,2
(SENS1-SENS1)1
(SENS2-SENS2)1,2
(SENS1/SENS1)1
(SENS2/SENS2)1,2
(SENS1-SENS2)1,2
(SENS2-SENS1)1,2
(SENS1/SENS2)1,2
(SENS2/SENS1)1,2
3-25
CALCulate Subsystem
CALCulate[1]|2|3|4:MATH[:EXPRession] <string>
Example
CALC2:MATH (SENS2/SENS1)
Reset Condition
On reset, the Agilent E4416A upper and lower window measurements are set to
channel A ("(SENS1)"). On the E4417A the upper window measurements are set
to channel A ("(SENS1)") and the lower window measurements to
channel B ("(SENS2)")
Query
CALCulate[1]|2|3|4:MATH[:EXPRession]?
The query returns the current math measurement setting on the specified window.
Query Example
CALC1:MATH?
Error Messages
For the single channel E4416A power meter: if <string> is not set to
(SENS1) while SENSe:SPEed is set to 200, error -221, Settings Conflict
occurs.
For the dual channel E4417A power meter: if <string> is not set to (SENS1)
or (SENS2) while SENS1:SPEEd or SENS2:SPEEd is set to 200, error -221,
Settings Conflict occurs.
3-26
CALCulate Subsystem
CALCulate[1]|2|3|4:MATH[:EXPRession]:CATalog?
CALCulate[1]|2|3|4:MATH[:EXPRession]:CATalog?
This query lists all the defined expressions. The response is a list of comma separated
strings. Each string contains an expression.
Syntax
CALC
:MATH
:EXPR
:CAT
2
3
4
Example
CALC1:MATH:CAT?
3-27
CALCulate Subsystem
CALCulate[1]|2|3|4:PHOLd:CLEar
CALCulate[1]|2|3|4:PHOLd:CLEar
This command clears the peak hold value for a specified CALC block so that a new
peak hold value can be set.
Note
Clearing the peak hold value for a specified CALC block may affect the peak
hold value of other CALC blocks, depending on the CALC channel set up (set by
CALC:MATH:EXPR).
Syntax
CALC
:PHOL
:CLE
2
3
4
Example
CALC2:PHOLd:CLEar
Error Messages
If no power sensor is connected, error -241 Hardware missing occurs.
If a non E9320 Series power sensor is connected, error -241
Hardware missing occurs.
If SENS:DET:FUNC is set to AVER or TRIG:SOUR is set to INT1, INT2 or
EXT, error -221 Settings conflict occurs.
3-28
CALCulate Subsystem
CALCulate[1]|2|3|4:RELative Commands
CALCulate[1]|2|3|4:RELative Commands
These commands compare the measurement signal to a reference value.
Within the CALCulate block the relative value is applied to the measurement signal
after any math calculations and display offsets have been applied.
The commands described in this section:
CALCulate[1]|2|3|4:RELative[:MAGNitude]:AUTO
<boolean>|ONCE
CALCulate[1]|2|3|4:RELative:STATe <boolean>
3-29
CALCulate Subsystem
CALCulate[1]|2|3|4:RELative[:MAGNitude]:AUTO <boolean>|ONCE
CALCulate[1]|2|3|4:RELative[:MAGNitude]:AUTO <boolean>|ONCE
This command sets the reference value to be used in the relative measurement. Within
the CALCulate block the relative value is applied to the measurement signal after
any math calculations and display offsets have been applied.
The value should be set to ONCE to set the reference value to be used in relative
measurements. Selecting ONCE sets the reference value to that of the measurement
signal after any math calculations and display offsets have been applied. After the
reference value has been set the command returns to OFF. Setting this command to
ONCE turns the CALCulate[1]|2|3|4:RELative:STATe command to ON.
If 0|OFF is selected, no reference value is applied to the measurement signal. There
is no situation in which you would want to send this command with OFF. OFF is only
available because it is required for the query response.
If 1|ON is selected, it causes error -224, Illegal parameter value to occur.
Syntax
CALC
:REL
2
3
4
:MAGN
:AUTO
Space
1|ON
0|OFF
ONCE
?
Example
CALC1:REL:AUTO ONCE
3-30
CALCulate Subsystem
CALCulate[1]|2|3|4:RELative[:MAGNitude]:AUTO <boolean>|ONCE
Query
CALCulate[1]|2|3|4:RELative[:MAGNitude]:AUTO?
The query always returns OFF.
Error Message
If CALCulate:RELative[:MAGNitude]:AUTO is set to ONCE while
SENSe:SPEed is set to 200, error -221, Settings Conflict occurs.
If the value is set to ON error -224, Illegal parameter value occurs.
3-31
CALCulate Subsystem
CALCulate[1]|2|3|4:RELative:STATe <boolean>
CALCulate[1]|2|3|4:RELative:STATe <boolean>
This command enables/disables relative mode. If the command is:
Syntax
CALC
:REL
:STAT
Space
0|OFF
1|ON
Example
CALC1:REL:STAT OFF
Reset Condition
On reset, relative mode is disabled.
Query
CALCulate[1]|2|3|4:RELative:STATe?
The query returns a 1 or 0 into the output buffer.
Query Example
CALC1:REL:STAT?
Error Message
If CALCulate:RELative:STATe is set to ON while SENSe:SPEed is set to
200, error -221, Settings Conflict occurs.
3-32
CALibration Subsystem
CALibration Subsystem
CALibration Subsystem
CALibration Subsystem
The CALibration command subsystem is used to zero and calibrate the power
meter. It is also used to set the reference calibration factor for the power sensor which
is being used.
The numeric suffix of the CALibration command refers to a specific channel:
Every 24 hours.
Prior to measuring low level signals. For example, 10 dB above the lowest
specified power for your sensor.
CAL:ALL
CAL:AUTO
CAL:ZERO:AUTO
4-2
Parameter Form
Notes
Page
[event; no query]
[event;query]
<boolean>|ONCE
page 4-3
page 4-5
page 4-7
<boolean>
<boolean>
<numeric_value>
page 4-9
page 4-10
page 4-12
[non-SCPI]
<boolean>|ONCE
page 4-14
<boolean>|ONCE
page 4-15
CALibration Subsystem
CALibration[1]|2[:ALL]
CALibration[1]|2[:ALL]
Note
For 8480 Series power sensors and N8480 Series power sensors with Option CFT, the
reference calibration factor used during this calibration can be derived from either an
active sensor calibration table or the value entered using
CALibration:RCFactor. The actual value used is the one which was most
recently set. That is, a value entered using CALibration:RCFactor is
overridden if a sensor calibration table is subsequently selected and enabled.
Conversely, CALibration:RCFactor overrides any reference calibration factor
previously set from a sensor calibration table. To determine the currently set reference
calibration factor use CALibration:RCFactor?
E-Series power sensors and N8480 Series power sensors (excluding Option CFT)
have their sensor calibration tables stored in EEPROM which means that the
reference calibration factor is automatically downloaded by the power meter.
Syntax
CAL
:ALL
Example
CAL1:ALL
4-3
CALibration Subsystem
CALibration[1]|2[:ALL]
Error Messages
If the calibration was not carried out successfully the error -231, Data
Questionable; CAL ERROR occurs. If you are using the E4417A the error
message specifies which channel the calibration failed on.
If zeroing was not carried out successfully the error -231, Data Questionable;
ZERO ERROR occurs. If you are using the E4417A the error message specifies
which channel the calibration failed on.
If there is no sensor connected, the error -241, Hardware Missing occurs.
4-4
CALibration Subsystem
CALibration[1]|2[:ALL]?
CALibration[1]|2[:ALL]?
Note
When the calibration sequence is completed, 0 or 1 is entered into the output buffer to
indicate if the sequence was successful. If the result is:
For the 8480 Series power sensors and N8480 Series power sensors with Option CFT,
the reference calibration factor used during this calibration can be derived from either
an active sensor calibration table or the value entered using
CALibration:RCFactor. The actual value used is the one which was most
recently set. That is, a value entered using CALibration:RCFactor is
overridden if a sensor calibration table is subsequently selected and enabled.
Conversely, CALibration:RCFactor overrides any reference calibration factor
previously set from a sensor calibration table. To determine the currently set reference
calibration factor use CALibration:RCFactor?
The E-Series power sensors and N8480 Series power sensors (excluding Option CFT)
have their sensor calibration tables stored in EEPROM which means that the
reference calibration factor is automatically downloaded by the power meter.
Syntax
CAL
:ALL
4-5
CALibration Subsystem
CALibration[1]|2[:ALL]?
Query Example
CAL1:ALL?
Error Messages
If the calibration was not carried out successfully the error -231, Data
Questionable; CAL ERROR occurs. If you are using the E4417A the error
message specifies which channel the calibration failed on.
If zeroing was not carried out successfully the error -231, Data Questionable;
ZERO ERROR occurs. If you are using the E4417A the error message specifies
which channel the calibration failed on.
If there is no sensor connected, the error -241, Hardware Missing occurs.
4-6
CALibration Subsystem
CALibration[1]|2:AUTO <boolean>
CALibration[1]|2:AUTO <boolean>
This command calibrates the specified channel when ONCE is selected. The command
assumes that the power sensor is connected to a 1 mW reference signal. The 0|OFF
parameter is only required for the query response and is ignored in the command. If
1|ON is selected, the error -224, Illegal parameter value occurs.
For 8480 Series power sensors and N8480 Series power sensors with Option CFT, the
reference calibration factor used during this calibration can be obtained from an
active sensor calibration table or the value entered using
CALibration:RCFactor. The actual value used is the one which was most
recently set. For example, a value entered using CALibration:RCFactor is
overridden if a sensor calibration table is subsequently selected and enabled and
CALibration:RCFactor overrides any reference calibration factor previously
set from a sensor calibration table. To determine the current reference calibration
factor, use CALibration:RCFactor?
The E-Series power sensors and N8480 Series power sensors (excluding Option CFT)
have their sensor calibration tables stored in EEPROM which means that the
reference calibration factor is automatically downloaded by the power meter.
Note
Syntax
CAL
:AUTO
Space
0|OFF
ONCE
Example
CAL1:AUTO ONCE
Reset Condition
On reset, automatic calibration is disabled.
4-7
CALibration Subsystem
CALibration[1]|2:AUTO <boolean>
Query
CALibration[1]|2:AUTO?
The query always returns a value of 0.
Error Messages
If the calibration was not carried out successfully the error -231, Data
Questionable; CAL ERROR occurs. If you are using the E4417A the error
message specifies which channel the calibration failed on.
If the command is set to ON the error -224, Illegal parameter value occurs.
If there is no sensor connected, the error -241, Hardware Missing occurs.
4-8
CALibration Subsystem
CALibration[1]|2:ECONtrol:STATe <boolean>
CALibration[1]|2:ECONtrol:STATe <boolean>
This command enables and disables the rear panel TTL zero/cal inputs. The TTL
inputs provide an external means to initiate ZERO and CAL cycles.
Syntax
CAL
:ECON
Space
:STAT
0|OFF
1|ON
2
?
Example
CAL1:ECON:STAT 1
Reset Condition
On reset, the TTL zero/cal inputs are disabled.
Query
CALibration[1]|2:ECONtrol:STATe?
The query enters a 1 or 0 into the output buffer indicating whether the TTL inputs are
enabled or disabled.
Query Example
CAL1:ECON:STAT?
4-9
CALibration Subsystem
CALibration[1]|2:RCALibration <boolean>
CALibration[1]|2:RCALibration <boolean>
This command enables and disables the zero/cal lockout facility. With the lockout
facility enabled the power meter is prevented from making measurements until the
sensor connected has been zeroed and calibrated.
Syntax
CAL
:RCAL
Space
0|OFF
1|ON
2
?
Example
CAL1:RCAL 1
Reset Condition
On reset, the state of the zero/cal lockout is unaffected.
Query
CALibration[1]|2:RCALibration?
The query enters a 1 or 0 into the output buffer indicating whether zero/cal lockout is
enabled or disabled.
Query Example
CAL1:RCAL?
4-10
CALibration Subsystem
CALibration[1]|2:RCALibration <boolean>
Error Messages
When CAL[1]|2:RCAL is ON and the sensor currently connected to the appropriate
channel (A or B) has not been zeroed and calibrated, then any SCPI command which
would normally return a measurement result (for example, FETC?, READ?, MEAS?
etc) will not return a result but will generate the error -230, Data corrupt or stale;
Please zero and Cal.
Once the sensor has been zeroed and calibrated the commands which return
measurement results will function normally.
4-11
CALibration Subsystem
CALibration[1]|2:RCFactor <numeric_value>
CALibration[1]|2:RCFactor <numeric_value>
This command is used with 8480 Series power sensors and N8480 Series power
sensors with Option CFT to set the reference calibration factor of the specified
channel. Reference calibration factors can also be set using sensor calibration tables.
The power meter uses the most recently set reference calibration factor.
Syntax
CAL
:RCF
Space
numeric_value
DEF
MIN
MAX
?
Space
MIN
MAX
Parameters
Item
Description/Default
Range of Values
numeric_value
A numeric value:
MIN
MIN: 1%.
MAX
MAX:150%.
Example
CAL1:RCF 98
Reset Condition
On reset, the reference calibration factor is set to 100%.
4-12
CALibration Subsystem
CALibration[1]|2:RCFactor <numeric_value>
Query
CALibration[1]|2:RCFactor? [MIN|MAX]
The query returns the current setting of the reference calibration factor or the values
associated with MIN and MAX.
Query Example
CAL2:RCF?
Error Messages
If this command is used when an E-Series power sensors or N8480 Series power
sensor (excluding Option CFT) is connected the error -241, Hardware missing
occurs.
4-13
CALibration Subsystem
CALibration[1]|2:ZERO:AUTO <boolean>
CALibration[1]|2:ZERO:AUTO <boolean>
This command causes the power meter to perform its zeroing routine on the specified
channel when ONCE is selected. This adjusts the power meter for a zero power
reading with no power supplied to the power sensor.
The 0|OFF parameter is only required for the query response and is ignored in the
command. If 1|ON is selected, it causes the error -224, Illegal parameter value to
occur.
The command assumes that the power sensor is not connected to a power source.
Syntax
CAL
:ZERO
:AUTO
Space
0|OFF
ONCE
Example
CAL2:ZERO:AUTO ONCE
Reset Condition
On reset, automatic zeroing is disabled.
Query
CALibration[1]|2:ZERO:AUTO?
The query always returns a value of 0.
Error Messages
If zeroing was not carried out successfully the error -231, Data Questionable;
ZERO ERROR occurs. If you are using a dual channel power meter, the error
message specifies which channel the zeroing failed on.
If this command is set to ON the error -224, Illegal parameter value occurs.
If there is no sensor connected, the error -241, Hardware Missing occurs.
4-14
CALibration Subsystem
CALibration[1]|2:ZERO:NORMal:AUTO <boolean>
CALibration[1]|2:ZERO:NORMal:AUTO <boolean>
This command provides a quick way of zeroing the NORMAL path of an E9320
Series sensor. The average only path is unaffected. The command cannot be used to
zero a non-E9320 Series sensor.
The command causes the power meter to perform its zeroing routine on the specified
channel when ONCE is selected. This adjusts the power meter for a zero power
reading with no power supplied to the power sensor.
The 0|OFF parameter is only required for the query response and is ignored in the
command. If 1|ON is selected, it causes the error -224, Illegal parameter value to
occur.
The command assumes that the power sensor is not connected to a power source.
Syntax
CAL
:ZERO
:NORM
:AUTO
Space
0|OFF
ONCE
Example
CAL2:ZERO:NORM:AUTO ONCE
Reset Condition
On reset, automatic zeroing is disabled.
Query
CALibration[1]|2:ZERO:NORMal:AUTO?
The query always returns a value of 0.
4-15
CALibration Subsystem
CALibration[1]|2:ZERO:NORMal:AUTO <boolean>
Error Messages
If zeroing was not carried out successfully the error -231, Data Questionable;
ZERO ERROR occurs. If you are using a dual channel power meter, the error
message specifies which channel the zeroing failed on.
If this command is set to ON the error -224, Illegal parameter value occurs.
If there is no sensor connected or if a non-E9320 sensor is connected, the error
-241, Hardware missing occurs.
If an E9320 sensor is connected and is not in NORMAL mode, the error -221
Settings conflict occurs.
4-16
DISPlay Subsystem
DISPlay Subsystem
DISPlay Subsystem
DISPlay Subsystem
The DISPlay subsystem is used to control the selection and presentation of the
windows used on the power meters display.
Keyword
DISPlay
:CONTrast
:ENABle
:SCReen
:FORMat
[:WINDow[1]|2]
:ANALog
:LOWer
:UPPer
:FORMat
:METer
:LOWer
:UPPer
[:NUMeric[1]|2]
:RESolution
:SELect[1]|2
[:STATe]
:TRACe
:FEED
:LOWer
:UPPer
5-2
Parameter Form
Notes
Page
<numeric_value>
<boolean>
page 5-3
page 5-5
<character_data>
page 5-6
<numeric_value>
<numeric_value>
<character_data>
[non-SCPI]
page 5-10
page 5-12
page 5-14
<numeric_value>
<numeric_value>
[non-SCPI]
[non-SCPI]
page 5-17
page 5-19
<boolean>
page 5-21
page 5-23
page 5-24
<character_data>
<numeric_value>
<numeric_value>
page 5-26
page 5-28
page 5-30
<numeric_value>
DISPlay Subsystem
DISPlay:CONTrast <numeric_value>
DISPlay:CONTrast <numeric_value>
This command controls the display contrast:
A contrast of 0 represents a minimum contrast.
A contrast of 1 represents a maximum contrast.
When the supply power is cycled off then on the contrast sets to the factory default for
that particular power meter.
Syntax
DISP
:CONT
Space
numeric_value
DEF
MIN
MAX
Space
MIN
MAX
Parameters
Item
Description/Default
Range of Values
numeric_value
0 to 1
DEF
MIN
MAX
Example
DISP:CONT 0.75
5-3
DISPlay Subsystem
DISPlay:CONTrast <numeric_value>
Reset Condition
On reset, the contrast is not affected.
Query
DISPlay:CONTrast? [MIN|MAX]
The query returns the current setting of the contrast or the values associated with MIN
and MAX. The response format is <NR3>.
Query Example
DISP:CONT?
5-4
DISPlay Subsystem
DISPlay:ENABle <boolean>
DISPlay:ENABle <boolean>
This command is used to enable and disable the display. At power-up the display is
always enabled.
Syntax
DISP
:ENAB
Space
0|OFF
1|ON
?
Example
DISP:ENAB 0
Reset Condition
On reset, the display is enabled.
Query
DISPlay:ENABle?
The query returns a 1 or 0 into the output buffer.
1 is returned when the display is enabled.
0 is returned when the display is disabled.
Query Example
DISP:ENAB?
5-5
DISPlay Subsystem
DISPlay:SCReen:FORMat <character_data>
DISPlay:SCReen:FORMat <character_data>
This command sets the display format.
Syntax
DISP
:SCR
Space
:FORM
character_data
?
Parameters
Item
Description/Default
Range of Values
character_data
WIND
EXP
FSCR
Example
This command sets the display format
to full screen.
DISP:SCReen:FORM FSCR
Reset Condition
On reset, the display format is WIND.
Query
5-6
DISPlay Subsystem
DISPlay:SCReen:FORMat <character_data>
DISPlay:SCReen:FORMat?
The query returns WIND, EXP or FSCR.
Query Example
DISP:SCR:FORM?
5-7
DISPlay Subsystem
DISPlay[:WINDow[1]|2] Commands
DISPlay[:WINDow[1]|2] Commands
These commands control various characteristics of the display windows. WINDow1
and WINDow2 represent the upper and lower windows respectively.
The following commands are detailed in this section:
DISPlay[:WINDow[1]|2]:ANALog:LOWer <numeric_value>
DISPlay[:WINDow[1]|2]:ANALog:UPPer <numeric_value>
DISPlay[:WINDow[1]|2]:FORMat <character_data>
DISPlay[:WINDow[1]|2]:METer:LOWer <numeric_value>
DISPlay[:WINDow[1]|2]:METer:UPPer <numeric_value>
DISPlay[:WINDow[1]|2][NUMeric[1|2]]:RESolution
<numeric_value>
DISPlay[:WINDow[1]|2]:SELect[1]|2
DISPlay[:WINDow[1]|2][:STATe] <boolean>
DISPlay[:WINDow[1]|2]:TRACe:FEED <character_data>
DISPlay[:WINDow[1]|2]:TRACe:LOWer <numeric_value>
DISPlay[:WINDow[1]|2]:TRACe:UPPer <numeric_value>
5-8
DISPlay Subsystem
DISPlay[:WINDow[1]|2]:ANALog Commands
DISPlay[:WINDow[1]|2]:ANALog Commands
These commands control the upper and lower scale limits of the analog meter.
The following commands are detailed in this section:
DISPlay[:WINDow[1]|2]:ANALog:LOWer <numeric_value>
DISPlay[:WINDow[1]|2]:ANALog:UPPer <numeric_value>
5-9
DISPlay Subsystem
DISPlay[:WINDow[1]|2]:ANALog:LOWer <numeric_value>
DISPlay[:WINDow[1]|2]:ANALog:LOWer <numeric_value>
This command sets the analog meter lower scale limit.
Note
Measurement
Mode
Single Channel
Ratio
Difference
CALC:REL:STAT ON
Measurement Type
Linear
Log
Linear
Log
Avg, Pk
Watt
dBm
dB
Pk-Avg
dB
dB
dB
dB
Avg, Pk
Watt
dBm
dB
Pk-Avg
dB
dB
Syntax
DISP
:WIND
:ANAL
:LOW
Space
numeric_value
DEF
MIN
MAX
?
Space
MIN
MAX
5-10
DISPlay Subsystem
DISPlay[:WINDow[1]|2]:ANALog:LOWer <numeric_value>
Parameters
Item
Description/Default
Range of Values
numeric_value
Example
DISP:WIND1:ANAL:LOW -50
Reset Condition
On reset, the value is set to -70 dBm for both windows.
Query
DISPlay:[WINDow[1]|2]:ANALog:LOW? [MIN|MAX]
The query returns the current setting of the analog meters lower scale limit, or the
value associated with MIN or MAX. The format of the response is <NR3>. The units in
which the results are returned are determined by the current setting of UNIT:POWer
and CALCulate:RELative:STATe as shown in Table 0-7.
Query Example
DISP:WIND1:ANAL:LOW?
5-11
DISPlay Subsystem
DISPlay[:WINDow[1]|2]:ANALog:UPPer <numeric_value>
DISPlay[:WINDow[1]|2]:ANALog:UPPer <numeric_value>
This command sets the analog meter upper scale limit.
Note
Measurement
Mode
Single Channel
Ratio
Difference
CALC:REL:STAT ON
Measurement Type
Linear
Log
Linear
Log
Avg, Pk
Watt
dBm
dB
Pk-Avg
dB
dB
dB
dB
Avg, Pk
Watt
dBm
dB
Pk-Avg
dB
dB
Syntax
DISP
:WIND
:ANAL
:UPP
Space
numeric_value
DEF
MIN
MAX
?
Space
MIN
MAX
5-12
DISPlay Subsystem
DISPlay[:WINDow[1]|2]:ANALog:UPPer <numeric_value>
Parameters
Item
Description/Default
Range of Values
numeric_value
Example
DISP:WIND2:ANAL:UPP 50
Reset Condition
On reset, the upper scale limit is set to 20 dBm.
Query
DISPlay:[WINDow[1]|2]:ANALog:UPPer [MIN|MAX]
The query returns the current setting of the analog meters upper scale limit, or the
value associated with MIN or MAX. The format of the response is <NR3>. The units in
which the results are returned are determined by the current setting of UNIT:POWer
and CALCulate:RELative:STATe as shown in Table 0-8.
Query Example
DISP:WIND2:ANAL:UPP?
5-13
DISPlay Subsystem
DISPlay[:WINDow[1]|2]:FORMat <character_data>
DISPlay[:WINDow[1]|2]:FORMat <character_data>
This command selects the format of the selected window.
Syntax
DISP
:WIND
:FORM
Space
character_data
Parameters
Item
Description/Default
Range of Values
character_data
DIGital
ANALog
SNUMeric
DNUMeric
TRACe
Example
DISP:WIND2:FORM DIG
5-14
DISPlay Subsystem
DISPlay[:WINDow[1]|2]:FORMat <character_data>
Reset Condition
On reset, the E4416A power meter upper window is DIGital and the lower window
ANALog. For theE4417A power meter, the defaults for the upper and lower windows
are DIGital.
Query
DISPlay:[WINDow[1]|2]:FORMat?
The query returns the current format of the selected window.
Query Example
DISP:FORM?
Error Messages
If the command is set to TRACe and the selected channel from which TRACe is
taken has no sensor connected or has a non E9320 sensor connected, error -241,
Hardware missing occurs.
If the command is set to TRACe and the selected channel has an E9320 sensor
connected in AVERage measurement mode, the error -221, Settings conflict
occurs.
5-15
DISPlay Subsystem
DISPlay[:WINDow[1]|2]:METer Commands
DISPlay[:WINDow[1]|2]:METer Commands
These commands control the upper and lower scale limits of the analog meter.
The following commands are detailed in this section:
DISPlay[:WINDow[1]|2]:METer:LOWer <numeric_value>
DISPlay[:WINDow[1]|2]:METer:UPPer <numeric_value>
5-16
DISPlay Subsystem
DISPlay[:WINDow[1]|2]:METer:LOWer <numeric_value>
DISPlay[:WINDow[1]|2]:METer:LOWer <numeric_value>
This command sets the analog meter lower scale limit.
Note
Measurement
Mode
Single Channel
Ratio
Difference
CALC:REL:STAT OFF
CALC:REL:STAT ON
Measurement Type
Linear
Log
Linear
Log
Avg, Pk
Watt
dBm
dB
Pk-Avg
dB
dB
dB
dB
Avg, Pk
Watt
dBm
dB
Pk-Avg
dB
dB
Syntax
DISP
:WIND
:MET
:LOW
Space
numeric_value
DEF
MIN
MAX
?
Space
MIN
MAX
5-17
DISPlay Subsystem
DISPlay[:WINDow[1]|2]:METer:LOWer <numeric_value>
Parameters
Item
Description/Default
Range of Values
numeric_value
Example
DISP:WIND2:MET:LOW 10
Reset Condition
On reset, the lower scale limit is set to -70 dBm.
Query
DISPlay[:WINDow[1]|2]:METer:LOWer? [MIN|MAX]
The query returns the current setting of the analog meters lower scale limit or the
value associated with MIN and MAX. The format of the response is <NR3>. The units
in which the results are returned is dependent on the current setting of UNIT:POWer
and CALCulate:RELative:STATe as shown in the previous table.
Query Example
DISP:MET:LOW?
5-18
DISPlay Subsystem
DISPlay[:WINDow[1]|2]:METer:UPPer <numeric_value>
DISPlay[:WINDow[1]|2]:METer:UPPer <numeric_value>
This command sets the analog meter upper scale limit.
Note
Measurement
Mode
Single Channel
Ratio
Difference
CALC:REL:STAT OFF
CALC:REL:STAT ON
Measurement Type
Linear
Log
Linear
Log
Avg, Pk
Watt
dBm
dB
Pk-Avg
dB
dB
dB
dB
Avg, Pk
Watt
dBm
dB
Pk-Avg
dB
dB
Syntax
DISP
:WIND
:MET
:UPP
Space
numeric_value
DEF
MIN
MAX
?
Space
MIN
MAX
5-19
DISPlay Subsystem
DISPlay[:WINDow[1]|2]:METer:UPPer <numeric_value>
Parameters
Item
Description/Default
Range of Values
numeric_value
Example
DISP:WIND2:MET:UPP 20
Reset Condition
On reset, the upper scale limit is set to 20 dBm.
Query
DISPlay[:WINDow[1]|2]:METer:UPPer? [MIN|MAX]
The query returns the current setting of the analog meters upper scale limit or the
value associated with MIN and MAX. The format of the response is <NR3>. The units
in which the results are returned is dependent on the current setting of UNIT:POWer
and CALCulate:RELative:STATe as shown in the previous table.
Query Example
DISP:WIND2:MET:UPP?
5-20
DISPlay Subsystem
DISPlay[:WINDow[1]|2][:NUMeric[1]|2]:RESolution <numeric_value>
DISPlay[:WINDow[1]|2][:NUMeric[1]|2]:RESolution <numeric_value>
This command sets the resolution of the measurement result in the specified window.
Syntax
DISP
:WIND
:NUM
:RES
Space
numeric_value
DEF
MIN
MAX
?
Space
MIN
MAX
Parameters
Item
Description/Default
Range of Values
numeric_value
1 to 4
DEF
MIN
MAX
DEF: 3
MIN: 1
MAX: 4
Example
DISP:WIND2:RES 4
Reset Condition
On reset, the resolution is set to 3.
Query
DISPlay[:WINDow[1]|2]:RESolution? [MIN|MAX]
5-21
DISPlay Subsystem
DISPlay[:WINDow[1]|2][:NUMeric[1]|2]:RESolution <numeric_value>
The query returns the current setting of the windows resolution or the value
associated with MIN and MAX. The format of the response is <NR1>.
Query Example
DISP:RES?
5-22
DISPlay Subsystem
DISPlay[:WINDow[1]|2]:SELect[1]|2
DISPlay[:WINDow[1]|2]:SELect[1]|2
This command is used to select a specific measurement within a specific window.
If the second numeric value is not sent, the upper measurement of the relevant
window is selected. This command is used to specify which measurement will be
used for the analog, trace, or single numeric display.
Syntax
DISP
:WIND
:SEL
1
2
?
Example
DISP:WIND2:SEL1
Reset Condition
On reset, the upper window upper measurement is selected.
Query
DISPlay[:WINDow[1]|2]:SELect[1]|2?
The query enters a 1 or 0 into the output buffer indicating whether the window
specified is currently selected.
1 is returned if the specified window is selected.
0 is returned if the specified window is not selected.
Query Example
DISP:SEL1?
5-23
DISPlay Subsystem
DISPlay[:WINDow[1]|2][:STATe] <boolean>
DISPlay[:WINDow[1]|2][:STATe] <boolean>
This command enables/disables the upper or lower window (WINDow1 and
WINDow2 respectively) so that the display shows a single window only. The
displayed window is presented in expanded format, showing a single measurement
only: either the single measurement that was shown on the window, or the currently
selected measurement, if two measurements had been shown.
Syntax
DISP
:WIND
:STAT
Space
0|OFF
1|ON
Examples
DISP:WIND2:STAT OFF
DISP:WIND2:STAT 1
Reset Condition
On reset, both windows are enabled.
Query
DISPlay[:WINDow[1]|2]:STATe?
The query enters a 1 or 0 into the output buffer indicating the state of the selected
window.
1 is returned if the window is enabled.
5-24
DISPlay Subsystem
DISPlay[:WINDow[1]|2][:STATe] <boolean>
5-25
DISPlay Subsystem
DISPlay[:WINDow[1]|2]:TRACe:FEED <character_data>
DISPlay[:WINDow[1]|2]:TRACe:FEED <character_data>
This command selects which channels trace is displayed in the specified window.
Syntax
DISP
:WIND
:TRAC
:FEED
Space
character_data
Parameters
Item
Description/Default
Range of Values
character_data
SENS1
SENS2
SENS1: channel A.
SENS2: channel B.
Example
DISP:WIND2:TRAC:FEED
SENS1
Reset Condition
On reset, the value is set to:
Upper window: SENS1.
Lower window (dual channel only): SENS2.
Query
DISPlay:[WINDow[1]|2]:TRACe:FEED?
5-26
DISPlay Subsystem
DISPlay[:WINDow[1]|2]:TRACe:FEED <character_data>
The query returns the channel of the trace currently displayed in the specified
window.
Query Example
DISP:WIND2:TRAC:FEED?
5-27
DISPlay Subsystem
DISPlay[:WINDow[1]|2]:TRACe:LOWer <numeric_value>
DISPlay[:WINDow[1]|2]:TRACe:LOWer <numeric_value>
This command sets the trace window lower scale limit.
Note
This command is included for compatibility purposes only. It has the same
purpose as
SENSe[1]|2:TRACe:LIMit:LOWer <numeric_value>
which should be used in preference.
The units used are dependent on the current setting of SENS:TRAC:UNIT as shown
in the following table:
Table 0-11: Measurement Units
Units:
Units:
SENS:TRAC:UNIT
DISPlay[:WINDow[1]
|2]:TRACe:LOWer
dBm
dBm
Syntax
DISP
:WIND
:TRAC
:LOW
Space
numeric_value
DEF
MIN
MAX
?
Space
MIN
MAX
5-28
DISPlay Subsystem
DISPlay[:WINDow[1]|2]:TRACe:LOWer <numeric_value>
Parameters
Item
Description/Default
Range of Values
numeric_value
Example
DISP:WIND2:TRAC:LOW 10
Reset Condition
On reset, the value is set to -50 dBm.
Query
DISPlay:[WINDow[1]|2]:TRACe:UPPer [MIN|MAX]
The query returns the current setting of the trace window lower scale limit or the
value associated with MIN or MAX. The format of the response is <NR3>.
Query Example
DISP:WIND2:TRAC:LOW?
5-29
DISPlay Subsystem
DISPlay[:WINDow[1]|2]:TRACe:UPPer <numeric_value>
DISPlay[:WINDow[1]|2]:TRACe:UPPer <numeric_value>
This command sets the trace window upper scale limit.
Note
This command is included for compatibility purposes only. It has the same
purpose as
SENSe[1]|2:TRACe:LIMit:UPPer <numeric_value>
which should be used in preference.
The units used are dependent on the current setting of SENS:TRAC:UNIT as shown
in the following table:
Table 0-12: Measurement Units
Units:
Units:
SENS:TRAC:UNIT
DISPlay[:WINDow[1]
|2]:TRACe:UPPer
dBm
dBm
Syntax
DISP
:WIND
:TRAC
:UPP
Space
numeric_value
DEF
MIN
MAX
?
Space
MIN
MAX
5-30
DISPlay Subsystem
DISPlay[:WINDow[1]|2]:TRACe:UPPer <numeric_value>
Parameters
Item
Description/Default
Range of Values
numeric_value
Example
DISP:WIND2:TRAC:UPP 100
Reset Condition
On reset, the value is set to 20 dBm.
Query
DISPlay:[WINDow[1]|2]:TRACe:UPPer [MIN|MAX]
The query returns the current setting of the trace window upper scale limit or the
value associated with MIN or MAX. The format of the response is <NR3>.
Query Example
DISP:WIND2:TRAC:UPP?
5-31
DISPlay Subsystem
DISPlay[:WINDow[1]|2]:TRACe:UPPer <numeric_value>
5-32
FORMat Subsystem
FORMat Subsystem
FORMat Subsystem
FORMat Subsystem
The FORMat subsystem sets a data format for transferring numeric information. This
data format is used only for response data by commands that are affected by the
FORMat subsystem.
The queries affected are:
FETCh?
READ?
MEASure?
For the E4417A power meter the same FORMat is used on both channels.
Keyword
Parameter Form
FORMat
[:READings]
:BORDer
[:DATA]
<character_data>
<character_data>
6-2
Notes
Page
page 6-3
page 6-4
FORMat Subsystem
FORMat[:READings]:BORDer <character_data>
FORMat[:READings]:BORDer <character_data>
This command controls whether the binary data is transferred in normal or swapped
Byte ORDer. It is only used when FORMat[:READings][:DATA] is set to REAL.
Syntax
FORM
:READ
:BORD
Space
character_data
?
Parameters
Item
Description/Default
Range of Values
character_data
NORMal
NORMal
SWAPped
SWAPped
Example
FORM:BORD SWAP
Reset Condition
On reset, this value is set to NORMal.
Query
FORMat[:READings]:BORDer?
The query returns the current setting of the byte order. The format of the response is
NORMal or SWAPped.
Query Example
FORM:BORD?
6-3
FORMat Subsystem
FORMat[:READings][:DATA] <character_data>
FORMat[:READings][:DATA] <character_data>
This command sets the data format for transferring numeric information to either
ASCii or REAL:
When the format type is ASCii, numeric data is output as ASCII bytes in the
<NR3> format.
When the format type is REAL, numeric data is output as IEEE 754 64 bit floating
point numbers in a definite length block. The result is an 8 byte block per number.
Each complete block is terminated by a line feed character.
For the E4417A power meter the same FORMat is used on both channels.
Note
Syntax
FORM
:READ
:DATA
Space
character_data
?
Parameters
Item
Description/Default
Range of Values
character_data
ASCii
REAL
ASCii
REAL
Example
This command sets the format to REAL.
FORM REAL
Reset Condition
On reset, the format is set to ASCii.
6-4
FORMat Subsystem
FORMat[:READings][:DATA] <character_data>
Query
FORMat[:READings][:DATA]?
The query returns the current setting of format: either ASCii or REAL.
Query Example
FORM?
6-5
FORMat Subsystem
FORMat[:READings][:DATA] <character_data>
6-6
MEMory Subsystem
MEMory Subsystem
MEMory Subsystem
MEMory Subsystem
The MEMory command subsystem is used to:
Edit and review sensor calibration tables (8480 Series power sensors and
N8480 Series sensors with Option CFT only).
Store sensor calibration tables (8480 Series power sensors and N8480 Series
sensors with Option CFT only).
Stored tables remain in the power meters memory during power down. The power
meter is capable of storing 20 sensor calibration tables and 10 frequency dependent
offset tables of 80 frequency points each.
Note
The MEMory subsystem is not used for E-Series power sensors and N8480
Series power sensors (excluding Option CFT) calibration tables which are
automatically downloaded to the power meter and cannot be reviewed or
edited.
Keyword
Parameter Form
MEMory
:CATalog
[:ALL]?
:STATe?
:TABLe?
:CLEar
[:NAME]
:TABLe
:FREE
[:ALL]?
:STATe?
:TABLe?
:NSTates?
:STATe
:CATalog?
:DEFine
:TABLe
:FREQuency
:POINts?
7-2
<character_data>
<character_data>
[,<numeric_value>]
Notes
Page
[query only]
[query only]
[query only]
page 7-5
page 7-7
page 7-8
[no query],
[non-SCPI]}
[no query]
page 7-11
[query only]
[query only]
[query only]
[query only]
page 7-14
page 7-15
page 7-16
page 7-17
[query only]
[non-SCPI]
page 7-19
page 7-20
page 7-12
page 7-22
<numeric_value>
[,<numeric_value>]
[query only]
page 7-25
MEMory Subsystem
MEMory Subsystem
Keyword
:GAIN
[:MAGNitude]
Parameter Form
Notes
Page
<numeric_value>
[,<numeric_value>]
[non-SCPI]
page 7-26
[query only],
[non-SCPI]
[no query],
[non-SCPI]
[no query],
[non-SCPI]
page 7-28
:POINts?
:MOVE
:SELect
<character_data>,
<character_data>
<character_data>
page 7-29
page 7-30
7-3
MEMory Subsystem
MEMory:CATalog Commands
MEMory:CATalog Commands
These commands are used to query information on the current contents of a power
meters:
Sensor calibration tables (8480 Series power sensors and N8480 Series
sensors with Option CFT only).
Save/recall registers.
7-4
MEMory Subsystem
MEMory:CATalog[:ALL]?
MEMory:CATalog[:ALL]?
This command lists stored sensor calibration tables (8480 Series power sensors and
N8480 Series sensors with Option CFT only), frequency dependent offset tables and
save/recall registers.
The power meter returns the data in the form of two numeric parameters and as many
strings as there are stored tables and save/recall registers:
<numeric_value>,<numeric_value>{,<string>}
The first numeric parameter indicates the amount of memory, in bytes, used
for the storage of tables and registers.
The second numeric parameter indicates the memory, in bytes, available for
the storage of tables and registers.
Each string parameter returned indicates the name, type and size of a stored
table or save/recall register:
<string>,<type>,<size>
Predefined sensor calibration table is not applicable for N8480 Series power
sensors with Option CFT. Therefore you are required to create a new sensor
calibration table for the sensors when a sensor calibration table is needed.
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
7-5
MEMory Subsystem
MEMory:CATalog[:ALL]?
Agilent Technologies power sensors. These tables can be altered. The predefined data
is listed in your Users Guide. These power sensors are:
Table
Power Sensor
Table Name
None
DEFAULT1
8481A
HP8481A
HP8482A
8483A
HP8483A
8481D
HP8481D
8485A
HP8485A
R8486A
R8486A
Q8486A
Q8486A
R8486D
R8486D
8487A
HP8487A
There are also ten sensor calibration tables named CUSTOM_0 through CUSTOM_9
and ten frequency dependent offset tables named CUSTOM _A through CUSTOM _J
which do not contain any data when the power meter is shipped from the factory.
Syntax
MEM
:CAT
:ALL
Example
MEM:CAT?
7-6
MEMory Subsystem
MEMory:CATalog:STATe?
MEMory:CATalog:STATe?
This command is used to list the save/recall registers.
The power meter returns the data in the form of two numeric parameters and as many
strings as there are save/recall registers.
<numeric_value>,<numeric_value>{,<string>}
The first numeric parameter indicates the amount of memory, in bytes, used
for the storage of registers.
The second parameter indicates the memory, in bytes, available for the
storage of registers.
Each string parameter returned indicates the name, type and size of a
save/recall register:
<string>,<type>,<size>
:CAT
:STAT
Example
MEM:CAT:STAT?
7-7
MEMory Subsystem
MEMory:CATalog:TABLe?
MEMory:CATalog:TABLe?
This command is used to list the stored sensor calibration (8480 Series power sensors
and N8480 Series sensors with Option CFT only) and frequency dependent offset
tables.
The power meter returns the data in the form of two numeric parameters and as many
strings as there are stored tables.
<numeric_value>,<numeric_value>{,<string>}
The first numeric parameter indicates the amount of memory, in bytes, used
for the storage of tables.
The second parameter indicates the memory, in bytes, available for the
storage of tables.
Each string parameter returned indicates the name, type and size of a stored
table:
<string>,<type>,<size>
Predefined sensor calibration table is not applicable for N8480 Series power
sensors with Option CFT. Therefore you are required to create a new sensor
calibration table for the sensors when a sensor calibration table is needed.
7-8
MEMory Subsystem
MEMory:CATalog:TABLe?
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 power sensors. These tables can be altered. The predefined data is listed in
your Users Guide. These power sensors are:
Table
Power Sensor
Table Name
None
DEFAULT1
8481A
HP8481A
HP8482A
8483A
HP8483A
8481D
HP8481D
8485A
HP8485A
R8486A
R8486A
Q8486A
Q8486A
R8486D
R8486D
8487A
HP8487A
There are also ten sensor calibration tables named CUSTOM_0 through CUSTOM_9
and ten frequency dependent offset tables named CUSTOM_A through CUSTOM_J
which do not contain any data when the power meter is shipped from the factory.
Syntax
MEM
:CAT
:TABL
Example
MEM:CAT:TABL?
7-9
MEMory Subsystem
MEMory:CLEar Commands
MEMory:CLEar Commands
These commands are used to remove the contents stored in the sensor calibration
tables (8480 Series power sensors and N8480 Series sensors with Option CFT only),
frequency dependent offset tables and save/recall registers. This subsystem removes
the data contents but does not affect the name of the associated table or save/recall
register.
The following commands are detailed in this section:
MEMory:CLEar:[NAME] <character_data>
MEMory:CLEar:TABLe
Note
7-10
MEMory Subsystem
MEMory:CLEar[:NAME] <character_data>
MEMory:CLEar[:NAME] <character_data>
This command clears the contents of a specified sensor calibration table (8480 Series
power sensors and N8480 Series sensors with Option CFT only), frequency
dependent offset table, or save/recall register.
Although the table remains, a MEMory:TABLe:FREQuency|GAIN:POINts?
query returns a 0 as there are no contents in the table.
For sensor calibration tables and frequency dependent offset tables, this command is
an alternative form of the MEMory:CLEar:TABLE command, the only difference
being the method in which the table is selected.
Note
Syntax
MEM
:CLE
:NAME
Space
character_data
Parameters
Item
Description/Default
Range of Values
character_data
Example
MEM:CLE "HP8485A"
Error Messages
If the table or save/recall register name does not exist, error -224, Illegal parameter
value occurs.
7-11
MEMory Subsystem
MEMory:CLEar:TABle
MEMory:CLEar:TABle
This command is used to clear the contents of the table currently selected using
MEMory:TABLe:SELect. Although the table remains, a
MEMory:TABLe:FREQuency|GAIN:POINts? query returns a 0 as there are no
contents in the table.
This command is an alternative form of the MEMory:CLEar[:NAME] command,
the only difference being the method in which the table is selected.
Note
Syntax
MEM
:CLE
:TABL
Example
MEM:CLE:TABL
Error Message
If no table is selected, error -221, Settings conflict occurs.
7-12
MEMory Subsystem
The MEMory:FREE Commands
7-13
MEMory Subsystem
MEMory:FREE[:ALL]?
MEMory:FREE[:ALL]?
This query returns the amount of memory free for sensor calibration tables (8480
Series power sensors and N8480 Series sensors with Option CFT only), frequency
dependent offset tables, and save/recall registers. The format of the response is:
<bytes_available>,<bytes_in_use>
Syntax
MEM
:FREE
:ALL
Example
MEM:FREE?
7-14
MEMory Subsystem
MEMory:FREE:STATe?
MEMory:FREE:STATe?
This query returns the amount of memory free for save/recall registers. The format of
the response is:
<bytes_available>,<bytes_in_use>
Syntax
MEM
:FREE
:STAT
Example
MEM:FREE:STAT?
7-15
MEMory Subsystem
MEMory:FREE:TABLe?
MEMory:FREE:TABLe?
This query returns the amount of memory free for sensor calibration tables (8480
Series power sensors and N8480 Series sensors with Option CFT only) and frequency
dependent offset tables. The format of the response is:
<bytes_available>,<bytes_in_use>
Syntax
MEM
:FREE
:TABL
Example
MEM:FREE:TABL?
7-16
MEMory Subsystem
MEMory:NSTates?
MEMory:NSTates?
This query returns the number of registers that are available for save/recall. As there
are ten registers this query always returns ten.
Syntax
MEM
:NST
Example
MEM:NST?
7-17
MEMory Subsystem
The MEMory:STATe Commands
7-18
MEMory Subsystem
MEMory:STATe:CATalog?
MEMory:STATe:CATalog?
This query returns a list of the save/recall register names in ascending order of
register number. The format of the response is:
<string>,<string>,.....,<string>
Syntax
MEM
:STAT
:CAT
Example
MEM:STAT:CAT?
7-19
MEMory Subsystem
MEMory:STATe:DEFine <character_data>,<numeric_value>
MEMory:STATe:DEFine <character_data>,<numeric_value>
This command is used to associate a name with a save/recall register number.
Syntax
:STAT
MEM
:DEF
character_data
Space
Space
numeric_value
character_data
Parameters
Item
Description/Default
Range of Values
character_data
A to Z (uppercase)
a to z (lowercase)
0-9
_ (underscore)
numeric_value
0 to 9
Example
MEM:STAT:DEF "SETUP1",4
Query
MEMory:STATe:DEFine? <string>
The query returns the register number for the given register name.
Query Example
MEM:STAT:DEF? "SETUP1"
Error Messages
If the register number is out of range, error -222, Data out of range occurs.
If a register or sensor calibration table with the same name already exists, error
-257, File name error occurs (command only).
7-20
MEMory Subsystem
MEMory:TABLe Commands
MEMory:TABLe Commands
These commands are used to define a sensor calibration table (8480 Series power
sensors and N8480 Series sensors with Option CFT only) or a frequency dependent
offset table, and to write to and read data from it.
The following commands are described in this section:
MEMory:TABLe:FREQuency <numeric_value>{,<numeric_value>}
MEMory:TABLe:FREQuency:POINts?
MEMory:TABLe:GAIN[:MAGNitude]
<numeric_value>{,<numeric_value>}
MEMory:TABLe:GAIN[:MAGNitude]:POINts?
MEMory:TABLe:MOVE <character_data>,<character_data>
MEMory:TABLe:SELect <character_data>
7-21
MEMory Subsystem
MEMory:TABLe:FREQuency <numeric_value>{,<numeric_value>}
MEMory:TABLe:FREQuency <numeric_value>{,<numeric_value>}
This command is used to enter frequency data into the current selected table. Any
previous frequency list is cleared before the new frequencies are stored. The
frequencies must be entered in ascending order. Entries in the frequency lists
correspond as shown with entries in the calibration/offset factor lists. Note, that for
sensor calibration tables only, the first calibration factor entered using the
MEMory:TABLe:GAIN command is used as the reference calibration factor.
Frequency
Calibration Factor/Offset
Frequency 1
Calibration Factor/Offset 1
Frequency 2
Calibration Factor/Offset 2
"
"
Frequency 80
Calibration Factor/Offset 80
For sensor calibration tables (8480 Series power sensors and N8480 Series sensors
with Option CFT only), the number of frequency points must be one less than the
number of calibration factor points. This is verified when the sensor calibration table
is selected using SENSe:CORRection:CSET:SELect <string>.
Ensure that the frequency points you use cover the frequency range of the signals that
you want to measure. If you measure a signal with a frequency outside the frequency
range defined in the table, then the power meter uses the highest or lowest point in the
table to calculate the calibration factor/offset.
Depending on available memory, the power meter is capable of storing 20 sensor
calibration tables and 10 frequency dependent offset tables, each containing 80
points.
Syntax
,
MEM
:TABL
:FREQ
Space
numeric_value
?
7-22
MEMory Subsystem
MEMory:TABLe:FREQuency <numeric_value>{,<numeric_value>}
Parameters
Item
Description/Default
Range of Values
numeric_value
Hz
kHz (103)
MHz (106)
GHz (109)
2. All frequencies are truncated to a multiple of 1 kHz.
Example
MEM:TABL:FREQ 200kHz,600kHz
Query
MEMory:TABLe:FREQuency?
The query returns a list of frequency points for the table currently selected. The
frequencies are returned in Hz.
Query Example
MEM:TABL:FREQ?
7-23
MEMory Subsystem
MEMory:TABLe:FREQuency <numeric_value>{,<numeric_value>}
Error Messages
If more than 80 frequencies are in the list, error -108, Parameter not allowed
occurs.
If the frequencies are not entered in ascending order, error -220, Parameter
error;Frequency list must be in ascending order occurs.
If a frequency is sent which is outside of the allowed frequency range, error -222,
Data out of range occurs.
7-24
MEMory Subsystem
MEMory:TABLe:FREQuency:POINts?
MEMory:TABLe:FREQuency:POINts?
This query returns the number of frequency points for the table currently selected.
The response format is <NRf>. If no frequency values have been set, this command
returns 0. If no table is selected, this command returns NAN.
Syntax
MEM
:TABL
:FREQ
:POIN
Example
MEM:TABL:FREQ:POIN?
7-25
MEMory Subsystem
MEMory:TABLe:GAIN[:MAGNitude] <numeric_value>{,<numeric_value>}
MEMory:TABLe:GAIN[:MAGNitude] <numeric_value>{,<numeric_value>}
This command is used to enter calibration factors into the sensor calibration table
(8480 Series power sensors and N8480 Series sensors with Option CFT only) or
offsets into the frequency dependent offset table, currently selected using
MEMory:TABLe:SELect. Any previous calibration factor list, or offset list is
cleared before the new calibration factors/offsets are stored.
A maximum of 81 parameters for sensor calibration tables and 80 parameters for
frequency dependent offset tables can be sent with this command. For sensor
calibration tables only, the first parameter is the reference calibration factor, each
subsequent parameter is a calibration factor point in the sensor calibration table.
Entries in the frequency lists correspond as shown with entries in the
calibration/offset factor lists.
Calibration Factor/Offset
Frequency
Calibration Factor/Offset 1
Frequency 1
"
"
Calibration Factor/Offset 80
Frequency 80
For sensor calibration tables the number of frequency points must be one less than the
number of calibration factor data points. This is verified when the sensor calibration
table is selected using SENSe:CORRection:CSET1:SELect <string>.
Syntax
,
MEM
:TABL
:GAIN
:MAGN
Space
numeric_value
?
7-26
MEMory Subsystem
MEMory:TABLe:GAIN[:MAGNitude] <numeric_value>{,<numeric_value>}
Parameters
Item
Description/Default
Range of Values
numeric_value
1.0 to 150.0
Example
MEM:TABL:SEL "Sensor_1"
MEM:TABL:GAIN 97,99.5,97.4
Query
MEMory:TABLe:GAIN[:MAGNitude]?
The query returns a list of calibration factor/offset points for the currently selected
table.
Query Example
MEM:TABL:GAIN?
Error Messages
If more than 81 calibration factors for sensor calibration tables, or 80 offsets for
frequency dependent offset tables are in the list, error -108, Parameter not
allowed occurs.
If any of the calibration/offset factors are outside of the allowed range, error
-222, Data out of range occurs.
7-27
MEMory Subsystem
MEMory:TABLe:GAIN[:MAGNitude]:POINts?
MEMory:TABLe:GAIN[:MAGNitude]:POINts?
This query is used to return the number of calibration factor/offset points for the
currently selected table. If the currently selected table is a sensor calibration table
(8480 Series power sensors and N8480 Series sensors with Option CFT only), the
reference calibration factor will be included
If no values have been set, 0 is returned. If no table is selected, NAN is returned.
Syntax
MEM
:TABL
:GAIN
:MAGN
:POIN
Example
MEM:TABL:GAIN:POIN?
7-28
MEMory Subsystem
MEMory:TABLe:MOVE <character_data>,<character_data>
MEMory:TABLe:MOVE <character_data>,<character_data>
This command is used to rename a sensor calibration table (8480 Series power
sensors and N8480 Series sensors with Option CFT only) or a frequency dependent
offset table.
Syntax
MEM
:MOVE
:TABL
Space
character_data
character_data
Parameters
Item
Description/Default
Range of Values
character_data
1st parameter)
character_data(2n
d parameter)
A to Z (uppercase)
a to z (lowercase)
0-9
_ (underscore)
Example
MEM:TABL:MOVE "tab1","tab1a"
Error Messages
If either table name is invalid, error -224, Illegal parameter value occurs.
If the first parameter does not match an existing table name, error -256, File
name not found occurs.
7-29
MEMory Subsystem
MEMory:TABLe:SELect <character_data>
MEMory:TABLe:SELect <character_data>
This command is used to activate either a sensor calibration table (8480 Series power
sensors and N8480 Series sensors with Option CFT only), or a frequency dependent
offset table. A table must be activated before any operation can be performed on it.
Syntax
MEM
:TABL
:SEL
character_data
Space
?
Parameters
Item
Description/Default
Range of Values
character_data
A to Z (uppercase)
a to z (lowercase)
0-9
_ (underscore)
Example
MEM:TABL:SEL "Sensor1"
Query
MEMory:TABLe:SELect?
The query returns the name of the currently selected table.
7-30
OUTput Subsystem
OUTput Subsystem
OUTPut Subsystem
OUTPut Subsystem
The OUTPut command subsystem is used to switch on and off the POWER REF
output and control the rear panel TTL outputs. The TTL Outputs can be used to
determine when a predefined limit in either, or both, windows has been exceeded.
Keyword
OUTPut
:RECorder[1]|2
:FEED
:LIMit
:LOWer
:UPPer
:STATe
:ROSCillator
[:STATe]
:TRIGger
[:STATe]
:TTL[1]|2
:ACTive
:FEED
:STATe
8-2
Parameter Form
Notes
Page
<data_handle>
page 8-3
<numeric_value>
<numeric_value>
<boolean>
page 8-5
page 8-7
page 8-9
<boolean>
page 8-10
<boolean>
page 8-11
HIGH|LOW
<string>
<boolean>
page 8-12
page 8-14
page 8-16
OUTput Subsystem
OUTPut:RECorder[1]|2:FEED <data_handle>
OUTPut:RECorder[1]|2:FEED <data_handle>
This command specifies which measurement is sent to the recorder output specified
by the numeric value following RECorder. RECorder1 applies to both single and
dual channel power meters. RECorder2 applies to dual channel power meters only.
Syntax
OUTP
:REC
Space
:FEED
data_handle
2
?
Parameters
Item
Description/Default
Range of Values
data_handle
CALC1 or CALC
CALC2
CALC3
CALC4
Example
OUTP:REC2:FEED CALC1
Reset Condition
On reset, data_handle is set to its previous value.
Query
OUTPut:RECorder[1]|2:FEED?
The query command returns the current value of data_handle.
8-3
OUTput Subsystem
OUTPut:RECorder[1]|2:FEED <data_handle>
Query Example
OUTP:REC2:FEED?
8-4
OUTput Subsystem
OUTPut:RECorder[1]|2:LIMit:LOWer <numeric_value>
OUTPut:RECorder[1]|2:LIMit:LOWer <numeric_value>
This command sets the minimum scaling value for the specified recorder output. The
units used are dependent on the units currently set for the CALC block specified in
OUTPut:RECorder[1]|2:FEED <data_handle>.
Syntax
OUTP
:REC
:LIM
:LOW
Space
numeric_value
Parameters
Item
Description/Default
Range of Values
numeric_value
Example
OUTP:REC:LIM:LOW -90
Reset Condition
On reset, the minimum scaling value is set to -150 dBm.
Query
OUTPut:RECorder[1]|2:LIMit:LOWer?
The query command returns the minimum scaling value.
8-5
OUTput Subsystem
OUTPut:RECorder[1]|2:LIMit:LOWer <numeric_value>
Query Example
OUTP:REC:LIM:LOW?
8-6
OUTput Subsystem
OUTPut:RECorder[1]|2:LIMit:UPPer <numeric_value>
OUTPut:RECorder[1]|2:LIMit:UPPer <numeric_value>
This command sets the maximum scaling value for the specified recorder output. The
units used are dependent on the units currently set for the CALC block specified in
OUTPut:RECorder[1]|2:FEED <data_handle>.
Syntax
OUTP
:REC
:LIM
Space
:UPP
numeric_value
Parameters
Item
Description/Default
Range of Values
numeric_value
Example
OUTP:REC:LIM:UPP 10
Reset Condition
On reset, the maximum scaling value is set to +20 dBm.
Query
OUTPut:RECorder[1]|2:LIMit:UPPer?
The query command returns the maximum scaling value.
8-7
OUTput Subsystem
OUTPut:RECorder[1]|2:LIMit:UPPer <numeric_value>
Query Example
OUTP:REC:LIM:UPP?
8-8
OUTput Subsystem
OUTPut:RECorder[1]|2:STATe <boolean>
OUTPut:RECorder[1]|2:STATe <boolean>
This command enables or disables the specified recorder output.
Syntax
OUTP
:REC
:STAT
Space
0|OFF
1|ON
?
Example
OUTP:REC1:STAT 1
Reset Condition
On reset, the recorder output is OFF.
Query
OUTPut:RECorder[1]|2:STATe?
The query command enters a 1 or 0 into the output buffer indicating whether or not
the specified recorder is switched on.
Query Example
OUTP:REC2:STAT?
8-9
OUTput Subsystem
OUTPut:ROSCillator[:STATe] <boolean>
OUTPut:ROSCillator[:STATe] <boolean>
This command enables/disables the POWER REF output.
Syntax
OUTP
:ROSC
Space
:STAT
0|OFF
1|ON
?
Example
This command enables the POWER
REF output.
OUTP:ROSC:STAT 1
Reset Condition
On reset, the POWER REF output is disabled.
Query
OUTPut:ROSCillator[:STATe]?
The query command enters a 1 or 0 into the output buffer indicating whether or not
the POWER REF is enabled.
Query Example
OUTP:ROSC?
8-10
OUTput Subsystem
OUTPut:TRIGger[:STATe] <boolean>
OUTPut:TRIGger[:STATe] <boolean>
This command enables/disables the trigger output signal.
Syntax
OUTP
:TRIG
:STAT
Space
0|OFF
1|ON
?
Example
OUTP:TRIG:STAT 1
Reset Condition
On reset, the trigger output signal is disabled.
Query
OUTPut:TRIGger[:STATe]?
The query command enters a 1 or 0 into the output buffer indicating whether or not
the trigger output signal is enabled/disabled.
Query Example
OUTP:TRIG:STAT?
8-11
OUTput Subsystem
OUTPut:TTL[1]|2:ACTive HIGH|LOW
OUTPut:TTL[1]|2:ACTive HIGH|LOW
This command controls whether a window limits fail drives the rear panel TTL
Output HIGH or LOW. There are two TTL outputs:
Output 1 (TTL1).
Output 2 (TTL2).
Both can be connected to any of the CALC subsytems (that is the upper window
upper/lower measurement or the lower window upper/lower measurement) using
OUTput:TTL:FEED <string>.
Syntax
OUTP
:TTL
:ACT
Space
HIGH
LOW
2
?
Example
OUTP:TTL1:ACT HIGH
Reset Condition
On reset, a window limits fail will drive the TTL Output low.
Query
OUTPut:TTL[1]|2:ACT?
The query command enters either HIGH or LOW into the output buffer indicating
which TTL state is active for a window limit fail.
HIGH is returned if the TTL output is active high for a window limit fail.
LOW is returned if the TTL output is active low for a window limit fail.
8-12
OUTput Subsystem
OUTPut:TTL[1]|2:ACTive HIGH|LOW
Query Example
OUTP:TTL1:ACT?
8-13
OUTput Subsystem
OUTPut:TTL[1]|2:FEED <string>
OUTPut:TTL[1]|2:FEED <string>
This command controls which limit test drives a given TTL output. There are two
TTL outputs:
Output 1 (TTL1).
Output 2 (TTL2).
Both can be connected to any of the CALC subsytems (that is the upper window
upper/lower measurement or the lower window upper/lower measurement) using
OUTput:TTL:FEED <string>.
Syntax
OUTP
:TTL
1
2
:FEED
Space
String
Parameters
TTL
[1|2]
1
8-14
String
Description
CALC1|2|3|4:LIM:LOW
CALC1|2|3|4:LIM:UPP
CALC1|2|3|4:LIM:LOW,
CALC1|2|3|4:LIM:UPP1
CALC1|2|3|4:LIM:LOW
CALC1|2|3|4:LIM:UPP
CALC1|2|3|4:LIM:LOW,
CALC1|2|3|4:LIM:UPP1
OUTput Subsystem
OUTPut:TTL[1]|2:FEED <string>
TTL
[1|2]
String
Description
Note: Either single or double quotes may be used. However, quotes are mandatory.
All the above strings must be matched exactly - long forms and omission of the sub-op code are
not permissible.
1. The numeric value must be the same for both LOW and UP.
Example
OUTP:TTL1:FEED CALC1:LIM:UPP
Reset Condition
On reset, the TTL output will represent an upper limit fail.
Query
OUTPut:TTL[1|2]:FEED?
The query command returns one of the strings shown in the table above, indicating
whether the asserted state of the TTL Output represents a fail in the lower limit, upper
limit or either limit for the selected window/measurement.
Query Example
OUTP:TTL1:FEED?
8-15
OUTput Subsystem
OUTPut:TTL[1|2]:STATe <boolean>
OUTPut:TTL[1|2]:STATe <boolean>
This command is used to enable and disable the rear panel TTL Outputs.
There are two TTL outputs:
Output 1 (TTL1).
Output 2 (TTL2).
Both can be connected to any of the CALC subsytems (that is the upper window
upper/lower measurement or the lower window upper/lower measurement) using
OUTput:TTL:FEED <string>.
When enabled, the TTL Outputs can be used to determine when a predefined limit is
exceeded.
Syntax
OUTP
:TTL
:STAT
Space
0|OFF
1|ON
Example
This command enables the rear panel
upper window TTL output.
OUTP:TTL1:STAT 1
Reset Condition
On reset, the TTL outputs are disabled.
Query
OUTPut:TTL[1|2]:STATe?
The query command enters a 1 or 0 into the output buffer indicating whether or not
the TTL output is enabled.
8-16
OUTput Subsystem
OUTPut:TTL[1|2]:STATe <boolean>
Query Example
OUTP:TTL1:STAT?
8-17
OUTput Subsystem
OUTPut:TTL[1|2]:STATe <boolean>
8-18
SENSe Subsystem
SENSe Subsystem
[SENSe] Subsystem
[SENSe] Subsystem
The SENSe command subsystem directly affects device specific settings used to
make measurements. The SENSe subsystem is optional since this is the primary
function of the power meter. The high level command CONFigure uses the SENSe
commands to prepare the power meter for making measurements. At a lower level
SENSe enables you to change the following parameters: RANGe, FREQuency,
LOSS, CFACator|GAIN1 (calibration factor), GAIN2 (channel offset), DCYCle
(duty cycle) and AVERage, without completely re-configuring the power meter.
The SENSe command subsystem also allows you to select the measurement speed, a
sensor calibration table, and a frequency dependent offset table.
The numeric suffix of the SENSe program mnemonic in the SENSe commands refers
to a channel, that is SENSe1 and SENSe2 represent channel A and channel B
respectively.
Note
If you are using the single channel E4416A power meter the SENSe2 commands
are irrelevant and cause the error Header suffix out of range.
9-2
SENSe Subsystem
[SENSe] Subsystem
Keyword
Parameter Form
[SENSe[1]]|SENSe2
:AVERage
:COUNt
:AUTO
:SDETect
[:STATe]
AVERage2
:COUNt
[:STATe]
:BANDwidth|BWIDth
:VIDeo
:CORRection
:CFACtor|GAIN[1]
[:INPut]
[:MAGNitude]
:CSET[1]|CSET2
[:SELect]
:STATe
:DCYCle|GAIN3
[:INPut]
[:MAGNitude]
:STATe
:FDOFfset|GAIN4
[:INPut]
[:MAGNitude]?
:GAIN2
:STATe
[:INPut]
[:MAGNitude]
:DETector
:FUNCtion
:FREQuency
[:CW|:FIXed]
:MRATe
:POWer
:AC
:RANGe
:AUTO
:SPEed
:SWEep[1]|2|3|4
:OFFSet
:TIME
:TIME
:TRACe
:LIMit
:LOWer
:UPPer
:OFFSet
<numeric_value>
<boolean>
<boolean>
<boolean>
Notes
[non-SCPI]
Page
page 9-6
page 9-8
page 9-11
page 9-13
<numeric_value>
<boolean>
page 9-15
page 9-17
<character_data>
page 9-18
[non-SCPI]
<numeric_value>
page 9-21
<string>
<boolean>
page 9-24
page 9-26
[non-SCPI]
page 9-29
page 9-32
<numeric_value>
<boolean>
[query only]
page 9-34
<boolean>
page 9-36
<numeric_value>
page 9-38
<character_data>
page 9-40
<numeric_value>
<character_data>
page 9-42
page 9-44
<numeric_value>
<boolean>
<numeric_value>
[non-SCPI]
[non-SCPI]
page 9-46
page 9-47
page 9-49
<numeric_value>
<numeric_value>
page 9-52
page 9-54
<numeric_value>
<numeric_value>
page 9-57
page 9-59
9-3
SENSe Subsystem
[SENSe] Subsystem
Keyword
Parameter Form
:TIME
:TIME
:UNIT
:V2P
9-4
<numeric_value>
<numeric_value>
<character_data>
ATYPe|DTYPe
Notes
Page
[non-SCPI]
page 9-61
page 9-63
page 9-65
page 9-66
SENSe Subsystem
[SENSe[1]]|SENSe2:AVERage Commands
[SENSe[1]]|SENSe2:AVERage Commands
These commands control averaging which is used to improve measurement accuracy.
They combine successive measurements to produce a new composite result.
The following commands are detailed in this section:
[SENSe[1]]|SENSe2:AVERage:COUNt <numeric_value>
[SENSe[1]]|SENSe2:AVERage:COUNt:AUTO <boolean>
[SENSe[1]]|SENSe2:AVERage:SDETect <boolean>
[SENSe[1]]|SENSe2:AVERage[:STATe] <boolean>
9-5
SENSe Subsystem
[SENSe[1]]|SENSe2:AVERage:COUNt <numeric_value>
[SENSe[1]]|SENSe2:AVERage:COUNt <numeric_value>
This command is used to enter a value for the filter length. If
[SENSe[1]]|SENSe2:AVERage:COUNt:AUTO is set to ON then entering a
value for the filter length automatically sets it to OFF. Increasing the value of filter
length increases measurement accuracy but also increases the time taken to make a
power measurement.
Entering a value using this command automatically turns the
[SENSe[1]]|SENSe2:AVERage:STATe command to ON.
Note
Syntax
SENS
AVER
:COUN
Space
numeric_value
DEF
SENS2
MIN
MAX
?
Space
MIN
MAX
9-6
SENSe Subsystem
[SENSe[1]]|SENSe2:AVERage:COUNt <numeric_value>
Parameters
Item
Description/Default
Range of Values
numeric_value
1 to 1024
DEF
MIN
MAX
MIN: 1.
MAX: 1024.
Example
AVER:COUN 400
Reset Condition
On reset, the filter length is set to 4.
Query
AVERage:COUNt? [MIN|MAX]
The query returns the current setting of the filter length or the values associated with
MIN and MAX. The format of the response is <NR1>.
Query Example
AVER:COUN?
Error Messages
If a filter length value is entered using [SENSe[1]]|SENSe2:AVERage:COUNt
while [SENSe[1]]|SENSe2:SPEed is set to 200, the error -221, Settings
Conflict occurs. However, the filter length value is set but the
[SENSe[1]]|SENSe2:AVERage:STATe command is not automatically set ON.
9-7
SENSe Subsystem
[SENSe[1]]|SENSe2:AVERage:COUNt:AUTO <boolean>
[SENSe[1]]|SENSe2:AVERage:COUNt:AUTO <boolean>
This command enables and disables automatic averaging. ONCE has no affect on the
power meter.
When the auto filter mode is enabled, the power meter automatically sets the number
of readings averaged together to satisfy the averaging requirements for most power
measurements. The number of readings averaged together depends on the resolution
and the power level in which the power meter is currently operating. Figure 0-13 lists
the number of readings averaged for each range and resolution when the power meter
is in auto filter mode.
Setting this command to ON automatically sets the
[SENSe[1]]|SENSe2:AVERage:STATe command to ON.
Figure 0-13: Averaged Readings
1
Resolution Setting
2
3
10 dB
16
10 dB
32
10 dB
16
256
10 dB
128
128
Number of Averages
Power Sensor
Dynamic Range
9-8
SENSe Subsystem
[SENSe[1]]|SENSe2:AVERage:COUNt:AUTO <boolean>
Note
Syntax
SENS
AVER
:COUN
:AUTO
Space
0|OFF
1|ON
SENS2
ONCE
?
Example
AVER:COUN:AUTO OFF
Reset Condition
On reset, automatic averaging is enabled.
Query
[SENSe[1]]|SENSe2:AVERage:COUNt:AUTO?
The query enters a 1 or 0 into the output buffer indicating whether automatic filter
length is enabled or disabled.
Query Example
AVER:COUN:AUTO?
9-9
SENSe Subsystem
[SENSe[1]]|SENSe2:AVERage:COUNt:AUTO <boolean>
Error Messages
If [SENSe[1]]|SENSe2:AVERage:COUNt:AUTO is set to ON while
[SENSe[1]]|SENSe2:SPEed is set to 200, the error -221, Settings Conflict
occurs. However, automatic averaging is enabled but the
[SENSe[1]]|SENSe2:AVERage:STATe command is not automatically set ON.
9-10
SENSe Subsystem
[SENSe[1]]|SENSe2:AVERage:SDETect <boolean>
[SENSe[1]]|SENSe2:AVERage:SDETect <boolean>
This command enables and disables step detection. In AUTO filter mode, the average
of the last four values entered into the filter is compared to the average of the entire
filter. If the difference between the two averages is greater than 12.5%, the digital
filter is cleared. The filter then starts storing new measurements. This feature is
known as step detection and shortens the settling time of the filter when the input
power changes substantially.
Note
or,
AVER
:SDET
Space
0|OFF
1|ON
SENS2
Example
SENS:AVER:SDET OFF
Reset Condition
On reset, step detection is enabled.
Query
[SENSe[1]]|SENSe2:AVERage:SDETect?
9-11
SENSe Subsystem
[SENSe[1]]|SENSe2:AVERage:SDETect <boolean>
The query enters a 1 or 0 into the output buffer indicating the status of step detection.
Query Example
SENS:AVER:SDET?
9-12
SENSe Subsystem
[SENSe[1]]|SENSe2:AVERage[:STATe] <boolean>
[SENSe[1]]|SENSe2:AVERage[:STATe] <boolean>
This command is used to enable and disable averaging.
Syntax
SENS
AVER
:STAT
Space
0|OFF
1|ON
SENS2
Example
AVER 1
Reset Condition
On reset, averaging is enabled.
Query
[SENSe[1]]|SENSe2:AVERage[:STATe]?
The query enters a 1 or 0 into the output buffer indicating the status of averaging.
Query Example
SENS2:AVER?
Error Messages
If [SENSe[1]]|SENSe2:AVERage:STATe is set to ON while
[SENSe[1]]|SENSe2:SPEed is set to 200, the error -221, Settings Conflict
occurs.
9-13
SENSe Subsystem
[SENSe[1]]|SENSe2:AVERage2 Commands
[SENSe[1]]|SENSe2:AVERage2 Commands
These commands control video averaging, which is used to improve measurement
accuracy, for the E-Series E9320 Power Sensor. They combine successive
measurements to produce a new composite result.
Note
If the commands in this section are used when a non E9320 sensor is connected,
the error -241, Hardware missing occurs.
If the commands in this section are used when an E9320 sensor is connected and
set to AVERage mode rather than NORMal mode, the error -221, Settings
Conflict occurs.
The following commands are detailed in this section:
[SENSe[1]]|SENSe2:AVERage2:COUNt <numeric_value>
[SENSe[1]]|SENSe2:AVERage2[:STATe] <boolean>
9-14
SENSe Subsystem
[SENSe[1]]|SENSe2:AVERage2:COUNt <numeric_value>
[SENSe[1]]|SENSe2:AVERage2:COUNt <numeric_value>
This command is used to enter the video filter length for the E9320 sensor.
Syntax
SENS
AVER2
:COUN
Space
numeric_value
DEF
SENS2
?
Parameters
Item
Description/Default
Range of Values
numeric_value
1 to 256
DEF
Example
AVER2:COUN 200
Reset Condition
On reset, the filter length is set to 4.
Query
AVERage2:COUNt?
The query returns the current setting of the video filter length. The format of the
response is <NR1>.
Query Example
AVER2:COUN?
9-15
SENSe Subsystem
[SENSe[1]]|SENSe2:AVERage2:COUNt <numeric_value>
Error Messages
If the command is used when a non E9320 sensor is connected, the
error -241, Hardware missing occurs.
If the command is used when an E9320 sensor is connected and set to AVERage
mode rather than NORMal mode, the error -221, Settings Conflict occurs.
9-16
SENSe Subsystem
SENSe[1]]|SENSe2:AVERage2[:STATe] <boolean>
SENSe[1]]|SENSe2:AVERage2[:STATe] <boolean>
This command is used to enable and disable video averaging for the
E9320 sensor.
Syntax
SENS
AVER2
:STAT
Space
0|OFF
1|ON
SENS2
Example
AVER2 1
Reset Condition
On reset, averaging is enabled.
Query
[SENSe[1]]|SENSe2:AVERage2[:STATe]?
The query enters a 1 or 0 into the output buffer indicating the status of averaging.
Query Example
SENS2:AVER2?
Error Messages
If the command is used when a non E9320 sensor is connected, the
error -241, Hardware missing occurs.
If the command is used when an E9320 sensor is connected and set to AVERage
mode rather than NORMal mode, the error -221, Settings Conflict occurs.
9-17
SENSe Subsystem
[SENSe[1]]|SENSe2:BANDwidth|BWIDth:VIDeo <character_data>
[SENSe[1]]|SENSe2:BANDwidth|BWIDth:VIDeo <character_data>
This command sets the sensor bandwidth.
Syntax
SENS
BAND
:VID
Space
character_data
BWID
SENS2
Parameters
Item
Description/Default
Range of Values
character_data
HIGH
MEDium
LOW
OFF
Values for HIGH, MEDIUM, LOW and OFF are sensor dependant as shown in the
following table:
Video Bandwidth Settings
Sensor
LOW
MEDium
HIGH
OFF
E9321A
E9325A
30 kHz
100 kHz
300 kHz
300 kHz1
E9322A
E9326A
100 kHZ
300 kHz
1.5 MHz
1.5 MHz1
E9323A
E9327A
300 kHz
1.5 MHz
5 MHz
5 MHz1
9-18
SENSe Subsystem
[SENSe[1]]|SENSe2:BANDwidth|BWIDth:VIDeo <character_data>
Example
SENSe1:BAND:VID HIGH
Reset Condition
On reset, sensor bandwidth is set to MEDium.
Query
[SENSe[1]]|SENSe2:BANDwidth|BWIDth:VIDeo?
The query returns the current sensor bandwidth setting.
Query Example
SENS2:BAND:VID?
Error Messages
If the command is used when a non E9320 sensor is connected, the
error -241, Hardware missing occurs.
If the command is used when an E9320 sensor is connected and set to AVERage
mode rather than NORMal mode, the error -221, Settings Conflict occurs.
9-19
SENSe Subsystem
[SENSe[1]]|SENSe2:CORRection Commands
[SENSe[1]]|SENSe2:CORRection Commands
These commands provide for known external losses or gains. They are used to enter
duty cycle values, calibration factors and other external gains and losses.
The following commands are detailed in this section:
[SENSe[1]]|SENSe2:CORRection:CFACtor|GAIN[1][:INPut]
[:MAGNitude] <numeric_value>
[SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2
[:SELect] <string>
[SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2:STATe <boolean>
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3[:INPut]
[:MAGNitude] <numeric_value>
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3:STATe <boolean>
[SENSe[1]]|SENSe2:CORRection:FDOFfset|GAIN4[:INPut]
[:MAGNitude]?
[SENSe[1]]|SENSe2:CORRection:LOSS2[:INPut][:MAGNitude]
<numeric_value>
[SENSe[1]]|SENSe2:CORRection:LOSS2:STATe <boolean>
9-20
SENSe Subsystem
SENSe[1]]|SENSe2:CORRection:CFACtor|GAIN[1][:INPut][:MAGNitude]
SENSe[1]]|SENSe2:CORRection:CFACtor|GAIN[1][:INPut][:MAGNitude] <numeric_value>
This command is used to enter a gain correction value for the calibration factor. The
power meter corrects every measurement by this factor to compensate for the gain.
Either CFACtor and GAIN1 can be used in the commandboth have an identical
result. Using GAIN1 complies with the SCPI standard whereas CFACtor does not
but may make your program easier to understand.
Syntax
SENS
CORR
:GAIN
:INP
:MAGN
SENS2
:CFAC
Space
numeric_value
DEF
MIN
MAX
Space
MIN
MAX
Parameters
Item
Description/Default
Range of Values
numeric_value
(for CFACtor and
GAIN1)
A numeric value.
1 to 150 PCT1
DEF
MIN
MAX
1. For example, a gain of 60% corresponds to a multiplier of 0.6 and a gain of 150% corresponds to
a multiplier of 1.5.
9-21
SENSe Subsystem
SENSe[1]]|SENSe2:CORRection:CFACtor|GAIN[1][:INPut][:MAGNitude]
Example
SENS2:CORR:GAIN1
Reset Condition
On reset, CFACtor|GAIN1 is set to 100%.
Query
[SENSe[1]]|SENSe2:CORRection:CFACtor|GAIN[1][:INPut][:MAGNitude]? [MIN|MAX]
The query returns the current gain correction setting or the values associated with
MIN and MAX.
Query Example
CORR:GAIN1?
Error Messages
The SENSe[1]]|SENSe2:CORRection:CFACtor|GAIN1 command can be
used for the 8480 Series power sensors and N8480 Series power sensors with Option
CFT when no sensor calibration table has been set up. If a sensor calibration table is
selected the error -221, Settings Conflict occurs.
9-22
SENSe Subsystem
[SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2 Commands
[SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2 Commands
These commands are used to select the active sensor calibration table (using CSET1)
and the active frequency dependent offset table (using CSET2).
Note
If any of the CSET1 commands are used when an E-Series power sensor or
N8480 Series power sensor (excluding Option CFT) is connected, the error -241,
Hardware missing occurs.
The following commands are detailed in this section:
[SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2
[:SELect] <string>
[SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2:STATe
<boolean>
9-23
SENSe Subsystem
[SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2[:SELect] <string>
[SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2[:SELect] <string>
This command enters the name of the sensor calibration table or frequency dependent
offset table which is to be used. The CSET1 command selects the sensor calibration
table and the CSET2 command selects the frequency dependent offset table. The
calibration factor is interpolated from the table using the setting for
[SENSe[1]]|SENSe2:FREQuency.
Note
If [SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2:STATe is set
to OFF, the selected sensor calibration table or frequency offset table is not being
used.
Syntax
SENS
CORR
:CSET
:SEL
string
Space
?
:CSET2
SENS2
Parameters
Item
Description/Default
Range of Values
string
Example
This command enters the name of the
sensor calibration table which is to be
used on channel A.
CORR:CSET1 PW1
Reset Condition
On reset the selected table is not affected.
9-24
SENSe Subsystem
[SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2[:SELect] <string>
Query
[SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2:[SELect]?
The name of the selected table is returned as a quoted string. If no table is selected an
empty string is returned.
Query Example
CORR:CSET1?
Error Messages
If <string> is not valid, error -224, Illegal parameter value occurs.
If a table called <string> does not exist, error -256, File name not found
occurs.
When a sensor calibration table is selected, the power meter verifies that the
number of calibration points defined is one more than the number of frequency
points defined. When a frequency dependent offset table is selected, the power
meter verifies that the number of offset points defined is equal to the number of
frequency points defined. If this is not the case, error -226, Lists not the same
length occurs.
If the CSET1 command is used when an E-Series power sensor or N8480 Series
power sensor (excluding Option CFT) is connected the error -241, Hardware
missing occurs.
9-25
SENSe Subsystem
[SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2:STATe <boolean>
[SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2:STATe <boolean>
This command is used to enable and disable the use of the currently active sensor
calibration table (CSET1) or frequency dependent offset table (CSET2). When a table
has been selected and enabled, the calibration factors/offsets stored in it can be used
by specifying the required frequency using the
[SENSe[1]]|SENSe2:FREQuency command.
When the CSET1 command is set to ON, the reference calibration factor is taken from
the sensor calibration table and is used during calibration.
The CSET1 command is only applicable for 8480 Series power sensors and N8480
Series power sensors with Option CFT.
Syntax
SENS
CORR
:CSET
:STAT
:CSET2
Space
0|OFF
1|ON
SENS2
Example
CORR:CSET1:STAT 1
Reset Condition
On reset, the sensor calibration table and frequency dependent offset table are not
affected.
Query
[SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2:STATe?
The query returns a 1 or 0 into the output buffer indicating whether a table is enabled
or disabled.
9-26
SENSe Subsystem
[SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2:STATe <boolean>
Query Example
SENS2:CORR:CSET1:STAT?
Error Messages
If you attempt to set this command to ON and no table has been selected using
[SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2:[SELect] then
error -221, Settings conflict occurs and
[SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2:STATe
remains OFF.
9-27
SENSe Subsystem
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3 Commands
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3 Commands
These commands control the pulse power measurement feature of the power meter.
The following commands are detailed in this section:
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3[:INPut]
[:MAGNitude] <numeric_value>
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3:STATe <boolean>
Note
You can use either DCYCLe or GAIN3 in these commands, both do the same.
Using GAIN3 complies with the SCPI standard whereas DCYCle does not, but
may make your program more understandable.
9-28
SENSe Subsystem
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3[:INPut][:MAGNitude]
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3[:INPut][:MAGNitude] <numeric_value>
This command is used to set the duty cycle for the pulse power measurement feature
of the power meter. Pulse power measurements average out any aberrations in the
pulse such as overshoot or ringing. The result returned for a pulse power
measurement is a mathematical representation of the pulse power rather than an
actual measurement. The power meter measures the average power in the pulsed
input signal and then divides the result by the duty cycle value to obtain a pulse power
reading.
Entering a value using this command automatically turns the
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3:STATe command to
ON.
Note
Syntax
SENS
CORR
:DCYC
:INP
:MAGN
:GAIN3
SENS2
Space
numeric_value
DEF
MIN
MAX
Space
MIN
MAX
9-29
SENSe Subsystem
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3[:INPut][:MAGNitude]
Parameters
Item
Description/Default
Range of Values
numeric_value
Example
This command sets a duty cycle of 90%
for channel A.
CORR:DCYC 90PCT
Reset Condition
On reset, the duty cycle is set to 1% (DEF).
Query
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3[:INPut][:MAGNitude]? [MIN|MAX]
The query returns the current setting of the duty cycle or the values associated with
MIN and MAX.
Query Example
CORR:GAIN3?
Error Messages
If a duty cycle value is entered using
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3 while
[SENSe[1]]|SENSe2:SPEed is set to 200, the error -221, Settings Conflict
occurs. However, the duty cycle value is set but the
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3:STATe command
is not automatically set ON.
9-30
SENSe Subsystem
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3[:INPut][:MAGNitude]
If this command is used when an E-Series power sensor is connected, the error
-310, System error;Dty Cyc may impair accuracy with ECP sensor occurs. If you
are using the E4417A the error message specifies the channel.
9-31
SENSe Subsystem
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3:STATe <boolean>
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3:STATe <boolean>
This command is used to enable and disable the pulse power measurement feature.
The [SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3 command should
be used to enter the duty cycle of the signal you want to measure.
Syntax
SENS
CORR
:DCYC
:STAT
Space
0|OFF
:GAIN3
SENS2
1|ON
?
Example
CORR:DCYC:STAT 1
Reset Condition
On reset, the pulse power measurement feature is disabled.
Query
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3:STATe?
The query enters a 1 or 0 into the output buffer indicating the status of the pulse
power measurement feature.
Query Example
CORR:GAIN3:STAT?
9-32
SENSe Subsystem
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3:STATe <boolean>
Error Messages
If [SENSe[1]]|SENSe2:CORRection:DCYCle:STATus is set to ON
while [SENSe[1]]|SENSe2:SPEed is set to 200, the error -221, Settings
Conflict occurs.
If this command is used when an E4410 E-Series powers sensor is connected, the
error -310, System error;Dty Cyc may impair accuracy with ECP sensor occurs.
If you are using the E4417A the error message specifies the channel.
9-33
SENSe Subsystem
[SENSe[1]]|SENSe2:CORRection:FDOFfset|GAIN4[:INPut][:MAGNitude]?
[SENSe[1]]|SENSe2:CORRection:FDOFfset|GAIN4[:INPut][:MAGNitude]?
This command is used to return the frequency dependent offset currently being
applied.
Syntax
SENS
CORR
:GAIN4
:INP
:MAG
:FDOFfset
SENS2
Example
CORR:GAIN4?
Reset Condition
On reset, the frequency dependent offset is not affected.
9-34
SENSe Subsystem
[SENSe[1]]|SENSe2:CORRection:GAIN2 Commands
[SENSe[1]]|SENSe2:CORRection:GAIN2 Commands
These commands provide a simple correction to a measurement for an external
gain/loss.
The following commands are detailed in this section:
[SENSe[1]]|SENSe2:CORRection:GAIN2:STATe <boolean>
[SENSe[1]]|SENSe2:CORRection:GAIN2[:INPut][:MAGNitude]
<numeric_value>
9-35
SENSe Subsystem
[SENSe[1]]|SENSe2:CORRection:GAIN2:STATe <boolean>
[SENSe[1]]|SENSe2:CORRection:GAIN2:STATe <boolean>
This command is used to enable/disable a channel offset for the power meter setup.
The [SENSe[1]]|SENSe2:CORRection:GAIN2[:INPut]
[:MAGNitude] command is used to enter the loss/gain value.
Syntax
SENS
CORR
:GAIN2
:STAT
Space
0|OFF
1|ON
SENS2
Example
This command enables a channel offset
on channel A.
CORR:GAIN2:STAT ON
Reset Condition
On reset, channel offsets are disabled.
Query
[SENSe[1]]|SENSe2:CORRection:GAIN2:STATe?
The query enters 1 or 0 into the output buffer indicating the status of the channel
offsets.
Query Example
CORR:GAIN2:STAT?
9-36
SENSe Subsystem
[SENSe[1]]|SENSe2:CORRection:GAIN2:STATe <boolean>
Error Messages
If [SENSe[1]]|SENSe2:CORRection:GAIN2:STATe is set to ON while
[SENSe[1]]|SENSe2:SPEed is set to 200, the error -221, Settings Conflict
occurs.
9-37
SENSe Subsystem
[SENSe[1]]|SENSe2:CORRection:GAIN2[:INPut][:MAGNitude] <numeric_value>
[SENSe[1]]|SENSe2:CORRection:GAIN2[:INPut][:MAGNitude] <numeric_value>
This command is used to enter a channel offset value for the power meter setup, for
example cable loss. The power meter then corrects every measurement by this factor
to compensate for the gain/loss.
Entering a value for GAIN2 using this command automatically turns the
[SENSe[1]]|SENSe2:CORRection:GAIN2:STATe command to ON.
Syntax
SENS
CORR
:INP
:GAIN2
:MAGN
SENS2
Space
numeric_value
DEF
MIN
MAX
Space
MIN
MAX
Parameters
Item
Description/Default
Range of Values
numeric_value
A numeric value:
-100 to +100 dB
DEF
MIN
MAX
Example
CORR:GAIN2 50
9-38
SENSe Subsystem
[SENSe[1]]|SENSe2:CORRection:GAIN2[:INPut][:MAGNitude] <numeric_value>
Reset Condition
On reset, GAIN2 is set to 0.00 dB.
Query
[SENSe[1]]|SENSe2:CORRection:GAIN2[:INPut][:MAGNitude]? [MIN|MAX]
The query returns the current setting of the channel offset or the values associated
with MIN and MAX.
Query Example
CORR:GAIN2?
Error Messages
If a loss/gain correction value is entered using
[SENSe[1]]|SENSe2:CORRection:GAIN2[:INPut][:MAGNitude]
while [SENSe[1]]|SENSe2:SPEed is set to 200, the error -221, Settings
Conflict occurs. However, the correction value is set but the
[SENSe[1]]|SENSe2:CORRection:GAIN2:STATe command is not
automatically set ON.
The SENSe[1]]|SENSe2:CORRection:GAIN2[:INPut]
[:MAGNitude] command can be used for the 8480 Series power sensors and
N8480 Series power sensors with Option CFT when no sensor calibration table has
been set up. If a sensor calibration table is selected the error -221, Settings
Conflict occurs.
9-39
SENSe Subsystem
[SENSe[1]]|SENSe2:DETector:FUNCtion <character_data>
[SENSe[1]]|SENSe2:DETector:FUNCtion <character_data>
This command sets the measurement mode for the E9320 sensor.
Syntax
SENS
DET
:FUNC
Space
SENS2
character_data
Parameters
Item
Description/Default
Range of Values
character_data
AVERage1
NORMal2
Example
This command sets the sensor to
normal mode for channel A.
SENS1:DET:FUNC NORM
Reset Condition
On reset, the mode is set to NORMal.
9-40
SENSe Subsystem
[SENSe[1]]|SENSe2:DETector:FUNCtion <character_data>
Query
[SENSe[1]]|SENSe2:DETector:FUNCtion?
The query returns the current sensor mode setting.
Query Example
SENS:DET:FUNC?
Error Messages
If the command is used when a non E9320 sensor is connected, the
error -241, Hardware missing occurs.
If the command is used when an E9320 sensor is connected and set to AVERage
mode rather than NORMal mode, the error -221, Settings Conflict occurs.
9-41
SENSe Subsystem
[SENSe[1]]|SENSe2:FREQuency[:CW|:FIXed] <numeric_value>
[SENSe[1]]|SENSe2:FREQuency[:CW|:FIXed] <numeric_value>
This command is used to enter a frequency. If the frequency does not correspond
directly to a frequency in the sensor calibration table, the power meter calculates the
calibration factor using linear interpolation. For 8480 Series power sensors and
N8480 Series power sensors with Option CFT, the power meter uses linear
interpolation to calculate the calibration factor for the frequency entered if
[SENSe[1]]|SENSe2:CORRection:CSET:STATe is ON. For E-Series and
N8480 Series power sensors (excluding Option CFT), the calibration factor is
calculated using the sensors calibration factor data held in its EEPROM.
Syntax
SENS
FREQ
:CW
Space
numeric_value
DEF
:FIX
SENS2
MIN
MAX
?
Space
MIN
MAX
Parameters
Item
Description/Default
Range of Values
numeric_value
1 kHz to
999.999 GHz1
DEF
MIN
MAX
9-42
SENSe Subsystem
[SENSe[1]]|SENSe2:FREQuency[:CW|:FIXed] <numeric_value>
Example
FREQ 500kHz
Reset Condition
On reset, the frequency is set to 50 MHz (DEF).
Query
[SENSe[1]]|SENSe2:FREQuency[:CW|:FIXed]? [MIN|MAX]
The query returns the current frequency setting or the values associated with MIN and
MAX. The units in which the results are returned are Hz.
Query Example
SENS2:FREQ?
9-43
SENSe Subsystem
[SENSe[1]]|SENSe2:MRATe <character_data>
[SENSe[1]]|SENSe2:MRATe <character_data>
This command sets the measurement speed on the selected channel.
When a channel is set to FAST, the following couplings occur:
Command
Status
[SENSe[1]]|SENSe2:AVERage:STATe
OFF1
[SENSe[1]]|SENSe2:CORRection:DCYCle:STATe
OFF1
[SENSe[1]]|SENSe2:CORRection:GAIN2:STATe
OFF1
CALCulate[1|2|3|4]:GAIN:STATe
OFF2
CALCulate[1|2|3|4]:RELative:STATe
OFF2
CALCulate1|3:MATH:EXPRession
(SENSe1)
CALCulate2|4:MATH:EXPRession
(SENSe2)3
1. This change only occurs on the channel specified in the SENSe:MRATe command. When
the specified channel is changed from FAST to NORMal or DOUBle, the settings that were in
place when FAST was entered are restored.
2. This change occurs when either channel is set to FAST. When both channels are changed
from FAST to NORMal or DOUBle, the settings that were in place when FAST was entered are
restored.
3. Applicable to the E4417A dual channel power meter only.
Note
Syntax
SENS
SENS2
9-44
MRAT
Space
numeric_value
?
SENSe Subsystem
[SENSe[1]]|SENSe2:MRATe <character_data>
Parameters
Item
Description/Default
Range of Values
character_data
NORMal1
DOUBle1
FAST2
NORMal: 20 readings/second.
DOUBle: 40 readings/second.
FAST: up to 1000 readings/second.
The default is NORMal.
Example
MRAT DOUBle
Reset Condition
On reset, the speed is set to NORMal.
Query
[SENSe[1]]|SENSe2:MRAT?
The query returns the current speed setting, either NORMal, DOUBle or FAST.
Query Example
MRAT?
Error Messages
If <character_data> is not set to NORMal, DOUBle or FAST, error -224
Illegal parameter value occurs.
If an E-Series power sensor is not connected and <character_data> is set to
FAST, error -241 Hardware missing occurs.
If TRIG:SOUR is set to EXTernal or INTernal[[1]|2], error -221
Settings Conflict occurs.
9-45
SENSe Subsystem
[SENSe[1]]|SENSe2:POWer:AC:RANGe <numeric_value>
[SENSe[1]]|SENSe2:POWer:AC:RANGe <numeric_value>
This command is used with the E-Series power sensors and N8480 Series power
sensors (excluding Option CFT) to select one of two power ranges.
POW
:AC
:RANG
Space
numeric_value
?
SENS2
Example
This command sets the power sensor to
its lower range.
POW:AC:RANG 0
Reset Condition
On reset, the upper range is selected.
Query
[SENSe[1]]|SENSe2:POWer:AC:RANGe?
The query enters a 1 or 0 into the output buffer indicating the status of the power
sensors range.
Query Example
POW:AC:RANG?
Error Messages
This command is used with the E-Series power sensors and N8480 Series power
sensors (excluding Option CFT) . If one is not connected the error -241, Hardware
missing occurs.
9-46
SENSe Subsystem
[SENSe[1]]|SENSe2:POWer:AC:RANGe:AUTO <boolean>
[SENSe[1]]|SENSe2:POWer:AC:RANGe:AUTO <boolean>
This command is used with the E-Series power sensors and N8480 Series power
sensors (excluding Option CFT) to enable and disable autoranging. When
autoranging is ON, the power meter selects the best measuring range for the
measurement. When autoranging is set to OFF, the power meter remains in the
currently set range.
The [SENSe[1]]|SENSe2:POWer:AC:RANGe command disables autoranging.
If INITiate:CONTinuous is set to ON and TRIGger:SOURce is set to
IMMediate, the range will track the input power if
[SENSe[1]]|SENSe2:POWer:AC:RANGe:AUTO is ON.
If the power meter is not making measurements then autoranging only occurs when
the power meter is triggered.
Syntax
SENS
POW
:AC
:RANG
:AUTO
Space
0|OFF
1|ON
SENS2
Example
POW:AC:RANG:AUTO 0
Reset Condition
On reset, autoranging is enabled.
Query
[SENSe[1]]|SENSe2:POWer:AC:RANGe:AUTO?
The query enters a 1 or 0 into the output buffer indicating the status of autoranging.
Query Example
POW:AC:RANG:AUTO?
9-47
SENSe Subsystem
[SENSe[1]]|SENSe2:POWer:AC:RANGe:AUTO <boolean>
Error Messages
If this command is set to OFF and E-Series power sensor or N8480 Series power
sensor (excluding Option CFT) is not connected, the error, -241, Hardware missing
occurs.
9-48
SENSe Subsystem
[SENSe[1]]|SENSe2:SPEed <numeric_value>
[SENSe[1]]|SENSe2:SPEed <numeric_value>
This command sets the measurement speed on the selected channel. The speeds
available are 20, 40 and 200 readings/second.
Note
This command is included for compatibility purposes only. It has the same
purpose as [SENSe[1]]|SENSe2:MRATe <NORMal|DOUBle|FAST>
(with 20 mapping to NORMal, 40 to DOUBle and 200 to FAST), which should
be used in preference.
When a channel is set to 200 readings/second the following couplings occur:
Command
Status
[SENSe[1]]|SENSe2:AVERage:STATe
OFF1
[SENSe[1]]|SENSe2:CORRection:DCYCle:STATe
OFF1
[SENSe[1]]|SENSe2:CORRection:GAIN2:STATe
OFF1
CALCulate[1|2|3|4]:GAIN:STATe
OFF2
CALCulate[1|2|3|4]:RELative:STATe
OFF2
CALCulate1|3:MATH:EXPRession
(SENSe1)
CALCulate2|4:MATH:EXPRession
(SENSe2)3
1. This change only occurs on the channel specified in the SENSe:SPEed command. When
the specified channel is changed from 200 readings/second to either 20 or 40 readings/second
the settings that were in place when 200 readings/second mode was entered are restored.
2. This change occurs when either channel is set to 200 readings/second. When both channels
are changed from 200 readings/second to either 20 or 40 readings/second the settings that were
in place when 200 readings/second mode was entered are restored.
3. Applicable to the E4417A dual channel power meter only.
Syntax
SENS
SPE
Space
SENS2
numeric_value
?
9-49
SENSe Subsystem
[SENSe[1]]|SENSe2:SPEed <numeric_value>
Parameters
Item
Description/Default
Range of Values
numeric_value
201
401
200
Example
This command sets the channel A speed
to 40 readings/second.
SPE 40
Reset Condition
On reset, the speed is set to 20 readings/second.
Query
[SENSe[1]]|SENSe2:SPEed?
The query returns the current speed setting, either 20, 40 or 200.
Query Example
SPE?
Error Messages
If <speed> is not 20, 40 or 200, error -224 Illegal parameter value occurs.
If an E-Series power sensor is not connected and the <numeric_value> is set
to 200 readings/second, error -241 Hardware missing occurs.
If TRIG:SOUR is set to EXTernal or INTernal[[1]|2], error -221
Settings Conflict occurs.
9-50
SENSe Subsystem
SENSe[1]]|SENSe2:SWEep[1]|2|3|4 Commands
SENSe[1]]|SENSe2:SWEep[1]|2|3|4 Commands
These commands set offset time and time gate length as illustrated in the following
diagram:
Post-Trigger
PreTrigger
With no
trace:
internally
calculated
time
Incoming signal
from sensor
Trigger
Delay
TRIG:DEL
Delayed
Trigger
Trigger
Point
Point
Defined using:
TRIG:LEVel
TRIG:SLOPe
TRIG:HYSTeresis
Offset time:
SENSe:SWEep:OFFSet:TIME
Offset time and time gate length values can be set for up to four measurement gates
per channel. Measurement gate number is defined by the numeric value following the
SWEep component of the command.
Note
These commands can only be used with E9320 sensors which must be set to
NORMal mode.
The following commands are detailed in this section:
[SENSe[1]]|SENSe2:SWEep[1]|2|3|4:OFFSet:TIME
<numeric_value>
[SENSe[1]]|SENSe2:SWEep[1]|2|3|4:TIME <numeric_value>
9-51
SENSe Subsystem
[SENSe[1]]|SENSe2:SWEep[1]|2|3|4:OFFSet:TIME <numeric_value>
[SENSe[1]]|SENSe2:SWEep[1]|2|3|4:OFFSet:TIME <numeric_value>
This command sets the delay between the delayed trigger point and the start of the
time-gated period (the offset time) for E9320 sensors which are set to NORMal mode.
To set an E9320 sensor to NORMal mode, refer to the command
[SENSe[1]]|SENSe2:DETector:FUNCtion <character_data>
on page 9-40.
Syntax
SENS
SENS2
SWE
:OFFS
:TIME
Space
numeric_value
DEF
3
4
Parameters
Item
Description/Default
Range of Values
numeric_value
-1 to 1 seconds
DEF
Example
SENS2:SWE3:OFFS:TIME 1.001
Reset Condition
On reset, the value is set to 0 seconds.
Query
SENSe[1]]|SENSe2:SWEep[1]|2|3|4:OFFSet:TIME?
The query returns the current delay between the trigger point and the start of the
time-gated period.
9-52
SENSe Subsystem
[SENSe[1]]|SENSe2:SWEep[1]|2|3|4:OFFSet:TIME <numeric_value>
Query Example
SENS2:SWE2:OFFS:TIME?
Error Messages
If the command is used when a non E9320 sensor is connected, the
error -241, Hardware missing occurs.
If the command is used when an E9320 sensor is connected and set to AVERage
mode rather than NORMal mode, the error -221, Settings Conflict occurs.
9-53
SENSe Subsystem
[SENSe[1]]|SENSe2:SWEep[1]|2|3|4:TIME <numeric_value>
[SENSe[1]]|SENSe2:SWEep[1]|2|3|4:TIME <numeric_value>
This command sets the length of the time-gated period (time-gate length) for
time-gated measurements for E9320 sensors which are set to NORMal mode. To set
an E9320 sensor to NORMal mode, refer to the command
[SENSe[1]]|SENSe2:DETector:FUNCtion <character_data>
on page 9-40.
Syntax
SENS
SENS2
SWE
:TIME
Space
numeric_value
DEF
3
4
Parameters
Item
Description/Default
Range of Values
numeric_value
0 to 1 second
DEF
Example
SENS2:SWE3:TIME 0.001
Reset Condition
On reset, gate 1 is set to 100us and other gates to 1s.
Query
SENSe[1]]|SENSe2:SWEep[1]|2|3|4:TIME?
The query returns the current length of the time-gated period.
9-54
SENSe Subsystem
[SENSe[1]]|SENSe2:SWEep[1]|2|3|4:TIME <numeric_value>
Query Example
SENS2:SWE2:TIME?
Error Messages
If the command is used when a non E9320 sensor is connected, the
error -241, Hardware missing occurs.
If the command is used when an E9320 sensor is connected and set to AVERage
mode rather than NORMal mode, the error -221, Settings Conflict occurs.
9-55
SENSe Subsystem
SENSe[1]]|SENSe2:TRACe Commands
SENSe[1]]|SENSe2:TRACe Commands
These commands are used to set:
Note
The delay between the delayed trigger point and the start of the trace.
These commands can only be used with E9320 sensors which are set to NORMal
mode.
The following commands are detailed in this section:
[SENSe[1]]|SENSe2:TRACe:LIMit:LOWer <numeric_value>
[SENSe[1]]|SENSe2:TRACe:LIMit:UPPer <numeric_value>
[SENSe[1]]|SENSe2:TRACe:OFFSet:TIME <numeric_value>
[SENSe[1]]|SENSe2:TRACe:TIME <numeric_value>
[SENSe[1]]|SENSe2:TRACe:UNIT <character_data>
9-56
SENSe Subsystem
SENSe[1]|2:TRACe:LIMit:LOWer <numeric_value>
SENSe[1]|2:TRACe:LIMit:LOWer <numeric_value>
This command sets the lower scale limit of the trace for the specified channel.
The units used are dependent on the current setting of SENS:TRAC:UNIT as shown
in the following table:
Table 0-13: Measurement Units
Note
Units:
Units:
SENS:TRAC:UNIT
SENS:TRAC:LIM:LOW
dBm
dBm
The trace lower scale limit is maintained at a lower power than the upper scale
limit which is adjusted to be slightly greater than the lower scale limit if
necessary. Refer to SENSe[1]|2:TRACe:LIMit:UPPer
<numeric_value> for further information on setting the trace upper scale
limit.
Syntax
:SENS
:TRAC
:LIM
:LOW
Space
numeric_value
DEF
MIN
MAX
?
Space
MIN
MAX
9-57
SENSe Subsystem
SENSe[1]|2:TRACe:LIMit:LOWer <numeric_value>
Parameters
Item
Description/Default
Range of Values
numeric_value
Example
This command sets the trace lower
scale limit to 10 dBm for
channel B.
SENS2:TRAC:LIM:LOW 10
Reset Condition
On reset, the value is set to -50 dBm.
Query
SENSe[1]|2:TRACe:LIMit:LOWer [MIN|MAX]
The query returns the current setting of the trace lower scale limit or the value
associated with MIN or MAX. The format of the response is <NR3>.
Query Example
SENSe:TRAC:LIM:LOW?
9-58
SENSe Subsystem
SENSe[1]|2:TRACe:LIMit:UPPer <numeric_value>
SENSe[1]|2:TRACe:LIMit:UPPer <numeric_value>
This command sets the upper scale limit of the trace for the specified channel.
The units used are dependent on the current setting of SENS:TRAC:UNIT as shown
in the following table:
Table 0-14: Measurement Units
Note
Units:
Units:
SENS:TRAC:UNIT
SENS:TRAC:LIM:UPP
dBm
dBm
The trace lower scale limit is maintained at a lower power than the upper scale
limit which is adjusted to be slightly greater than the lower scale limit if
necessary. Refer to SENSe[1]|2:TRACe:LIMit:LOWer
<numeric_value> for further information on setting the trace lower scale
limit.
Syntax
:SENS
:TRAC
:LIM
:UPP
Space
numeric_value
DEF
MIN
MAX
?
Space
MIN
MAX
9-59
SENSe Subsystem
SENSe[1]|2:TRACe:LIMit:UPPer <numeric_value>
Parameters
Item
Description/Default
Range of Values
numeric_value
Example
SENS:TRAC:LIM:UPP 100
Reset Condition
On reset, the value is set to DEF.
Query
SENSe[1]|2:TRACe:LIMit:LOWer [MIN|MAX]
The query returns the current setting of the trace upper scale limit or the value
associated with MIN or MAX. The format of the response is <NR3>.
Query Example
SENS:TRAC:LIM:UPP?
9-60
SENSe Subsystem
[SENSe[1]]|SENSe2:TRACe:OFFSet:TIME <numeric_value>
[SENSe[1]]|SENSe2:TRACe:OFFSet:TIME <numeric_value>
This command sets the delay between the delayed trigger point and the start of the
trace for E9320 sensors which are set to NORMal mode.
To set an E9320 sensor to NORMal mode, refer to the command
[SENSe[1]]|SENSe2:DETector:FUNCtion <character_data>
on page 9-40.
syntax
SENS
TRAC
:OFFS
:TIME
Space
numeric_value
DEF
SENS2
?
Parameters
Item
Description/Default
Range of Values
numeric_value
-1 to 1 seconds
DEF
Example
SENS:TRAC:OFFS:TIME TIME 0.05
Reset Condition
On reset, the delay is set to 0 seconds.
Query
SENSe[1]]|SENSe2:TRACe:OFFSet:TIME?
The query returns the current delay between the delayed trigger point and the start of
the trace.
9-61
SENSe Subsystem
[SENSe[1]]|SENSe2:TRACe:OFFSet:TIME <numeric_value>
Query Example
SENS:TRAC:OFFS:TIME?
Error Messages
If the command is used when a non E9320 sensor is connected, the
error -241, Hardware missing occurs.
If the command is used when an E9320 sensor is connected and set to AVERage
mode rather than NORMal mode, the error -221, Settings Conflict occurs.
9-62
SENSe Subsystem
[SENSe[1]]|SENSe2:TRACe:TIME <numeric_value>
[SENSe[1]]|SENSe2:TRACe:TIME <numeric_value>
This command sets the duration of the trace for E9320 sensors which are set to
NORMal mode. To set the E9320 sensor to NORMal mode, refer to the command
SENSe[1]]|SENSe2:DETector:FUNCtion <character_data>
on page 9-40.
Syntax
SENS
TRAC
:TIME
Space
numeric_value
DEF
SENS2
?
Parameters
Item
Description/Default
Range of Values
numeric_value
10 us to 1 second
DEF
Example
SENS2:TRAC:TIME 0.5
Reset Condition
On reset, the duration is set to 100 us.
Query
SENSe[1]]|SENSe2:TRACe:TIME?
The query returns the current duration of the trace.
9-63
SENSe Subsystem
[SENSe[1]]|SENSe2:TRACe:TIME <numeric_value>
Query Example
SENS2:TRAC:TIME?
Error Messages
If the command is used when a non E9320 sensor is connected, the
error -241, Hardware missing occurs.
If the command is used when an E9320 sensor is connected and set to AVERage
mode rather than NORMal mode, the error -221, Settings Conflict occurs.
9-64
SENSe Subsystem
[SENSe[1]]|SENSe2:TRACe:UNIT <character_data>
[SENSe[1]]|SENSe2:TRACe:UNIT <character_data>
This command sets the units for the trace for the specified channel.
Syntax
SENS
:TRAC
Space
:UNIT
character_data
?
Parameters
Item
Description/Default
Range of Values
character_data
DBM: dBm.
DBM
W
W: Watts.
Example
SENS2:TRAC:UNIT W
Reset Condition
On reset the units are set to dBm.
Query
[SENSe[1]]|SENSe2:TRACe:UNIT?
The query command returns the current value of character_data.
Query Example
SENS2:TRAC:UNIT?
9-65
SENSe Subsystem
[SENSe[1]]|SENSe2:V2P ATYPe|DTYPe
[SENSe[1]]|SENSe2:V2P ATYPe|DTYPe
This command is used to select the type of linearity correction that will be applied to
the channel sensors being used. For most 8480 Series power sensors, the correct (A
type or D type) linearity correction table is automatically selected. However, for the
V8486A and W8486A sensors the automatic selection must be overridden and the D
type (diode) correction selected.
Note
Syntax
SENS
V2P
Space
ATYP
DTYP
SENS2
Example
SENS2:V2P DTYP
Reset Condition
On reset, the linearity correction is set for A type.
Query
[SENSe[1]]|SENSe2:V2P?
The query returns the current type of linearity correction being displayed on the
screen.
Query Example
SENS:V2P?
Error Messages
If no sensor is connected or the sensor is not an A type, the error -241, Hardware
missing occurs.
9-66
10
STATus Subsystem
STATus Subsystem
STATus Subsystem
STATus Subsystem
The STATus command subsystem enables you to examine the status of the power
meter by monitoring the following status registers:
The contents of these and other registers in the power meter are determined by one or
more status registers.
Table 0-15 summarizes the effects of various commands and events on these status
registers:
Table 0-15: Commands and events affecting Status Registers
Status Register
*RST
*CLS
Power On
STATus:
PRESet
none
none
preset
preset
none
none
preset
preset
none
clear
clear
none
none
none
preset
preset
none
clear
clear
none
IEEE488.2 Registers
ESE SRE
none
none
clear
none
IEEE488.2 Registers
SESR STB
none
clear
clear
none
The contents of the status registers are examined using the following status register
set commands:
:CONDition?
:ENABle <NRf>|<non-decimal numeric>
[:EVENt?]
:NTRansition <NRf>|<non-decimal numeric>
:PTRansition <NRf>|<non-decimal numeric>
10-2
STATus Subsystem
STATus Subsystem
Each of these can be used to examine any of the following eleven status registers:
STATus:DEVice (page 10-8)
STATus:OPERation (page 10-11)
STATus:OPERation:CALibrating[:SUMMary] (page 10-12)
STATus:OPERation:LLFail[:SUMMary] (page 10-13)
STATus:OPERation:MEASuring[:SUMMary] (page 10-14)
STATus:OPERation:SENSe[:SUMMary] (page 10-15)
STATus:OPERation:TRIGger[:SUMMary] (page 10-16)
STATus:OPERation:ULFail[:SUMMary] (page 10-17)
STATus:QUEStionable (page 10-20)
STATus:QUEStionable:CALibration[:SUMMary] (page 10-21)
STATus:QUEStionable:POWer[:SUMMary] (page 10-22)
Examples:
This chapter describes the status register set commands and the status registers which
they are used to examine.
10-3
STATus Subsystem
Status Register Set Commands
Parameter Form
Notes
[query only]
<NRf>|<non-decimal numeric>
[query only]
<NRf>|<non-decimal numeric>
<NRf>|<non-decimal numeric>
Page
page 10-4
page 10-5
page 10-4
page 10-6
page 10-7
:CONDition?
This query returns a 16 bit decimal-weighted number representing the bits set in the
Condition Register of the SCPI Register Set you require to control. The format of the
return is <NR1> in the range of 0 to 32767 (215-1). The contents of the Condition
Register remain unchanged after it is read.
Syntax
:COND
[:EVENt]?
This query returns a 16 bit decimal-weighted number representing the bits set in the
Event Register of the SCPI Register Set you require to control. The format of the
return is <NR1> in the range of 0 to 32767 (215-1). This query clears all bits in the
register to 0.
Syntax
:EVEN
10-4
STATus Subsystem
Status Register Set Commands
space
NRf
non-decimal numeric
?
Parameters
Type
Description
Range of Values
NRf
0 to 216-1
non-decimal numeric
Query
:ENABle?
The query returns a 15 bit decimal-weighted number representing the contents of the
Enable Register of the SCPI Register Set being queried. The format of the return is
<NR1> in the range of 0 to 32767 (215-1).
10-5
STATus Subsystem
Status Register Set Commands
space
NRf
non-decimal numeric
?
Parameters
Type
Description
Range of Values
NRf
0 to 216-1
non-decimal numeric
Query
:NTRansition?
The query returns a 15 bit decimal-weighted number representing the contents of the
Negative Transition Register of the SCPI register set being queried. The format of the
return is <NR1> in the range of 0 to 32767 (215-1).
10-6
STATus Subsystem
Status Register Set Commands
space
NRf
non-decimal numeric
?
Parameters
Type
Description
Range of Values
NRf
0 to 216-1
non-decimal numeric
Query
:PTRansition?
The query returns a 15 bit decimal-weighted number representing the contents of the
Positive Transition Register of the SCPI register set being queried. The format of the
return is <NR1> in the range of 0 to 32767 (215-1).
10-7
STATus Subsystem
Device Status Register Sets
Decimal
Weight
Not used
16
32
64
7-15
14
16384
15
10-8
Definition
Not used
Front Panel key press
Bit 15 always 0
STATus Subsystem
Device Status Register Sets
The Channel A and B sensor connected bits (bits 1 and 2), when queried with the
STATus:DEVice:CONDition? query are set to:
The Channel A and B sensor connected bits (bits 1 and 2), when queried with the
STATus:DEVice:EVENt? query indicate whether a power sensor has been
connected or disconnected depending on the state of the corresponding bits of
STATus:DEVice:NTRansition and STATus:DEVice:PTRansition. If
the corresponding bit in:
STATus:DEVice:NTRansition is 1, then
STATus:DEVice:EVENt? is set when a power sensor is disconnected.
Note, querying STATus:DEVice:EVENt? clears the
STATus:DEVice:EVENt?register.
STATus:DEVice:PTRansition is 1, then
STATus:DEVice:EVENt? is set when a power sensor is connected.
Note, querying STATus:DEVice:EVENt? clears the
STATus:DEVice:EVENt?register.
The Channel A and B sensor error bits (3 and 4) are set to:
1, if the Agilent E-Series or N8480 Series power sensor EEPROM has failed
or if there are power sensors connected to both the rear and front panel
connectors.
The Channel A and B sensor Front/Rear bits (bits 5 and 6) are set to:
The Front Panel key press bit (bit 14), when queried with the
STATus:DEVice:EVENt? query indicates whether any front panel keys have
been pressed since power up or since you last queried the device status register. This
bit ignores the :NTRansition, and :PTRansition registers and
a:CONDition? query always returns a 0.
10-9
STATus Subsystem
Operation Register Sets
10-10
STATus Subsystem
STATus:OPERation
STATus:OPERation
The operation status register set contains conditions which are a part of the operation
of the power meter as a whole.
The following bits in these registers are used by the power meter:
Bit
Number
Decimal
Weight
CALibrating Summary
1-3
Not used
16
MEASuring Summary
32
6-9
10
1024
SENSe Summary
11
2048
12
4096
13 to 15
Definition
Not used
Syntax
STAT
:OPER
10-11
STATus Subsystem
STATus:OPERation:CALibrating[:SUMMary]
STATus:OPERation:CALibrating[:SUMMary]
The operation status calibrating summary register set contains information on the
calibrating status of the power meter.
The following bits in these registers are used by the power meter:
Bit
Number
Decimal
Weight
Not used
3-15
Not used
Definition
10-12
:OPER
:CAL
:SUMM
STATus Subsystem
STATus:OPERation:LLFail[:SUMMary]
STATus:OPERation:LLFail[:SUMMary]
The operation status lower limit fail summary register set contains information on the
lower limit fail status of the power meter.
The following bits in these registers are used by the power meter:
Bit
Number
Decimal
Weight
Not used
16
32
64
7-15
Definition
Not used
The appropriate bits are set if a channel lower limit test fails or a window lower limit
test fails.
These bits are cleared if a measurement is made and the test is enabled and passes.
Syntax
STAT
:OPER
:LLF
:SUMM
10-13
STATus Subsystem
STATus:OPERation:MEASuring[:SUMMary]
STATus:OPERation:MEASuring[:SUMMary]
The operation status measuring summary register set contains information on the
measuring status of the power meter.
The following bits in these registers are used by the power meter:
Bit
Number
Decimal
Weight
Not used
3-15
Not used
Definition
These bits are set when the power meter is taking a measurement.
These bits are cleared when the measurement is finished.
Syntax
STAT
Note
:OPER
:MEAS
:SUMM
10-14
STATus Subsystem
STATus:OPERation:SENSe[:SUMMary]
STATus:OPERation:SENSe[:SUMMary]
The operation status sense summary register set contains information on the status of
the power sensors.
The following bits in these registers are used by the power meter:
Bit
Number
Decimal
Weight
Not used
3-15
Not used
Definition
These bits are set when the power meter is reading data from the Agilent E-Series or
N8480 Series power sensor EEPROM.
These bits are cleared when the power meter is not reading data from the
Agilent E-Series or N8480 Series power sensor EEPROM.
Syntax
STAT
:OPER
:SENS
:SUMM
10-15
STATus Subsystem
STATus:OPERation:TRIGger[:SUMMary]
STATus:OPERation:TRIGger[:SUMMary]
The operation status trigger summary register set contains information on the trigger
status of the power meter.
The following bits in these registers are used by the power meter:
Bit
Number
Decimal
Weight
Not used
3-15
Not used
Definition
Syntax
STAT
10-16
:OPER
:TRIG
:SUMM
STATus Subsystem
STATus:OPERation:ULFail[:SUMMary]
STATus:OPERation:ULFail[:SUMMary]
The operation status upper limit fail summary register set contains information on the
upper limit fail status of the power meter.
The following bits in these registers are used by the power meter:
Bit
Number
Decimal
Weight
Not used
16
32
64
7-15
Definition
Not used
The appropriate bits are set if a channel upper limit test fails or a window upper limit
test fails.
These bits are cleared if a measurement is made and the test is enabled and passes.
Syntax
STAT
:OPER
:ULF
:SUMM
10-17
STATus Subsystem
STATus:PRESet
STATus:PRESet
PRESet sets a number of the status registers to their preset values as shown below all other registers are unaffected. Bit 15 is always 0.
Register
Filter/Enable
PRESet Value
OPERational
ENABle
all zeros
PTR
all ones
NTR
all zeros
ENABle
all zeros
PTR
all ones
NTR
all zeros
ENABle
all ones
PTR
all ones
NTR
all zeros
QUEStionable
All Others
Syntax
STAT
10-18
:PRES
STATus Subsystem
Questionable Register Sets
10-19
STATus Subsystem
STATus:QUEStionable
STATus:QUEStionable
The questionable register set contains bits which give an indication of the quality of
various aspects of signals processed by the power meter as a whole.
The following bits in these registers are used by the power meter:
Bit
Number
Decimal
Weight
0 to 2
Not used
POWer Summary
4 to 7
Not used
256
CALibration Summary
512
10 to 15
Definition
10-20
:QUES
STATus Subsystem
STATus:QUEStionable:CALibration[:SUMMary]
STATus:QUEStionable:CALibration[:SUMMary]
The questionable calibration summary register set contains bits which give an
indication of the quality of the data produced by the power meter due to its calibration
status.
The following bits in these registers are used by the power meter:
Bit
Number
Decimal
Weight
Not used
3-15
Not used
Definition
These bits are cleared when any of the three commands listed above succeed and no
errors are placed on the error queue.
Syntax
STAT
:QUES
:CAL
:SUMM
10-21
STATus Subsystem
STATus:QUEStionable:POWer[:SUMMary]
STATus:QUEStionable:POWer[:SUMMary]
The questionable power summary register set contain bits which give an indication of
the quality of the power data being acquired by the power meter.
The following bits in these registers shall be used by the power meter:
Bit
Number
Decimal
Weight
Not used
Channel A Power
16
32
64
128
256
Definition
10-22
STATus Subsystem
STATus:QUEStionable:POWer[:SUMMary]
These bits are cleared when no errors or events are detected by the power meter
during a measurement covering the causes given for it to set.
Syntax
STAT
:QUES
:POW
:SUMM
10-23
STATus Subsystem
STATus:QUEStionable:POWer[:SUMMary]
10-24
Logical OR
Logical OR
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Logical OR
Logical OR
STAT:OPER:LLF:SUMM
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
0
1
2
3
4
5
6
7
Serial Poll, *SRE
(bit 6 RQS)
Logical OR
STAT:OPER:ULF:SUMM
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
STAT:DEV
Status Byte
STAT:OPER
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
0 15
Operation Status
0
1
2
3
4
5
6
7
Device Status
0
1
2
3
4
5
6
7
8
9
10
11
12
13
Key Press 14
0 15
Sensor A Connected
Sensor B Connected
Sensor A Error
Sensor B Error
Sensor A Front/Rear
Sensor B Front/Rear
Logical OR
STAT:OPER:SENS:SUMM
STAT:OPER:MEAS:SUMM
STAT:OPER:CAL:SUMM
Logical OR
STAT:OPER:TRIG:SUMM
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Logical OR
Channel A MEASuring
Channel B MEASuring
Operation Complete
Request Control (not used)
Query Error
Device Dependent Error
Execution Error
Command Error
User Request
Power On
Logical OR
Standard Event
0
1
2
3
4
5
6
7
*ESE, *ESR?
Output Queue
Data Available
STAT:QUES
Logical OR
Logical OR
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Error /
Event
Queue
Questionable Status
0
1
2
3
4
5
6
7
8
POST Failure 9
10
11
12
13
14
0 15
STAT:QUES:POW:SUMM
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Logical OR
Channel A CALibration
Channel B CALibration
0
Channel A CALibration 1
Channel B CALibration 2
3
4
5
6
7
8
9
10
11
12
13
14
15
STAT:QUES:CAL:SUMM
Channel A POWer
Channel B POWer
Upper Window, Upper Measurement POWer
Lower Window, Upper Measurement POWer
Channel A Please Zero
Channel B Please Zero
Upper Window, Lower Measurement POWer
Lower Window, Lower Measurement POWer
Logical OR
10-25
10-26
11
SYSTem Subsystem
SYSTem Subsystem
SYSTem Subsystem
SYSTem Subsystem
The SYStem command subsystem is used to:
At a lower level:
SYSTem:COMMunicate:SERial:CONTrol[:RECeive] and
TRANsmit sets baud rate, parity, word length and other serial interface
controls.
Keyword
Parameter Form
SYSTem
:COMMunicate
:GPIB
[:SELF]
:ADDRess
:SERial
:CONTrol
:DTR
:RTS
[:RECeive]
:BAUD
:BITs
:PACE
:PARity
[:TYPE]
:SBITs
:TRANsmit
:AUTO?
:BAUD
:BITs
:ECHO
:PACE
:PARity
[:TYPE]
:SBITs
:HELP
:HEADers?
11-2
Notes
Page
<numeric_value>
page 11-4
<boolean>
<boolean>
page 11-7
page 11-8
<numeric_value>
<numeric_value>
XON|NONE
page 11-9
page 11-11
page 11-13
EVEN|ODD|ZERO|ONE|NONE
<numeric_value>
page 11-14
page 11-16
<numeric_value>
<numeric_value>
<boolean>
XON|NONE
[query only]
page 11-17
page 11-18
page 11-20
page 11-21
page 11-22
EVEN|ODD|ZERO|ONE|NONE
<numeric_value>
page 11-23
page 11-25
[query only]
page 11-26
SYSTem Subsystem
SYSTem Subsystem
Keyword
:LoCAL
:PRESet
:REMote
:RINTerface
:RWLock
:VERSion?
Parameter Form
Notes
character_data
[event; no
query]
GPIB|RS232|RS422
[query only]
Page
page 11-27
page 11-28
page 11-58
page 11-59
page 11-60
page 11-61
11-3
SYSTem Subsystem
SYSTem:COMMunicate:GPIB[:SELF]:ADDRess <numeric_value>
SYSTem:COMMunicate:GPIB[:SELF]:ADDRess <numeric_value>
This command sets the GPIB address of the power meter.
Syntax
SYST
:COMM
:GPIB
:SELF
Space
:ADDR
numeric_value
DEF
MIN
MAX
Space
MIN
MAX
Parameters
Item
Description/Default
Range of Values
numeric_value
0 to 30
DEF
MIN
MAX
Query
SYSTem:COMMunicate:GPIB[:SELF]:ADDRess? MIN|MAX
The query returns the current setting of the GPIB address or the values associated
with MIN and MAX.
11-4
SYSTem Subsystem
SYSTem:COMMunicate:GPIB[:SELF]:ADDRess <numeric_value>
Query Example
SYST:COMM:GPIB:ADDR?
11-5
SYSTem Subsystem
SYStem:COMMunicate:Serial Commands
SYStem:COMMunicate:Serial Commands
These commands control the settings for the RS232/RS422 serial interface. The
commands allow you to:
11-6
SYSTem Subsystem
SYSTem:COMMunicate:SERial:CONTrol:DTR <boolean>
SYSTem:COMMunicate:SERial:CONTrol:DTR <boolean>
This command sets the serial interface (RS232) DTR signal line either high always
(ON) or low always (OFF). In addition, the DTR signal line can be tied to the
condition of the interface receiver buffer (IBFull) resulting in the line going high
when the receiver is ready to accept data and low when the receiver buffer is full (not
ready for data). Also, with DTR in IBFull mode, the transmitter will be inhibited
when DSR is low.
Syntax
SYST
:COMM
:SER
:CONT
:DTR
Space
ON
OFF
IBFull
Example
SYST:COMM:SER:CONT:DTR ON
Reset Condition
On reset, the DTR signal line setting is unaffected.
Query
SYSTem:COMMunicate:SERial:CONTrol:DTR?
The query returns the current DTR signal line setting, ON, OFF or IBFull.
Query Example
SYST:COMM:SER:CONT:DTR?
Error messages
If the RS422 interface is selected, then the error message -221 Settings conflict will
occur.
11-7
SYSTem Subsystem
SYSTem:COMMunicate:SERial:CONTrol:RTS <boolean>
SYSTem:COMMunicate:SERial:CONTrol:RTS <boolean>
This command is used to set the serial interface (RS232 or RS422) RTS signal line
either high always (ON) or low always (OFF). In addition, the RTS signal line can be
tied to the condition of the interface receiver buffer (IBFull) resulting in the line
going high when the receiver is ready to accept data and low when the receiver buffer
is full (not ready for data). Also, with RTS in IBFull mode, the transmitter will be
inhibited when CTS is low.
Syntax
SYST
:COMM
:SER
:CONT
:RTS
Space
ON
OFF
IBFull
Example
SYST:COMM:SER:CONT:RTS ON
Reset Condition
On reset, the condition of the RTS signal line is unaffected.
Query
SYSTem:COMMunicate:SERial:CONTrol:RTS?
The query returns the current RTS signal line setting, ON, OFF or IBFull.
Query Example
SYST:COMM:SER:CONT:RTS?
11-8
SYSTem Subsystem
SYSTem:COMMunicate:SERial[:RECeive]:BAUD <numeric_value>
SYSTem:COMMunicate:SERial[:RECeive]:BAUD <numeric_value>
This command sets the baud rate for both the receiver and the transmitter. The baud
rate for the receiver and transmitter are tied together and can either be set by this
command or the equivalent transmitter command :TRANsmit:BAUD.
Syntax
SYST
:COMM
:SER
:REC
Space
:BAUD
numeric_value
DEF
MIN
MAX
Space
MIN
MAX
Parameters
Item
Description/Default
Range of Values
numeric_value
Example
SYST:COMM:SER:REC:BAUD 38400
Reset Condition
On reset, the baud rate is unaffected.
11-9
SYSTem Subsystem
SYSTem:COMMunicate:SERial[:RECeive]:BAUD <numeric_value>
Query
SYSTem:COMMunicate:SERial[:RECeive]:BAUD? MIN|MAX
The query returns the current setting of the receive/transmit baud rate or the values
associated with MIN and MAX.
Query Example
SYST:COMM:SER:REC:BAUD?
Error Messages
If the baud rate is not in the range of values shown in the parameter table, the error
message -224, Illegal parameter value occurs.
11-10
SYSTem Subsystem
SYSTem:COMMunicate:SERial[:RECeive]:BITs <numeric_value>
SYSTem:COMMunicate:SERial[:RECeive]:BITs <numeric_value>
This command sets the word length for both the receiver and the transmitter. The
word length for the receiver and transmitter are tied together and can either be set by
this command or the equivalent transmitter command :TRANsmit:BITs.
Syntax
SYST
:COMM
:SER
:REC
:BIT
Space
numeric_value
?
Parameters
Item
Description/Default
Range of Values
numeric_value
7 or 8
Example
SYST:COMM:SER:REC:BITs 8
Reset Condition
On reset, the word length is unaffected.
Query
SYSTem:COMMunicate:SERial[:RECeive]:BITs?
The query returns the current setting of the receive/transmit word length.
Query Example
SYST:COMM:SER:REC:BITs?
11-11
SYSTem Subsystem
SYSTem:COMMunicate:SERial[:RECeive]:BITs <numeric_value>
Error Messages
If the word length is not in the range of values shown in the parameter table, then the
error message -224, Illegal parameter value will occur.
11-12
SYSTem Subsystem
SYSTem:COMMunicate:SERial[:RECeive]:PACE XON|NONE
SYSTem:COMMunicate:SERial[:RECeive]:PACE XON|NONE
This command enables (XON) and disables (NONE) an Xon/Xoff software handshake
for the receiver. When enabled, an Xon control character is transmitted when the
receiver is ready to accept data and an Xoff control character is transmitted when the
receiver is unable to receive further data (not ready for data).
Syntax
SYST
:COMM
:SER
:REC
:PACE
Space
XON
NONE
Example
SYST:COMM:SER:REC:PACE XON
Reset Condition
On reset, pacing is unaffected.
Query
SYSTem:COMMunicate:SERial[:RECeive]:PACE?
The query returns XON if the handshake is enabled and NONE if the handshake is
disabled.
Query Example
SYST:COMM:SER:REC:PACE?
11-13
SYSTem Subsystem
SYSTem:COMMunicate:SERial[:RECeive]:PARity[:TYPE] EVEN|ODD|ZERO|ONE|NONE
SYSTem:COMMunicate:SERial[:RECeive]:PARity[:TYPE] EVEN|ODD|ZERO|ONE|NONE
This command decides what type of parity checking (if any) will take place on
received data and also decides what parity (if any) will be included with transmitted
data. The following choices are available and can be set using either this command or
the equivalent TRANsmit:PARity[:TYPE] command.
Parity Type
Description
EVEN
ODD
ZERO
The receiver expects a parity bit. All data received has the
parity checked and if it is not a logic low an error will be
generated. Transmitted data includes a parity bit that is
always set low (stick 0 parity).
ONE
The receiver expects a parity bit. All data received has the
parity checked and if it is not a logic high an error will be
generated. Transmitted data includes a parity bit that is
always set high (stick 1 parity).
NONE
11-14
SYSTem Subsystem
SYSTem:COMMunicate:SERial[:RECeive]:PARity[:TYPE] EVEN|ODD|ZERO|ONE|NONE
Syntax
SYST
:COMM
:SER
:REC
:PAR
:TYPE
Space
EVEN
ODD
ZERO
ONE
NONE
Example
SYST:COMM:SER:REC:PAR ODD
Reset Condition
On reset, the parity setting is unaffected.
Query
SYSTem:COMMunicate:SERial[:RECeive]:PARity[:TYPE]?
The query returns the current setting of the receive/transmit parity type (EVEN, ODD,
ZERO, ONE or NONE).
Query Example
SYST:COMM:SER:REC:PAR?
11-15
SYSTem Subsystem
SYSTem:COMMunicate:SERial[:RECeive]:SBITs <numeric_value>
SYSTem:COMMunicate:SERial[:RECeive]:SBITs <numeric_value>
This command sets the number of stop bits expected by the receiver on received data
and the number of stop bits included by the transmitter in transmitted data.
Syntax
SYST
:COMM
:SER
:REC
:SBIT
Space
numeric_value
Parameters
Item
Description/Default
Range of Values
numeric_value
1 or 2
Example
SYST:COMM:SER:REC:SBIT 2
Reset Condition
On reset, the number of stop bits is unaffected.
Query
SYSTem:COMMunicate:SERial[:RECeive]:SBITs?
The query returns the current setting of the receive/transmit stop bits.
Query Example
SYST:COMM:SER:REC:SBIT?
11-16
SYSTem Subsystem
SYSTem:COMMunicate:SERial:TRANsmit:AUTO?
SYSTem:COMMunicate:SERial:TRANsmit:AUTO?
This query always returns a 1 confirming that the transmitter parameter settings for
baud rate, word length, stop bits and parity are coupled to the receiver values.
Syntax
SYST
:COMM
:SER
:TRAN
:AUTO
Example
SYST:COMM:SER:TRAN:AUTO?
11-17
SYSTem Subsystem
SYSTem:COMMunicate:SERial:TRANsmit:BAUD <numeric_value>
SYSTem:COMMunicate:SERial:TRANsmit:BAUD <numeric_value>
This command sets the baud rate for both the transmitter and the receiver. The baud
rate for the transmitter and receiver are tied together and can either be set by this
command or the equivalent receiver command [RECeive]:BAUD.
Syntax
SYST
:COMM
:SER
:TRAN
Space
:BAUD
numeric_value
DEF
MIN
MAX
Space
MIN
MAX
Parameters
Item
Description/Default
Range of Values
numeric_value
Example
SYST:COMM:SER:TRAN:BAUD 38400
Reset Condition
On reset, the baud rate is unaffected.
11-18
SYSTem Subsystem
SYSTem:COMMunicate:SERial:TRANsmit:BAUD <numeric_value>
Query
SYSTem:COMMunicate:SERial:TRANsmit:BAUD? MIN|MAX
The query returns the current setting of the transmit/receive baud rate or the values
associated with MIN and MAX.
Query Example
SYST:COMM:SER:TRAN:BAUD?
Error Messages
If the baud rate is not in the range of values shown in the parameter table, then the
error message -224, Illegal parameter value will occur.
11-19
SYSTem Subsystem
SYSTem:COMMunicate:SERial:TRANsmit:BITs <numeric_value>
SYSTem:COMMunicate:SERial:TRANsmit:BITs <numeric_value>
This command sets the word length for both the transmitter and the receiver. The
word length for the transmitter and receiver are tied together and can either be set by
this command or the equivalent receiver command [:RECeiver]:BITs.
Syntax
SYST
:COMM
:SER
:TRAN
:BITs
Space
numeric_value
Parameters
Item
Description/Default
Range of Values
numeric_value
7 or 8
Example
SYST:COMM:SER:TRAN:BITs 8
Reset Condition
On reset, the word length is unaffected.
Query
SYSTem:COMMunicate:SERial:TRANsmit:BITs?
The query returns the current setting of the transmit/receive word length.
Query Example
SYST:COMM:SER:TRAN:BITs?
11-20
SYSTem Subsystem
SYSTem:COMMunicate:SERial:TRANsmit:ECHO <boolean>
SYSTem:COMMunicate:SERial:TRANsmit:ECHO <boolean>
This command turns echo mode on and off, allowing the power meter to be controlled
by a dumb terminal that may require its transmitted characters to be echoed. If ON is
specified, data received by the receiver is transmitted back to the sender (echo on). If
OFF is specified, data received by the receiver is not transmitted back to the sender
(echo off).
Syntax
SYST
:COMM
:SER
:TRAN
:ECHO
Space
ON
OFF
Example
SYST:COMM:SER:TRAN:ECHO ON
Reset Condition
On reset, the echo selection is unaffected.
Query
SYSTem:COMMunicate:SERial:TRANsmit:ECHO?
The query returns the current setting of the transmit/receive word length.
ON is returned if the power meter is set to return received data back to the
sender (echo on).
OFF is returned if the power meter is not set to return received data back to
the sender (echo off).
Query Example
SYST:COMM:SER:TRAN:ECHO?
11-21
SYSTem Subsystem
SYSTem:COMMunicate:SERial:TRANsmit:PACE XON|NONE
SYSTem:COMMunicate:SERial:TRANsmit:PACE XON|NONE
This command enables (XON) and disables (NONE) an Xon/Xoff software handshake
for the transmitter. When enabled, if an Xoff control character is detected by the
receiver, the transmitter will not transmit further characters until an Xon control
character is detected by the receiver.
Syntax
SYST
:COMM
:SER
:TRAN
:PACE
Space
XON
NONE
Example
SYST:COMM:SER:TRAN:PACE XON
Reset Condition
On reset, pacing is unaffected.
Query
SYSTem:COMMunicate:SERial:TRANsmit:PACE?
The query returns XON if the handshake is enabled and NONE if the handshake is
disabled.
Query Example
SYST:COMM:SER:TRAN:PACE?
11-22
SYSTem Subsystem
SYSTem:COMMunicate:SERial:TRANsmit:PARity[:TYPE] EVEN|ODD|ZERO|ONE|NONE
SYSTem:COMMunicate:SERial:TRANsmit:PARity[:TYPE] EVEN|ODD|ZERO|ONE|NONE
This command decides what type of parity checking (if any) will take place on
received data and also decides what parity (if any) will be included with transmitted
data. The following choices are available and can be set using either this command or
the equivalent [:RECeive]:PARity[:TYPE] command.
Parity Type
Description
EVEN
ODD
ZERO
The receiver expects a parity bit. All data received has the
parity checked and if it is not a logic low an error will be
generated. Transmitted data includes a parity bit that is
always set low (stick 0 parity).
ONE
The receiver expects a parity bit. All data received has the
parity checked and if it is not a logic high an error will be
generated. Transmitted data includes a parity bit that is
always set high (stick 1 parity).
NONE
11-23
SYSTem Subsystem
SYSTem:COMMunicate:SERial:TRANsmit:PARity[:TYPE] EVEN|ODD|ZERO|ONE|NONE
Syntax
SYST
:COMM
:SER
:TRAN
:TYPE
:PAR
Space
EVEN
ODD
ZERO
ONE
NONE
Example
SYST:COMM:SER:TRAN:PAR ODD
Reset Condition
On reset, the parity selection is unaffected.
Query
SYSTem:COMMunicate:SERial:TRANsmit:PARity[:TYPE]?
The query returns the current setting of the transmit/receive parity type (EVEN, ODD,
ZERO, ONE or NONE).
Query Example
SYST:COMM:SER:TRAN:PAR?
11-24
SYSTem Subsystem
SYSTem:COMMunicate:SERial:TRANsmit:SBITs <numeric_value>
SYSTem:COMMunicate:SERial:TRANsmit:SBITs <numeric_value>
This command sets the number of stop bits expected by the receiver on received data
and the number of stop bits included by the transmitter in transmitted data.
Syntax
SYST
:COMM
:SER
:TRAN
:SBIT
Space
numeric_value
Parameters
Item
Description/Default
Range of Values
numeric_value
1 or 2
Example
SYST:COMM:SER:TRAN:SBIT 2
Reset Condition
On reset, the number of stop bits is unaffected.
Query
SYSTem:COMMunicate:SERial:TRANsmit:SBITs?
The query returns the current setting of the transmit/receive stop bits.
Query Example
SYST:COMM:SER:TRAN:SBIT?
11-25
SYSTem Subsystem
SYSTem:HELP:HEADers?
SYSTem:HELP:HEADers?
This query returns a list of all SCPI commands supported by the instrument.
Data is returned in IEEE 488.2 arbitrary block program data format as follows:
#xyyy..yddd................ddd<LF>
The number of data bytes (d)
contained in the block.
Data bytes
:HELP
:HEAD
Example
SYST:HELP:HEAD?
11-26
SYSTem Subsystem
SYStem:LOCal
SYStem:LOCal
This command unlocks the front panel keypad and enables the power meter to be
controlled locally from the front panel. The power meter display status reporting line
will show LCL.
Syntax
SYST
:LOC
Example
SYST:LOC
Error Messages
If this command is sent when the GPIB interface is selected, the error -113,
Undefined header occurs.
11-27
SYSTem Subsystem
SYSTem:PRESet <character_data>
SYSTem:PRESet <character_data>
This command presets the power meter to values appropriate for measuring the
communications format specified by <character_data>. The power meter is
preset to default values if no value or if the value DEFault is supplied.
Note
Syntax
SYST
11-28
:PRES
Space
character_data
SYSTem Subsystem
SYSTem:PRESet <character_data>
Parameters
Item
Description/Default
Range of Values
character_data
DEfault
GSM900
EDGE
NADC
BLUetooth
CDMAone
WCDMA
CDMA2000
IDEN
Example
SYST:PRES DEF
Error messages
If a non-E-Series power sensor or N8480 Series power sensor with Option CFT is
connected, the command can be used to set the power meter to Default settings.
When non-of the connected sensors is E9320 sensor, attempts to set the power
meter to any of the other settings result in error -241 Hardware missing: E9320
Series sensor required occurring.
If BLUetooth or CDMAone is selected and an E9322/6A (1.5 MHz bandwidth) or
E9323/7A (5 MHz bandwidth) power sensor is not connected, error -241
Hardware missing: Higher bandwidth E9320 sensor required on channel X.
Measurements on channel X may be inaccurate occurs.
If WCDMA or CDMA2000 is selected and an E9323/7A (5 MHz bandwidth)
power sensor is not connected, error -241 Hardware missing: Higher bandwidth
E9320 sensor required on channel X. Measurements on channel X may be
inaccurate occurs.
If two E9320 power sensors are connected to a dual channel power meter and only
one is of sufficient bandwidth to support the selected format, error -241 Hardware
missing: Higher bandwidth E9320 sensor required on channel X. Measurements on
channel X may be inaccurate occurs.
11-29
SYSTem Subsystem
SYSTem:PRESet <character_data>
Preset Values
DEFault
The following table shows the power meter presets when <character_data> is
set to DEFault or omitted. Values are shown for all SCPI commands:
Table 0-1: DEFault: Power Meter Presets
Command
Setting
CALC[1]|2|3|4:FEED[1]|2
POW:AVER
CALC[1]|2|3|4:GAIN[:MAGN]
CALC[1]|2|3|4:GAIN:STAT
CALC[1]|2|3|4:LIM:CLE:AUTO
CALC[1]|2|3|4:LIM:LOW[:DATA]
CALC[1]|2|3|4:LIM:STAT
CALC[1]|2|3|4:LIM:UPP[:DATA]
CALC[1]|2|3|4:MATH[:EXPR]
0.000 dB
OFF
ON
-90 dBm
OFF
+90 dBm
Agilent E4416A:
Upper - channel A
Lower - channel A
CALC[1]|2|3|4:REL[:MAGN]:AUTO
CALC[1]|2|3|4:REL:STAT
CAL[1]|2:ECON:STAT
Agilent E4417A
Upper - channel A
Lower - channel B
OFF
OFF
OFF
CAL[1]|2:RCAL
CAL[1]|2:RCF
DISP:CONT
DISP:ENAB
DISP:SCR:FORM
DISP[:WIND[1]|2]:ANAL:LOW
DISP[:WIND[1]|2]:ANAL:UPP
not affected
100.0%
not affected
ON
WIND
-70 dBm
20 dBm
11-30
Comments
Select average measurement
type
Display offset value
Display offset disabled
Clear limit data at INIT
Lower limit
Window limits checking disabled
Math expression
SYSTem Subsystem
SYSTem:PRESet <character_data>
Setting
Command
DISP[:WIND[1]|2]:FORM
DISP[:WIND[1]|2]:MET:LOW
DISP[:WIND[1]|2]:MET:UPP
DISP[:WIND[1]|2|][:NUM[1]|2]
:RES
DISP[:WIND[1]|2]:SEL[1]|2
DISP[:WIND[1]|2][:STAT]
Agilent E4416A:
Upper - digital
Lower - analog
Agilent E4417A
Upper - digital
Lower - digital
-70.000 dBm
+20.000 dBm
3
Display format
DISP[:WIND[1]|2]:TRAC:LOW
DISP[:WIND[1]|2]:TRAC:UPP
FORM[:READ]:BORD
FORM[:READ][:DATA]
INIT[1]|2:CONT
DEF
DEF
normal
ascii
*RST: OFF
SYS:PRES ON
MEM:TABL:SEL
OUTP:REC[1]|2:FEED
OUTP:REC[1]|2:LIM:LOW
OUTP:REC[1]|2:LIM:UPP
OUTP:ROSC:STAT
OUTP:TRIG:STAT
OUTP:TTL[1]|2:ACT
not affected
not affected
-150 dBm
20 dBm
OFF
OFF
LOW
Window selected
Both windows enabled on
display
Maximum power
Minimum power
Binary order
Data format
Power Meter in idle state
Power Meter in wait for trigger
state
Active sensor calibration table
Previous measurement
Minimum scaling value
Maximum scaling value
50 MHz reference disabled
Trigger output signal disabled
TTL output active low
OUTP:TTL[1]|2:FEED
CALC[1]|2|3
|4:LIM:UPP
OFF
4
ON
1
ON
4
ON
OUTP:TTL[1]|2:STAT
[SENS[1]]|SENS2:AVER:COUN
[SENS[1]]|SENS2:AVER:COUN:AUTO
[SENS[1]]|SENS2:AVER:SDET
[SENS[1]]|SENS2:AVER[:STAT]
[SENS[1]]|SENS2:AVER2:COUN
[SENS[1]]|SENS2:AVER2[:STAT]
upper window
ON
Comments
11-31
SYSTem Subsystem
SYSTem:PRESet <character_data>
Setting
Command
Comments
[SENS[1]]|SENS2:BAND|BWID:VID
OFF
[SENS[1]]|SENS2:CORR:CFAC|
GAIN[1][:INPut][:MAGNitude]
[SENS[1]]|SENS2:CORR:CSET[1]|
CSET2[:SEL]
[SENS[1]]|SENS2:CORR:CSET[1]|
CSET2:STAT
[SENS[1]]|SENS2:CORR:DCYC|GAIN3
[:INP][:MAGN]
[SENS[1]]|SENS2:CORR:DCYC|GAIN3
:STAT
[SENS[1]]|SENS2:CORR:FDOF|GAIN4
[:INP][:MAGN]
[SENS[1]]|SENS2:CORR:GAIN2:STAT
[SENS[1]]|SENS2:CORR:GAIN2:STAT
[:INPut][:MAGNitude]
[SENS[1]]|SENS2:DET:FUNC
[SENS[1]]|SENS2:FREQ[:CW|:FIX]
[SENSe[1]]|SENS2:MRAT
[SENS[1]]|SENS2:POW:AC:RANG
[SENS[1]]|SENS2:POW:AC:RANG:
AUTO
[SENS[1]]|SENS2:SPE
100.0%
not affected
not affected
1.000%
OFF
not affected
OFF
0.0 dB
NORM
+50.000 MHz
NORM
upper
ON
Measurement mode
Frequency setting
Measurement speed
Upper range selected
Auto-ranging selected
20 readings/
second
0
Speed
Gate 1: 100 us
Other gates: 0 sec
0
100 us
ATYP
not affected
not affected
not affected
not affected
not affected
Duration of trace
Select linearity correction
Power meter address
DTR signal line
RTS signal line
Baud rate
Word length
[SENS[1]]|SENS2:SWE[1]|2|3|4
:OFFS:TIME
[SENS[1]]|SENS2:SWE[1]|2|3|4
:TIME
[SENS[1]]|SENS2:TRACe:OFFSet:
TIME
[SENS[1]]|SENS2:TRACe:TIME
[SENS[1]]|SENS2:V2P
SYST:GPIB[:SELF]ADDR
SYST:COMM:SER:CONT:DTR
SYST:COMM:SER:CONT:RTS
SYST:COMM:SER[:REC]:BAUD
SYST:COMM:SER[:REC]:BITs
11-32
Set delay
Delay
SYSTem Subsystem
SYSTem:PRESet <character_data>
Setting
Command
Comments
SYST:COMM:SER[:REC]:PACE
SYST:COMM:SER[:REC]:
PAR[:TYPE]
SYST:COMM:SER[:REC]:SBIT
SYST:COMM:SER:TRAN:BAUD
SYST:COMM:SER:TRAN:BITs
SYST:COMM:SER:TRAN:ECHO
SYST:COMM:SER:TRAN:PACE
SYST:COMM:SER:TRAN:
PAR[:TYPE]
SYST:COMM:SER:TRAN:SBIT
TRAC[1]|2:STAT
TRAC[1]|2:UNIT
TRIG[1]|2:DEL:AUTO
TRIG[:SEQ]:DEL
not affected
not affected
not affected
not affected
not affected
not affected
not affected
not affected
not affected
OFF
dBm
ON
0
TRIG[:SEQ]:HOLD
TRIG[:SEQ]:HYST
1 us
0 db
TRIG[:SEQ]:LEV
TRIG[:SEQ]:LEV:AUTO
0 db
ON
TRIG[:SEQ]:SLOP
POS
TRIG[:SEQ[1]|2]:COUN
TRIG[:SEQ[1]|2]:DEL:AUTO
TRIG[:SEQ[1]|2]:SOUR
UNIT:POW
UNIT:POW:RAT
ON
IMM
dBm
dB
11-33
SYSTem Subsystem
SYSTem:PRESet <character_data>
GSM900
The following table shows the power meter presets when <character_data> is
set to GSM900.
The GSM900 set-up provides the following:
Command
Frequency
[SENS[1]]|SENS2:FREQ[:CW|:FIX]
Sensor measurement mode
[SENS[1]]|SENS2:DET:FUNC
Sensor video bandwidth setup
[SENS[1]]|SENS2:BAND|BWID:VID
Gate setup
[SENS[1]]|SENS2:SWE[1]|2|3|4
:OFF:TIME
[SENS[1]]|SENS2:SWE[1]|2|3|4
:TIME
Trigger setup
TRIG[:SEQ[1]|2]:SOUR
INIT:CONT
+900.000 MHz
Frequency setting
NORM
Measurement mode
E9321A/25A: HIGH
E9322A/26A: MED
E9323A/27A: LOW
Gate 1: 20 us
Gates 2 - 4: 0
Gate 1: 520 us
Gates 2 - 4: 0
INT1
ON
TRIG[:SEQ]:LEV:AUTO
OFF
TRIG[:SEQ]:LEV
TRIG[:SEQ]:SLOP
-20 dBm
POS
11-34
Comments
SYSTem Subsystem
SYSTem:PRESet <character_data>
Setting
Command
Comments
TRIG[:SEQ]:DEL
20 us
TRIG[:SEQ]:HOLD
4275 us
+20 dBm
-35 dBm
-40 us
Maximum power
Minimum power
Delay between delayed trigger
point and the start of the trace
Length of the trace
Step detection
[SENSe[1]]|SENS2:AVER:SDET
Trace setup
DISP[:WIND[1]|2]:TRAC:LOW
DISP[:WIND[1]|2]:TRAC:UPP
[SENS[1]]|SENS2:TRAC:OFFS
:TIME <numeric_value>
[SENS[1]]|SENS2:TRAC:TIME
<numeric_value>
700 us
Function
No Sensor
Display setup
Upper window
Channel A trace
Lower window
LU single numeric
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Gate 1 Channel A
Window/measurement setup
Upper window/upper measurement (UU)
Feed
Measurement
Upper window/lower measurement (UL)
Feed
Measurement
Lower window/upper measurement (LU)
Feed
Measurement
Avg
DEF
DEF
1. For further information refer to Primary and secondary channels, on page 11-28.
11-35
SYSTem Subsystem
SYSTem:PRESet <character_data>
Table 0-4: GSM900: Power Meter Presets For Secondary Channel Sensors
Secondary Channel Sensor
Function
No Sensor
Display setup
Lower window
LU single numeric
Lower window/lower measurement (LL)
Feed
DEF
Measurement
DEF
E9320 Sensor
Dual numeric
Dual numeric
Secondary channel1
Gate1 secondary
channel1 (channel B)
Avg
Avg
1. For further information refer to Primary and secondary channels, on page 11-28.
11-36
SYSTem Subsystem
SYSTem:PRESet <character_data>
EDGE
EDGE (Enhanced Data for Global Evolution or Enhanced Data for GSM Evolution)
is an enhancement of the GSM standard. Whereas the GSM modulation scheme is
GMSK which has constant amplitude, the EDGE modulation scheme is 8PSK which
has variable amplitude.
The EDGE set-up provides:
11-37
SYSTem Subsystem
SYSTem:PRESet <character_data>
Command
Frequency
[SENS[1]]|SENS2:FREQ[:CW|:FIX]
Sensor measurement mode
[SENS[1]]|SENS2:DET:FUNC
Sensor video bandwidth setup
Comments
+900.000 MHz
Frequency setting
NORM
Measurement mode
E9321A/25A: HIGH
E9322A/26A: MED
E9323A/27A: LOW
Gate setup
[SENS[1]]|SENS2:SWE[1]|2|3|4
:OFF:TIME
[SENS[1]]|SENS2:SWE[1]|2|3|4
:TIME
Gate 1: 20 us
Gates 2 - 4: 0
Gate 1: 520 us
Gates 2 - 4: 0
Trigger setup
TRIGger[:SEQuence[1]|2]:SOUR
INIT:CONT
INT1
ON
TRIG[:SEQ]:LEV:AUTO
OFF
TRIG[:SEQ]:LEV
TRIG[:SEQ]:SLOP
-20 dBm
POS
TRIG[:SEQ]:DEL
TRIG[:SEQ]:HOLD
4275 us
+20 dBm
-35 dBm
-40 us
Maximum power
Minimum power
Delay between delayed trigger
point and the start of the trace
Length of the trace
[SENS[1]]|SENS2:BAND|BWID:VID
Step detection
[SENSe[1]]|SENS2:AVER:SDET
Trace setup
DISP[:WIND[1]|2]:TRAC:LOW
DISP[:WIND[1]|2]:TRAC:UPP
[SENS[1]]|SENS2:TRAC:OFFS
:TIME <numeric_value>
[SENS[1]]|SENS2:TRAC:TIME
<numeric_value>
11-38
700 us
SYSTem Subsystem
SYSTem:PRESet <character_data>
Function
No Sensor
Display setup
Upper window
Channel A trace
Lower window
Dual numeric
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Gate 1 Channel A
Window/measurement setup
Upper window/upper measurement (UU)
Feed
Measurement
Upper window/lower measurement (UL)
Feed
Measurement
Lower window/upper measurement (LU)
Feed
Measurement
Avg
Gate 1 Channel A
Peak to avg
1. For further information refer to Primary and secondary channels, on page 11-28.
Table 0-7: EDGE: Power Meter Presets For Secondary Channel Sensors
Function
Display setup
Lower window
Dual numeric
Lower window/lower measurement (LL)
Feed
Gate 1 primary channel1
Measurement
Peak to avg
E9320 Sensor
Dual numeric
Dual numeric
Secondary channel1
Gate1 secondary
channel1 (channel B)
Avg
Avg
1. For further information refer to Primary and secondary channels, on page 11-28.
11-39
SYSTem Subsystem
SYSTem:PRESet <character_data>
NADC
The NADC set-up provides:
The measurement is started by detecting the RF burstfor example the burst emitted
by a mobileusing the internal RF level trigger. The internal level trigger is set to
20dBm. Time-gating is used to measure the average power in two active timeslots
which are separated by two inactive timeslots
The following table shows the power meter presets when <character_data> is
set to NADC. Commands not listed are preset according to their DEFault values (for
further information refer to Table 11-1):
Table 0-8: NADC: Power Meter Presets
Setting
Command
Frequency
[SENS[1]]|SENS2:FREQ[:CW|:FIX]
Sensor measurement mode
[SENS[1]]|SENS2:DET:FUNC
Sensor video bandwidth setup
[SENS[1]]|SENS2:BAND|BWID:VID
Comments
+800.000 MHz
Frequency setting
NORM
Measurement mode
E9321A/25A: OFF
E9322A/26A: OFF
E9323A/27A: OFF
Gate setup
11-40
SYSTem Subsystem
SYSTem:PRESet <character_data>
Setting
Command
Comments
Delay between trigger point
and time gated period.
[SENS[1]]|SENS2:SWE[1]|2|3|4
:TIME
Gate 1: 123.5 us
Gate 2: 20.123 ms
Gates 3 - 4: 0
Gates 1 - 2: 6.46 ms
Gates 3 - 4: 0
Trigger setup
TRIG[:SEQ[1]|2]:SOUR
INIT:CONT
INT1
ON
TRIG[:SEQ]:LEV:AUTO
OFF
TRIG[:SEQ]:LEV
TRIG[:SEQ]:SLOP
-20 dBm
POS
TRIG[:SEQ]:DEL
TRIG[:SEQ]:HOLD
30 ms
+20 dBm
-35 dBm
-0.2 ms
Maximum power
Minimum power
Delay between delayed trigger
point and the start of the trace
Length of the trace
[SENS[1]]|SENS2:SWE[1]|2|3|4
:OFF:TIME
Step detection
[SENS[1]]|SENS2:AVER:SDET
Trace setup
DISP[:WIND[1]|2]:TRAC:LOW
DISP[:WIND[1]|2]:TRAC:UPP
[SENS[1]]|SENS2:TRAC:OFFS
:TIME <numeric_value>
[SENS[1]]|SENS2:TRAC:TIME
<numeric_value>
-28 ms
11-41
SYSTem Subsystem
SYSTem:PRESet <character_data>
Function
No Sensor
Display setup
Upper window
Channel A trace
Lower window
Dual numeric
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Gate 1 Channel A
Window/measurement setup
Upper window/upper measurement (UU)
Feed
Measurement
Upper window/lower measurement (UL)
Feed
Measurement
Lower window/upper measurement (LU)
Feed
Measurement
Avg
Gate 2 Channel A
Avg
1. For further information refer to Primary and secondary channels, on page 11-28.
Table 0-10: NADC: Power Meter Presets For Secondary Channel Sensors
Secondary Channel Sensor
Function
No Sensor
Display setup
Lower window
Dual numeric
Lower window/lower measurement (LL)
Feed
Gate 2 primary channel1
Measurement
Avg
E9320 Sensor
Dual numeric
Dual numeric
Secondary channel1
Gate1 secondary
channel1 (channel B)
Avg
Avg
1. For further information refer to Primary and secondary channels, on page 11-28.
11-42
SYSTem Subsystem
SYSTem:PRESet <character_data>
BLUetooth
The Bluetooth set-up provides:
The measurement is started by detecting the Bluetooth RF burst using the internal RF
level trigger. The internal trigger is set to 20dBm. Time-gating is used to measure
the peak and average power in a single Bluetooth DHI data burst which lasts for
366us. The DHI burst does not occupy a full Bluetooth timeslot, which lasts for
625us.
The following table shows the power meter presets when <character_data> is
set to BLUetooth. Commands not listed are preset according to their DEFault
values (for further information refer to Table 11-1):
11-43
SYSTem Subsystem
SYSTem:PRESet <character_data>
Command
Frequency
[SENS[1]]|SENS2:FREQ[:CW|:FIX]
Sensor measurement mode
[SENS[1]]|SENS2:DET:FUNC
Sensor video bandwidth setup
[SENS[1]]|SENS2:BAND|BWID:VID
Gate setup
[SENS[1]]|SENS2:SWE[1]|2|3|4
:OFF:TIME
[SENS[1]]|SENS2:SWE[1]|2|3|4
:TIME
Trigger setup
TRIGger[:SEQuence[1]|2]:SOUR
INIT:CONT
Comments
+2400.000 MHz
Frequency setting
NORM
Measurement mode
E9321A/25A: DEF
E9322A/26A: HIGH
E9323A/27A: MEDium
Gate 1: 0.2 us
Gates 2 - 4: 0
Gate 1: 366 us
Gates 2 - 4: 0
INT1
ON
TRIG[:SEQ]:LEV:AUTO
OFF
TRIG[:SEQ]:LEV
TRIG[:SEQ]:SLOP
-20 dBm
POS
TRIG[:SEQ]:DEL
TRIG[:SEQ]:HOLD
650 us
+20 dBm
-35 dBm
-50 us
Maximum power
Minimum power
Delay between delayed
trigger point and the start of
the trace
Length of the trace
Step detection
[SENSe[1]]|SENS2:AVER:SDET
Trace setup
DISP[:WIND[1]|2]:TRAC:LOW
DISP[:WIND[1]|2]:TRAC:UPP
[SENS[1]]|SENS2:TRAC:OFF
:TIME <numeric_value>
[SENS[1]]|SENS2:TRAC:TIME
<numeric_value>
11-44
3.8 ms
SYSTem Subsystem
SYSTem:PRESet <character_data>
Function
No Sensor
Display setup
Upper window
Channel A trace
Lower window
Dual numeric
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Gate 1 Channel A
Window/measurement setup
Upper window/upper measurement (UU)
Feed
Measurement
Upper window/lower measurement (UL)
Feed
Measurement
Lower window/upper measurement (LU)
Feed
Measurement
Avg
Gate 1 Channel A
Peak
1. For further information refer to Primary and secondary channels, on page 11-28.
Table 0-13: BLUetooth: Power Meter Presets For Secondary Channel Sensors
Secondary Channel Sensor
Function
No Sensor
Display setup
Lower window
Dual numeric
Lower window/lower measurement (LL)
Feed
Gate 1 primary channel1
Measurement
Peak
E9320 Sensor
Dual numeric
Dual numeric
Secondary channel1
Gate1 secondary
channel1 (channel B)
Avg
Avg
1. For further information refer to Primary and secondary channels, on page 11-28.
11-45
SYSTem Subsystem
SYSTem:PRESet <character_data>
CDMAone
The cdmaOne set-up provides:
Command
Frequency
[SENS[1]]|SENS2:FREQ[:CW|:FIX]
Sensor measurement mode
[SENS[1]]|SENS2:DET:FUNC
Sensor video bandwidth setup
[SENS[1]]|SENS2:BAND|BWID:VID
Gate setup
[SENS[1]]|SENS2:SWE[1]|2|3|4
:OFF:TIME
[SENS[1]]|SENS2:SWE[1]|2|3|4
:TIME
Comments
+850.000 MHz
Frequency setting
NORM
Measurement mode
E9321A/25A: DEF
E9322A/26A: HIGH
E9323A/27A: MEDium
Gates 1 - 4: 0
Gate 1: 10 ms
Gates 2 - 4: 0
Trigger setup
11-46
SYSTem Subsystem
SYSTem:PRESet <character_data>
Setting
Command
Comments
TRIGger[:SEQuence[1]|2]:SOUR
INIT:CONT
INT1
ON
TRIG[:SEQ]:LEV:AUTO
ON
TRIG[:SEQ]:LEV
TRIG[:SEQ]:SLOP
Automatically
determined by power
meter
POS
TRIG[:SEQ]:DEL
TRIG[:SEQ]:HOLD
MIN
Step detection
[SENSe[1]]|SENS2:AVER:SDET
Function
Display setup
Upper window
Lower window
Window/measurement setup
Upper window/upper measurement (UU)
Feed
No Sensor
UU single numeric
Dual numeric
Gate 1 channel A
Avg
DEF
DEF
Gate 1 Channel A
Measurement
Peak
Gate 1 Channel A
Measurement
11-47
SYSTem Subsystem
SYSTem:PRESet <character_data>
Setting
Function
No Sensor
Measurement
Peak to avg
1. For further information refer to Primary and secondary channels, on page 11-28.
Table 0-16: CDMAone: Power Meter Presets For Secondary Channel Sensors
Secondary Channel Sensor
Function
No Sensor
Display setup
Upper window
UU single numeric
Lower window
Dual numeric
Upper window/lower measurement (UL)
Feed
DEF
Measurement
DEF
Dual numeric
Dual numeric
Gate 1 primary
channel1 (channel A)
Peak
Peak
Measurement
Peak to avg
Peak
Secondary channel1
Measurement
Avg
Peak to avg
E9320 Sensor
Gate 1 secondary
channel1 (channel B)
Avg
Gate1 secondary
channel1 (channel B)
Peak to avg
1. For further information refer to Primary and secondary channels, on page 11-28.
11-48
SYSTem Subsystem
SYSTem:PRESet <character_data>
WCDMA
The W-CDMA set-up provides:
Command
Frequency
[SENS[1]]|SENS2:FREQ[:CW|:FIX]
Sensor measurement mode
[SENS[1]]|SENS2:DET:FUNC
Sensor video bandwidth setup
[SENS[1]]|SENS2:BAND|BWID:VID
Gate setup
[SENS[1]]|SENS2:SWE[1]|2|3|4
:OFF:TIME
[SENS[1]]|SENS2:SWE[1]|2|3|4
:TIME
Comments
+1900.000 MHz
Frequency setting
NORM
Measurement mode
E9321A/25A: DEF
E9322A/26A: DEF
E9323A/27A: HIGH
Gates 1 -4: 0
Gate 1: 10 ms
Gates 2 - 4: 0
Trigger setup
Agilent E4416A/E4417A Programming Guide
11-49
SYSTem Subsystem
SYSTem:PRESet <character_data>
Setting
Command
Comments
TRIGger[:SEQuence[1]|2]:SOUR
INIT:CONT
INT1
ON
TRIG[:SEQ]:LEV:AUTO
ON
TRIG[:SEQ]:LEV
TRIG[:SEQ]:SLOP
Automatically
determined by power
meter
POS
TRIG[:SEQ]:DEL
TRIG[:SEQ]:HOLD
MIN
Step detection
[SENSe[1]]|SENS2:AVER:SDET
Function
Display setup
Upper window
Lower window
Window/measurement setup
Upper window/upper measurement (UU)
Feed
No Sensor
UU single numeric
Dual numeric
Gate 1 channel A
Avg
DEF
DEF
Gate 1 Channel A
Measurement
Peak
Gate 1 Channel A
Measurement
11-50
SYSTem Subsystem
SYSTem:PRESet <character_data>
Setting
Function
No Sensor
Measurement
Peak to avg
1. For further information refer to Primary and secondary channels, on page 11-28.
Table 0-19: WCDMA: Power Meter Presets For Secondary Channel Sensors
Secondary Channel Sensor
Function
No Sensor
Display setup
Upper window
UU single numeric
Lower window
Dual numeric
Upper window/lower measurement (UL)
Feed
DEF
Measurement
DEF
Dual numeric
Dual numeric
Gate 1 primary
channel1 (channel A)
Peak
Peak
Measurement
Peak to avg
Peak
Secondary channel1
Measurement
Avg
Peak to avg
E9320 Sensor
Gate 1 secondary
channel1 (channel B)
Avg
Gate1 secondary
channel1 (channel B)
Peak to avg
1. For further information refer to Primary and secondary channels, on page 11-28.
11-51
SYSTem Subsystem
SYSTem:PRESet <character_data>
CDMA2000
The cdma2000 set-up provides:
Command
Frequency
[SENS[1]]|SENS2:FREQ[:CW|:FIX]
Sensor measurement mode
[SENS[1]]|SENS2:DET:FUNC
Sensor video bandwidth setup
[SENS[1]]|SENS2:BAND|BWID:VID
Gate setup
[SENS[1]]|SENS2:SWE[1]|2|3|4
:OFF:TIME
[SENS[1]]|SENS2:SWE[1]|2|3|4
:TIME
Comments
+1900.000 MHz
Frequency setting
NORM
Measurement mode
E9321A/25A: DEF
E9322A/26A: DEF
E9323A/27A: HIGH
Gates 1 - 4: 0
Gate 1: 10 ms
Gates 2 - 4: 0
Trigger setup
11-52
SYSTem Subsystem
SYSTem:PRESet <character_data>
Setting
Command
Comments
TRIGger[:SEQuence[1]|2]:SOUR
INIT:CONT
INT1
ON
TRIG[:SEQ]:LEV:AUTO
ON
TRIG[:SEQ]:LEV
TRIG[:SEQ]:SLOP
Automatically
determined by power
meter
POS
TRIG[:SEQ]:DEL
TRIG[:SEQ]:HOLD
MIN
Step detection
[SENSe[1]]|SENS2:AVER:SDET
Function
Display setup
Upper window
Lower window
Window/measurement setup
Upper window/upper measurement (UU)
Feed
Measurement
No Sensor
UU single numeric
Dual numeric
UU single numeric
See Table 0-22
Gate 1 channel A
Avg
DEF
DEF
DEF
DEF
Gate 1 Channel A
Measurement
Peak
Gate 1 Channel A
11-53
SYSTem Subsystem
SYSTem:PRESet <character_data>
Setting
Function
No Sensor
Measurement
Peak to avg
1. For further information refer to Primary and secondary channels, on page 11-28.
Table 0-22: CDMA2000: Power Meter Presets For Secondary Channel Sensors
Secondary Channel Sensor
Function
No Sensor
Display setup
Upper window
UU single numeric
Lower window
Dual numeric
Upper window/lower measurement (UL)
Feed
DEF
Measurement
DEF
Dual numeric
Dual numeric
Gate 1 primary
channel1 (channel A)
Peak
Peak
Measurement
Peak to avg
Peak
Secondary channel1
Measurement
Avg
Peak to avg
E9320 Sensor
Gate 1 secondary
channel1 (channel B)
Avg
Gate1 secondary
channel1 (channel B)
Peak to avg
1. For further information refer to Primary and secondary channels, on page 11-28.
11-54
SYSTem Subsystem
SYSTem:PRESet <character_data>
IDEN
The iDEN set-up provides:
The measurement is started by detecting the iDEN training burstfor example the
burst emitted by a mobileusing the internal RF level trigger. Time gating is used to
measure the average power in the following 15ms (data pulse). Gate 1 is used to
measure this data pulse. The 90ms frame is also captured to measure the average
power in the entire frame. Gate 2 is used to measure the 90ms frame.
The following table shows the power meter presets when <character_data> is
set to IDEN. Commands not listed are preset according to their DEFault values
(for further information refer to Table 11-1):
Table 0-23: iDEN: Power Meter Presets
Setting
Command
Frequency
[SENS[1]]|SENS2:FREQ[:CW|:FIX]
Sensor measurement mode
[SENS[1]]|SENS2:DET:FUNC
Sensor video bandwidth setup
Comments
+800.000 MHz
Frequency setting
NORM
Measurement mode
E9321A/25A: OFF
E9322A/26A: OFF
E9323A/27A: OFF
Gate 1: 10 us
Gates 2 - 4: 0
Gate 1: 15 ms
Gate 2: 90 ms
Gates 3 - 4: 0
Trigger setup
TRIG[:SEQ[1]|2]:SOUR
INIT:CONT
INT1
ON
TRIG[:SEQ]:LEV:AUTO
OFF
TRIG[:SEQ]:LEV
-20 dBm
[SENS[1]]|SENS2:BAND|BWID:VID
Gate setup
[SENS[1]]|SENS2:SWE[1]|2|3|4
:OFF:TIME
[SENS[1]]|SENS2:SWE[1]|2|3|4
:TIME
11-55
SYSTem Subsystem
SYSTem:PRESet <character_data>
Setting
Command
Comments
TRIG[:SEQ]:SLOP
POS
TRIG[:SEQ]:DEL
TRIG[:SEQ]:HOLD
20 ms
Step detection
[SENSe[1]]|SENS2:AVER:SDET
Function
Display setup
Upper window
Lower window
Window/measurement setup
Upper window/upper measurement (UU)
Feed
No Sensor
UU single numeric
Dual numeric
Gate 1 channel A
Avg
DEF
DEF
Gate 1 Channel A
Measurement
Peak to avg
Gate 2 Channel A
Avg
Measurement
1. For further information refer to Primary and secondary channels, on page 11-28.
11-56
SYSTem Subsystem
SYSTem:PRESet <character_data>
Table 0-25: iDEN: Power Meter Presets For Secondary Channel Sensors
Secondary Channel Sensor
Function
No Sensor
Display setup
Upper window
UU single numeric
Lower window
Dual numeric
Upper window/lower measurement (UL)
Feed
DEF
Measurement
DEF
Dual numeric
Dual numeric
Gate 1 primary
channel1 (channel A)
Peak to Avg
Peak to Avg
Measurement
Avg
Peak to avg
Secondary channel1
Measurement
Avg
Avg
E9320 Sensor
Gate 1 secondary
channel1 (channel B)
Avg
Gate1 secondary
channel1 (channel B)
Avg
1. For further information refer to Primary and secondary channels, on page 11-28.
11-57
SYSTem Subsystem
SYSTem:REMote
SYSTem:REMote
This command locks the power meter front panel keypad excepting the Local key.
The power meter display status reporting line will show RMT. Local front panel
operation of the power meter is inhibited but can be enabled by pressing the Local
key.
Syntax
SYST
:REM
Example
SYST:REM
Error Messages
If this command is sent when the GPIB interface is selected, the error -113,
Undefined header occurs.
11-58
SYSTem Subsystem
SYSTem:RINTerface GPIB|RS232|RS422
SYSTem:RINTerface GPIB|RS232|RS422
This command allows the remote control interface to be selected from GPIB, RS232,
and RS422.
Syntax
SYST
:RINT
Space
GPIB
RS232
RS422
Example
SYST:RINT RS232
Query
SYSTem:RINTerface?
The query returns the current setting of the remote control interface (GPIB, RS232,
or RS422).
Query Example
SYST:RINT?
11-59
SYSTem Subsystem
SYSTem:RWLock
SYSTem:RWLock
This command locks out the front panel keypad - including the front panel Local key.
The power meter display status reporting line will show RMT. In this state the
power meter cannot be returned to manual control from the front panel.
Syntax
SYST
:RWL
Example
SYST:RWL
Error Messages
If this command is sent when the GPIB interface is selected, the error -113,
Undefined header occurs.
11-60
SYSTem Subsystem
SYSTem:VERSion?
SYSTem:VERSion?
This query returns the version of SCPI used in the power meter. The response is in the
form of XXXX.Y, where XXXX is the year and Y is the version number.
Syntax
SYST
:VERS
Example
SYST:VERS?
11-61
SYSTem Subsystem
SYSTem:VERSion?
11-62
12
TRACe Subsystem
TRACe Subsystem
TRACe Subsystem
TRACe Subsystem
Note
Parameter Form
Notes
Page
TRACe[1]|2
[:DATA]?
:STATe
:UNIT
<character_data>
<boolean>
<character_data>
[query only]
page 12-3
page 12-5
page 12-6
12-2
TRACe Subsystem
TRACe[1]|2[:DATA]? <character_data>
TRACe[1]|2[:DATA]? <character_data>
This query returns trace data from the specified channel. The trace resolution is
determined by <character_data>.
Note
Data bytes
Syntax
TRAC
:DATA
Space
character_data
12-3
TRACe Subsystem
TRACe[1]|2[:DATA]? <character_data>
Parameters
Item
Description/Default
Range of Values
character_data
HRES
MRES
LRES
Example
TRAC:DATA? HRES
Error Messages
If TRAC:STAT is off, the error -221, Settings Conflict occurs.
12-4
TRACe Subsystem
TRACe[1]|2:STATe <boolean>
TRACe[1]|2:STATe <boolean>
This command enables or disables trace capture for the specified channel.
Syntax
TRAC
:STAT
0|OFF
Space
1|ON
Example
TRAC2:STAT 1
Reset Condition
On reset trace capture is set to OFF.
Query
TRACe[1]|2:STATe?
The query command enters a 1 or 0 into the output buffer indicating whether or not
trace capture is enabled or disabled.
Query Example
TRAC1:STAT?
Error Messages
If an E-Series E9320 sensor is not connected, error -241, Hardware missing
occurs.
If an E-Series E9320 sensor is connected and set to AVERage mode rather than
NORMal mode, error 221, Settings conflict occurs.
12-5
TRACe Subsystem
TRACe[1]|2:UNIT <character_data>
TRACe[1]|2:UNIT <character_data>
This command sets the units for the trace for the specified channel
Note
This command is included for compatibility purposes only. It has the same
purpose as
[SENSe[1]]|SENSe2:TRACe:UNIT <character_data>
which should be used in preference.
Syntax
TRAC
Space
:UNIT
character_data
?
Parameters
Item
Description/Default
Range of Values
character_data
DBM: dBm.
DBM
W
W: Watts.
Example
TRAC2:UNIT W
Reset Condition
On reset the units are set to dBm.
Query
TRACe[1]|2:UNIT?
The query command returns the current value of character_data.
12-6
TRACe Subsystem
TRACe[1]|2:UNIT <character_data>
Query Example
TRAC2:UNIT?
12-7
TRACe Subsystem
TRACe[1]|2:UNIT <character_data>
12-8
13
TRIGger Subsystem
TRIGger Subsystem
TRIGger Subsystem
TRIGger Subsystem
The TRIGger subsystem is used to synchronize device actions with events. It
includes the ABORt, INITiate and TRIGger commands. These are all at the root
level in the command hierarchy but they are grouped here because of their close
functional relationship.
Keyword
Parameter Form
ABORt[1]|2
INITiate[1]|2
:CONTinuous
[:IMMediate]
INITiate
:CONTinuous
:ALL
:SEQuence[1]|2
[:IMMediate]
:ALL
:SEQuence[1]|2
TRIGger[1]|2
:DELay
:AUTO
[:IMMediate]
:SOURce
TRIGger
[:SEQuence]
:DELay
:HOLDoff
:HYSTeresis
:LEVel
:AUTO
:SLOPe
[:SEQuence[1]|2]
:COUNt
:DELay
:AUTO
:IMMediate
:SOURce
Notes
Page
[no query]
[non-SCPI]
page 13-3
<boolean>
[no query]
page 13-5
page 13-7
page 13-8
page 13-9
<boolean>
<boolean>
[no query]
[no query]
page 13-11
page 13-12
[no query]
page 13-14
page 13-16
page 13-17
<boolean>
BUS|EXTernal|HOLD|IMMediate
|INTernal[[1]|2]
<numeric_value>
<numeric_value>
<numeric_value>
<numeric_value>
<boolean>
<character_data>
page 13-17
page 13-21
page 13-23
page 13-25
page 13-27
page 13-29
<numeric_value>
page 13-31
<boolean>
[no query]
BUS|EXTernal|HOLD|IMMediate
|INTernal[[1]|2]
page 13-33
page 13-35
page 13-36
Many of the above commands contain a numeric which represents a channel number.
For example TRIGger1 and TRIGger2 represent channel A and channel B
respectively. Channel B commands cannot be used with the single channel 4416A
power meter and result in the error Header suffix out of range.
13-2
TRIGger Subsystem
ABORt[1]|2]
ABORt[1]|2]
This command removes the specified channel from the wait for trigger state and
places it in the idle state. It does not affect any other settings of the trigger system.
When the INITiate command is sent, the trigger system responds as it did before
ABORt was executed.
If INITiate:CONTinuous is ON, then after ABORt the specified channel
immediately goes into the wait for trigger state.
Syntax
ABOR
1
2
Example
ABOR
13-3
TRIGger Subsystem
INITiate Commands
INITiate Commands
Initiate commands allow you to place the power meter in the wait for trigger state.
The INITiate commands are overlapped, that is, the power meter can continue
parsing and executing subsequent commands while initiated. Refer to IEEE 488.2,
section 12 for further details. Note that the pending operation flag is set when the
power meter moves out of the idle state and is cleared when it re-enters the idle state.
The following commands are described in this section:
INITiate[1]|2:CONTinuous <boolean>
INITiate[1]|2[:IMMediate]
INITiate:CONTinuous:ALL <boolean>
INITiate:CONTinuous:SEQuence[1]|2 <boolean>
INITiate[:IMMediate]:ALL
INITiate[:IMMediate]:SEQuence[1]|2
13-4
TRIGger Subsystem
INITiate[1]|2:CONTinuous <boolean>
INITiate[1]|2:CONTinuous <boolean>
This command sets the power meter for either a single trigger cycle or continuous
trigger cycles. A trigger cycle means that the power meter exits the wait for trigger
state and starts a measurement.
When entering local mode, if TRIGger[:SEQuence[1]|2]:SOURce is set to
INT[[1]|2] or EXT, INITiate:CONTinuous is not changed. For other trigger
sources, INITiate:CONTinuous is set to ON.
If INITiate:CONTinuous is set to:
Note
OFF, the trigger system remains in the idle state until it is set to ON, or
INITiate:IMMediate is received. Once this trigger cycle is complete
the trigger system returns to the idle state.
ON, the trigger system is initiated and exits the idle state. On completion of
each trigger cycle, the trigger system immediately commences another
trigger cycle without entering the idle state.
Syntax
INIT
:CONT
Space
0|OFF
1|ON
Example
INIT2:CONT ON
Reset Condition
On reset (*RST), this command is set to OFF.
On preset (SYSTem:PRESet) and instrument power-up, when entering local mode,
if TRIGger[:SEQuence[1]|2]:SOURce is set to INT[[1]|2] or EXT,
13-5
TRIGger Subsystem
INITiate[1]|2:CONTinuous <boolean>
Query Example
INIT2:CONT?
13-6
TRIGger Subsystem
INITiate[1]|2[:IMMediate]
INITiate[1]|2[:IMMediate]
This command sets the power meter in the wait for trigger state. When a trigger is
received, the measurement is taken and the result placed in the power meter memory.
If TRIGger:SOURce is set to IMMediate the measurement begins as soon as
INITiate:IMMediate is executed.
Use FETCh? to transfer a measurement from memory to the output buffer. Refer to
FETCh[1]|2|3|4 Queries, on page 2-21 for further details.
Note
Syntax
INIT
:IMM
Example
INIT2:IMM
Error Messages
If the power meter is not in the idle state or INITiate:CONTinuous is ON, error
-213, INIT ignored occurs.
13-7
TRIGger Subsystem
INITiate:CONTinuous:ALL <boolean>
INITiate:CONTinuous:ALL <boolean>
Sets all trigger sequences to be continuously initiated.
If INITiate:CONTinuous:ALL is set to:
Syntax
INIT
:CONT
Space
:ALL
0|OFF
1|ON
?
Example
This command sets all trigger
sequences to be continuously initiated.
INIT:CONT:ALL ON
Reset Condition
On reset (*RST), this command is set to OFF.
On preset (SYSTem:PRESet) and instrument power-up, when entering local mode,
if TRIGger[:SEQuence[1]|2]:SOURce is set to INT[[1]|2] or EXT,
INITiate:CONTinuous is not changed. For other trigger sources,
INITiate:CONTinuous is set to ON.
Query
INITiate:CONTinuous:ALL?
The query enters a 1 or 0 into the output buffer.
Query Example
INIT:CONT:ALL?
13-8
TRIGger Subsystem
INITiate:CONTinuous:SEQuence[1]|2 <boolean>
INITiate:CONTinuous:SEQuence[1]|2 <boolean>
This command sets the power meter for either a single trigger cycle or continuous
trigger cycles. A trigger cycle means that the power meter exits the wait for trigger
state and starts a measurement. When entering local mode,
INITiate:CONTinuous is set to ON.
If INITiate:CONTinuous:SEQuence[1|2] <boolean> is set to:
Note
OFF, the trigger system remains in the idle state until it is set to ON, or
INITiate:IMMediate is received. Once this trigger cycle is complete
the trigger system returns to the idle state.
ON, the trigger system is initiated and exits the idle state. On completion of
each trigger cycle, the trigger system immediately commences another
trigger cycle without entering the idle state.
Syntax
INIT
:CONT
:SEQ
Space
0|OFF
1|ON
Example
INIT:CONT:SEQ2 ON
Reset Condition
On reset (*RST), this command is disabled.
On preset (SYSTem:PRESet) and instrument power-up, this command is enabled.
13-9
TRIGger Subsystem
INITiate:CONTinuous:SEQuence[1]|2 <boolean>
Query
INITiate[1]|2:CONTinuous:SEQuence?
The query enters a 1 or 0 into the output buffer.
Query Example
INIT2:CONT:SEQ?
13-10
TRIGger Subsystem
INITiate[:IMMediate]:ALL
INITiate[:IMMediate]:ALL
This command initiates all trigger sequences.
Syntax
INIT
:IMM
:ALL
Example
INIT:IMM:ALL
Error Messages
If the power meter is not in the idle state or INITiate:CONTinuous is ON, error
-213, INIT ignored occurs.
13-11
TRIGger Subsystem
INITiate[:IMMediate]:SEQuence[1]|2
INITiate[:IMMediate]:SEQuence[1]|2
This command sets the power meter in the wait for trigger state. When a trigger is
received, the measurement is taken and the result placed in the power meter memory.
If TRIGger:SOURce is set to IMMediate the measurement begins as soon as
INITiate:IMMediate is executed.
Use FETCh? to transfer a measurement from memory to the output buffer. Refer to
FETCh1|2|3|4 in chapter 2 for further information.
Note
Syntax
INIT
:IMM
:SEQ
1
2
Example
INIT:IMM:SEQ1
Error Messages
If the power meter is not in the idle state or INITiate:CONTinuous is ON,
error -213, INIT ignored occurs.
13-12
TRIGger Subsystem
TRIGger Commands
TRIGger Commands
TRIGger commands control the behavior of the trigger system.
The following commands are described in this section:
TRIGger[1]|2:DELay:AUTO <boolean>
TRIGger[1]|2[:IMMediate]
TRIGger[1]|2:SOURce BUS|IMMediate|HOLD
TRIGger[:SEQuence]:DELay <numeric_value>
TRIGger[:SEQuence]:HOLDoff <numeric_value>
TRIGger[:SEQuence]:HYSTeresis <numeric_value>
TRIGger[:SEQuence]:LEVel <numeric_value>
TRIGger[:SEQuence]:LEVel:AUTO <boolean>
TRIGger[:SEQuence]:SLOPe <character_data>
TRIGger[:SEQuence[1]|2]:COUNt <numeric_value>
TRIGger[:SEQuence[1]|2]:DELay:AUTO <boolean>
TRIGger[:SEQuence[1]|2]:IMMediate
TRIGger[:SEQuence[1]|2]:SOURce
BUS|EXTernal|HOLD|IMMediate|INTernal[[1]|2
13-13
TRIGger Subsystem
TRIGger[1]|2:DELay:AUTO <boolean>
TRIGger[1]|2:DELay:AUTO <boolean>
This command is used to determine whether or not there is a settling-time delay
before a measurement is made.
When this command is set to:
ON, the power meter inserts a settling-time delay before taking the requested
measurement. This settling time allows the internal digital filter to be
updated with new values to produce valid, accurate measurement results.
The trigger with delay command allows settling time for the internal
amplifiers and filters. It does not allow time for power sensor delay
In cases of large power changes, the delay may not be sufficient for complete
settling. Accurate readings can be assured by taking two successive
measurements for comparison.
:DEL
:AUTO
Space
0|OFF
1|ON
Example
TRIG:DEL:AUTO ON
Reset Condition
On reset, TRIGger:DELay:AUTO is set to ON.
13-14
TRIGger Subsystem
TRIGger[1]|2:DELay:AUTO <boolean>
Query
TRIGger:DELay:AUTO?
The query enters a 1 or 0 into the output buffer indicating the status of
TRIGger:DELay:AUTO.
13-15
TRIGger Subsystem
TRIGger[1]|2[:IMMediate]
TRIGger[1]|2[:IMMediate]
This command causes a trigger to occur immediately, provided the specified channel
is in the wait for trigger state. When this command is executed, the measurement
result is stored in the power meters memory. Use FETCh? to place the measurement
result in the output buffer.
TRIGger[1]|2:DELay:AUTO is ignored if TRIGger[1]|2[:IMMediate]
is set to ON.
Note
Syntax
TRIG
:IMM
Example
TRIG
Error Messages
If the power meter is not in the wait for trigger state, then TRIGger:IMMediate
causes error -211, Trigger ignored.
13-16
TRIGger Subsystem
TRIGger[1]|2:SOURce BUS|EXTernal|HOLD|IMMediate|INTernal[[1]|2]
TRIGger[1]|2:SOURce BUS|EXTernal|HOLD|IMMediate|INTernal[[1]|2]
This command configures the trigger system to respond to the specified source. This
command only selects the trigger source. Use the INITiate command to place the
power meter in the wait for trigger state.
Note
This command has been included for compatibility purposes. It has the same
purpose as TRIGger[:SEQuence[1]|2]:SOURce
BUS|EXTernal|HOLD|IMMediate|INTernal[[1]|2] which should
be used in preference.
Syntax
TRIG
:SOUR
Space
BUS
EXT
HOLD
IMM
INT
?
1
2
Parameters
Item
Description/Default
Range of Values
source
BUS
BUS: the trigger source is the group execute trigger <GET> bus command, a
*TRG common command or the TRIGGER:IMMediate SCPI command.
EXTernal
EXTernal: the trigger source is the trigger input in the back panel.
HOLD: triggering is suspended. The only way to trigger the power meter is to
use TRIGger:IMMediate.
HOLD
IMMediate
INTernal[[1]|2]
13-17
TRIGger Subsystem
TRIGger[1]|2:SOURce BUS|EXTernal|HOLD|IMMediate|INTernal[[1]|2]
Note
Example
TRIG:SOUR IMM
Reset Condition
On reset, the trigger source is set to IMMediate.
Query
TRIGger:SOURce?
The query returns the current trigger source, either IMM, BUS or HOLD.
Query Example
TRIG:SOUR?
Error Messages
For dual channel power meters: if the master is changed to IMM, BUS or HOLD,
error -221 Settings Conflict occurs. In such situations the slaves TRIG:SOUR
must be changed so that it is no longer a slave.
If the source is changed to INT1, INT2 or EXT and SENS:SPEED has a value of
200, error -221 Settings Conflict occurs.
If the source is changed to INT1, INT2 or EXT and SENS:DET:FUNC is set to
AVERage, error -221 Settings Conflict occurs.
13-18
TRIGger Subsystem
TRIGger[:SEQuence]:DELay <numeric_value>
TRIGger[:SEQuence]:DELay <numeric_value>
This command sets the delay between the recognition of a trigger event and the start
of a measurement.
Note
Syntax
TRIG
:SEQ
:DEL
Space
numeric_value
DEF
?
Parameters
Item
Description/Default
Range of Values
numeric_value
-1 to 1 seconds
DEF
Example
TRIG:SEQ:DEL 0.001
Reset Condition
On reset, the trigger delay is set to 0 seconds.
13-19
TRIGger Subsystem
TRIGger[:SEQuence]:DELay <numeric_value>
Query
TRIGger[:SEQuence]:DELay?
The query returns the current setting of the trigger delay.
Query Example
This command queries the trigger delay
of channel A.
TRIG:SEQ:DEL?
Reset Condition
On reset, trigger delay is set to 0 seconds.
13-20
TRIGger Subsystem
TRIGger[:SEQuence]:HOLDoff <numeric_value>
TRIGger[:SEQuence]:HOLDoff <numeric_value>
This command sets the trigger holdoff in seconds.
Note
Syntax
TRIG
:HOLD
:SEQ
Space
numeric_value
DEF
MIN
MAX
Parameters
Item
Description/Default
Range of Values
numeric_value
1 us to 0.4 seconds
DEF
MIN: 1 us.
MIN
MAX
Example
TRIG:SEQ1:HOLD 0.1
Reset Condition
On reset the trigger holdoff is set to 1 us.
13-21
TRIGger Subsystem
TRIGger[:SEQuence]:HOLDoff <numeric_value>
Query
TRIGger[:SEQuence]:HOLDoff?
The query returns the current trigger holdoff setting.
Query Example
TRIG:SEQ:HOLD?
13-22
TRIGger Subsystem
TRIGger[:SEQuence]:HYSTeresis <numeric_value>
TRIGger[:SEQuence]:HYSTeresis <numeric_value>
This command sets:
Note
How far a signal must fall below TRIG:LEVel before a rising edge can be
detected.
How far a signal must rise above TRIG:LEVel before a falling edge can be
detected.
Syntax
TRIG
:SEQ
:HYST
Space
numeric_value
DEF
?
Example
TRIG:SEQ:HYST 0.1
Parameters
Item
Description/Default
Range of Values
numeric_value
0 to 3 dB
DEF
Reset Condition
On reset the value is set to 0 dB.
13-23
TRIGger Subsystem
TRIGger[:SEQuence]:HYSTeresis <numeric_value>
Query
TRIGger[:SEQuence]:HYSTeresis?
The query returns the current value in dB.
Query Example
TRIG:SEQ:HYST?
13-24
TRIGger Subsystem
TRIGger[:SEQuence]:LEVel <numeric_value>
TRIGger[:SEQuence]:LEVel <numeric_value>
This command sets the power level at which a trigger event is recognized.
Note
Syntax
TRIG
:SEQ
:LEV
Space
numeric_value
DEF
?
Example
TRIG:SEQ:LEV 10
Parameters
Item
Description/Default
Range of Values
numeric_value
-40 to 20 dBm
DEF
Reset Condition
On reset the power level is set to 0 dBm.
Query
TRIGger[:SEQuence]:LEVel?
The query returns the current power level setting.
13-25
TRIGger Subsystem
TRIGger[:SEQuence]:LEVel <numeric_value>
Query Example
TRIG:SEQ1:LEV?
13-26
TRIGger Subsystem
TRIGger[:SEQuence]:LEVel:AUTO <boolean>
TRIGger[:SEQuence]:LEVel:AUTO <boolean>
This command enables/disables automatic setting of the trigger level.
When this command is set to:
Note
ONCE, automatic setting of the trigger level is enabled for one trigger event
only. The value is then set to OFF.
Syntax
:SEQ
TRIG
:LEV
:AUTO
Space
0|OFF
1|ON
ONCE
?
Example
TRIG:SEQ:LEV:AUTO 0
Reset Condition
On reset the value is set to ON.
Query
TRIGger[:SEQuence]:LEVel:AUTO?
The query enters a 1 or 0 into the output buffer indicating the status of
TRIGger[:SEQuence]:LEVel:AUTO.
13-27
TRIGger Subsystem
TRIGger[:SEQuence]:LEVel:AUTO <boolean>
Query Example
TRIG:SEQ:LEV:AUTO?
13-28
TRIGger Subsystem
TRIGger[:SEQuence]:SLOPe <character_data>
TRIGger[:SEQuence]:SLOPe <character_data>
This command specifies whether a trigger event is recognized on the rising or falling
edge of a signal.
Note
Syntax
TRIG
:SEQ
:SLOP
Space
character_data
Parameters
Item
Description/Default
Range of Values
character_data
POSitive
NEGative
Reset Condition
On reset the value is set to POSitive.
Query
TRIGger[:SEQuence]:SLOPe?
The query returns the current value of <character_data>.
13-29
TRIGger Subsystem
TRIGger[:SEQuence]:SLOPe <character_data>
Query Example
TRIG:SEQ:SLOP?
13-30
TRIGger Subsystem
TRIGger[:SEQuence[1]|2]:COUNt <numeric_value>
TRIGger[:SEQuence[1]|2]:COUNt <numeric_value>
This command controls the path of the trigger subsystem in the upward traverse of the
wait for trigger state. COUNt loops through the event detection/measurement cycle
are performed. That is, COUNt measurements are performed in response to COUNt
trigger events.
COUNt can be set to a value >1 only when:
Syntax
TRIG
:SEQ
:COUN
Space
numeric_value
DEF
Parameters
Item
Description/Default
Range of Values
numeric_value
1 to 50
DEF
Example
TRIG:SEQ1:COUN 10
Reset Condition
On reset, the value is set to 1.
13-31
TRIGger Subsystem
TRIGger[:SEQuence[1]|2]:COUNt <numeric_value>
Query
TRIGger[1]|2[:SEQuence[1]|2]:COUNt?
The query returns the current setting of trigger events for a specified channel.
Query Example
TRIG:SEQ2:COUN?
Error Messages
If COUNt >1 when [SENSe[1]]|SENSe2:MRATe <character_data> is set
to NORMal or DOUBle, Error -221, Settings Conflict occurs.
13-32
TRIGger Subsystem
TRIGger[:SEQuence[1]|2]:DELay:AUTO <boolean>
TRIGger[:SEQuence[1]|2]:DELay:AUTO <boolean>
This command is used to determine whether or not there is a settling-time delay
before a measurement is made.
When this command is set to:
ON, the power meter inserts a settling-time delay before taking the requested
measurement and for subsequent measurements. This settling time allows
the internal digital filter to be updated with new values to produce valid,
accurate measurement results. The trigger with delay command allows
settling time for the internal amplifiers and filters. It does not allow time for
power sensor delay.
In cases of large power changes, the delay may not be sufficient for complete
settling. Accurate readings can be assured by taking two successive
measurements for comparison.
OFF, no settling-time delay is inserted and the power meter makes the
measurement immediately a trigger is received.
:SEQ
:DEL
:AUTO
Space
0|OFF
1|ON
ONCE
?
Example
TRIG:SEQ:DEL:AUTO ON
Reset Condition
On reset, TRIGger:DELay:AUTO is set to ON.
EPM-P Series Power Meters Programming Guide
13-33
TRIGger Subsystem
TRIGger[:SEQuence[1]|2]:DELay:AUTO <boolean>
Query
TRIGger:DELay:AUTO?
The query enters a 1 or 0 into the output buffer indicating the status of
TRIGger:DELay:AUTO.
Query Example
TRIG:SEQ2:DEL:AUTO?
13-34
TRIGger Subsystem
TRIGger[:SEQuence[1]|2]:IMMediate
TRIGger[:SEQuence[1]|2]:IMMediate
This command provides a one time over-ride of the normal process of the downward
path through the wait for trigger state. It causes the immediate exit of the event
detection layer if the trigger system is in this layer when the command is received. In
other words, the instrument stops waiting for a trigger and takes a measurement
ignoring any delay set by TRIG:DELay.
Syntax
TRIG
:SEQ
:IMM
Example
TRIG:SEQ:IMM
13-35
TRIGger Subsystem
TRIGger[:SEQuence[1]|2]:SOURce BUS|EXTernal|HOLD|IMMediate|INTer-
TRIGger[:SEQuence[1]|2]:SOURce BUS|EXTernal|HOLD|IMMediate|INTernal[[1]|2]
This command configures the trigger system to respond to the specified source. This
command only selects the trigger source. Use the INITiate command to place the
power meter in the wait for trigger state.
Note
Syntax
TRIG
:SEQ
:SOUR
Space
BUS
EXT
HOLD
IMM
INT
?
1
2
Parameters
Item
Description/Default
Range of Values
source
BUS
BUS: the trigger source is the group execute trigger <GET> bus command, a
*TRG common command or the TRIGGER:IMMediate SCPI command.
EXTernal
EXTernal: the trigger source is the trigger input in the back panel.
HOLD: triggering is suspended. The only way to trigger the power meter is to
use TRIGger:IMMediate.
HOLD
IMMediate
INTernal[[1]|2]
13-36
TRIGger Subsystem
TRIGger[:SEQuence[1]|2]:SOURce BUS|EXTernal|HOLD|IMMediate|INTer-
Note
Example
TRIG:SOUR IMM
Reset Condition
On reset, the trigger source is set to IMMediate.
Query
TRIGger[:SEQuence[1]|2]:SOURce?
The query returns the current trigger source.
Query Example
TRIG:SEQ1:SOUR?
Error Messages
For dual channel power meters: if the master is changed to IMM, BUS or HOLD,
error -221 Settings Conflict occurs. In such situations the slaves TRIG:SOUR
must be changed so that it is no longer a slave.
If the source is changed to INT1, INT2 or EXT and SENS:SPEED has a value of
200, error -221 Settings Conflict occurs.
If the source is changed to INT1, INT2 or EXT and SENS:DET:FUNC is set to
AVERage, error -221 Settings Conflict occurs.
13-37
TRIGger Subsystem
TRIGger[:SEQuence[1]|2]:SOURce BUS|EXTernal|HOLD|IMMediate|INTer-
13-38
14
UNIT Subsystem
UNIT Subsystem
UNIT Subsystem
UNIT Subsystem
The UNIT command subsystem:
Keyword
Parameter Form
Notes
Page
UNIT[1]|2|3|4
:POWer
:RATio
<amplitude unit>
<ratio_unit>
[non-SCPI]
page 14-3
page 14-6
14-2
UNIT Subsystem
UNIT[1]|2|3|4:POWer <amplitude_unit>
UNIT[1]|2|3|4:POWer <amplitude_unit>
This command sets the power measurement units for a specified
window/measurement. The power suffix set by UNIT:POWer is used for any
command which accepts a numeric value in more than one unit
For the E4416A:
Syntax
UNIT
:POW
Space
amplitude_unit
?
3
4
Parameters
Item
Description/Default
Range of Values
amplitude_unit
DBM
14-3
UNIT Subsystem
UNIT[1]|2|3|4:POWer <amplitude_unit>
Example
UNIT1:POW DBM
Reset Condition
On reset, all windows/measurements are set to DBM.
14-4
UNIT Subsystem
UNIT[1]|2|3|4:POWer <amplitude_unit>
Query
UNIT[1]|2|3|4:POWer?
The query returns the current setting of the power measurement units.
Query Example
UNIT2:POW?
14-5
UNIT Subsystem
UNIT[1]|2|3|4:POWer:RATio <ratio_unit>
UNIT[1]|2|3|4:POWer:RATio <ratio_unit>
This command sets the window/measurement ratio units.
Syntax
UNIT
:POW
Space
:RAT
ratio_unit
?
3
4
Parameters
Item
Description/Default
Range of Values
ratio_unit
DB
PCT
Example
UNIT1:POW:RAT DB
Reset Condition
On reset, the value is set to DB.
14-6
UNIT Subsystem
UNIT[1]|2|3|4:POWer:RATio <ratio_unit>
Query
UNIT[1]|2|3|4]:POWer:RATio?
The query returns the current setting of the ratio measurement units.
Query Example
UNIT2:POW:RAT?
14-7
UNIT Subsystem
UNIT[1]|2|3|4:POWer:RATio <ratio_unit>
14-8
15
SERVice Subsystem
SERVice Subsystem
SERVice Subsystem
SERVice Subsystem
The SERVice command subsystem is used to load information such as the power
meter processor board revision version and obtain information such as the serial
number of the current sensor(s) being used.
Keyword
SERVice
:BIST
:CALibrator
:FPATH[1]|2
:MEASure?
:REFerence
:STATe
:TBASe
:STATe
:TRIG
:LEVel
:STATe?
:TEST?
:OPTion
:SENSor[1]|2
:CALFactor
:CDATe?
:CORRections
:STATe
:CPLace?
:FREQuency
:MAXimum?
:MINimum?
:PCALfactor
:POWer
:AVERage
:MAXimum?
:PEAK
:MAXimum?
:USABle
:MAXimum?
:MINimum?
:RADC?
:SNUMber?
:TNUMber?
:TYPE?
:SNUMber
:VERSion
:PROCessor
:SYSTem
15-2
Parameter Form
Notes
page 15-3
<boolean>
<numeric_value>
<boolean>
Page
[query only]
[no query]
[no query]
page 15-6
<boolean>
[query only]
[query only]
<character_data>
page 15-8
page 15-9
page 15-10
[query only]
page 15-11
page 15-13
[query only]
page 15-14
page 15-14
<cal_factor_data>
<boolean>
[query only]
[query only]
page 15-17
page 15-18
page 15-19
[query only]
page 15-20
[query only]
page 15-21
[query only]
[query only]
[query only]
[query only]
[query only]
[query only]
<character_data>
page 15-22
page 15-23
page 15-24
page 15-25
page 15-26
page 15-27
page 15-28
<character_data>
<character_data>
page 15-29
page 15-30
<cal_factor_data>
SERVice Subsystem
SERVice:BIST:CALibrator <boolean>
SERVice:BIST:CALibrator <boolean>
This command enables/disables the calibrator self-test during power-up. It can be
used to disable the self-test if it incorrectly indicates failurefor example a long
sensor cable may cause an incorrect failure.
Syntax
SERV
:BIST
:CAL
Space
0|OFF
1|ON
ONCE
?
Example
SERV:BIST:CAL OFF
Reset Condition
On reset, the value is set to OFF.
Query
SERVice:BIST:CALibrator?
The query enters a 1 or 0 into the output buffer indicating the status of the self-test.
1 is returned when the self-test is enabled.
0 is returned when the self-test is disabled.
Query Example
SERV:BIST:CAL?
15-3
SERVice Subsystem
SERVice:BIST:FPATH[1]|2:MEASure?
SERVice:BIST:FPATH[1]|2:MEASure?
This query returns the power measured by the meter as a DC voltage, for the specified
channel. It applies to E9320 Series power sensors only.
Note
Syntax
SERV
:BIST
:FPATH
:MEAS
Example
SERV:BIST:FPATH:MEAS?
Error Messages
If no power sensor is connected, error -241 Hardware missing occurs.
If a non E9320 Series power sensor is connected, error -241
Hardware missing occurs.
If FPATH2 is sent to a single channel meter, error -113
Undefined header occurs.
15-4
SERVice Subsystem
SERVice:BIST:FPATH[1]|2:REFerence <numeric_value>
SERVice:BIST:FPATH[1]|2:REFerence <numeric_value>
This command enters an externally measured sensor DC voltage at
0.0 dBm for use as a reference, for the specified channel. It applies to E9320 Series
power sensors only.
Note
Syntax
SERV
:BIST
:FPATH
:REF
Space
numeric_value
Parameters
Item
Description/Default
Range of Values
numeric_value
0.1 to 2.4 v
Example
SERV:BIST:FPATH2:REF 1.2
Reset Condition
On reset, the last entered value is retained.
Error Messages
If no power sensor is connected, error -241 Hardware missing occurs.
If a non E9320 Series power sensor is connected, error -241
Hardware missing occurs.
If FPATH2 is sent to a single channel meter, error -113
Undefined header occurs.
EPM-P Series Power Meters Programming Guide
15-5
SERVice Subsystem
SERVice:BIST:FPATH[1]|2:STATe <boolean>
SERVice:BIST:FPATH[1]|2:STATe <boolean>
This command enables/disables fast path accuracy test mode for the specified
channel. It applies to E9320 Series power sensors only.
Note
Syntax
:BIST
SERV
:FPATH
:STATe
Space
0|OFF
1|ON
Example
SERV:BIST:FPATH:STATe OFF
Reset Condition
On reset, test mode is disabled.
Error Messages
If no power sensor is connected, error -241 Hardware missing occurs.
If a non E9320 Series power sensor is connected, error -241
Hardware missing occurs.
If FPATH2 is sent to a single channel meter, error -113
Undefined header occurs.
15-6
SERVice Subsystem
SERVice:BIST:TBASe:STATe <boolean>
SERVice:BIST:TBASe:STATe <boolean>
This command sends a 10 MHz time base signal to the rear panel trig out for testing
purposes.
If the command is set to:
ON, the 10 MHz time base signal is sent to the rear panel trigger out connector.
OFF, the 10 MHz time base signal is disabled.
Syntax
SERV
:BIST
:TBASe
:STATe
Space
0|OFF
1|ON
?
Example
SERV:BIST:TBAS:STAT OFF
Reset Condition
On reset, the signal is disabled.
Query
SERVice:BIST:TBASe:STAT?
The query enters a 1 or 0 into the output buffer indicating the status of the 10 MHz
time base testing.
1 is returned when the signal is enabled.
0 is returned when the signal is disabled.
Query Example
SERV:BIST:TBASe:STAT?
15-7
SERVice Subsystem
SERVice:BIST:TRIGger:LEVel:STATe
SERVice:BIST:TRIGger:LEVel:STATe
This command queries trigger level.
1 is returned when the external trigger-in is high.
0 is returned when the external trigger-in is low.
Syntax
SERV
:BIST
:TRIG
:LEVel
:STATe
Example
SERV:BIST:TRIG:LEV:STAT?
15-8
SERVice Subsystem
SERVice:BIST:TRIGger:TEST?
SERVice:BIST:TRIGger:TEST?
This command queries trigger in and out.
1 is returned if the test passes.
0 is returned if the test fails.
Note
Before running this command, the read panel trigger out must be jumpered to the
rear panel trigger in.
Syntax
SERV
:BIST
:TRIG
:TEST
Example
SERV:BIST:TRIG:TEST?
15-9
SERVice Subsystem
SERVice:OPTion <character_data>
SERVice:OPTion <character_data>
This command loads the power meter memory with the options fitted. The query form
of the command can be used to determine which options are fitted to the unit.
Syntax
SERV
Space
:OPT
character_data
?
Parameters
Item
Description/Default
Range of Values
character_data
A to Z (uppercase)
a to z (lowercase)
0-9
_ (underscore)
Example
SERV:OPT 002
Query
SERVice:OPTion?
The query returns the current option string. For example, if the string 003 is
returned, the power meter is fitted with a sensor input and power reference on the
back panel.
15-10
SERVice Subsystem
SERVice:SENSor[1]|2:CALFactor <cal_factor_data>
SERVice:SENSor[1]|2:CALFactor <cal_factor_data>
This command writes calibration factor data to, or reads calibration factor data from,
the currently connected sensor. The whole calibration factor block must be written at
once as a checksum is generated. The new block must not be larger than the existing
block.
This command applies to the following sensors:
E4410 Series.
N8480 Series (excluding Option CFT)
E9300 Series.
E9320 Series, average path data.
For E9320 Series sensors, peak path, refer to
SERVice:SENSor[1]|2:PCALFactor <cal_factor_data>.
Syntax
SERV
:SENS
Space
:CALF
cal_factor_data
?
Parameters
Item
Description/Default
cal_factor_data
Query
SERVice:SENSor[1]|2:CALFactor?
The query returns the current calibration factor block.
Query Example
SERV:SENS:CALF?
15-11
SERVice Subsystem
SERVice:SENSor[1]|2:CALFactor <cal_factor_data>
Error Messages
If no power sensor is connected, error -241 Hardware missing occurs.
If a non E-Series sensor or N8480 Series sensor with Option CFT is connected,
error -241 Hardware missing occurs.
If an E9320 Series sensor is connected and
SERVice:SENSor[1]|2:CORRections:STATe is set to ON, error -221,
Settings conflict occurs.
If INIT:CONT is not set to OFF, error -221, Settings conflict occurs.
15-12
SERVice Subsystem
SERVice:SENSor[1]|2:CDATe?
SERVice:SENSor[1]|2:CDATe?
This query returns the calibration date in E-Series and N8480 Series sensors.
Calibration date information is stored in the sensors EEPROM.
Syntax
SERV
:SENS
:CDATe
Example
SERV:SENS2:CDATe?
Error Messages
If no power sensor is connected, error -241 Hardware missing occurs.
If a non E-Series N8480 Series sensor is connected, error -241 Hardware missing
occurs.
15-13
SERVice Subsystem
SERVice:SENSor[1]|2:CORRections:STATe <boolean>
SERVice:SENSor[1]|2:CORRections:STATe <boolean>
This command enables/disables the voltage to corrected power conversion. It applies
to E9320 Series power sensors only.
Note
Before setting this command to OFF, you must set the INIT:CONF command to
OFF.
After setting this command to OFF, you must only run commands relating to the
gathering of ADC valuesfor example, the SERV:SENS:RADC command.
Syntax
SERV
:SENS
:CORR
:STAT
Space
0|OFF
1|ON
Example
SERV:SENS2:CORR:STAT ON
Reset Condition
On reset, the value is set to OFF.
Query
SERVice:SENSor[1]|2:CORRections:STATe?
The query enters a 1 or 0 into the output buffer indicating the status of the voltage to
corrected power conversion.
1 is returned when voltage to corrected power conversion is enabled.
0 is returned when voltage to corrected power conversion is disabled.
15-14
SERVice Subsystem
SERVice:SENSor[1]|2:CORRections:STATe <boolean>
Query Example
SERV:SENS:CORR:STAT?
Error Messages
If INIT:CONT is not set to off, error -221, Settings conflict occurs.
If a non E9320 Series sensor is connected, error -241, Hardware missing occurs.
15-15
SERVice Subsystem
SERVice:SENSor[1]|2:CPLace?
SERVice:SENSor[1]|2:CPLace?
This query returns the calibration place in E-Series and N8480 Series sensors.
Calibration place information is stored in the sensors EEPROM.
Syntax
SERV
:SENS
:CPL
Example
SERV:SENS2:CPL?
Error Messages
If no power sensor is connected, error -241 Hardware missing occurs.
If a non E-Series or N8480 Series sensor is connected, error -241 Hardware
missing occurs.
15-16
SERVice Subsystem
SERVice:SENSor[1]|2:FREQuency:MAXimum?
SERVice:SENSor[1]|2:FREQuency:MAXimum?
This query returns the maximum frequency that can be measured by the currently
connected sensor. It is applicable to E-Series sensors only. Maximum frequency
information is stored in the sensors EEPROM.
Syntax
SERV
:SENS
:FREQ
:MAX
Example
SERV:SENS2:FREQ:MAX?
Error Messages
If no sensor is connected, error -241, Hardware missing occurs.
If a non E-Series is connected, error -241 Hardware missing occurs.
If the E-Series sensor currently connected does not contain the necessary
information in EEPROM, error -241 Hardware missing occurs.
15-17
SERVice Subsystem
SERVice:SENSor[1]|2:FREQuency:MINimum?
SERVice:SENSor[1]|2:FREQuency:MINimum?
This query returns the minimum frequency that can be measured by the currently
connected sensor. It is applicable to E-Series sensors only. Minimum frequency
information is stored in the sensors EEPROM.
Syntax
SERV
:SENS
:FREQ
:MIN
Example
SERV:SENS1:FREQ:MIN?
Error Messages
If no sensor is connected, error -241, Hardware missing occurs.
If a non E-Series is connected, error -241 Hardware missing occurs.
If the E-Series sensor currently connected does not contain the necessary
information in EEPROM, error -241 Hardware missing occurs.
15-18
SERVice Subsystem
SERVice:SENSor[1]|2:PCALfactor <cal_factor_data>
SERVice:SENSor[1]|2:PCALfactor <cal_factor_data>
This command writes calibration factor data to, or reads calibration factor data from,
the currently connected sensor. The whole calibration factor block must be written at
once as a checksum is generated. The new block must not be larger than the existing
block.
This command applies to E9320 Series sensors for peak path data only. For E4410
Series, E9300 Series, and E9320 Series sensors, average path data, refer to
SERVice:SENSor[1]|2:CALFactor <cal_factor_data>.
Syntax
SERV
:SENS
Space
:PCALf
cal_factor_data
?
Parameters
Item
Description/Default
cal_factor_data
Query
SERVice:SENSor[1]|2:PCALfactor?
The query returns the current peak path calibration factor block.
Query Example
SERV:SENS:PCALf?
Error Messages
If no power sensor is connected, error -241 Hardware missing occurs.
If a non E9320 Series sensor is connected, error -241
Hardware missing occurs.
If INIT:CONT is not set to OFF, error -221, Settings conflict occurs.
15-19
SERVice Subsystem
SERVice:SENSor[1]|2:POWer:AVERage:MAXimum?
SERVice:SENSor[1]|2:POWer:AVERage:MAXimum?
This query returns the maximum average power that can be measured by the currently
connected sensor. It is applicable to E-Series sensors only. Maximum average power
information is stored in the sensors EEPROM.
Syntax
SERV
:SENS
:POW
:AVER
:MAX
Example
SERV:SENS:POW:AVER:MAX?
Error Messages
If no sensor is connected, error -241, Hardware missing occurs.
If a non E-Series is connected, error -241 Hardware missing occurs.
If the E-Series sensor currently connected does not contain the necessary
information in EEPROM, error -241 Hardware missing occurs.
15-20
SERVice Subsystem
SERVice:SENSor[1]|2:POWer:PEAK:MAXimum?
SERVice:SENSor[1]|2:POWer:PEAK:MAXimum?
This query returns the maximum peak power that can be measured by the currently
connected sensor. It is applicable to E-Series sensors only. Maximum peak power
information is stored in the sensors EEPROM.
Syntax
SERV
:SENS
:POW
:PEAK
:MAX
Example
SERV:SENS2:POW:PEAK:MAX?
Error Messages
If no sensor is connected, error -241, Hardware missing occurs.
If a non E-Series is connected, error -241 Hardware missing occurs.
If the E-Series sensor currently connected does not contain the necessary
information in EEPROM, error -241 Hardware missing occurs.
15-21
SERVice Subsystem
SERVice:SENSor[1]|2:POWer:USABle:MAXimum?
SERVice:SENSor[1]|2:POWer:USABle:MAXimum?
This query returns the maximum power that can be accurately measured by the
currently connected sensor. It is applicable to E-Series sensors only. Maximum power
information is stored in the sensors EEPROM.
Syntax
SERV
:SENS
:POW
:USAB
:MAX
Example
SERV:SENS1:POW:USAB:MAX?
Error Messages
If no sensor is connected, error -241, Hardware missing occurs.
If a non E-Series is connected, error -241 Hardware missing occurs.
If the E-Series sensor currently connected does not contain the necessary
information in EEPROM, error -241 Hardware missing occurs.
15-22
SERVice Subsystem
SERVice:SENSor[1]|2:POWer:USABle:MINimum?
SERVice:SENSor[1]|2:POWer:USABle:MINimum?
This query returns the minimum power that can be accurately measured by the
currently connected sensor. It is applicable to E-Series sensors only. Maximum power
information is stored in the sensors EEPROM.
Syntax
SERV
:SENS
:POW
:USAB
:MIN
Example
SERV:SENS:POW:USAB:MIN?
Error Messages
If no sensor is connected, error -241, Hardware missing occurs.
If a non E-Series is connected, error -241 Hardware missing occurs.
If the E-Series sensor currently connected does not contain the necessary
information in EEPROM, error -241 Hardware missing occurs.
15-23
SERVice Subsystem
SERVice:SENSor[1]|2:RADC?
SERVice:SENSor[1]|2:RADC?
This query returns a new raw uncorrected measurement in volts, as a
32 bit signed integer.
Note
Syntax
SERV
:SENS
:RADC
Example
SERV:SENS2:RADC?
Error Messages
If INIT:CONT is set to ON, error -221 Settings Conflict occurs.
If an E9320 Series sensor is connected and
SERVice:SENSor[1]|2:CORRections:STATe is set to ON, error -221
Settings Conflict occurs.
15-24
SERVice Subsystem
SERVice:SENSor[1]|2:SNUMber?
SERVice:SENSor[1]|2:SNUMber?
This query returns the serial number for E-Series and N8480 Series sensors. Serial
number information is stored in the sensors EEPROM.
Syntax
SERV
:SENS
:SNUM
Example
SERV:SENS2:SNUM?
Error Messages
If no sensor is connected, error -241, Hardware missing occurs.
If a non E-Series or N8480 Series sensor is connected, error -241 Hardware
missing occurs.
15-25
SERVice Subsystem
SERVice:SENSor[1]|2:TNUMber?
SERVice:SENSor[1]|2:TNUMber?
This query returns the tracking number for E-Series sensors. Tracking number
information is stored in the sensors EEPROM.
Syntax
SERV
:SENS
:TNUM
Example
SERV:SENS2:TNUM?
Error Messages
If no sensor is connected, error -241, Hardware missing occurs.
If a non E-Series sensor is connected, error -241 Hardware missing occurs.
15-26
SERVice Subsystem
SERVice:SENSor[1]|2:TYPE?
SERVice:SENSor[1]|2:TYPE?
This query identifies the sensor type connected to the power meter input channel(s).
For Agilent 8480 Series sensors, either A, B, D, or H is returned. For
E-Series and N8480 Series sensors, the model number stored in EEPROM is returned
Syntax
SERV
:SENS
:TYPE
Example
SERV:SENS2:TYPE?
Error Messages
If no sensor is connected, error -241, Hardware missing occurs.
15-27
SERVice Subsystem
SERVice:SNUMber <character_data>
SERVice:SNUMber <character_data>
This command loads the power meter with a serial number in the form GB12345678
or US12345678.
Syntax
SERV
Space
:SNUM
character_data
?
Parameters
Item
Description/Default
Range of Values
character_data
A to Z (uppercase)
a to z (lowercase)
0-9
Example
SERV:SNUM GB12345678
Query
SERVice:SNUMber?
The query returns the power meter serial number in the form GB12345678 or
US12345678.
15-28
SERVice Subsystem
SERVice:VERSion:PROCessor <character_data>
SERVice:VERSion:PROCessor <character_data>
This command loads the power meter with the processor board revision version.
Syntax
SERV
:VERS
:PROC
Space
character_data
?
Parameters
Item
Description/Default
Range of Values
character_data
A to Z (uppercase)
a to z (lowercase)
0-9
_ (underscore)
Example
SERV:VERS:PROC C
Query
SERVice:VERSion:PROCessor?
The query returns the current processor board revision version.
15-29
SERVice Subsystem
SERVice:VERSion:SYSTem <character_data>
SERVice:VERSion:SYSTem <character_data>
This command loads the power meter with the system version number.
Syntax
SERV
:VERS
:SYST
Space
character_data
?
Parameters
Item
Description/Default
Range of Values
character_data
A to Z (uppercase)
a to z (lowercase)
0-9
_ (underscore)
Example
SERV:VERS:SYST 1
Query
SERVice:VERSion:SYSTem?
The query returns the current power meter system version number.
15-30
16
Clear Status
page 16-6
*DDT
page 16-7
*DDT?
page 16-7
*ESE
page 16-9
*ESE?
page 16-9
*ESR?
page 16-10
*IDN?
Identify
page 16-11
*OPC
Operation Complete
page 16-12
*OPC?
Operation Complete
page 16-12
*OPT?
Options
page 16-13
*RCL
Recall
page 16-14
*RST
Reset
page 16-15
*SAV
Save
page 16-16
*SRE
page 16-17
*SRE?
page 16-17
*STB?
Status Byte
page 16-19
*TRG
Trigger
page 16-21
*TST?
Test
page 16-22
*WAI
Wait
page 16-23
16-2
Universal Commands
DCL
The DCL (Device Clear) command causes all GPIB instruments, or addressed
instruments, to assume a cleared condition. The definition of device clear is unique
for each instrument. For the power meter:
All pending operations are halted, that is, *OPC? and *WAI.
The parser (the software that interprets the programming codes) is reset and now
expects to receive the first character of a programming code.
The output buffer is cleared.
GET
The GET (Group Execute Trigger) command triggers all channels that are in the
wait-for-trigger state.
Using the *DDT command may change the function of the GET command.
Error Message
If TRIGger:SOURce is not set to BUS then error -211, Trigger ignored occurs.
If the power meter is not in the wait-for-trigger state then error -211, Trigger
ignored occurs.
GTL
The GTL (Go To Local) command is the complement to remote. It causes the power
meter to return to local control with a fully enabled front panel. When reverting to
local mode the power meter triggering is set to free run.
LLO
The LLO (Local Lock Out) command can be used to disable the front panel local key.
With this key disabled, only the controller (or a hard reset by the line power switch)
can restore local control.
16-3
PPC
When addressed to listen, the PPC (Parallel Poll Configure) command will cause the
power meter to be configured according to the parallel poll enable secondary
command which should follow this command.
PPD
Sending the PPC command followed by the PPD (Parallel Poll Disable) command
will disable the power meter from responding to a parallel poll. This is effectively a
selective disable.
Table 0-26: PPD Mapping
Bit
Weight
Meaning
Always 0
Always 0
Always 0
Always 0
16
Always 1
32
Always 1
64
Always 1
128
Always 0
PPE
Once the power meter has received a PPC command, the PPE (Parallel Poll Enable)
secondary command configures the power meter to respond to a parallel poll on a
particular data line with a particular level.
Table 0-27: PPE Mapping
Bit
Weight
Meaning
16-4
Bit
Weight
Meaning
Sense bit
0 - response bit is cleared during a parallel
poll if requesting service
1 - response bit is set during a parallel poll
if requesting service
16
Always 0
32
Always 1
64
Always 1
128
Always 0
PPU
The PPU (Parallel Poll Unconfigure) command disables the power meter from
responding to a parallel poll. This is effectively a universal disable.
SDC
The SDC (Selected Device Clear) command causes all GPIB instruments in the listen
state, to assume a cleared condition. The definition of a selected device clear is unique
for each instrument. For the power meter:
All pending operations are halted, that is, *OPC? and *WAI.
The parser (the software that interprets the programming codes) is reset and now
expects to receive the first character of a programming code.
The output buffer is cleared.
SPD
The SPD (Serial Poll Disable) command terminates the serial poll mode for the power
meter and returns it to its normal talker state where device dependent data is returned
rather than the status byte.
SPE
The SPE (Serial Poll Enable) command establishes the serial poll mode for the power
meter. When the power meter is addressed to talk, a single eight bit status byte is
returned.
EPM-P Series Power Meters Programming Guide
16-5
*CLS
The *CLS (CLear Status) command clears the status data structures. The SCPI
registers (Questionable Status, Operation Status and all the other SCPI registers), the
Standard Event Status Register, the Status Byte, and the Error/Event Queue are all
cleared.
Syntax
*CLS
16-6
Space
Parameters
Type
Description
Range of Values
#nN<action>1,2
<action>1
FETC?
FETC1?
FETC2? (E4417A only)
*TRG
TRIG1
TRIG2 (E4417A only)
2. The first digit after the # indicates the number of following digits. The following digits
indicate the length of the data.
Examples of <arbitrary block program data> parameters are:
#15FETC? and #206FETCh?
Examples of <string program data> are:
"FETCh1?", "FETCh?" and "TRIG1;FETC1"
Note
16-7
Reset Condition
On reset, the <action> field of *DDT is set to *TRG.
Query
*DDT?
The query returns the action which is performed on receipt of a GET or *TRG. This is
returned as a <definite length arbitrary block response data> value which is in the
form of #nN<action> as described on page 16-7.
Error Message
If an invalid parameter is received, error -224, Illegal parameter value occurs.
16-8
*ESE <NRf>
The *ESE (Event Status Enable) <NRf> command sets the Standard Event Status
Enable Register. This register contains a mask value for the bits to be enabled in the
Standard Event Status Register. A 1 in the Enable Register enables the corresponding
bit in the Status Register, a 0 disables the bit. The parameter value, when rounded to
an integer and expressed in base 2, represents the bit values of the Standard Event
Status Enable Register. Table 0-28 shows the contents of this register.
Table 0-28: *ESE Mapping
Bit
Weight
Meaning
Operation Complete
Query Error
16
Execution Error
32
Command Error
64
Not used
128
Power On
Syntax
*ESE
Space
NRf
?
Parameters
Type
Description/Default
Range of Values
NRf
0 - 255
Query
*ESE?
The query returns the current contents of the Standard Event Status Enable Register.
The format of the return is <NR1> in the range of 0 to 255.
16-9
*ESR?
The *ESR? query returns the contents of the Standard Event Status Register then
clears it. The format of the return is <NR1> in the range of 0 to 255. Table 0-29 shows
the contents of this register.
Table 0-29: *ESR? Mapping
Bit
Weight
Meaning
Operation Complete
Query Error
16
Execution Error
32
Command Error
64
Not used
128
Power On
Syntax
*ESR
16-10
*IDN?
The *IDN? query allows the power meter to identify itself. The string returned will
be either:
Agilent Technologies,E4416A,<serial number>,A1.XX.YY
Agilent Technologies,E4417A,<serial number>,A2.XX.YY
where:
<serial number> uniquely identifies each power meter.
A1.XX.YY and A2.XX.YY represents the firmware revision with XX and YY
representing the major and minor revisions respectively.
Syntax
*IDN
16-11
*OPC
The *OPC (OPeration Complete) command causes the power meter to set the
operation complete bit in the Standard Event Status Register when all pending device
operations have completed.
Syntax
*OPC
?
Query
*OPC?
The query places an ASCII 1 in the output queue when all pending device operations
have completed.
16-12
*OPT?
The *OPT? query reports the options installed in the power meter and returns:
" " empty string for a standard instrument.
"002" for an option 002 instrument.
"003" for an option 003 instrument.
Syntax
*OPT
16-13
*RCL <NRf>
The *RCL <NRf> (ReCaLl) command restores the state of the power meter from the
specified save/recall register. An instrument setup must have been stored previously
in the specified register.
Syntax
*RCL
Space
NRf
Parameters
Type
Description/Default
Range of Values
NRf
1 - 10
Error Message
If the register does not contain a saved state, error -224, Illegal parameter value
occurs.
16-14
*RST
The *RST (ReSeT) command places the power meter in a known state. Refer to
chapter 11 for information on reset values.
Syntax
*RST
16-15
*SAV <NRf>
The *SAV <NRf> (SAVe) command stores the current state of the power meter in
the specified register.
Syntax
*SAV
Space
NRf
Parameters
Item
Description/Default
Range of Values
NRf
1 - 10
16-16
*SRE <NRf>
The *SRE <NRf> command sets the Service Request Enable register bits. This
register contains a mask value for the bits to be enabled in the Status Byte Register. A
1 in the Enable Register enables the corresponding bit in the Status Byte Register; a 0
disables the bit. The parameter value, when rounded to an integer and expressed in
base 2, represents the bits 0 to 5 and bit 7 of the Service Request Enable Register. Bit
6 is always 0. Table 0-30 shows the contents of this register. Refer to the pullout at the
end of chapter 1 for further information.
Table 0-30: *SRE Mapping
Bit
Weight
Meaning
Not used
Not used
Device Dependent
16
Message Available
32
64
Not used
128
Syntax
*SRE
Space
NRf
?
Parameters
Type
Description/Default
Range of Values
NRf
0 - 255
16-17
Query
*SRE?
The query returns the contents of bits 0 to 5 and bit 7 of the Service Request Enable
Register. The format of the return is <NR1> in the ranges of 0 to 63 or 128 to 191
(that is, bit 6 is always 0).
16-18
*STB?
The *STB? (STatus Byte) query returns bit 0 to 5 and bit 7 of the power meters
status byte and returns the Master Summary Status (MSS) as bit 6. The MSS is the
inclusive OR of the bitwise combination (excluding bit 6) of the Status Byte and the
Service Request Enable registers. The format of the return is <NR1> in the ranges of
0 to 255. Table 0-31 shows the contents of this register. Refer to the pullout at the end
of chapter 1 for further information.
Table 0-31: *STB? Mapping
Bit
Weight
Meaning
Not used
Device Dependent
0 - No device status conditions have occurred
1 - A device status condition has occurred
Error/Event Queue
0 - Queue empty
1 - Queue not empty
16
Message Available
0 - no output messages are ready
1 - an output message is ready
32
64
128
16-19
Syntax
*STB
16-20
*TRG
The *TRG (TRiGger) command triggers all channels that are in the
wait for trigger state. It has the same effect as Group Execute Trigger (GET).
Using the *DDT command may change the function of the *TRG command.
Syntax
*TRG
Error Message
If TRIGger:SOURce is not set to BUS, error -211, Trigger ignored occurs.
If the power meter is not in the wait-for-trigger state, error -211, Trigger ignored
occurs.
16-21
*TST?
The *TST? (TeST) query causes the power meter to perform the GPIB self test. The
test takes approximately 30 seconds and consists of the following tests:
ROM.
RAM.
Lithium battery.
Display assembly.
Calibrator.
Measurement assembly channel A.
Measurement assembly channel B
(dual channel instruments only).
Serial interface.
The result of the test is placed in the output queue.
0 is returned if the test passes.
1 if the test fails.
Syntax
*TST
16-22
*WAI
The *WAI (WAIt) command causes the power meter to wait until either:
All pending operations are complete.
The device clear command is received.
Power is cycled.
before executing any subsequent commands or queries.
Syntax
*WAI
16-23
16-24
Appendix A
No.
Bytes
Contents
Data Format
Data Range
Units
Notes
Power, low
7.8 (signed)
-127.9 to +127.9
dBm
Power, high
7.8 (signed)
-127.9 to +127.9
dBm
16 bit integer
None
None
1000
Hertz
Header:
Header Total:
32 bit fixed
0 to Fhpb* (2^32)
None
2.14
0.25 to 3
None
2.14
0.25 to 3
None
These table entries are repeated as shown for each frequency point
Frequency (point N)
32 bit fixed
0 to Fhpb* (2^32)
None
2.14
0.25 to 3
None
A-2
No.
Bytes
Contents
Table Size:
See note1
Data Format
2.14
Data Range
0.25 to 3
Units
Notes
None
No.
Bytes
Contents
Number of tables
16 bit integer
1000
Data Format
Data Range
Units
Notes
Header:
Header Total:
None
None
-
None
Hertz
7.8 (signed)
-127.9 to +127.9
dBm
Power, high
7.8 (signed)
-127.9 to +127.9
dBm
Frequency (point 0)
32 bit fixed
0 to Fhpb* (2^32)
None
2.14
0.25 to 3
None
A-3
No.
Bytes
Contents
Data Format
2.14
Data Range
Units
Notes
0.25 to 3
None
These table entries are repeated as shown for each frequency point
Frequency (point N)
32 bit fixed
0 to Fhpb* (2^32)
None
2.14
0.25 to 3
None
2.14
0.25 to 3
None
Table size:
See note
No.
Bytes
Contents
Data Format
Data Range
Units
Notes
Number of tables
None
16 bit integer
None
None
1000
Hertz
0 to Fhpb* (2^32)
None
Header:
Header Total:
A-4
32 bit fixed
No.
Bytes
Contents
Data Format
2.14
Data Range
Units
Notes
0.25 to 3
None
These table entries are repeated as shown for each frequency point
Frequency (point N)
32 bit fixed
0 to Fhpb* (2^32)
None
Cal factor
2.14
0.25 to 3
None
Table Size:
See note3
No.
Bytes
Contents
Data Format
Data Range
Units
Notes
Power, low
7.8 (signed)
-127.9 to +127.9
dBm
Power, high
7.8 (signed)
-127.9 to +127.9
dBm
16 bit integer
None
None
1000
Hertz
0 to Fhpb* (2^32)
None
Header:
Header Total:
32 bit fixed
A-5
No.
Bytes
Contents
2.14
2.14
Data Format
Data Range
Units
Notes
0.25 to 3
None
0.25 to 3
None
These table entries are repeated as shown for each frequency point
Frequency (point N)
32 bit fixed
0 to Fhpb* (2^32)
None
2.14
0.25 to 3
None
2.14
0.25 to 3
None
Table Size:
See note1
1.
Corrections are applied in power for E4410, E9300 and N8480 Series sensors (excluding Option
CFT).
2.
Corrections are applied in voltage versus ADC reading for E9320 Series sensors. This format also
requires only one correction factor across all power levels.
3.
The block layout shown for E9320 Series sensors exists in two separate EEPROM locations. One
location contains the calibration factor data for the average path and the other contains the
calibration factor data for the peak path. These EEPROM blocks are accessed using the
SERV:SENS:CALFactor and SERV:SENS:PCALfactor commands respectively.
A-6
Index
Numerics
1234 A-5
A
abort command 13-3
address
GPIB 1-3
setting 11-4
analog meter
autoranging
enabling/disabling 9-47
calibration date
sensor 15-13
calibration factor
reading/writing data 15-11
calibration factors
entering 9-20
entering into tables 7-26
bandwidth
calibration inputs
setting 9-18
baud rate 11-17
setting 11-9, 11-18
calibration lockout
BLUetooth
preset values 11-43
Bluetooth
measuring 1-32
boolean
definition 1-99
C
CALC block
input measurement mode 3-4
CALCulate blocks 3-2
CALCulate commands
summary 1-108
enabling/disabling 4-9
enabling/disabling 4-10
calibration place
sensor 15-16
cdmaone
measuring 1-34
preset values 11-46
channel offset
enabling/disabling 9-36
Index-1
loss 9-38
setting 9-38
configurations
recalling 1-95
saving 1-95
CONFigure
examples 1-14
using 1-14
selecting 5-24
selecting the format 5-14
setting analog meter lower limit 5-10, 5-17
setting analog meter upper limit 5-12, 5-19
setting the format 5-6
display commands
summary 1-109
display offset
enabling/disabling 3-9
setting 3-7
display offsets 1-61
DISPlay subsystem 5-2
contrast
display 5-3
control
correction
loss 9-35
E
E4410 series sensors
danger -iii
data format 6-2
default
preset values 11-30
display
contrast 5-3
enabling/disabling 5-5
Index-2
echo mode
enabling/disabling 11-21
EDGE
measuring 1-25
preset values 11-37
enable register 1-77
setting 10-5
event register 1-76
contents of 10-4
F
fail limits 1-63
falling edge 13-29
EPM-P Series Power Meters Programming Guide
detecting 13-23
filtering
enabling/disabling 9-8
format
transferring binary data 6-3
transferring numeric data 6-4
FORMat commands
summary 1-109
frequency data
entering into tables 7-22
frequency points
returning 7-25
front panel
G
gain correction
enabling/disabling 9-36
setting 9-21
gains and losses 9-20
go to local command 16-3
GPIB 11-59
configuring 1-3
GPIB address 1-3
setting 11-4
GSM900
preset values 11-34
H
handshake 11-13, 11-22
I
iDEN
measuring 1-30
preset values 11-43, 11-55
identification query 16-11
idle state 13-3
IEEE commands 16-2
INITiate
using 1-14
L
legal information -iii
limit failures 1-65
limits 1-63
Index-3
upper 3-20
limits fail
limits test
measurement units
measurements
selecting 9-66
local control 11-27, 11-58
local lock out command 16-3
log units 1-72
loss correction 9-35, 9-38
lower limit
MEMory commands
summary 1-111
N
NADC
M
making measurements 1-8, 1-55
measurements
making 1-24
math expressions
listing 3-27
setting 3-25
MEASurement commands
measuring 1-27
preset values 11-40
NAN
definition 1-100
non-decimal numeric
definition 1-101
NR1
definition 1-102
NR2
definition 1-102
NR3
definition 1-103
NRf
definition 1-102
numeric_value
definition 1-103
summary 1-107
measurement correction
loss 9-35
Index-4
O
offset time
offsets
channel 1-61
display 1-61
setting 1-61
OUTput commands
summary 1-111
P
parallel poll enable command 16-4
parallel poll unconfigure command 16-5
parallel port configure command 16-4
parallel port disable command 16-4
parity 11-17
parity checking
processor revision
power meter 15-29
pulsed signals
measuring 1-67
setting 11-23
parity type
setting 11-14
pass limits 1-63
performance 1-70
positive transition register
setting 10-7
power
average maximum 15-20
maximum peak 15-21
maximum usable 15-22
power level
setting 13-25
power meter
power range
selecting 9-46
R
range 1-57
selecting 9-46
setting 1-57
recall registers
clearing data 7-11
listing 7-5, 7-7
Index-5
naming 7-20
receiver handshake
enabling/disabling 11-13
recorder output
enabling/disabling 8-9
measurement 8-3
setting maximum scaling value 8-7
setting minimum scaling value 8-5
reference calibration factor 4-2
querying 1-7
setting 1-7, 4-12
reference value
setting 3-30
relative mode
enabling/disabling 3-32
relative value
scaling value
setting maximum value 8-7
setting minimum value 8-5
SCPI
complaiance information 1-119
introduction 1-97
SCPI commands
listing 11-26
setting 3-30
selecting 11-59
SENSe commands
configuring 1-3
renaming tables 7-29
reset command 16-15
resolution 1-57, 1-58, 5-21
rising edge
detecting 13-23
RS232/RS422 11-59
RTS
setting 11-8
S
safety -iii
save command 1-95, 16-16
save/recall
registers available 7-17
save/recall register
listing 7-19
Index-6
setting 9-18
sensor 15-25
sensor tracking number 15-26
sensor type 15-27
serial interface
setting 11-7, 11-8
settings 11-6
serial number
loading 15-28
step detection
enabling/disabling 9-11
string
definition 1-104
summary
commands 1-106
supported commands
listing 11-26
SYSTem commands
summary 1-116
T
testing
trace
setting which channels trace is displayed 5-26
trace capture
enabling/disabling 12-5
TRACe commands
summary 1-116
trace data
resolution 12-3
trace window
tracking number
sensor 15-26
TRIGger commands
summary 1-117
trigger commands 13-13
trigger cycle
trigger delay
over-ride 13-35
setting 13-19
trigger event 13-25
recognizing
V
version 11-61
video averaging
enabling/disabling 9-17
trigger events
setting 13-31
trigger holdoff
setting 13-21
trigger level
automatic setting 13-27
enabling/disabling 13-27
querying 15-8
trigger sequences
continuously initiated 13-8
initiating 13-11
setting 13-8
trigger source
U
uncorrected measurement 15-24
UNIT commands
averaging 9-15
voltage
reference 15-5
W
wait command 16-23
wait for trigger state 13-3, 13-4, 13-5
setting 13-7, 13-12
warning -iii
W-CDMA
measuring 1-36
X
Xon/Xoff 11-13, 11-22
Z
zeroing 1-5, 4-14, 4-15
zeroing and calibrating 4-2
summary 1-117
Index-8