Keysight (Agilent) E4418B Programming Guide

Programming Guide
Agilent Technologies
E4418B/E4419B Power Meters
Agilent Technologies Part no. E4418-90029
September 2007
© Copyright 2001 Agilent Technologies
All rights reserved. Reproduction, adaptation, or translation without prior written permission is prohibited, except as allowed under the copyright laws.
Printed in the UK.
ii Agilent E4418B/E4419B Programming Guide

Legal Information

Legal Information

Notice

Information contained in this document is subject to change without notice. Agilent Technologies makes no warranty of any kind with regard to this material, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Agilent Technologies shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishings, performance, or use of this material. No part of this document may be photocopied, reproduced, or translated to another language without the prior written consent of Agilent Technologies.

Certification

Agilent Technologies certifies that this product met its published specifications at the time of shipment from the factory. Agilent Technologies further certifies that its calibration measurements are traceable to the United States National Institute of Standards and Technology, to the extent allowed by the Institute’s calibration facility, and to the calibration facilities of other International Standards Organization members.

Warranty

This Agilent Technologies instrument product is warranted against defects in material and workmanship for a period of one year from date of shipment. During the warranty period, Agilent Technologies will at its option, either repair or replace products which prove to be defective. For warranty service or repair, this product must be returned to a service facility designated by Agilent Technologies. Buyer shall prepay shipping charges to Agilent Technologies and Agilent Technologies shall pay shipping charges, duties, and taxes for products returned to Agilent Technologies from another country. Agilent Technologies warrants that its software and firmware designated by Agilent Technologies for use with an instrument will execute its programming instructions when properly installed on that instrument. Agilent Technologies does not warrant that the operation of the instrument, or firmware will be uninterrupted or error free.
Agilent E4418B/E4419B Programming Guide iii
Legal Information

Limitation of Warranty

The foregoing warranty shall not apply to defects resulting from improper or inadequate maintenance by Buyer, Buyer-supplied software or interfacing, unauthorized modification or misuse, operation outside of the environmental specifications for the product, or improper site preparation or maintenance. NO OTHER WARRANTY IS EXPRESSED OR IMPLIED. AGILENT TECHNOLOGIES SPECIFICALLY DISCLAIMS THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Exclusive Remedies

THE REMEDIES PROVIDED HEREIN ARE BUYER’S SOLE AND EXCLUSIVE REMEDIES. HP SHALL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER BASED ON CONTRACT, TORT, OR ANY OTHER LEGAL THEORY.
iv Agilent E4418B/E4419B Programming Guide

Equipment Operation

Equipment Operation

Warnings and Cautions

This guide uses warnings and cautions to denote hazards.
WARNING A warning calls attention to a procedure, practice or the like, which, if
not correctly performed or adhered to, could result in injury or the loss of life. Do not proceed beyond a warning until the indicated conditions are fully understood and met.
Caution A caution calls attention to a procedure, practice or the like which, if not
correctly performed or adhered to, could result in damage to or the destruction of part or all of the equipment. Do not proceed beyond a caution until the indicated conditions are fully understood and met.

Personal Safety Considerations

WARNING This is a Safety Class I product (provided with a protective earthing
ground incorporated in the power cord). The mains plug shall only be inserted in a socket outlet provided with a protective earth contact. Any interruption of the protective conductor, inside or outside the instrument, is likely to make the instrument dangerous. Intentional interruption is prohibited. If this instrument is not used as specified, the protection provided by the equipment could be impaired. This instrument must be used in a normal condition (in which all means of protection are intact) only. No operator serviceable parts inside. Refer servicing to qualified personnel. To prevent electrical shock, do not remove covers. For continued protection against fire hazard, replace the line fuse(s) only with fuses of the same type and rating (for example, normal blow, time delay, etc.). The use of other fuses or material is prohibited.
Agilent E4418B/E4419B Programming Guide v

General Safety Considerations

ICES/NMB-001
ISM
GROUP 1
CLASS A
General Safety Considerations
WARNING Before this instrument is switched on, make sure it has been properly
grounded through the protective conductor of the ac power cable to a socket outlet provided with protective earth contact. Any interruption of the protective (grounding) conductor, inside or outside the instrument, or disconnection of the protective earth terminal can result in personal injury.
Caution Any adjustments or service procedures that require operation of the
instrument with protective covers removed should be performed only by trained service personnel.

Markings

