Agilent Technologies Part no. E4416-90029 Fourth Edition, March 5, 2013 Program

Agilent Technologies Part no. E4416-90029 Fourth Edition, March 5, 2013 Programming Guide Agilent Technologies EPM-P Series Power Meters ii EPM-P Series Power Meters Programming Guide © Copyright 2000–2013 Agilent Technologies All rights reserved. Reproduction, adaptation, or translation without prior written permission is prohibited, except as allowed under the copyright laws. Printed in Malaysia. Equipment Operation EPM-P Series Power Meters Programming Guide iii 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. General Safety Considerations iv EPM-P Series Power Meters Programming Guide General Safety Considerations WARNING Before this instrument is switched on, make sure it has been properly grounded through the protective conductor of the ac power cable to a socket outlet provided with protective earth contact. Any interruption of the protective (grounding) conductor, inside or outside the instrument, or disconnection of the protective earth terminal can result in personal injury. Caution Any adjustments or service procedures that require operation of the instrument with protective covers removed should be performed only by trained service personnel. User Environment The product is suitable for indoor use only. About this Guide EPM-P Series Power Meters Programming Guide v 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. About this Guide vi EPM-P Series Power Meters Programming Guide Chapter 9: SENSe Subsystem This chapter explains how the SENSe command subsystem directly affects device specific settings used to make measurements. Chapter 10: STATus Subsystem This chapter explains how the STATus command subsystem enables you to examine the status of the power meter by monitoring the “Device Status Register”, “Operation Status Register” and the “Questionable Status Register”. Chapter 11: SYSTem Subsystem This chapter explains how to use the SYSTem command subsystem to return error numbers and messages from the power meter, preset the power meter, set the GPIB address, set the command language and query the SCPI version. Chapter 12: TRACe Subsystem This chapter explains how to use the TRACe command subsystem to configure and read back the measured power trace. Chapter 13: TRIGger Subsystem This chapter explains how the TRIGger command subsystem is used synchronize device actions with events. Chapter 14: UNIT Subsystem This chapter explains how to use the UNIT command subsystem to set the power meter measurement units to Watts and % (linear), or dBm and dB (logarithmic). Chapter 15: SERVice Subsystem This chapter explains how to use the SERVice command subsystem to obtain and set information useful for servicing the power meter. Chapter 16: IEEE488.2 Command Reference This chapter contains information about the IEEE488.2 Common Commands that the power meter supports. About this Guide EPM-P Series Power Meters Programming Guide vii Appendix A This appendix contains information about the calibration factor block layout. Related Publications viii EPM-P Series Power Meters Programming Guide Related Publications The EPM-P Series Power Meters User’s Guide is available on the CD-ROM and in the following languages: • English Language User’s Guide - Standard • German Language User’s Guide - Option ABD • Spanish Language User’s Guide - Option ABE • French Language User’s Guide - Option ABF • Italian Language User’s Guide - Option ABZ • Japanese Language User’s Guide - Option ABJ Useful information on SCPI (Standard Commands for Programmable Instruments) can be found in: • A Beginner’s Guide to SCPI, which is available by ordering Agilent Part Number 5010-7166. • The SCPI reference manuals which are available from: SCPI Consortium, 8380 Hercules Drive, Suite P3, La Mesa, CA 91942, USA. Telephone: 619-697-4301 Fax: 619-697-5955 Table of Contents Page EPM-P Series Power Meters Programming Guide Contents-1 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 Table of Contents Page Contents-2 EPM-P Series Power Meters Programming Guide Using Sensor Calibration Tables ...............................................................1-40 Overview .............................................................................................1-40 Editing Sensor Calibration Tables ......................................................1-43 Selecting a Sensor Calibration Table .................................................1-48 Enabling the Sensor Calibration Table System ..................................1-48 Making the Measurement....................................................................1-49 Using Frequency Dependent Offset Tables ...............................................1-50 Overview ............................................................................................1-50 Editing Frequency Dependent Offset Tables .....................................1-52 Selecting a Frequency Dependent Offset Table .................................1-55 Enabling A Frequency Dependent Offset Table ................................1-55 Making The Measurement ..................................................................1-55 Setting the Range, Resolution and Averaging ...........................................1-57 Range...................................................................................................1-57 Resolution ...........................................................................................1-58 Averaging ...........................................................................................1-58 Setting Offsets ...........................................................................................1-61 Channel Offsets ..................................................................................1-61 Display Offsets ...................................................................................1-61 Example...............................................................................................1-62 Setting Measurement Limits .....................................................................1-63 Setting Limits ......................................................................................1-64 Checking for Limit Failures ...............................................................1-65 Example...............................................................................................1-66 Measuring Pulsed Signals .........................................................................1-67 Using Duty Cycle ...............................................................................1-67 Making the Measurement....................................................................1-67 Getting the Best Speed Performance ........................................................1-70 Measurement Rate ..............................................................................1-70 Sensor ..................................................................................................1-71 Trigger Mode ......................................................................................1-71 Output Format ....................................................................................1-72 Units ...................................................................................................1-72 Command Used ...................................................................................1-73 Fast Mode............................................................................................1-73 How Measurements are Calculated ............................................................1-74 Status Reporting ........................................................................................1-75 The General Status Register Model ....................................................1-76 How to Use Registers..........................................................................1-78 Status Registers ..................................................................................1-83 Using the Operation Complete Commands ........................................1-93 Saving and Recalling Power Meter Configurations ..................................1-95 How to Save and Recall a Configuration ............................................1-95 EPM-P Series Power Meters Programming Guide Contents-3 Example Program................................................................................1-95 Using Device Clear to Halt Measurements ...............................................1-96 An Introduction to the SCPI Language .....................................................1-97 Syntax Conventions ............................................................................1-99 SCPI Data Types.................................................................................1-99 Input Message Terminators.................................................................1-105 Summary Of Commands ...........................................................................1-106 MEASurement Commands ...............................................................1-107 CALCulate Subsystem .......................................................................1-108 CALibration Subsystem .....................................................................1-109 DISPlay Subsystem ............................................................................1-109 FORMat Subsystem ...........................................................................1-109 MEMory Subsystem ..........................................................................1-111 OUTPut Subsystem ............................................................................1-111 [SENSe] Subsystem ...........................................................................1-113 STATus Subsystem ............................................................................1-115 SYSTem Subsystem ...........................................................................1-116 TRACe Subsystem .............................................................................1-116 TRIGger Subsystem............................................................................1-117 UNIT Subsystem ................................................................................1-117 SERVice Subsystem .........................................................................1-118 SCPI Compliance Information ..................................................................1-119 Measurement Commands...................................................................................2-1 Measurement Commands...........................................................................2-2 CONFigure[1]|2|3|4? ..................................................................................2-6 CONFigure[1]|2|3|4 Commands.................................................................2-8 CONFigure[1]|2|3|4[:SCALar][:POWer:AC] [<expected_value>[,<resolu­ tion>[,<source list>]]] ................................................................................2-9 CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:RELative [<expected_value>[,<resolution>[,<source list>]]] ...................................2-11 CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence [<expected_value>[,<resolution>[,<source list>]]] ...................................2-13 CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence:RELative [<expected_value>[,<resolution>[,<source list>]]] ...................................2-15 CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:RATio [<expected_value>[,<resolution>[,<source list>]]] ...................................2-17 CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative [<expected_value>[,<resolution>[,<source list>]]] ...................................2-19 FETCh[1]|2|3|4 Queries..............................................................................2-21 FETCh[1]|2|3|4[:SCALar][:POWer:AC]? [<expected_value>[,<resolu­ tion>[,<source list>]]] ................................................................................2-22 FETCh[1]|2|3|4[:SCALar][:POWer:AC]:RELative? Contents-4 EPM-P Series Power Meters Programming Guide [<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>[,<resolu­ tion>[,<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>[,<resolu­ tion>[,<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>[,<resolu­ tion>[,<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 uploads/s1/ e4416-programming-guide.pdf

  • 25
  • 0
  • 0
Afficher les détails des licences
Licence et utilisation
Gratuit pour un usage personnel Attribution requise
Partager
  • Détails
  • Publié le Aoû 11, 2022
  • Catégorie Administration
  • Langue French
  • Taille du fichier 6.6011MB