The CE mark shows that the product complies with all the relevant European legal Directives (if accompanied by a year, it signifies when the design was proven.
This ISM device complies with Canadian ICES-001.
Cet appareil ISM est conforme à la norme NMB-001 du Canada.
This is the symbol of an Industrial Scientific and Medical Group 1 Class A product.
The CSA mark is a registered trademark of the Canadian Standards Association.
External Protective Earth Terminal.
While this is a Class I product, provided with a protective earthing conductor in a power cord, an external protective earthing terminal has also been provided. This terminal is for use where the earthing cannot be assured. At least an 18AWG earthing conductor should be used in such an instance, to ground the instrument to an assured earth terminal.
vi Agilent E4418B/E4419B Programming Guide
General Safety Considerations

IEC 1010-1 Compliance

This instrument has been designed and tested in accordance with IEC Publication 1010-1 +A1:1992 Safety Requirements for Electrical Equipment for Measurement, Control and Laboratory Use and has been supplied in a safe condition. The instruction documentation contains information and warnings which must be followed by the user to ensure safe operation and to maintain the instrument in a safe condition.

Statement of Compliance

This product has been designed and tested for compliance with IEC 60529 (1989) Degrees of Protection Provided by Enclosures (IP Code). Level IPx4 is attained if, and only if, the carry case(Agilent part number 34141A) is fitted.

User Environment

This product is designed for use in a sheltered environment (avoiding extreme weather conditions) in accordance with Pollution Degree 3 defined in IEC 60664-1, with the carry case (Agilent part number 34141A) fitted over the instrument.
The product is suitable for indoor use only, when this carry case is not fitted.

Installation Instructions

To avoid unnecessary over-temperature conditions, while this carry case is fitted do not apply an ac mains supply voltage, only operate your power meter from the battery pack.
Agilent E4418B/E4419B Programming Guide vii

About this Guide

About this Guide

Chapter 1: Power Meter Remote Operation

This chapter describes the parameters which configure the power meter and helps you determine settings to optimize performance.

Chapter 2: MEASurement Instructions

This chapter explains how to use the MEASure group of instructions to acquire data using a set of high level instructions.

Chapter 3: CALCulate Subsystem

This chapter explains how to use the CALCulate subsystem to perform post acquisition data processing.

Chapter 4: CALibration Subsystem

This chapter explains how to use the CALibration command subsystem to zero and calibrate the power meter.

Chapter 5: DISPlay Subsystem

This chapter explains how the DISPlay subsystem is used to control the the selection and presentation of the windows used on the power meter’s display.

Chapter 6: FORMat Subsystem

This chapter explains how the FORMat subsystem is used to set a data format for transferring numeric information.

Chapter 7: MEMory Subsystem

This chapter explains how the MEMory command subsystem is used to create, edit and review sensor calibration tables.

Chapter 8: OUTput Subsystem

This chapter explains how the OUTput command subsystem is used to switch the POWER REF output on and off.
viii Agilent E4418B/E4419B Programming Guide
About this Guide

Chapter 9: SENSe Subsystem

This chapter explains how the SENSe command subsystem directly affects device specific settings used to make measurements.

Chapter 10: STATus Subsystem

This chapter explains how the STATus command subsystem enables you to examine the status of the power meter by monitoring the “Device Status Register”, “Operation Status Register” and the “Questionable Status Register”.

Chapter 11: SYSTem Subsystem

This chapter explains how to use the SYSTem command subsystem to return error numbers and messages from the power meter, preset the power meter, set the GPIB address, set the command language and query the SCPI version.

Chapter 12: TRIGger Subsystem

This chapter explains how the TRIGger command subsystem is used synchronize device actions with events.

Chapter 13: UNIT Subsystem

This chapter explains how to use the UNIT command subsystem to set the power meter measurement units to Watts and % (linear) , or dBm and dB (logarithmic).

Chapter 14: SERVice Subsystem

This chapter explains how to use the SERVice command subsystem to obtain and set information useful for servicing the power meter.

Chapter 15: IEEE488.2 Command Reference

This chapter contains information about the IEEE488.2 Common Commands that the power meter supports.
Agilent E4418B/E4419B Programming Guide ix

List of Related Publications

List of Related Publications
The Agilent E4418B User’s Guide and the Agilent E4419B User’s Guide are available in the following languages:
English Language User’s Guide - Standard
German Language User’s Guide - Option ABD
Spanish Language User’s Guide - Option ABE
French Language User’s Guide - Option ABF
Italian Language User’s Guide - Option ABZ
Japanese Language User’s Guide - Option ABJ
Agilent E4418B/E4419B Service Guide is available by ordering Option 915.
Agilent E4418B/E4419B CLIPs (Component Location and Information Pack) is
available by ordering E4418-90031.
Useful information on SCPI (Standard Commands for Programmable Instruments) can be found in:
A Beginner’s Guide to SCPI, which is available by ordering Agilent Part Number 5010-7166.
The SCPI reference manuals which are available from: SCPI Consortium, 8380 Hercules Drive, Suite P3, La Mesa, CA 91942, USA. Telephone: 619-697-4301 Fax: 619-697-5955
x Agilent E4418B/E4419B Programming Guide

Table of Contents

Page
Legal Information......................................................................................iii
Notice .................................................................................................iii
Certification .......................................................................................iii
Warranty.............................................................................................iii
Limitation of Warranty ......................................................................iv
Exclusive Remedies ........................................................................... iv
Equipment Operation .................................................................................v
Personal Safety Considerations........................................................... v
General Safety Considerations ..................................................................vi
Markings ............................................................................................vi
IEC 1010-1 Compliance....................................................................vii
Statement of Compliance ..................................................................vii
User Environment .............................................................................vii
Installation Instructions.....................................................................vii
About this Guide .....................................................................................viii
List of Related Publications .......................................................................x
Power Meter Remote Operation........................................................................1-1
Introduction ................................................................................................1-2
Configuring the Remote Interface.............................................................. 1-3
Interface Selection...............................................................................1-3
GP-IB Address .................................................................................... 1-3
RS232/RS422 Configuration ..............................................................1-4
Programming Language Selection .....................................................1-4
Zeroing and Calibrating the Power Meter..................................................1-11
Zeroing ................................................................................................1-11
Calibration...........................................................................................1-11
Setting the Reference Calibration Factor............................................1-13
Making Measurements ...............................................................................1-14
Using MEASure? ................................................................................ 1-15
Using the CONFigure Command........................................................ 1-20
Using the Lower Level Commands ....................................................1-29
Using Sensor Calibration Tables................................................................1-30
Overview............................................................................................. 1-30
Editing Sensor Calibration Tables ......................................................1-33
Selecting a Sensor Calibration Table ..................................................1-38
Agilent E4418B/E4419B Programming Guide Contents-1
Enabling the Sensor Calibration Table System...................................1-38
Making the Measurement....................................................................1-39
Using Frequency Dependent Offset Tables................................................1-40
Overview .............................................................................................1-40
Editing Frequency Dependent Offset Tables ......................................1-42
Selecting a Frequency Dependent Offset Table ..................................1-45
Enabling the Frequency Dependent Offset Table System...................1-45
Making the Measurement....................................................................1-46
Setting the Range, Resolution and Averaging............................................1-47
Range...................................................................................................1-47
Resolution............................................................................................1-48
Averaging ............................................................................................1-48
Setting Offsets ............................................................................................1-51
Channel Offsets ...................................................................................1-51
Display Offsets ....................................................................................1-51
Example...............................................................................................1-52
Setting Measurement Limits.......................................................................1-53
Setting Window Limits........................................................................1-55
Checking for Limit Failures ................................................................1-55
Example...............................................................................................1-57
Measuring Pulsed Signals...........................................................................1-58
Making the Measurement....................................................................1-58
Triggering the Power Meter .......................................................................1-61
Idle State..............................................................................................1-63
Initiate State.........................................................................................1-64
Event Detection State ..........................................................................1-64
Trigger Delay.......................................................................................1-65
Getting the Best Speed Performance .........................................................1-66
Speed ...................................................................................................1-66
Trigger Mode.......................................................................................1-66
Output Format .....................................................................................1-68
Units ....................................................................................................1-68
Command Used ...................................................................................1-68
200 Readings/Sec ................................................................................1-68
Dual Channel Considerations ..............................................................1-69
How Measurements are Calculated ............................................................1-70
Status Reporting .........................................................................................1-71
The General Status Register Model.....................................................1-72
How to Use Registers ..........................................................................1-74
Status Register.....................................................................................1-79
Using the Operation Complete Commands.........................................1-89
Saving and Recalling Power Meter Configurations ...................................1-91
How to Save and Recall a Configuration ............................................1-91
Contents-2 Agilent E4418B/E4419B Programming Guide
Example Program................................................................................1-91
Using Device Clear to Halt Measurements................................................1-92
An Introduction to the SCPI Language...................................................... 1-93
Syntax Conventions ............................................................................1-95
SCPI Data Types.................................................................................1-95
Input Message Terminators................................................................. 1-101
Quick Reference......................................................................................... 1-102
MEASurement Commands .................................................................1-103
CALCulate Subsystem........................................................................1-104
CALibration Subsystem......................................................................1-105
DISPlay Subsystem............................................................................. 1-105
FORMat Subsystem ............................................................................1-105
MEMory Subsystem ........................................................................... 1-106
OUTPut Subsystem............................................................................. 1-106
[SENSe] Subsystem ............................................................................1-107
STATus Subsystem.............................................................................1-108
SYSTem Subsystem............................................................................1-109
TRIGger Subsystem............................................................................1-109
UNIT Subsystem.................................................................................1-110
SERVice Subsystem ........................................................................... 1-110
SCPI Compliance Information ..................................................................1-111
MEASurement Instructions ...............................................................................2-1
MEASurement Instructions........................................................................ 2-2
CONFigure[1|2]?........................................................................................2-6
CONFigure[1|2] Commands ......................................................................2-8
CONFigure[1|2][:SCALar][:POWer:AC]
[<expected_value>[,<resolution>[,<source list>]]] ................................... 2-9
CONFigure[1|2][:SCALar][:POWer:AC]:RELative
[<expected_value>[,<resolution>[,<source list>]]] ................................... 2-11
CONFigure[1|2][:SCALar][:POWer:AC]:DIFFerence
[<expected_value>[,<resolution>[,<source list>]]] ................................... 2-13
CONFigure[1|2][:SCALar][:POWer:AC]:DIFFerence:RELative
[<expected_value>[,<resolution>[,<source list>]]] ................................... 2-15
CONFigure[1|2][:SCALar][:POWer:AC]:RATio
[<expected_value>[,<resolution>[,<source list>]]] ................................... 2-17
CONFigure[1|2][:SCALar][:POWer:AC]:RATio:RELative
[<expected_value>[,<resolution>[,<source list>]]] ................................... 2-19
FETCh[1|2] Queries ...................................................................................2-21
FETCh[1|2][:SCALar][:POWer:AC]? [<expected_value>
[,<resolution>[,<source list>]]]..................................................................2-22
FETCh[1|2][:SCALar][:POWer:AC]:RELative?
Agilent E4418B/E4419B Programming Guide Contents-3
[<expected_value>[,<resolution>[,<source list>]]]....................................2-24
FETCh[1|2][:SCALar][:POWer:AC]:DIFFerence?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-27
FETCh[1|2][:SCALar][:POWer:AC]:DIFFerence:RELative?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-29
FETCh[1|2][:SCALar][:POWer:AC]:RATio?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-31
FETCh[1|2][:SCALar][:POWer:AC]:RATio:RELative?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-33
READ[1|2] Commands...............................................................................2-35
READ[1|2][:SCALar][:POWer:AC]? [<expected_value>
[,<resolution>[,<source list>]]] ..................................................................2-36
READ[1|2][:SCALar][:POWer:AC]:RELative?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-38
READ[1|2][:SCALar][:POWer:AC]:DIFFerence?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-41
READ[1|2][:SCALar][:POWer:AC]:DIFFerence:RELative?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-43
READ[1|2][:SCALar][:POWer:AC]:RATio? [<expected_value>
[,<resolution>[,<source list>]]] ..................................................................2-45
READ[1|2][:SCALar][:POWer:AC]:RATio:RELative?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-47
MEASure[1|2] Commands .........................................................................2-49
MEASure[1|2][:SCALar][:POWer:AC]? [<expected_value>
[,<resolution>[,<source list>]]] ..................................................................2-50
MEASure[1|2][:SCALar][:POWer:AC]:RELative?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-52
MEASure[1|2][:SCALar][:POWer:AC]:DIFFerence?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-54
MEASure[1|2][:SCALar][:POWer:AC]:DIFFerence:RELative?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-56
MEASure[1|2][:SCALar][:POWer:AC]:RATio?
[<expected_value>[,<resolution>[,<source list>]]]....................................2-58
MEASure[1|2][:SCALar][:POWer:AC]:RATio:RELa-
tive?[<expected_value>[,<resolution>[,<source list>]]]............................2-60
Contents-4 Agilent E4418B/E4419B Programming Guide
CALCulate Subsystem........................................................................................3-1
CALCulate Subsystem ............................................................................... 3-2
The CALCulate[1|2]:GAIN Node.............................................................. 3-4
CALCulate[1|2]:GAIN[:MAGNitude] <numeric_value>.......................... 3-5
CALCulate[1|2]:GAIN:STATe <Boolean> ............................................... 3-7
CALCulate[1|2]:LIMit Node......................................................................3-8
CALCulate[1|2]:LIMit:CLEar:AUTO <Boolean>|ONCE.........................3-9
CALCulate[1|2]:Limit:CLEar[:IMMediate] ..............................................3-11
CALCulate[1|2]LIMit:FAIL?.....................................................................3-12
CALCulate[1|2]:LIMit:FCOunt?................................................................3-13
CALCulate[1|2]:LIMit:LOWer[:DATA] <mumeric_value>..................... 3-15
CALCulate[1|2]:LIMit:STATe <Boolean>................................................3-17
CALCulate[1|2]:LIMit:UPPer[:DATA] <numeric_value>........................ 3-19
The CALCulate[1|2]:MATH Node ............................................................ 3-21
CALCulate[1|2]:MATH[:EXPRession] <string> ...................................... 3-22
CALCulate[1|2]:MATH[:EXPRession]:CATalog? ...................................3-24
The CALCulate[1|2]:RELative Node......................................................... 3-25
CALCulate[1|2]:RELative[:MAGNitude]:AUTO
<Boolean>|ONCE ......................................................................................3-26
CALCulate[1|2]:RELative:STATe <Boolean>..........................................3-28
CALibration Subsystem ..................................................................................... 4-1
CALibration Subsystem .............................................................................4-2
CALibration[1|2][:ALL] ............................................................................ 4-3
CALibration[1|2][:ALL]?...........................................................................4-5
CALibration[1|2]:AUTO <Boolean>|ONCE .............................................4-7
CALibration[1|2]:ECONtrol:STATe <Boolean>.......................................4-9
CALibration[1|2]:RCALibration <Boolean> .............................................4-10
CALibration[1|2]:RCFactor <numeric_value> .......................................... 4-12
CALibration[1|2]:ZERO:AUTO <Boolean>|ONCE..................................4-14
Agilent E4418B/E4419B Programming Guide Contents-5
DISPlay Subsystem..............................................................................................5-1
DISPlay Subsystem ....................................................................................5-2
DISPlay:CONTrast <numeric_value>........................................................5-3
DISPlay:ENABle <Boolean> .....................................................................5-5
DISPlay[:WINDow[1|2]] Node ..................................................................5-6
DISPlay[:WINDow[1|2]]:FORMat <character_data>................................5-7
DISPlay[:WINDow[1|2]]:METer Node .....................................................5-9
DISPlay[:WINDow[1|2]]:METer:LOWer <numeric_value> ....................5-10
DISPlay[:WINDow[1|2]]:METer:UPPer <numeric_value> ......................5-12
DISPlay[:WINDow[1|2]]:RESolution <numeric_value>...........................5-14
DISPlay[:WINDow[1|2]]:SELect...............................................................5-16
DISPlay[:WINDow[1|2]][:STATe] <Boolean> .........................................5-17
FORMat Subsystem ............................................................................................6-1
FORMat Subsystem....................................................................................6-2
FORMat[:READings]:BORDer NORMal|SWAPped................................6-3
FORMat[:READings][:DATA] <Type> ....................................................6-4
MEMory Subsystem............................................................................................7-1
MEMory Subsystem ...................................................................................7-2
MEMory:CATalog Node............................................................................7-3
MEMory:CATalog[:ALL]? ........................................................................7-4
MEMory:CATalog:STATe?.......................................................................7-6
MEMory:CATalog:TABLe? ......................................................................7-7
MEMory:CLEar Node................................................................................7-9
MEMory:CLEar[:NAME] <string> ...........................................................7-10
MEMory:CLEar:TABLe ............................................................................7-11
The MEMory:FREE Node..........................................................................7-12
MEMory:FREE[:ALL]? .............................................................................7-13
MEMory:FREE:STATe?............................................................................7-14
MEMory:FREE:TABLe? ...........................................................................7-15
MEMory:NSTates?.....................................................................................7-16
The MEMory:STATe Node........................................................................7-17
MEMory:STATe:CATalog?.......................................................................7-18
MEMory:STATe:DEFine <string>,<numeric_value> ...............................7-19
MEMory:TABLe Node ..............................................................................7-21
MEMory:TABLe:FREQuency <numeric_value>
{,<numeric_value>} ...................................................................................7-22
MEMory:TABLe:FREQuency:POINts? ....................................................7-25
MEMory:TABLe:GAIN[:MAGNitude] <numeric_value>{,<numeric_value>} 7-26
Contents-6 Agilent E4418B/E4419B Programming Guide
MEMory:TABLe:GAIN[:MAGNitude]:POINts?...................................... 7-28
MEMory:TABLe:MOVE <string>,<string>.............................................. 7-29
MEMory:TABLe:SELect <string> ............................................................7-30
OUTput Subsystem .............................................................................................8-1
OUTPut Subsystem ....................................................................................8-2
OUTPut:RECorder[1]|2:STATe ON|OFF..................................................8-4
OUTPut:ROSCillator[:STATe] <Boolean>............................................... 8-5
OUTPut:TTL[1|2]:ACTive HIGH|LOW ...................................................8-6
OUTPut:TTL[1|2]:FEED <string>.............................................................8-7
OUTPut:TTL[1|2]:STATe <Boolean>....................................................... 8-8
SENSe Subsystem................................................................................................ 9-1
[SENSe] Subsystem ...................................................................................9-2
[SENSe[1]]|SENSe2:AVERage Node ....................................................... 9-4
[SENSe[1]]|SENSe2:AVERage:COUNt <numeric_value> ......................9-5
[SENSe[1]]|SENSe2:AVERage:COUNt:AUTO
<Boolean>|ONCE ......................................................................................9-7
[SENSe[1]]|SENSe2:AVERage:SDETect <Boolean> ..............................9-10
[SENSe[1]]|SENSe2:AVERage[:STATe] <Boolean>...............................9-12
[SENSe[1]]|SENSe2:CORRection Node ...................................................9-13
[SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2 Node....................... 9-14
[SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2[:SELect] <string>...9-15 [SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2:STATe <Boolean>. 9-17
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3 Node ....................... 9-19
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3[:INPut]
[:MAGNitude] <numeric_value>...............................................................9-20
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3:STATe <Boolean> .9-23
[SENSe[1]]|SENSe2:CORRection:GAIN[1|2] Node.................................9-25
[SENSe[1]]|SENSe2:CORRection:CFACtor|GAIN[1|2][:INPut][:MAGNi-
tude] <numeric_value> ..............................................................................9-26
[SENSe[1]]|SENSe2:CORRection:GAIN2:STATe <Boolean> ................9-29
[SENSe[1]]|SENSe2:CORRection:FDOFfset|GAIN4[:INPut]
[:MAGNitude]? .......................................................................................... 9-31
[SENSe[1]]|SENSe2:CORRection:LOSS2 Node ......................................9-32
[SENSe[1]]|SENSe2:CORRection:LOSS2[:INPut]
[:MAGNitude] <numeric_value>...............................................................9-33
[SENSe[1]]|SENSe2:CORRection:LOSS2:STATe <Boolean> ................ 9-35
[SENSe[1]]|SENSe2:FREQuency[:CW|:FIXed
] <numeric_value> ..................................................................................... 9-37
The [SENSe[1]]|SENSe2:LIMit:CLEar Node ...........................................9-39
[SENSe[1]]|SENSe2:LIMit:CLEar:AUTO
<Boolean>|ONCE ......................................................................................9-40
[SENSe[1]]|SENSe2:LIMit:CLEar[:IMMediate] ......................................9-42
Agilent E4418B/E4419B Programming Guide Contents-7
[SENSe[1]]|SENSe2:LIMit:FAIL?.............................................................9-43
[SENSe[1]]|SENSe2:LIMit:FCOunt?.........................................................9-44
[SENSe[1]]|SENSe2:LIMit:LOWer[:DATA]
<numeric_value> ........................................................................................9-46
[SENSe[1]]|SENSe2:LIMit:STATe <Boolean>.........................................9-48
[SENSe[1]]|SENSe2:LIMit:UPPer[:DATA]
<numeric_value> ........................................................................................9-49
[SENSe[1]]|SENSe2:POWer:AC:RANGe <numeric_value>....................9-51
[SENSe[1]]|SENSe2:POWer:AC:RANGe:AUTO <Boolean>..................9-52
[SENSe[1]]|SENSe2:SPEed <numeric_value>..........................................9-54
[SENSe[1]]|SENSe2:V2P ATYPe|DTYPe.................................................9-56
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
Contents-8 Agilent E4418B/E4419B Programming Guide
SYSTem Subsystem ..........................................................................................11-1
SYSTem Subsystem................................................................................. 11-2
SYSTem:COMMunicate:GPIB[:SELF]:ADDRess
<numeric_value>...................................................................................... 11-3
SYStem:COMMunicate:Serial Node .......................................................11-4
SYSTem:COMMunicate:SERial:CONTrol
:DTR ON|OFF|IBFull...............................................................................11-5
SYSTem:COMMunicate:SERial:CONTrol
:RTS ON|OFF|IBFull ...............................................................................11-6
SYSTem:COMMunicate:SERial[:RECeive]:BAUD
<numeric_value>...................................................................................... 11-7
SYSTem:COMMunicate:SERial[:RECeive]:BITs
<numeric_value>...................................................................................... 11-9
SYSTem:COMMunicate:SERial[:RECeive]
:PACE XON|NONE ................................................................................. 11-11
SYSTem:COMMunicate:SERial[:RECeive]:PARity[:TYPE] EVEN|ODD|ZE-
RO|ONE|NONE .......................................................................................11-12
SYSTem:COMMunicate:SERial[:RECeive]:SBITs
<numeric_value>...................................................................................... 11-14
SYSTem:COMMunicate:SERial:TRANsmit:AUTO?............................. 11-15
SYSTem:COMMunicate:SERial:TRANsmit:BAUD
<numeric_value>...................................................................................... 11-16
SYSTem:COMMunicate:SERial:TRANsmit:BITs
<numeric_value>...................................................................................... 11-18
SYSTem:COMMunicate:SERial:TRANsmi
t:ECHO ON|OFF...................................................................................... 11-19
SYSTem:COMMunicate:SERial:TRANsmit
:PACE XON|NONE ................................................................................. 11-21
SYSTem:COMMunicate:SERial:TRANsmit:PARity[:TYPE]
EVEN|ODD|ZERO|ONE|NONE..............................................................11-22
SYSTem:COMMunicate:SERial:TRANsmit:SBITs
<numeric_value>...................................................................................... 11-24
SYSTem:ERRor? .....................................................................................11-26
SYSTem:LANGuage <character_data>................................................... 11-27
SYStem:LOCal.........................................................................................11-28
SYSTem:PRESet......................................................................................11-29
SYSTem:REMote..................................................................................... 11-32
SYSTem:RINTerface GPIB|RS232|RS422 ............................................. 11-33
SYSTem:RWLock ...................................................................................11-34
SYSTem:VERSion?.................................................................................11-35
Agilent E4418B/E4419B Programming Guide Contents-9
TRIGger Subsystem ..........................................................................................12-1
TRIGger Subsystem .................................................................................12-2
ABORt[1|2]...............................................................................................12-3
INITiate Node...........................................................................................12-4
INITiate[1|2]:CONTinuous <Boolean>....................................................12-5
INITiate[1|2][:IMMediate] .......................................................................12-7
TRIGger Node ..........................................................................................12-8
TRIGger[1|2]:DELay:AUTO <Boolean>.................................................12-9
TRIGger[1|2][:IMMediate].......................................................................12-11
TRIGger[1|2]:SOURce BUS|IMMediate|HOLD......................................12-12
UNIT Subsystem................................................................................................13-1
UNIT Subsystem ......................................................................................13-2
UNIT[1|2]:POWer <amplitude_unit> ......................................................13-3
UNIT[1|2]:POWer:RATio <ratio_unit> ...................................................13-6
SERVice Subsystem...........................................................................................14-1
SERVice Subsystem .................................................................................14-2
SERVice:OPTion <string> .......................................................................14-3
SERVice:SENSor[1|2]:CDATE? .............................................................14-4
SERVice:SENSor[1|2]:CPLace? ..............................................................14-5
SERVice:SENSor[1|2]:SNUMber? ..........................................................14-6
SERVice:SENSor[1|2]:TYPE?.................................................................14-7
SERVice:SNUMber <alpha_numeric> ....................................................14-8
SERVice:VERSion:PROCessor <string>.................................................14-9
SERVice:VERSion:SYSTem <string>.....................................................14-10
IEEE488.2 Command Reference .....................................................................15-1
IEEE-488 Compliance Information..........................................................15-2
Universal Commands ...............................................................................15-3
DCL ...................................................................................................15-3
GET ...................................................................................................15-3
GTL ...................................................................................................15-3
LLO ...................................................................................................15-4
PPC....................................................................................................15-4
PPD....................................................................................................15-4
PPE ....................................................................................................15-4
PPU....................................................................................................15-5
SDC ...................................................................................................15-5
SPD....................................................................................................15-6
SPE ....................................................................................................15-6
*CLS.........................................................................................................15-7
*DDT <arbitrary block program data>|
<string program data> ..............................................................................15-8
Contents-10 Agilent E4418B/E4419B Programming Guide
*ESE <NRf> ............................................................................................ 15-10
*ESR?....................................................................................................... 15-11
*IDN? ....................................................................................................... 15-12
*OPC ........................................................................................................15-13
*OPT?.......................................................................................................15-14
*RCL <NRf>............................................................................................15-15
*RST.........................................................................................................15-16
*SAV <NRf> ...........................................................................................15-17
*SRE <NRf> ............................................................................................ 15-18
*STB?....................................................................................................... 15-20
*TRG........................................................................................................15-22
*TST? ....................................................................................................... 15-23
*WAI........................................................................................................15-24
Agilent E4418B/E4419B Programming Guide Contents-11
Contents-12 Agilent E4418B/E4419B Programming Guide
List of Figures
Page
1-1 Sensor Calibration Tables.......................................................................1-31
1-2 Frequency Dependent Offset Tables ......................................................1-41
1-3 Averaged Readings.................................................................................1-49
1-4 Averaging Range Hysteresis ..................................................................1-49
1-5 Limits Checking Application..................................................................1-53
1-6 Limits Checking Results......................................................................... 1-54
1-7 Pulsed Signal ..........................................................................................1-58
1-8 Trigger System ....................................................................................... 1-63
1-9 How Measurements are Calculated ........................................................1-70
1-10 Generalized Status Register Model ........................................................1-72
1-11 Typical Status Register Bit Changes ...................................................... 1-73
1-12 Status System..........................................................................................1-79
3-1 CALCulate Block ...................................................................................3-3
9-1 Averaged Readings.................................................................................9-7
Agilent E4418B/E4419B Programming Guide Contents-13
Contents-14 Agilent E4418B/E4419B Programming Guide
List of Tables
Page
1-1 HP 437B Command Summary ...............................................................1-6
1-2 HP 438A Command Summary .............................................................. 1-9
1-3 MEASure? and CONFigure Preset States ..............................................1-14
1-4 Range of Values for Window Limits......................................................1-55
1-5 Bit Definitions - Status Byte Register ....................................................1-80
1-6 Bit Definitions - Standard Event Register .............................................. 1-82
3-1 Measurement Units.................................................................................3-15
3-2 Measurement Units.................................................................................3-19
5-1 Measurement Units.................................................................................5-10
5-2 Measurement Units.................................................................................5-12
10-1 Status Data Structure ............................................................................10-2
11-1 Preset Settings....................................................................................... 11-29
15-1 PPD Mapping .......................................................................................15-4
15-2 PPE Mapping........................................................................................15-5
15-3 *ESE Mapping......................................................................................15-10
15-4 *ESR? Mapping....................................................................................15-11
15-5 *SRE Mapping .....................................................................................15-18
15-6 *STB? Mapping....................................................................................15-20
Agilent E4418B/E4419B Programming Guide Contents-15
Contents-16 Agilent E4418B/E4419B Programming Guide
1

Power Meter Remote Operation

Power Meter Remote Operation

Introduction

Introduction
This chapter describes the parameters which configure the power meter and help you determine settings to optimize performance. It contains the following sections:
“Configuring the Remote Interface”, on page 1-3.
“Zeroing and Calibrating the Power Meter”, on page 1-11.
“Making Measurements”, on page 1-14.
“Using Sensor Calibration Tables”, on page 1-30.
“Using Frequency Dependent Offset Tables”, on page 1-40
“Setting the Range, Resolution and Averaging”, on page 1-47.
“Setting Offsets”, on page 1-51.
“Setting Measurement Limits”, on page 1-53.
“Measuring Pulsed Signals”, on page 1-58.
“Triggering the Power Meter”, on page 1-61.
“Getting the Best Speed Performance”, on page 1-66.
“How Measurements are Calculated”, on page 1-70.
“Status Reporting”, on page 1-71.
“Saving and Recalling Power Meter Configurations”, on page 1-91.
“Using Device Clear to Halt Measurements”, on page 1-92.
“An Introduction to the SCPI Language”, on page 1-93.
“Quick Reference”, on page 1-102.
“SCPI Compliance Information”, on page 1-111.
1-2 Agilent E4418B/E4419B Programming Guide
Power Meter Remote Operation

Configuring the Remote Interface

Configuring the Remote Interface
This section describes how to configure the GP-IB, RS232 and RS422 remote interfaces.

Interface Selection

You can choose to control the power meter remotely using either the GP-IB, RS232 or RS422 standard interfaces.
For information on selecting the remote interface manually from the front panel, refer to the Agilent Technologies E4418B/E4419B User’s Guides.
To select the interface remotely use the :
SYSTem:RINTerface command
To query the current remote interface selection use the:
SYSTem:RINTerface? command

GP-IB Address

Each device on the GP-IB (IEEE-488) interface must have a unique address. You can set the power meter’s address to any value between 0 and 30. The address is set to 13 when the power meter is shipped from the factory.
The address is stored in non-volatile memory, and does not change when the power meter is switched off, or after a remote interface reset.
Your GP-IB bus controller has its own address. Avoid using the bus controller’s address for any instrument on the interface bus. Hewlett-Packard controllers generally use address 21.
For information on setting the GP-IB address manually from the front panel, refer to the Agilent Technologies E4418B/E4419B User’s Guides.
To set the GP-IB address from the remote interface use the:
SYSTem:COMMunicate:GPIB:ADDRess command.
To query the GP-IB address from the remote interface use the;
SYSTem:COMMunicate:GPIB:ADDRess? query.
Agilent E4418B/E4419B Programming Guide 1-3
Power Meter Remote Operation
Configuring the Remote Interface

RS232/RS422 Configuration

The RS232/RS422 serial port on the rear panel is a nine pin D-type connector configured as a DTE (Data Terminal Equipment). For pin-out information and cable length restrictions refer to the Agilent Technologies E4418A/E4419B User’s Guides.
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 Agilent Technologies E4418A/E4419B User’s Guides. 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]:SBIT SYSTem:COMMunicate:SERial:TRANsmit:BAUD SYSTem:COMMunicate:SERial:TRANsmit:BIT SYSTem:COMMunicate:SERial:TRANsmit:ECHO SYSTem:COMMunicate:SERial:TRANsmit:PACE SYSTem:COMMunicate:SERial:TRANsmit:PARity[:TYPE] SYSTem:COMMunicate:SERial:TRANsmit:SBIT

Programming Language Selection

You can select one of two languages to program the power meter from the remote interface. The language is SCPI when the power meter is shipped from the factory. The other language depends on the model number of your power meter:
For E4418B the language is 437B programming language.
For E4419B the language is 438A programming language.
The language selection is stored in non-volatile memory, and does not change when power has been off, or after either a remote interface reset, or a front panel preset.
For information on selecting the interface language manually from the front panel, refer to the Agilent Technologies E4418B/E4419B User’s Guides.
To select the interface language from the remote interface use the:
SYSTem:LANGuage command.
To query the interface language from the remote interface use the:
1-4 Agilent E4418B/E4419B Programming Guide
Loading...
+ 450 hidden pages