For warranty service or repair, this product must be returned to a service facility designated by HP. Buyer shall prepay shipping charges to HP and HP shall pay shipping charges, duties, and taxes for products returned to HP from another country.
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.
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. HP E4418B/E4419B Programming Guide...
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. HP E4418B/E4419B Programming Guide...
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( part number HP 34141A) is fitted. User Environment...
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 HP E4418B/E4419B Programming Guide...
Page 9
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. HP E4418B/E4419B Programming Guide...
List of Related Publications List of Related Publications The HP E4418B User’s Guide and the HP E4419B User’s Guide are available in the following languages: • English Language User’s Guide - Standard • German Language User’s Guide - Option ABD •...
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 HP E4418B/E4419B Programming Guide Contents-1...
Page 12
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 HP E4418B/E4419B Programming Guide...
Page 21
Trigger System................1-63 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 CALCulate Block ............... 3-3 Averaged Readings ..............9-7 HP E4418B/E4419B Programming Guide Contents-11...
Page 22
Contents-12 HP E4418B/E4419B Programming Guide...
List of Tables Page HP 437B Command Summary..........1-6 HP 438A Command Summary..........1-9 MEASure? and CONFigure Preset States ....... 1-14 Range of Values for Window Limits ......... 1-55 Bit Definitions - Status Byte Register ........1-80 Bit Definitions - Standard Event Register ....... 1-82 Measurement Units ..............
“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. HP E4418B/E4419B Programming Guide...
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 HP-IB bus controller has its own address. Avoid using the bus controller’s address for any instrument on the interface bus.
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 HP E4418A/E4419B User’s Guides. For remote operation use the following commands:...
Page 29
To query the interface language from the remote interface use the: • SYSTem:LANGuage? query. Table 1-1 details all the HP 437B commands that the HP E4418B supports and their function, and Table 1-2 details all the HP 438A commands that the E4419B supports and their function. For a detailed...
Power Meter Remote Operation Configuring the Remote Interface Table 1-1: HP 437B Command Summary Command Description Calibrate Clear all status registers *CLS Clear the status byte Clear sensor table All display segments on Duty Cycle off Duty Cycle on Display disable...
Page 31
Exit from relative mode Enter relative mode (take new reference) Enter relative mode (use last reference) Set measurement range Reset *RST Right arrow key Read service request mask Select sensor calibration table Status message Enter sensor identification/serial number HP E4418B/E4419B Programming Guide...
1. This command is accepted but has no active function. 2. This command is not an original HP 437B command. However, it can be used to set the measurement speed to 20 or 40 readings/sec in HP 437B mode. See SENSE:SPEED for more details.
Power Meter Remote Operation Configuring the Remote Interface Table 1-2: HP 438A Command Summary Command Description Sensor A minus Sensor B measurement SET A Sensor A measurement A/B ratio measurement Sensor B minus Sensor A measurement SET B Sensor B measurement...
Page 34
1. This command is accepted but has no active function. 2. This command is not an original HP 438A command. However, it can be used to set the measurement speed to 20 or 40 readings/sec in HP 438A mode. See SENSE:SPEED for more details.
An essential part of calibrating is setting the correct reference calibration factor for the power sensor you are using. The HP 8480 series power sensors require you to set the reference calibration factor. The...
Page 36
You can examine the Questionable Status Register or the error queue to discover if the sequence has passed or failed. Refer to “Status Reporting”, on page 1-71 for further information. 1-12 HP E4418B/E4419B Programming Guide...
Power Meter Remote Operation Zeroing and Calibrating the Power Meter Setting the Reference Calibration Factor All the HP 8480 series power sensors require you to set the reference calibration factor. The reference calibration factor can be set by: • entering the value into the power meter using the CALibrate[1|2]:RCFactor command.
You can select the measurement’s expected power level, resolution and with the HP E4419B the measurement type (that is single channel, difference or ratio measurements) all in one command. The power meter automatically presets other measurement parameters to default values as shown in Table 1-3.
You cannot change any settings (other than the expected power value, resolution and with the HP E4419B the measurement type) before the measurement is taken. This means you cannot fine tune the measurement, for example, you cannot change the filter length.
Page 40
The operation of the MEAS1? command when the source list parameter is defaulted is described in the note on page 1-18. Note For the HP E4418B 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.
Page 41
MEAS1? DEF,3 Example 5 - Making a Difference Measurement The following command can only be carried out on the HP E4419B. It queries the lower window to make a difference measurement of channel B - channel A . The expected power and resolution parameters are defaulted, leaving them at their current settings.
Page 42
Making Measurements Example 6 - Making a Ratio Measurement The following command can only be carried out on the HP E4419B. It queries the upper window to make a ratio measurement of channel A/B . The expected power and resolution parameters are defaulted, leaving them at their current settings.
Page 43
Power Meter Remote Operation Making Measurements Command Current Window Setup Measurement Lower Window: A/B MEAS2:POW:AC:RAT Any Other Upper Window: A-B MEAS1:POW:AC:DIFF? Any Other Lower Window: A-B MEAS2:POW:AC:DIFF? Any Other HP E4418B/E4419B Programming Guide 1-19...
It is advisable to read through these examples in order as they become increasingly more detailed. These examples give an overview of the CONFigure command. For further information on the CONFigure commands refer to Chapter 2, “MEASurement Instructions”. 1-20 HP E4418B/E4419B Programming Guide...
Page 45
INIT1 Retrieves the upper window’s measurement FETC1? For the HP E4418B only: Reset instrument *RST Configure lower window - HP E4418B defaults to channel A CONF2 Causes channel A to make measurement INIT1? Retrieves the lower window’s measurement FETC2? For the HP E4419B only:...
Page 46
CONFigure command otherwise an error occurs. Note For the HP E4418B it is not necessary to specify a channel as only one channel is available. Using READ? Aborts channel A ABOR1 Configures the upper window to...
Page 47
CONFigure and READ? commands. The first optional parameter is used to enter an expected power value. Entering this parameter is only relevant if you are using an HP E-series power sensor. The value entered determines which of the power sensor’s two ranges is used for the measurement.
Page 48
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-24 HP E4418B/E4419B Programming Guide...
Page 49
The resolution parameter is used to set the resolution of the specified window. This parameter does not affect the resolution of the HP-IB data, however it does affect the auto averaging setting (refer to Figure 1-3 on page 1-49).
Page 50
INIT1 measurement. Retrieves the upper window’s FETC1? measurement. Some fine tuning of the above program segment can be carried out for example, by setting the trigger delay off. ABOR1 CONF1 DEF,3 TRIG1:DEL:AUTO OFF INIT1:IMM FETC1? 1-26 HP E4418B/E4419B Programming Guide...
Page 51
Making Measurements Example 5 - Making a Difference Measurement The following program segment can be carried out on the HP E4419B. It queries the lower window to make a difference measurement of channel A - channel B. The expected power level and resolution parameters are defaulted, leaving them at their current settings.
Page 52
Making Measurements Example 6 - Making a Ratio Measurement The following program segment can be carried out on the HP E4419B. It queries the lower window to make a ratio measurement of channel A/B. The expected power level and resolution parameters are defaulted, leaving them at their current settings.
CALC2:MATH:EXPR "(SENS1)" window. Sets lower range (E-series sensors SENS1:POW:AC:RANG 0 only). Sets the lower window’s resolution DISP:WIND2:RES 3 to setting 3. Causes channel A to make a INIT1 measurement. Retrieves the lower window’s FETC2? measurement. HP E4418B/E4419B Programming Guide 1-29...
Using Sensor Calibration Tables Using Sensor Calibration Tables This section applies to all HP 8480 series power sensors. It does not apply to the HP E-series power sensors. The HP E-series power sensors have their sensor calibration tables stored in EEPROM which allows frequency and calibration factor data to be downloaded by the power meter automatically.
Reference Calibration Factor used for Power Meter Calibration. FREQ CFAC FREQ CFAC Frequency of the signal you want Calibration Factor used to measure to make Measurement. Calculated by the Power Meter using linear interpolation FREQ CFAC HP E4418B/E4419B Programming Guide 1-31...
Page 56
5. Specify the frequency of the signal you want to measure. The calibration factor is automatically set by the power meter from the sensor calibration table. 6. Make the measurement. 1-32 HP E4418B/E4419B Programming Guide...
" " Frequency n Calibration Factor n 4. If required, rename the sensor calibration table using: MEMory:TABLe:MOVE <string>,<string>. The first <string> parameter identifies the existing table name, and the second identifies the new table name. HP E4418B/E4419B Programming Guide 1-33...
Page 58
• <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-34 HP E4418B/E4419B Programming Guide...
Page 59
100%. This sensor calibration table can be used during the performance testing of the power meter. 2. The HP 8482B and HP 8482H power sensors use the same data as the HP 8482A. HP E4418B/E4419B Programming Guide...
Page 60
The sensor calibration table must consist of no more than 12 characters. b) All characters must be upper or lower case alphabetic characters, or numeric (0-9), or an underscore (_). c) No spaces are allowed in the name. 1-36 HP E4418B/E4419B Programming Guide...
Page 61
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-37 to enter the data into your computer. Edit this data, then resend it. HP E4418B/E4419B Programming Guide 1-37...
Enabling the Sensor Calibration Table System To enable the sensor calibration table, use the following command: [SENSe[1]]|SENSe2:CORRection:CSET1:STATe ON If you set [SENSe[1]]|SENSe2:CORRection:CSET1:STATe to ON and no sensor calibration table is selected error -221, “Settings conflict” occurs. 1-38 HP E4418B/E4419B Programming Guide...
To find out the value of the calibration factor being used by the power meter to make a measurement, use the query command: [SENSe[1]]|SENSe2:CORRection:CFAC? The response may be an interpolated value. To find out the value of the reference calibration factor being used, use the commands: CALibration[1|2]:RCFactor? HP E4418B/E4419B Programming Guide 1-39...
5. Specify the frequency of the signal you want to measure. The required offset is automatically set by the power meter from the frequency dependent offset table. 6. Make the measurement. 1-40 HP E4418B/E4419B Programming Guide...
OFFSET = Frequency Dependent Offset TABLE SELECTED FREQ OFFSET FREQ OFFSET Frequency dependent Frequency of the signal you want offset used to make to measure Measurement. Calculated by the Power Meter using linear interpolation. FREQ OFFSET HP E4418B/E4419B Programming Guide 1-41...
" " Frequency n Offset n 4. If required, rename the frequency dependent offset table using: MEMory:TABLe:MOVE <string>,<string>. The first <string> parameter identifies the existing table name, and the second identifies the new table name. 1-42 HP E4418B/E4419B Programming Guide...
Page 67
• <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. HP E4418B/E4419B Programming Guide 1-43...
Page 68
Query command which returns the name of the currently selected table. • MEMory:TABLe:FREQuency:POINTs? Query command which returns the number of stored frequency points. • MEMory:TABLe:FREQuency? Query command which returns the frequencies stored in the frequency dependent offset table (in Hz). 1-44 HP E4418B/E4419B Programming Guide...
Enabling the Frequency Dependent Offset Table System To enable the frequency dependent offset table, use the following command: [SENSe[1]]|SENSe2:CORRection:CSET2:STATe ON If you set [SENSe[1]]|SENSe2:CORRection:CSET2:STATe to ON and no frequency dependent offset table is selected error -221, “Settings conflict” occurs. HP E4418B/E4419B Programming Guide 1-45...
To find out the value of the offset being used by the power meter to make a measurement, use the query command: SENSe:CORRection:GAIN4|FDOFfset[:INPut][MAGNITUDE]? The response may be an interpolated value. 1-46 HP E4418B/E4419B Programming Guide...
The power meter has no internal ranges which can be set. The only ranges that can be set are those of the HP E-series power sensors. With an HP E-series power sensor the range can be set either automatically or manually.
filter mode. To enable and disable averaging use the following command: [SENSe[1]]|SENSe2:AVERage[:STATe] <Boolean> Note If you are using the HP 437B remote programming language you cannot enter a filter length above 512. Auto Averaging Mode To enable and disable auto filter mode, use the following command: [SENSe[1]]|SENSe2:AVERage:COUNt:AUTO <Boolean>...
10 dB Maximum Sensor Power Figure 1-4 illustrates part of the power sensor dynamic range hysteresis. Figure 1-4: Averaging Range Hysteresis Range Hysteresis 9.5 dB 10.5 dB Minimum Sensor Power Minimum Sensor Power + 10 dB HP E4418B/E4419B Programming Guide 1-49...
Page 74
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-50 HP E4418B/E4419B Programming Guide...
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 E4419B this offset is applied after any math calculations (refer to Figure 1-9 on page 1-70).
Power Meter Remote Operation Setting Offsets Example The following example program, in HP Basic, details how to use the channel and display offsets on an HP E4419B making a channel A/B ratio measurement. The final result will be: – ...
+90.00 dBm and the default lower limit is -90.00 dBm. A typical application for this feature is shown in Figure 1-5. Figure 1-5: Limits Checking Application Power Meter Swept Source Device Under Test CHANNEL A INPUT HP E4418B/E4419B Programming Guide 1-53...
Use the SENSe subsystem to configure the power meter for limits checking. The following example program, in HP Basic, shows how to set the limits to +4 dBm and +10 dBm. 10 !Create I/O path name 20 ASSIGN @Power to 713 30 !Clear the Power Meter’s Interface...
Refer to Chapter 8 “OUTput Subsystem” for TTL output programming commands and to the HP E4418B/E4419B User’s Guide for connector and pin-out information. Use the programming example for channel limits (page 1-54) as a guide to programming window limits.
Page 80
10-1 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. 1-56 HP E4418B/E4419B Programming Guide...
Specifies that TTL output 1 OUTP:TTL1:FEED “CALC1:LIM:LOW,CALC1:LIM:UPP” should be asserted when the upper or lower limit fails on the upper window. Specifies that TTL output 1 OUTP:TTL1:ACT HIGH should be active-high. Activates TTL output 1 OUTP:TTL1:STAT ON HP E4418B/E4419B Programming Guide 1-57...
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 HP 8480 series power sensors. 1-58 HP E4418B/E4419B Programming Guide...
Page 83
!Initiate the measurement OUTPUT @Power;"INIT1:IMM" !... and get the result OUTPUT @Power;"FETC?" ENTER @Power;Reading PRINT "The result is ";Reading*1000;"mW" 380 ELSE PRINT "THERE WAS A CALIBRATION ERROR!" 400 END IF 410 PRINT "PROGRAM COMPLETED" 420 END HP E4418B/E4419B Programming Guide 1-59...
Page 84
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-60 HP E4418B/E4419B Programming Guide...
The trigger configuration is automatically set by the MEASure? command. If you want to use the lower level commands (READ? or INITiate), you need to understand the power meter’s trigger model. HP E4418B/E4419B Programming Guide 1-61...
Page 86
“wait-for-trigger” state by executing an INITiate command. The “wait-for-trigger” state is a term used only for remote interface operation. The TRIGger commands are used to synchronize power meter actions with specified events. Figure 1-8 summarizes the power meter’s trigger system. 1-62 HP E4418B/E4419B Programming Guide...
Power Meter Measurement Actions Idle State Turning power on, sending an HP-IB CLEAR, sending a *RST or an :ABORt forces the trigger system into the idle state. The trigger system remains in the IDLE state until it is initiated by INITiate:CONTinuous ON or INITiate:IMMediate.
TRIGger:SOURce There are three possible trigger sources. • The trigger source is the HP-IB group execute trigger (<GET>), a *TRG command, or the TRIGger:IMMediate command. • HOLD Triggering is suspended. The only way to trigger the power meter is to send TRIGger:IMMediate.
To disable the delay, use the following command: TRIGger:DELay:AUTO OFF Note MEASure? and CONFigure automatically enable the delay. Also, when the power meter is first powered on the delay is enabled. For the fastest possible measurements the delay should be disabled. HP E4418B/E4419B Programming Guide 1-65...
Getting the Best Speed Performance This section discusses the factors that influence the speed of operation (number of readings/sec) of an HP E4418B/E4419B power meter. The following factors are those which have the greatest effect upon measurement speed (in no particular order): •...
Page 91
filter and the number of readings that have been taken since a change in power level. With trigger with delay enabled, the measurement speed can be calculated roughly using the following equation: readings/sec = speed (as set by SENSe:SPEed) / filter length HP E4418B/E4419B Programming Guide 1-67...
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 HP-IB traffic. The latter can be reduced using the FORMat REAL command to return results in binary format. The...
700 series HPUX workstation. • you are using a low end PC. • you are using a graphical programming environment (such as HP VEE). Dual Channel Considerations With the dual channel instrument, consideration must be taken of what operation is required on both channels.
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 HP E4419B only. The MEAS[1|2]:POW:AC? and MEAS[1|2]:POW:AC:REL? are the only commands relevant to the HP E4418B. 1-70...
The Status and Standard Event registers are read using the IEEE-488.2 common commands. These are the most commonly used registers and are described in detail in this section. The Operation and Questionable Status registers are read using the SCPI STATus command subsystem. HP E4418B/E4419B Programming Guide 1-71...
It remains set until the event register is cleared; either when you read the register or when you send the *CLS (clear status) command. Event registers are read-only. 1-72 HP E4418B/E4419B Programming Guide...
T1 to T5. Figure 1-11: Typical Status Register Bit Changes Case A Case B 0 0 0 Case C 0 0 0 Case D Condition marks when event register is read HP E4418B/E4419B Programming Guide 1-73...
• are monitoring more than one device which supports SRQ interrupts. • need to have the controller do something else while it’s waiting. • cannot afford the performance penalty inherent to polling. 1-74 HP E4418B/E4419B Programming Guide...
Page 99
1. Determine which register contains the bit that monitors the condition. 2. Send the unique HP-IB query that reads that register. 3. Examine the bit to see if the condition has changed. The polling method works well if you do not need to know about the changes the moment they occur.
Page 100
The SRQ Method When a bit of the Status Register is set and has been enabled to assert SRQ (*SRE command), the power meter sets the HP-IB SRQ line true. This interrupt can be used to interrupt your program to suspend its current operation and find out what service the power meter requires.
Page 101
ASSIGN @Pm TO 713 ! Power meter HPIB address ON INTR 7 GOTO Srq_i ! Define service request handler CLEAR @Pm ! Selective device clear OUTPUT @Pm;”*CLS” ! Clear registers OUTPUT @Pm;”SYST:PRES” ! Preset meter HP E4418B/E4419B Programming Guide 1-77...
Page 102
! Operation status bit set? OUTPUT @Pm;”STAT:OPER?”! Yes , read register ENTER @Pm;Oper ! (this also clears it) OUTPUT @Pm;”STAT:OPER:ULF?” ENTER @Pm;Ulf IF Ulf=2 THEN PRINT “Over limit detected” END IF GOTO 190 ! Return to idle loop 1-78 HP E4418B/E4419B Programming Guide...
(bit 15) is not used and is always set to 0. Figure 1-12: Status System Device Status Error/Event Queue Condition Event Enable Questionable Status Condition Event Enable Status Byte Output Queue RQS/MSS *STB? *SRE Standard Event Event Enable *ESR *ESE Operation Status Condition Event Enable HP E4418B/E4419B Programming Guide 1-79...
Page 104
(bits must be “enabled” in enable register). Request Service The power meter is requesting service (serial poll). Operation Status Register summary bit. One or more bits are set in the Operation Status Register (bits must be “enabled” in enable register). 1-80 HP E4418B/E4419B Programming Guide...
Page 105
*OPC command. Any or all of these conditions can be reported in the standard event summary bit through the enable register. You must write a decimal value using the *ESE (event status enable) command to set the enable register mask. HP E4418B/E4419B Programming Guide 1-81...
Page 106
*CLS (clear status) command. • query the event register using the *ESR? (event status register) command. The standard event enable register is cleared when you: • cycle the instrument power. • execute a *ESE 0 command. 1-82 HP E4418B/E4419B Programming Guide...
Page 107
The following bits in these registers are used by the power meter. Decimal Definition Number Weight 0 to 2 Not used POWer Summary 4 to 7 Not used CALibration Summary Power On Self Test 10 to 14 Not Used Not used (always 0) HP E4418B/E4419B Programming Guide 1-83...
Page 108
Power On SET: This bit is set when the power on self test fails. Self Test CLEARED: When the power on self test passes. 1. HP E4419B only 1-84 HP E4418B/E4419B Programming Guide...
Page 109
SET: At beginning of zeroing (CALibration:ZERO:AUTO ONCE) and at the beginning of calibration (CALibration:AUTO ONCE). Also for the compound command/query CALibration[:ALL]?, this bit is set at the beginning of the zero. CLEARED: At the end of zeroing or calibration. HP E4418B/E4419B Programming Guide 1-85...
Page 110
SET: When the power meter is reading data from the HP E-series power sensor EEPROM. CLEARED: When the power meter is not reading data from the HP E-series power sensor EEPROM. Lower This is a summary bit for the Lower Limit Fail Limit Fail Register.
Page 111
Not used Channel A sensor connected Channel B sensor connected Channel A sensor error Channel B sensor error Channel A sensor Front/Rear Channel B sensor Front/Rear 16384 Front Panel key press 1. HP E4419B only HP E4418B/E4419B Programming Guide 1-87...
Page 112
This is an event, and DOES NOT set the condition Key Press register. The bit will be set in the event register which will be cleared when read. Note that the transition registers are of no use for this bit. 1-88 HP E4418B/E4419B Programming Guide...
The *OPC command sets bit 0 (Operation Complete) in the Standard Event Status Register when all pending power meter operations are complete. By enabling this bit to be reflected in the Status Register, you can ensure synchronization using the HP-IB serial poll. Procedure •...
Page 114
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.
To reduce repeated programming, up to ten power meter configurations can be stored in the power meter’s non-volatile memory. The error list, HP-IB address, programming language, sensor calibration table data, zeroing and calibration information are not stored. How to Save and Recall a Configuration Power meter configurations are saved and recalled with the following...
All measurements in progress are aborted. • The power meter returns to the trigger “idle state”. • The power meter’s input and output buffers are cleared. • The power meter is prepared to accept a new command string. 1-92 HP E4418B/E4419B Programming Guide...
(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. HP E4418B/E4419B Programming Guide 1-93...
Page 118
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-94 HP E4418B/E4419B Programming Guide...
1 and OFF corresponds to 0. On input, an <NRf> is rounded to an integer. A nonzero result is interpreted as 1. Queries always return a 1 or 0, never ON or OFF. HP E4418B/E4419B Programming Guide 1-95...
Page 120
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-96 HP E4418B/E4419B Programming Guide...
Page 121
(that is, hexadecimal, octal and binary). The following syntax diagram shows the standard for these three data structures. For example, #HA2F, #ha4e, #Q62, #q15, #B01011. <digit> Refer to section 7.7.4.1 of IEEE 488.2 for further details. HP E4418B/E4419B Programming Guide 1-97...
Page 122
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-98 HP E4418B/E4419B Programming Guide...
Page 123
-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). HP E4418B/E4419B Programming Guide 1-99...
Page 124
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 " " <inserted > " " <non-double quote char> 1-100 HP E4418B/E4419B Programming Guide...
<newline> is also accepted. Many programming languages allow you to specify a message terminator character or EOI state to be automatically sent with each bus transaction. Message termination always sets the current path back to the root-level. HP E4418B/E4419B Programming Guide 1-101...
This Guide details the commands available for both the Note HP E4418B and the HP E4419B power meters. As the HP E4418B 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 HP E4419B.
SYSTem:VERSion? command from the remote interface. The following commands are device-specific to the HP E4418B/E4419B. They are not included in the 1996.0 version of the SCPI standard. However, these commands are designed with the SCPI format in mind and they follow all of the syntax rules of the standard.
Page 136
Power Meter Remote Operation SCPI Compliance Information SYSTem:RWLock TRANsmit:ECHO UNIT[1|2]:POWer:RATio 1-112 HP E4418B/E4419B Programming Guide...
Page 137
Device Status Error/Event Queue Each of the 16-bit status groups consists of 5 Sensor A Connected registers as shown on page 1-72. Sensor B Connected Sensor A Error Sensor B Error Sensor A Front / Rear Questionable POWer Summary Sensor B Front / Rear Questionable POWer Summary Channel A POWer Channel B POWer...
Page 139
This allows you to perform several different FETCh? functions on a single set of acquired data. The HP E4418B/E4419B power meters have several command extensions to the SCPI standard. These are the RELative and DIFFerence nodes.
Page 140
A/B or B/A. Entering a <source list> is only relevant if you are using an HP E4419B. As the HP E4418B only has a single channel the source list can only be channel A.
CONFigure command or +20 dBm by default. Note that when the display is showing dual windows this value is meaningless. The <resolution> returned is the same as the value returned by DISPlay:WINDow:RESolution?. The format of the return is <NR1> in the range 1 through 4. HP E4418B/E4419B Programming Guide...
Page 144
3. • the source list on the HP E4418B is set to channel A on both windows. on the HP E4419B is set to channel A on the upper window and channel B on the lower window.
INITiate is sent. Sets the power meter to make the TRIGger:SOURce IMMediate measurement immediately a trigger is received. Enables automatic delay before making the TRIGger:DELay:AUTO ON measurement. SENSE:AVERage:COUNt:AUTO ON Enables automatic filter length selection. Enables averaging. SENSE:AVERage:STATe ON HP E4418B/E4419B Programming Guide...
This command is used on the specified window, to set: • the expected power level value of the measurement. • the resolution of the window. • the channel on which the measurement is to be made. Syntax CONF :POW :SCAL expected_value Space resolution source list HP E4418B/E4419B Programming Guide...
Page 147
(@2) (HP E4419B only) If unspecified the current window setup is used. However, on the HP E4419B, if the window shows a ratio or difference measurement, the upper window defaults to channel A and the lower window to channel B.
W. The power level) default units are defined by UNIT:POWer. resolution A numeric value for the resolution. 1 to 4 If unspecified the current 1.0, 0.1, 0.01, 0.001 resolution setting is used. HP E4418B/E4419B Programming Guide 2-11...
Page 149
(@2) (HP E4419B If unspecified the current window only) setup is used. However, on the HP E4419B, if the window shows a ratio or difference measurement, the upper window defaults to channel A and the lower window to channel B.
CONFigure[1|2][:SCALar][:POWer:AC]:DIFFerence [<expected_value>[,<resolution>[,<source list>]]] CONFigure[1|2][:SCALar][:POWer:AC]:DIFFerence [<expected_value>[,<resolution>[,<source list>]]] This command is only relevant for the HP E4419B power meter. This command is used to set the measurement function and resolution of the specified window. It sets the measurement function to difference with relative mode off.
Page 151
1, 0.1, 0.01 and 0.001 respectively. Example This command configures the CONF2:DIFF DEF,1,(@2),(@1) lower window to make a difference measurement of channel B - channel A, using the current sensor range and a resolution of 1 on both channels. 2-14 HP E4418B/E4419B Programming Guide...
[<expected_value>[,<resolution>[,<source list>]]] CONFigure[1|2][:SCALar][:POWer:AC]:DIFFerence:RELative [<expected_value>[,<resolution>[,<source list>]]] This command is only relevant for the HP E4419B power meter. This command is used to set 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 that set by the CALCulate:RELative:MAGNitude:AUTO command.
Page 153
This command configures the CONF1:DIFF:REL DEF,1,(@1),(@2) upper window to make a difference measurement of channel A - channel B with relative mode on, using the current sensor range and a resolution of 1 on both channels. 2-16 HP E4418B/E4419B Programming Guide...
CONFigure[1|2][:SCALar][:POWer:AC]:RATio [<expected_value>[,<resolution>[,<source list>]]] CONFigure[1|2][:SCALar][:POWer:AC]:RATio [<expected_value>[,<resolution>[,<source list>]]] This command is only relevant for the HP E4419B power meter. This command is used to set the measurement function, range and resolution of the specified window. It sets the measurement function to ratio with relative mode off.
Page 155
1, 0.1, 0.01 and 0.001 respectively. Example This command configures the CONF1:RAT DEF,4,(@1),(@2) upper window to make a ratio measurement of channel A over channel B, using the current sensor range and a resolution setting of 4 on both channels. 2-18 HP E4418B/E4419B Programming Guide...
Page 156
CONFigure[1|2][:SCALar][:POWer:AC]:RATio:RELative [<expected_value>[,<resolution>[,<source list>]]] This command is only relevant for the HP E4419B power meter. This command is used to set 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.
This command configures the CONF1:RAT:REL DEF,1,(@1),(@2) upper window to make a ratio measurement of channel A over channel B with relative mode on, using the current sensor range and a resolution setting of 1 on both channels. 2-20 HP E4418B/E4419B Programming Guide...
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. HP E4418B/E4419B Programming Guide 2-21...
A numeric value for the resolution. 1 to 4 If it is unspecified the current 1.0, 0.1, 0.01, 0.001 resolution setting is used. If a value is entered it should correspond to the current resolution setting otherwise an error occurs. 2-22 HP E4418B/E4419B Programming Guide...
Page 160
If (@2) (HP E4419B unspecified the current window only) setup is used. However, on the HP E4419B, if the window shows a ratio or difference measurement, the upper window defaults to channel A and the lower window to channel B.
CONFigure otherwise an error occurs. The units of measurement are dBm and W. The default units are defined by UNIT:POWer. The default value is +20 dBm. 2-24 HP E4418B/E4419B Programming Guide...
Page 162
If (@2) unspecified the current window setup is used. However, on the HP E4419B, if the window shows a ratio or difference measurement, the upper window defaults to channel A and the lower window to channel B.
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 HP E4418B/E4419B Programming Guide...
FETCh[1|2][:SCALar][:POWer:AC]:DIFFerence? [<expected_value>[,<resolution>[,<source list>]]] FETCh[1|2][:SCALar][:POWer:AC]:DIFFerence? [<expected_value>[,<resolution>[,<source list>]]] This command is only relevant for the HP E4419B power meter. This command sets the specified window’s 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]:POWer.
Page 165
It becomes invalid when either a reset occurs or any measurement parameter, for example frequency, is changed. If the resolution parameter is not the same as the current resolution setting on the specified window, error -221, “Settings conflict” occurs. 2-28 HP E4418B/E4419B Programming Guide...
Page 166
FETCh[1|2][:SCALar][:POWer:AC]:DIFFerence:RELative? [<expected_value>[,<resolution>[,<source list>]]] This command is only relevant for the HP E4419B power meter. This command sets the specified window’s 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]:POWer:RATio.
It becomes invalid when either a reset occurs or any measurement parameter, for example frequency, is changed. If the resolution parameter is not the same as the current resolution setting on the specified window, error -221, “Settings conflict” occurs. 2-30 HP E4418B/E4419B Programming Guide...
FETCh[1|2][:SCALar][:POWer:AC]:RATio? [<expected_value>[,<resolution>[,<source list>]]] FETCh[1|2][:SCALar][:POWer:AC]:RATio? [<expected_value>[,<resolution>[,<source list>]]] This command is only relevant for the HP E4419B power meter. This command sets the specified window’s 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]:POWer:RATio.
Page 169
It becomes invalid when either a reset occurs or any measurement parameter, for example frequency, is changed. If the resolution parameter is not the same as the current resolution setting on the specified window, error -221, “Settings conflict” occurs. 2-32 HP E4418B/E4419B Programming Guide...
Page 170
FETCh[1|2][:SCALar][:POWer:AC]:RATio:RELative? [<expected_value>[,<resolution>[,<source list>]]] This command is only relevant for the HP E4419B power meter. This command sets the specified window’s 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]:POWer:RATio.
It becomes invalid when either a reset occurs or any measurement parameter, for example frequency, is changed. If the resolution parameter is not the same as the current resolution setting on the specified window, error -221, “Settings conflict” occurs. 2-34 HP E4418B/E4419B Programming Guide...
The expected power level sensor dependent (for the parameter can be set to DEF or a expected numeric value. If a value is power level) entered it should correspond to that set by CONFigure otherwise an error occurs. 2-36 HP E4418B/E4419B Programming Guide...
Page 174
(@2) (HP E4419B If unspecified the current window only) setup is used. However, on the HP E4419B, if the window shows a ratio or difference measurement, the upper window defaults to channel A and the lower window to channel B.
The expected power level sensor dependent (for the parameter can be set to DEF or a expected numeric value. If a value is power level) entered it should correspond to that set by CONFigure otherwise an error occurs. 2-38 HP E4418B/E4419B Programming Guide...
Page 176
(@2) (HP E4419B If unspecified the current window only) setup is used. However, on the HP E4419B, if the window shows a ratio or difference measurement, the upper window defaults to channel A and the lower window to channel B.
Page 177
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 HP E4418B/E4419B Programming Guide...
READ[1|2][:SCALar][:POWer:AC]:DIFFerence? [<expected_value>[,<resolution>[,<source list>]]] READ[1|2][:SCALar][:POWer:AC]:DIFFerence? [<expected_value>[,<resolution>[,<source list>]]] This command is only relevant for the HP E4419B power meter. This command sets the specified window’s 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.
Page 179
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 HP E4418B/E4419B Programming Guide...
Page 180
READ[1|2][:SCALar][:POWer:AC]:DIFFerence:RELative? [<expected_value>[,<resolution>[,<source list>]]] This command is only relevant for the HP E4419B power meter. This command sets the specified window’s 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.
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 HP E4418B/E4419B Programming Guide...
READ[1|2][:SCALar][:POWer:AC]:RATio? [<expected_value>[,<resolution>[,<source list>]]] READ[1|2][:SCALar][:POWer:AC]:RATio? [<expected_value>[,<resolution>[,<source list>]]] This command is only relevant for the HP E4419B power meter. This command sets the specified window’s 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.
Page 183
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 HP E4418B/E4419B Programming Guide...
READ[1|2][:SCALar][:POWer:AC]:RATio:RELative? [<expected_value>[,<resolution>[,<source list>]]] READ[1|2][:SCALar][:POWer:AC]:RATio:RELative? [<expected_value>[,<resolution>[,<source list>]]] This command is only relevant for the HP E4419B power meter. This command sets the specified window’s 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.
Page 185
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 HP E4418B/E4419B Programming Guide...
The format of the return is <NR3>, for example, -6.98970004E-001. MEASure? is a compound command which is equivalent to: • For the HP E4418B the MEASure? query is equivalent to: ABORt CONFigure READ? •...
W. The power level) default units are defined by UNIT:POWer. resolution A numeric value for the resolution. 1 to 4 If unspecified the current 1.0, 0.1, 0.01, 0.001 resolution setting is used. 2-50 HP E4418B/E4419B Programming Guide...
Page 188
(@2) (HP E4419B If unspecified the current window only) setup is used. However, on the HP E4419B, if the window shows a ratio or difference measurement, the upper window defaults to channel A and the lower window to channel B.
W. The power level) default units are defined by UNIT:POWer. resolution A numeric value for the resolution. 1 to 4 If unspecified the current 1.0, 0.1, 0.01, 0.001 resolution setting is used. 2-52 HP E4418B/E4419B Programming Guide...
Page 190
(@2) (HP E4419B If unspecified the current window only) setup is used. However, on the HP E4419B, if the window shows a ratio or difference measurement, the upper window defaults to channel A and the lower window to channel B.
MEASure[1|2][:SCALar][:POWer:AC]:DIFFerence? [<expected_value>[,<resolution>[,<source list>]]] MEASure[1|2][:SCALar][:POWer:AC]:DIFFerence? [<expected_value>[,<resolution>[,<source list>]]] This command is only relevant for the HP E4419B power meter. This command sets the specified window’s 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.
Page 192
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 This command queries the MEAS2:DIFF? difference measurement on the lower window. HP E4418B/E4419B Programming Guide 2-55...
[<expected_value>[,<resolution>[,<source list>]]] MEASure[1|2][:SCALar][:POWer:AC]:DIFFerence:RELative? [<expected_value>[,<resolution>[,<source list>]]] This command is only relevant for the HP E4419B power meter. This command sets the specified window’s 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.
Page 194
1, 0.1, 0.01 and 0.001 respectively. Example This command queries the MEAS1:DIFF:REL? DEF,3,(@2),(@1) upper window’s relative difference measurement of channel B - channel A, using the current sensor range and a resolution setting of 3 on both channels. HP E4418B/E4419B Programming Guide 2-57...
MEASure[1|2][:SCALar][:POWer:AC]:RATio? [<expected_value>[,<resolution>[,<source list>]]] MEASure[1|2][:SCALar][:POWer:AC]:RATio? [<expected_value>[,<resolution>[,<source list>]]] This command is only relevant for the HP E4419B power meter. This command sets the specified window’s 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.
Page 196
1, 0.1, 0.01 and 0.001 respectively. Example This command queries the lower MEAS2:RAT? DEF,1,(@1),(@2) window’s ratio measurement of channel A over channel B, using the current sensor range and a resolution of 1 on both channels. HP E4418B/E4419B Programming Guide 2-59...
MEASure[1|2][:SCALar][:POWer:AC]:RATio:RELative? [<expected_value>[,<resolution>[,<source list>]]] This command is only relevant for the HP E4419B power meter. This command sets the specified window’s 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.
Page 198
When the measurement result is logarithmic 1 to 4 represents a resolution of 1, 0.1, 0.01 and 0.001 respectively. Example This command queries the MEAS:RAT:REL? relative ratio measurement on the upper window. HP E4418B/E4419B Programming Guide 2-61...
This node is used to enter and enable a display offset on the specified window. The display offset is applied to the measurement signal after any math calculation. The commands associated with this block are: CALCulate[1|2]:GAIN[:MAGNitude] <numeric value> CALCulate[1|2]:GAIN:STATe <Boolean> HP E4418B/E4419B Programming Guide...
The value for MAX is +100.000 dB. Example This command enters a display CALC2:GAIN 20 offset of 20 dB to the lower window. Reset Condition On reset, the display offset is set to 0 dB (DEF). HP E4418B/E4419B Programming Guide...
Page 205
Query Example This command queries the current CALC1:GAIN? setting of the display offset on the upper window. Error Message If CALCulate[1|2]:GAIN[:MAGNitude] is set to ON while SENSe:SPEed is set to 200, the error -221, “Settings Conflict” occurs. HP E4418B/E4419B Programming Guide...
This command queries whether CALC1:GAIN:STAT? the display offset on the upper window is on or off. Error Message If CALCulate[1|2]:GAIN:STATe is set to ON while SENSe:SPEed is set to 200, the error -221, “Settings Conflict” occurs. HP E4418B/E4419B Programming Guide...
The commands included in this section allow you to set upper and lower level limits; query if there has been a failure; count the number of failures; and clear the counter. The commands asociated with this node are: CALCulate[1|2]:LIMit:CLEar:Auto CALCulate[1|2]:LIMit:CLEar[IMMediate] CALCulate[1|2]:LIMit:FAIL? CALCulate[1|2]:LIMit:FCOunt? CALCulate[1|2]:LIMit:LOWer[:DATA] CALCulate[1|2]:LIMit:UPPer[:DATA] CALCulate[1|2]:LIMit:STATe HP E4418B/E4419B Programming Guide...
Syntax Space 0|OFF CALC :LIM :CLE :AUTO 1|ON ONCE Example This command switches on CALC1:LIM:CLE:AUTO 1 automatic clearing of the FCO for the upper window.. Reset Condition On reset, both windows are set to ON. HP E4418B/E4419B Programming Guide...
Page 209
If a measurement is initiated then 0 is entered. Query Example This command queries when the CALC1:LIM:CLE:AUTO? FCO is cleared for the upper window. 3-10 HP E4418B/E4419B Programming Guide...
The FCO is used to determine the results returned by the CALCulate[1|2]:LIMit:FAIL? query Syntax CALC :CLE :IMM :LIM Example This command clears the FCO for CALC2:LIM:CLE:IMM the lower window. HP E4418B/E4419B Programming Guide 3-11...
0 is returned when no limit failures have occurred. Syntax CALC :FAIL :LIM Example This command queries if there CALC1:LIM:FAIL? have been any limit failures on the upper window. Reset Condition On reset, the buffer is set to zero for both windows. 3-12 HP E4418B/E4419B Programming Guide...
MEASure? • is read using READ? • is initiated using: INITiate[:IMMediate] or, INITiate:CONTinuous ON. The maximum number of errors is 2 -1. If more than 2 -1 errors are detected the counter returns to zero. HP E4418B/E4419B Programming Guide 3-13...
Page 213
CALCulate Subsystem CALCulate[1|2]:LIMit:FCOunt? Syntax CALC :LIM :FCO Example This command queries the number CALC1:LIM:FCO? of limit failures on the upper window. Reset Condition On reset, the counter is set to zero on both windows 3-14 HP E4418B/E4419B Programming Guide...
Table 3-1: Measurement Units CALC:REL:STAT OFF CALC:REL:STAT ON Measurement Mode Linear Linear Single Channel Watt Ratio Difference Watt Syntax Space numeric_value CALC :DATA :LIM :LOW Space HP E4418B/E4419B Programming Guide 3-15...
Page 215
The query returns the current setting of the lower limit or the values associated with MIN and MAX for the specified window. Query Example This command queries the lower CALC2:LIM:LOW:DATA? limit set for the lower window. 3-16 HP E4418B/E4419B Programming Guide...
1 is returned when limits testing is enabled. • 0 is returned when limits testing is disabled. Query Example This command queries whether CALC1:LIM:STAT? the limit checking function for the upper window is on or off. HP E4418B/E4419B Programming Guide 3-17...
Page 217
CALCulate Subsystem CALCulate[1|2]:LIMit:STATe <Boolean> Error Message If CALCulate[1|2}:LIMit:STATe is set to ON while [SENSe[1]]|SENSe2:SPEed is set to 200, the error -221, “Settings Conflict” occurs. 3-18 HP E4418B/E4419B Programming Guide...
Table 3-2: Measurement Units CALC:REL:STAT OFF CALC:REL:STAT ON Measurement Mode Linear Linear Single Channel Watt Ratio Difference Watt Syntax Space numeric_value CALC :UPP :DATA :LIM Space HP E4418B/E4419B Programming Guide 3-19...
Page 219
The query returns the current setting of the upper limit or the values associated with MIN and MAX for the specified window. Query Example This command queries the setting CALC2:LIM:UPP:DATA? of the upper limit for the lower window. 3-20 HP E4418B/E4419B Programming Guide...
SENSe data. In the power meter a windows math block is used to set whether the window is measuring in single channel, difference or ratio modes. The commands associated with this node are: CALCulate[1|2]:MATH[:EXPRession] CALCulate[1|2]:MATH[:EXPRession]:CATalog? HP E4418B/E4419B Programming Guide 3-21...
B/A ratio measurement. Reset Condition On reset, the HP E4418B upper and lower windows are both set to channel A ("(SENS1)"). On the HP E4419B the upper window is set to channel A ("(SENS1)") and the lower window to channel B ("(SENS2)").
Page 222
Error Messages For the HP E4419B, if CALCulate1:MATH is set to anything other than SENS1 while SENSe:SPEed is set to 200, the error -221, “Settings Conflict” occurs. For the HP E4419B, if CALCulate2:MATH is set to anything other than SENS2 while SENSe:SPEed is set to 200, the error -221, “Settings Conflict”...
CALCulate[1|2]:MATH[:EXPRession]:CATalog? CALCulate[1|2]:MATH[:EXPRession]:CATalog? This query lists all the defined expressions. The response is a list of comma separated strings. Each string contains an expression. For the HP E4418B the string is: "(SENS1)" For the HP E4419B the string is: "(SENS1)","(SENS2)","(SENS1/SENS2)", "(SENS2/SENS1)","(SENS1-SENS2)","(SENS2-SENS1)"...
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 associated with this node are: CALCulate[1|2]:RELative[:MAGNitude]:AUTO <Boolean>|ONCE CALCulate[1|2]:RELative:STATe <Boolean> HP E4418B/E4419B Programming Guide 3-25...
If 1|ON is selected, it causes the error -224, “Illegal parameter value” to occur. Syntax Space :MAGN :AUTO 0|OFF CALC :REL ONCE Example This command sets a reference CALC1:REL:AUTO ONCE value to be used in the relative measurement on the upper window. 3-26 HP E4418B/E4419B Programming Guide...
Page 226
The query always returns OFF. Error Message If CALCulate:RELative[:MAGNitude]:AUTO is set to ONCE while SENSe:SPEed is set to 200, the error -221, “Settings Conflict” occurs. If this command is set to ON the error -224, “Illegal parameter value” occurs. HP E4418B/E4419B Programming Guide 3-27...
0 is returned when relative mode is disabled. Query Example This command queries whether CALC1:REL:STAT? relative mode is off or on. Error Message If CALCulate:RELative:STATe is set to ON while SENSe:SPEed is set to 200, the error -221, “Settings Conflict” occurs. 3-28 HP E4418B/E4419B Programming Guide...
CALibration commands refers to a channel, that is CALibration1 and CALibration2 represent channel A and channel B respectively. If you are using the single channel HP E4418B power meter the CALibration2 commands are irrelevant and cause the error “Header suffix out of range.”...
Zeroing the power meter (CALibration:ZERO:AUTO ONCE), and • calibrating the power meter (CALibration:AUTO ONCE). For the HP 8480 series power sensors 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.
Page 231
Error Message If the calibration was not carried out successfully the error -231, “Data Questionable; CAL ERROR” occurs. If you are using the HP E4419B the error message specifies on which channel the calibration failed. If zeroing was not carried out successfully the error -231, “Data Questionable;...
0, the calibration has passed. • 1, the calibration has failed. For the HP 8480 series power sensors 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.
Page 233
Error Message If the calibration was not carried out successfully the error -231, “Data Questionable; CAL ERROR” occurs. If you are using the HP E4419B the error message specifies on which channel the calibration failed. If zeroing was not carried out successfully the error -231, “Data Questionable;...
If 1|ON is selected, it causes the error -224, “Illegal parameter value” to occur. For the HP 8480 series power sensors 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.
Page 235
Error Message If the calibration was not carried out successfully the error -231, “Data Questionable; CAL ERROR” occurs. If you are using the HP E4419B the error message specifies on which channel the calibration failed. If this command is set to ON the error -224, “Illegal parameter value”...
TTL inputs are enabled or disabled. • 1 is returned if the TTL inputs are enabled. • 0 is returned if the TTL inputs are disabled. Query Example This command queries whether or CAL1:ECON:STAT? not the TTL inputs are enabled HP E4418B/E4419B Programming Guide...
1 is returned if zero/cal lockout is enabled. • 0 is returned if zero/cal lockout is disabled. Query Example This command queries whether or CAL1:RCAL? not the zero/cal lockout facility is enabled for channel A. 4-10 HP E4418B/E4419B Programming Guide...
Page 238
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. HP E4418B/E4419B Programming Guide 4-11...
CALibration Subsystem CALibration[1|2]:RCFactor <numeric_value> CALibration[1|2]:RCFactor <numeric_value> This command is used with HP 8480 series power sensors 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.
Page 240
MIN and MAX. Query Example This command queries the CAL2:RCF? reference calibration factor of channel B. Error Message If this command is used when an HP E-series power sensor is connected the error -241, “Hardware missing” occurs. HP E4418B/E4419B Programming Guide 4-13...
Error Message If zeroing was not carried out successfully the error -231, “Data Questionable; ZERO ERROR” occurs. If you are using the HP E4419B the error message specifies on which channel the calibration failed. If this command is set to ON the error -224, “Illegal parameter value”...
The value for MIN is 0. The value for MAX is 1. Example This command sets the display DISP:CONT 0.75 contrast to 0.75. Reset Condition On reset, the contrast is not affected. HP E4418B/E4419B Programming Guide...
Page 245
DISPlay:CONTrast <numeric_value> 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 This command queries the DISP:CONT? current contrast setting. HP E4418B/E4419B Programming Guide...
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 This command queries whether DISP:ENAB? the display is on or off. HP E4418B/E4419B Programming Guide...
The numeric suffix of the WINDow program mnemonic in the DISPlay commands refers to a window, that is WINDow1 and WINDow2 represent the upper and lower windows respectively. The commands associated with this node are: 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]]:RESolution <numeric_value> DISPlay[:WINDow[1|2]]:SELect DISPlay[:WINDow[1|2]][:STATe] <Boolean> HP E4418B/E4419B Programming Guide...
This command sets the lower DISP:WIND2:FORM DIG window to a digital display. Reset Condition On reset, the HP E4418B upper window is DIGital and the lower window ANALog. For the HP E4419B the defaults for the upper and lower windows are DIGital. Query...
Page 249
DISPlay Subsystem DISPlay[:WINDow[1|2]]:FORMat <character_data> Query Example This command queries the DISP:FORM? current format of the upper window. HP E4418B/E4419B Programming Guide...
DISPlay Subsystem DISPlay[:WINDow[1|2]]:METer Node DISPlay[:WINDow[1|2]]:METer Node This command node is used to control the upper and lower scale limits of the analog meter. The commands associated with this node are: DISPlay[:WINDow[1|2]]:METer:LOWer <numeric_value> DISPlay[:WINDow[1|2]]:METer:UPPer <numeric_value> HP E4418B/E4419B Programming Guide...
-150 to 230 dBm lower scale limit. The default, DEF, is -70 dBm. The value for MIN is -150 dBm. The value for MAX is 230 dBm. The default units are defined by UNIT:POWer and CALCulate:RELative:STATe. 5-10 HP E4418B/E4419B Programming Guide...
Page 252
<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 Table 5-1. Query Example This command queries the lower DISP:MET:LOW? scale limit set on the analog meter in the upper window. HP E4418B/E4419B Programming Guide 5-11...
The default, DEF, is 20 dBm. The value for MIN is -150 dBm. The value for MAX is 230 dBm. The default units are defined by UNIT:POWer. The default units are defined by UNIT:POWer and CALCulate:RELative:STATe. 5-12 HP E4418B/E4419B Programming Guide...
Page 254
<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 Table 5-1. Query Example This command queries the upper DISP:WIND2:MET:UPP? scale limit set on the analog meter in the lower window. HP E4418B/E4419B Programming Guide 5-13...
(either directly as a single channel measurement or with a ratio or difference measurement (HP E4419B only)) there is a defined relationship between the window resolution and the resolution used to determine the auto averaging level.
Page 256
The query returns the current setting of the window’s resolution or the value associated with MIN and MAX. The format of the response is <NR1>. Query Example This command queries the DISP:RES? resolution setting of the upper window. HP E4418B/E4419B Programming Guide 5-15...
• 1 is returned if the specified window is selected. • 0 is returned if the specified window is not selected. Query Example This command queries whether or DISP:SEL? not the upper window is selected. 5-16 HP E4418B/E4419B Programming Guide...
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. • 0 is returned if the window is disabled. Query Example This command queries whether or DISP:WIND2:STAT? not the lower window is displayed. HP E4418B/E4419B Programming Guide 5-17...
Page 261
This data format is used only for response data by those commands that are specifically designated to be affected by the FORMat subsystem. For the HP E4419B the same FORMat is used on both channels. The queries that are affected are: •...
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 <character_data>. Query Example This command queries the FORM:BORD? current byte order setting. HP E4418B/E4419B Programming Guide...
Reset Condition On reset, the format is set to ASCii. Query FORMat[:READings][:DATA]? The query returns the current setting of format. The format of the response is <character_data>. Query Example This command queries the current FORM? format setting. HP E4418B/E4419B Programming Guide...
Page 265
This facility can be used to store sensor calibration tables for the HP 8480 series power sensors, and frequency dependent offset tables which compensate for your test setup. The tables remain stored in the power meter’s memory during power down.
MEMory:CATalog Node This node is used to query information on the current contents of the power meter’s sensor calibration tables, frequency dependent offset tables and save/recall registers. The commands associated with this node are: MEMory:CATalog[:ALL]? MEMory:CATalog:STATe? MEMory:CATalog:TABLe? HP E4418B/E4419B Programming Guide...
<type> indicates TABL for sensor calibration and frequency dependent offset tables, or STAT for a save/recall register. <size> indicates the size of the table or save/recall register in bytes. For example, a sample of a response may look like: 1178,26230,"DEFAULT,TABL,14","HP8481A,TABL,116", "HP8482A,TABL,74",..."State0,STAT,1619", "State1,STAT,1619","State2,STAT,1619" ... HP E4418B/E4419B Programming Guide...
Page 268
The predefined data is listed in your User’s Guide. These power sensors are: Table Power Sensor Table Name None DEFAULT HP 8481A HP8481A HP 8482A, HP 8482B, HP 8482H HP8482A HP 8483A HP8483A HP 8481D HP8481D HP 8485A HP8485A HP R8486A...
<type> indicates STAT for save/recall register. <size> indicates the size of the save/recall register in bytes. For example, a sample of a response may look like: 0,16190,"State0,STAT,0","State1,STAT,0" ..Syntax :CAT :STAT Example This command queries the list of MEM:CAT:STAT? save/recall registers. HP E4418B/E4419B Programming Guide...
<string>,<type>,<size> <string> indicates the name of the table. <type> indicates TABL for a table. <size> indicates the size of the table in bytes. For example, a sample of a response may look like: 1178,10040,"DEFAULT,TABL,14","HP8481A,TABL,116", "HP8482A,TABL,74","HP8483A,TABL,62"... HP E4418B/E4419B Programming Guide...
Page 271
The predefined data is listed in your User’s Guide. These power sensors are: Table Power Sensor Table Name None DEFAULT HP 8481A HP8481A HP 8482A, HP 8482B, HP 8482H HP8482A HP 8483A HP8483A HP 8481D HP8481D HP 8485A HP8485A HP R8486A...
The commands associated with this node are: MEMory:CLEar:[NAME] <string> MEMory:CLEar:TABLe Note The contents cleared using these commands are non-recoverable. HP E4418B/E4419B Programming Guide...
Example This command clears the contents MEM:CLE "HP8485A" of sensor calibration table HP 8485A Error Messages If the table or save/recall register name does not exist, error -224, “Illegal parameter value” occurs. 7-10 HP E4418B/E4419B Programming Guide...
The contents cleared using this command are non-recoverable. Syntax :CLE :TABL Example This command clears the contents MEM:CLE:TABL of the currently selected table. Error Message If no table is selected, error -221, “Settings conflict” occurs. HP E4418B/E4419B Programming Guide 7-11...
This node is used to return information on the amount of free memory space available for sensor calibration tables, frequency dependent offset tables, and save/recall registers. The commands associated with this node are: MEMory:FREE[:ALL]? MEMory:FREE:STATe? MEMory:FREE:TABLe? 7-12 HP E4418B/E4419B Programming Guide...
This query returns the amount of memory free for sensor calibration tables, frequency dependent offset tables, and save/recall registers. The format of the response is: <bytes_available>,<bytes_in_use> Syntax :FREE :ALL Example This command queries the amount MEM:FREE? of free memory in total. HP E4418B/E4419B Programming Guide 7-13...
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 :FREE :STAT Example This command queries the amount MEM:FREE:STAT? of free memory for save/recall registers. 7-14 HP E4418B/E4419B Programming Guide...
This query returns the amount of memory free for sensor calibration tables and frequency dependent offset tables. The format of the response <bytes_available>,<bytes_in_use> Syntax :FREE :TABL Example This command queries the amount MEM:FREE:TABL? of free memory for tables. HP E4418B/E4419B Programming Guide 7-15...
This query returns the number of registers that are available for save/recall. As there are ten registers this query always returns ten. Syntax :NST Example This command queries the number MEM:NST? of registers available for save/recall. 7-16 HP E4418B/E4419B Programming Guide...
MEMory Subsystem The MEMory:STATe Node The MEMory:STATe Node This node is used to query and define register names. The commands associated with this node are: MEMory:STATe:CATalog? MEMory:STATe:DEFine HP E4418B/E4419B Programming Guide 7-17...
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 :STAT :CAT Example This command queries the register MEM:STAT:CAT? names. 7-18 HP E4418B/E4419B Programming Guide...
Example This command names register 4 MEM:STAT:DEF "SETUP1",4 SETUP1. Query MEMory:STATe:DEFine? <string> The query returns the register number for the given register name. Query Example This command queries the register MEM:STAT:DEF? "SETUP1" number of SETUP1. HP E4418B/E4419B Programming Guide 7-19...
Page 283
If the register number is out of range, error -222, “Data out of range” occurs. If the name is invalid, error -224, “Illegal parameter value” occurs. If a register or sensor calibration table with the same name already exists, error -257, “File name error” occurs (command only). 7-20 HP E4418B/E4419B Programming Guide...
This node is used to define a sensor calibration table, or a frequency dependent offset table, and to write to and read data from it. The commands associated with this node are: 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 <string>,<string> MEMory:TABLe:SELect <string> HP E4418B/E4419B Programming Guide 7-21...
The power meter is capable of storing 20 sensor calibration tables and 10 frequency dependent offset tables, each containing 80 points. Syntax Space numeric_value :TABL :FREQ 7-22 HP E4418B/E4419B Programming Guide...
Page 286
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 This command queries the MEM:TABL:FREQ? frequency points in the currently selected table. HP E4418B/E4419B Programming Guide 7-23...
Page 287
If a table has not been specified using the MEMory:TABLe:SELect command, the data cannot be entered into the table and error -221, “Settings conflict” occurs. If a frequency is sent which is outwith the allowed frequency range, error -222, “Data out of range” occurs. 7-24 HP E4418B/E4419B Programming Guide...
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 :TABL :POIN :FREQ Example This command queries the number MEM:TABL:FREQ:POIN? of frequency points in the current table. HP E4418B/E4419B Programming Guide 7-25...
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 Space numeric_value :TABL :GAIN :MAGN 7-26 HP E4418B/E4419B Programming Guide...
Page 290
If a table is not specified using the MEMory:TABLe:SELect command, the data cannot be entered and error -221, “Settings conflict” occurs. If any of the calibration/offset factors are outwith the allowed range, error -222, “Data out of range” occurs. HP E4418B/E4419B Programming Guide 7-27...
If no values have been set, 0 is returned. If no table is selected, NAN is returned. Syntax :TABL :GAIN :MAGN :POIN Example This command queries the number MEM:TABL:GAIN:POIN? of calibration factor/offset points in the current table. 7-28 HP E4418B/E4419B Programming Guide...
If the first parameter does not match an existing table name, error -256, “File name not found” occurs. If the second parameter matches an existing table name or save/recall register, error -257, “File name error” occurs. HP E4418B/E4419B Programming Guide 7-29...
12 characters can be used. a to z (lowercase) 0 - 9 _ (underscore) Example This command selects a sensor MEM:TABL:SEL "Sensor1" calibration table named “Sensor1”. Query MEMory:TABLe:SELect? The query returns the name of the currently selected table. 7-30 HP E4418B/E4419B Programming Guide...
Page 295
Outputs can be used to determine when a predefined limit in either, or both, windows has been exceeded. Keyword Parameter Form Notes Page OUTPut :ROSCillator page 8-3 [:STATe] <Boolean> :TTL[1|2] page 8-4 :ACTive HIGH|LOW page 8-5 :FEED <String> page 8-7 :STATe <Boolean> HP E4418B/E4419B Programming Guide...
1 is returned when the POWER REF output is switched ON. • 0 is returned when the POWER REF output is switched OFF. Query Example This command queries the status OUTP:ROSC? off the POWER REF output. HP E4418B/E4419B Programming Guide...
LOW is returned if the TTL output is active low for a window limit fail. Query Example This command queries whether OUTP:TTL1:ACT? the TTL Output for an upper window limit fail is active high or low. HP E4418B/E4419B Programming Guide...
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-opcode are not permissable. HP E4418B/E4419B Programming Guide...
Page 299
Query Example This command queries whether OUTP:TTL1:FEED? the asserted state for the upper window TTL Output 1 represents a fail in the upper limit, lower limit or either limit. HP E4418B/E4419B Programming Guide...
• 1 is returned when the TTL output is enabled. • 0 is returned when the TTL output is disabled.. Query Example This command queries whether or OUTP:TTL1:STAT? not the upper window TTL output is enabled. HP E4418B/E4419B Programming Guide...
Page 301
OUTput Subsystem OUTPut:TTL[1|2]:STATe <Boolean> HP E4418B/E4419B Programming Guide...
Page 303
SENSe1 and SENSe2 represent channel A and channel B respectively. If you are using the single channel HP E4418B power meter the SENSe2 commands are irrelevant and cause the error “Header suffix out of range.”...
This node controls averaging which is used to improve the measurement accuracy. The AVERage subsystem combines successive measurements to produce a new composite result. The commands associated with this node are: [SENSe[1]]|SENSe2:AVERage:COUNt <numeric_value> [SENSe[1]]|SENSe2:AVERage:COUNt:AUTO <Boolean> [SENSe[1]]|SENSe2:AVERage[:STATe] <Boolean> HP E4418B/E4419B Programming Guide...
For most applications, automatic filter length selection ([SENSe[1]]|SENSe2:AVERage:COUNt:AUTO ON) is the best mode of operation. However, manual filter length selection ([SENSe[1]]|SENSe2:AVERage:COUNt <numeric_value>) is useful in applications requiring either high resolution or fast settling times. Syntax Space :COUN numeric_value SENS AVER SENS2 Space HP E4418B/E4419B Programming Guide...
Page 307
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. HP E4418B/E4419B Programming Guide...
Maximum Sensor Power If [SENSe[1]]|SENSe2:AVERage:COUNt:AUTO is set to OFF, the filter length is set by the [SENSe[1]]|SENSe2:AVERage:COUNt command. Using the [SENSe[1]]|SENSe2:AVERage:COUNt command automatically disables automatic averaging. Auto averaging is enabled by the MEASure:POWer:AC? and CONFigure:POWer:AC? commands. HP E4418B/E4419B Programming Guide...
Page 309
1 is returned when automatic filter length is enabled. • 0 is returned when automatic filter length is disabled. Query Example This command queries whether AVER:COUN:AUTO? automatic filter length selection is on or off for channel A. HP E4418B/E4419B Programming Guide...
Page 310
[SENSe[1]]|SENSe2:AVERage:COUNt:AUTO <Boolean>|ONCE Error Message 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. HP E4418B/E4419B Programming Guide...
(that is, SENS:AVER:SDET will retain its current setting which may indicate that step detection is ON). Syntax Space :SDET 0|OFF SENS AVER 1|ON SENS2 Example This command disables step SENS:AVER:SDET OFF detection. Reset Condition On reset, step detection is enabled. 9-10 HP E4418B/E4419B Programming Guide...
Page 312
The query enters a 1 or 0 into the output buffer indicating the status of step detection. • 1 is returned when step detection is enabled. • 0 is returned when step detection is disabled. Query Example This command queries whether SENS:AVER:SDET? step detection is on or off. HP E4418B/E4419B Programming Guide 9-11...
Query Example This command queries whether SENS2:AVER? averaging is on or off for channel B. Error Message 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-12 HP E4418B/E4419B Programming Guide...
This node is used to select the active sensor calibration table and the active frequency dependent offset table. Note If any of the CSET1 commands are used when an HP E-series power sensor is connected, the error -241, “Hardware missing” occurs.
MEMory:CATalog:TABle?.) Example This command enters the name of CORR:CSET1 "PW1" the sensor calibration table which is to be used on channel A. Reset Condition On reset the selected table is not affected. HP E4418B/E4419B Programming Guide 9-15...
Page 317
If this is not the case, error -226, “Lists not the same length” occurs. If the CSET1 command is used when an HP E-series power sensor is connected the error -241, “Hardware missing” occurs.
The query returns a 1 or 0 into the output buffer indicating whether a table is enabled or disabled. • 1 is returned when the table is enabled. • 0 is returned when the table is disabled. HP E4418B/E4419B Programming Guide 9-17...
Page 319
B. Error Message If you attempt to set this command to ON and no table has been selected using the [SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2:[SELect] command then error -221, “Settings conflict” occurs and [SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2:STATe remains OFF. 9-18 HP E4418B/E4419B Programming Guide...
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3:STATe <Boolean> You can use either DCYCLe or GAIN3 in these commands, both do Note the same. Using GAIN3 complies with the SCPI standard whereas DCYCle does not, but may make your program more understandable. HP E4418B/E4419B Programming Guide 9-19...
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3:STATe command to ON. Note Pulse measurements are not recommended using HP E-series power sensors at power levels above -20 dBm. 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.
Page 322
90% for channel A. 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. HP E4418B/E4419B Programming Guide 9-21...
Page 323
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3:STATe command is not automatically set ON. If this command is used when an HP 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 HP E4419B the error message specifies the channel.
The query enters a 1 or 0 into the output buffer indicating the status of the pulse power measurement feature. • 1 is returned when the pulse power measurement feature is enabled. • 0 is returned when the pulse power measurement feature is disabled. HP E4418B/E4419B Programming Guide 9-23...
Page 325
[SENSe[1]]|SENSe2:SPEed is set to 200, the error -221, “Settings Conflict” occurs. If this command is used when an HP 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 HP E4419B the error message specifies the channel.
(CFACtor|GAIN1) and one for any other channel offset (GAIN2). Note The SENSe[1]]|SENSe2:CORRection:CFACtor|GAIN1 command can be used for the HP 8480 series power sensors when no sensor calibration table has been set up. If a sensor calibration table is selected the error -221, “Settings Conflict” occurs.
[SENSe[1]]|SENSe2:CORRection:GAIN2 is represented in the [SENSe[1]]|SENSe2:CORRection:LOSS2? command. LOSS2 is coupled to GAIN2 by the equation: when the default unit is linear, and Loss ------------ - Gain when the default unit is logarithmic. Gain Loss – 9-26 HP E4418B/E4419B Programming Guide...
Page 328
1.5. Example This command sets a channel SENS2:CORR:GAIN2 50 offset of 50 dB for channel B. Reset Condition On reset, CFACtor|GAIN1 is set to 100% and GAIN2 to 0.0 dB. HP E4418B/E4419B Programming Guide 9-27...
Page 329
[SENSe[1]]|SENSe2:CORRection:GAIN2:STATe command is not automatically set ON. The SENSe[1]]|SENSe2:CORRection:CFACtor|GAIN1 command can be used for the HP 8480 series power sensors when no sensor calibration table has been set up. If a sensor calibration table is selected the error -221, “Settings Conflict” occurs.
1 is returned if a channel offset is enabled. • 0 is returned if a channel offset is disabled. Query Example This command queries whether or CORR:GAIN2:STAT? not there is a channel offset applied to channel A. HP E4418B/E4419B Programming Guide 9-29...
Page 331
SENSe Subsystem [SENSe[1]]|SENSe2:CORRection:GAIN2:STATe <Boolean> Error Message 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-30 HP E4418B/E4419B Programming Guide...
Syntax SENS :GAIN4 CORR :INP :MAG :FDOFfset SENS2 Example This command queries the current CORR:GAIN4? frequency dependent offset being applied to channel A. Reset Condition On reset, the frequency dependent offset is not affected. HP E4418B/E4419B Programming Guide 9-31...
LOSS2 is coupled to GAIN2 by the equation when the default unit is linear, and Gain ------------ - Loss when the default is logarithmic. Loss Gain – The commands associated with this node are: [SENSe[1]]|SENSe2:CORRection:LOSS2[:INPut][:MAGNitude] <numeric_value> [SENSe[1]]|SENSe2:CORRection:LOSS2:STATe <Boolean> 9-32 HP E4418B/E4419B Programming Guide...
Parameters Item Description/Default Range of Values numeric_value A numeric value. The default -100 to +100 dB value, DEF, is 0.00 dB. The value for MIN is -100 dB. The value for MAX is +100 dB. HP E4418B/E4419B Programming Guide 9-33...
Page 335
[SENSe[1]]|SENSe2:CORRection:LOSS2:STATe command is not automatically set ON. The SENSe[1]]|SENSe2:CORRection:LOSS2 command can be used for the HP 8480 series power sensors when no sensor calibration table has been set up. If a sensor calibration table is selected the error -221, “Settings Conflict” occurs.
• 1 is returned if loss correction is enabled. • 0 is returned if loss correction is disabled. Query Example This command queries whether CORR:LOSS2:STAT? the loss correction on channel A is on or off. HP E4418B/E4419B Programming Guide 9-35...
Page 337
SENSe Subsystem [SENSe[1]]|SENSe2:CORRection:LOSS2:STATe <Boolean> Error Message If [SENSe[1]]|SENSe2:CORRection:LOSS2:STATe is set to ON while [SENSe[1]]|SENSe2:SPEed is set to 200, the error -221, “Settings Conflict” occurs. 9-36 HP E4418B/E4419B Programming Guide...
For HP 8480 series power sensors the power meter uses linear interpolation to calculate the calibration factor for the frequency entered if [SENSe[1]]|SENSe2:CORRection:CSET:STATe is ON.
Page 339
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 This command queries the SENS2:FREQ? channel B frequency setting. 9-38 HP E4418B/E4419B Programming Guide...
SENSe Subsystem The [SENSe[1]]|SENSe2:LIMit:CLEar Node The [SENSe[1]]|SENSe2:LIMit:CLEar Node This node contains the commands that are used to clear any limit failures. The commands associated with this node are: [SENSe[1]]|SENSe2:LIMit:CLEar:AUTO <Boolean>|ONCE [SENSe[1]]|SENSe2:LIMit:CLEar[:IMMediate] HP E4418B/E4419B Programming Guide 9-39...
Syntax Space SENS 0|OFF :AUTO 1|ON SENS2 ONCE Example This command switches on SENS1:LIM:CLE:AUTO 1 automatic clearing of the FCO for channel A. Reset Condition On reset, both channels are set to ON. 9-40 HP E4418B/E4419B Programming Guide...
Page 342
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 This command queries when the SENS1:LIM:CLE:AUTO? FCO is cleared for channel A. HP E4418B/E4419B Programming Guide 9-41...
This command is used to immediately clear the FCO (fail counter) of any limit failures for the specified channel. The FCO is used to determine the results returned by the [SENSe[1]]|SENSe2:LIMit:FAIL? query. Syntax SENS :IMM SENS2 Example This command clears the FCO for SENS2:LIM:CLE:IMM channel B. 9-42 HP E4418B/E4419B Programming Guide...
0 is returned when no limit failures have occurred. Syntax SENS FAIL SENS2 Example This command queries if there SENS1:LIM:FAIL? have been any limit failures on channel A. Reset Condition On reset, the buffer is set to zero for both channels. HP E4418B/E4419B Programming Guide 9-43...
MEASure? • is read using READ? • is initiated using: INITiate[:IMMediate] or, INITiate:CONTinuous ON. The maximum number of errors is 2 -1. If more than 2 -1 errors are detected the counter returns to zero. 9-44 HP E4418B/E4419B Programming Guide...
Page 346
SENSe Subsystem [SENSe[1]]|SENSe2:LIMit:FCOunt? Syntax SENS SENS2 Example This command queries the number SENS1:LIM:FCO? of limit failures on channel A. Reset Condition On reset, the counter is set to zero on both channels. HP E4418B/E4419B Programming Guide 9-45...
-150 to +230 dBm DEF, is -90.00 dBm. The value for MIN is -150 dBm. The value for MAX is +230 dBm. Example This command enters a lower limit SENS2:LIM:LOW:DATA MIN for channel B of -150 dBm. 9-46 HP E4418B/E4419B Programming Guide...
Page 348
The query returns the current setting of the lower limit or the values associated with MIN and MAX for the specified channel. Query Example This command queries the lower SENS2:LIM:LOW:DATA? limit set for channel B. HP E4418B/E4419B Programming Guide 9-47...
This command queries whether SENS1:LIM:STAT? the limit checking function for the channel A is on or off. Error Message If [SENSe[1]]|SENSe2:LIMit:STATe is set to ON while [SENSe[1]]|SENSe2:SPEed is set to 200, the error -221, “Settings Conflict” occurs. 9-48 HP E4418B/E4419B Programming Guide...
-150 dBm. The value for MAX is +230 dBm. Example This command enters an upper SENS2:LIM:UPP:DATA -20DBM limit of -20 dBm for channel B. Reset Condition On reset, both channels are set to +90.00 dBm (DEF). HP E4418B/E4419B Programming Guide 9-49...
Page 351
The query returns the current setting of the upper limit or the values associated with MIN and MAX for the specified channel. Query Example This command queries the setting SENS2:LIM:UPP:DATA? of the upper limit for channel B. 9-50 HP E4418B/E4419B Programming Guide...
SENSe Subsystem [SENSe[1]]|SENSe2:POWer:AC:RANGe <numeric_value> [SENSe[1]]|SENSe2:POWer:AC:RANGe <numeric_value> This command is used with the HP E-series power sensors to select one of two power ranges. • If 0 is selected, the power sensor’s lower range is selected. • If 1 is selected, the power sensor’s upper range is selected.
SENSe Subsystem [SENSe[1]]|SENSe2:POWer:AC:RANGe:AUTO <Boolean> [SENSe[1]]|SENSe2:POWer:AC:RANGe:AUTO <Boolean> This command is used with the HP E-series power sensors 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.
Page 354
This command queries whether POW:AC:RANG:AUTO? auto ranging is on or off. Error Message If this command is set to OFF when there is not an HP E-series power sensor connected, the error, -241, “Hardware missing” occurs. HP E4418B/E4419B Programming Guide 9-53...
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. Syntax Space numeric_value SENS SENS2 9-54 HP E4418B/E4419B Programming Guide...
Page 356
Error Message If <speed> is not 20, 40 or 200, error -224, “Illegal parameter value” occurs. If an HP E-series power sensor is not connected and the <numeric_value> is set to 200 readings/second the error -241, “Hardware missing” occurs. HP E4418B/E4419B Programming Guide...
Query [SENSe[1]]|SENSe2:V2P? The query returns the current type of linearity correction being used (A type or D type). Query Example This command queries which SENS:V2P? linearity correction type is currently being used on channel A. 9-56 HP E4418B/E4419B Programming Guide...
Page 358
SENSe Subsystem [SENSe[1]]|SENSe2:V2P ATYPe|DTYPe Error Message If no sensor is connected or the sensor is not an A type, the error -241, “Hardware missing” occurs. HP E4418B/E4419B Programming Guide 9-57...
Page 359
SENSe Subsystem [SENSe[1]]|SENSe2:V2P ATYPe|DTYPe 9-58 HP E4418B/E4419B Programming Guide...
Page 362
10-4 [:EVENt?] page 10-6 :NTRansition <NRf>|<non-decimal numeric> page 10-7 :PTRansition <NRf>|<non-decimal numeric> For example, to use the :CONDition?command on the STATus:DEVice register, use: STATus:DEVice:CONDition? To use the :NTRansition command on the STATus:OPERation:SENSe[:SUMMary] register, use: STATus:OPERation:SENSe[:SUMMary]:NTRansition HP E4418B/E4419B Programming Guide 10-3...
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 -1). This query clears all bits in the register to 0. Syntax :EVEN 10-4 HP E4418B/E4419B Programming Guide...
Page 364
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 (2 -1). HP E4418B/E4419B Programming Guide 10-5...
Page 365
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 -1). 10-6 HP E4418B/E4419B Programming Guide...
Page 366
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 -1). HP E4418B/E4419B Programming Guide 10-7...
Decimal Definition Number Weight Not used Channel A sensor connected Channel B sensor connected (HP EPM-442A only) Channel A sensor error Channel B sensor error (HP EPM-442A only Channel A sensor Front/Rear Channel B sensor Front/Rear (HP EPM-442A only 7-15...
Page 368
The Channel A and B sensor error bits (3 and 4) are set to: • 1, if the HP E-series power sensor EEPROM has failed or if there are power sensors connected to both the rear and front panel connectors.
“Status Register Set Commands”. The following command descriptions detail the SCPI register you require to control but do not detail the Register Set commands. The seven Operation Register Sets are: 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] 10-10 HP E4418B/E4419B Programming Guide...
2048 Lower Limit Fail Summary 4096 Upper Limit Fail Summary 13 to 15 Not used (bit 15 always 0) These bits are set and cleared under the conditions shown on page 1-85. Syntax :OPER STAT HP E4418B/E4419B Programming Guide 10-11...
Definition Number Weight Not used Channel A CALibrating Status Channel B CALibrating Status (HP E4419B only) 3-15 Not used These bits are set at the beginning of zeroing (CALibration:ZERO:AUTO ONCE) and at the beginning of calibration (CALibration:AUTO ONCE). Also for the compound command/query CALibration[:ALL]?, this bit is set at the beginning of the calibration sequence.
Definition Number Weight Not used Channel A LLFail Status Channel B LLFail Status (HP E4419B only) Upper window LLFail Status Lower widow LLFail Status 5-15 Not used The appropriate bits are set if a channel lower limit test fails or a window lower limit test fails.
Definition Number Weight Not used Channel A MEASuring Status Channel B MEASuring Status (HP E4419B only) 3-15 Not used These bits are set when the power meter is taking a measurement. These bits are cleared when the measurement is finished.
Definition Number Weight Not used Channel A SENSe Status Channel B SENSe Status (HP E4419B only) 3-15 Not used These bits are set when the power meter is reading data from the HP E-series power sensor EEPROM. These bits are cleared when the power meter is not reading data from the HP E-series power sensor EEPROM.
Number Weight Not used Channel A TRIGger Status Channel B TRIGger Status (HP E4419B only) 3-15 Not used These bits are set when the power meter enters the “wait for trigger” state. Refer to Figure 1-8, “Trigger System,” on page 1-63.
Definition Number Weight Not used Channel A ULFail Status Channel B ULFail Status (HP E4419B only) Upper window ULFail Status Lower window ULFail Status 5-15 Not used The appropriate bits are set if a channel upper limit test fails or a window upper limit test fails.
- all other registers are unaffected. Bit 15 is always 0. Register Filter/Enable PRESet Value OPERational ENABle all zeros all ones all zeros QUEStionable ENABle all zeros all ones all zeros All Others ENABle all ones all ones all zeros Syntax STAT :PRES 10-18 HP E4418B/E4419B Programming Guide...
“Status Register Set Commands”. The following command descriptions detail the SCPI register you require to control but do not detail the Register Set commands. The three Questionable Register Sets are: STATus:QUEStionable STATus:QUEStionable:CALibration[:SUMMary] STATus:QUEStionable:POWer[:SUMMary] HP E4418B/E4419B Programming Guide 10-19...
Page 379
Bit 3 is set by the logical OR outputs of the STATus:QUEStionable:POWer:SUMMary register set. Bit 8 is set by the logical OR outputs of the STATus:QUEStionable:CALibration:SUMMary register set. Bit 9 is set if power-on self-test fails, and cleared if it passes. Syntax STAT :QUES 10-20 HP E4418B/E4419B Programming Guide...
The following bits in these registers are used by the power meter: Decimal Definition Number Weight Not used Summary of Channel A CALibration Summary of Channel B CALibration (HP E4419B only) 3-15 Not used These bits are set by the following: • Error -231, “Data questionable; CH<A|B>:ZERO ERROR” •...
Bit 1 is set when any of the following errors occur: • Error -230, “Data corrupt or stale” • Error -231, “Data questionable;Input Overload” (HP E4418B only) • Error -231, “Data questionable;Input Overload ChA” (HP E4419B only) Bit 2 is set when any of the following errors occur: •...
Page 382
STATus Subsystem STATus:QUEStionable:POWer[:SUMMary] • Channel A requires zeroing Bis 6 is set when the following condition occurs (HP E4419B only): • Channel B requires zeroing 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.
Page 383
STATus Subsystem STATus:QUEStionable:POWer[:SUMMary] 10-24 HP E4418B/E4419B Programming Guide...
13. 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. Query Example This command queries the setting SYST:COMM:GPIB:ADDR? of the GPIB address. HP E4418B/E4419B Programming Guide 11-3...
Set the transmit/receive parity type • Set the transmit/receive stop bits • Enable /disable XON/XOFF software handshaking The commands accociated with this node are: 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:PARity:[TYPE] SYSTem:COMMunicate:SERial:TRANsmit:SBITs 11-4 HP E4418B/E4419B Programming Guide...
The query returns the current DTR signal line setting, ON, OFF or IBFull. Query Example This command queries the setting SYST:COMM:SER:CONT:DTR? of the DTR signal line.. Error message If the RS422 interface is selected, then the error message -221 “Settings conflict” will occur. HP E4418B/E4419B Programming Guide 11-5...
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 This command queries the setting SYST:COMM:SER:CONT:RTS? of the RTS signal line.. 11-6 HP E4418B/E4419B Programming Guide...
MIN is 50. The value for MAX is 115200. 2000, 2400, 3600, 4800, 7200, 9600, 19200, 38400, 57600, 115200 Example This command sets the receiver SYST:COMM:SER:REC:BAUD 38400 and transmitter baud rate to 38400. Reset Condition On reset, the baud rate is unaffected HP E4418B/E4419B Programming Guide 11-7...
Page 391
This command queries the setting SYST:COMM:SER:REC:BAUD? of the receive/transmit baud rate. Error Message 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-8 HP E4418B/E4419B Programming Guide...
This command sets the receiver SYST:COMM:SER:REC:BIT 8 and transmitter word length to 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. HP E4418B/E4419B Programming Guide 11-9...
Page 393
This command queries the setting SYST:COMM:SER:REC:BIT? of the receive/transmit word length. Error Message 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-10 HP E4418B/E4419B Programming Guide...
SYSTem:COMMunicate:SERial[:RECeive]:PACE? The query returns XON if the handshake is enabled and NONE if the handshake is disabled.. Query Example This command queries whether SYST:COMM:SER:REC:PACE? the receiver Xon/Xoff software handshake is enabled (XON) or disabled (NONE). HP E4418B/E4419B Programming Guide 11-11...
(stick 1 parity). The receiver is not expecting a parity bit included NONE in received data and does not perform a parity check. The transmitter does not include a parity bit in the transmitted data. 11-12 HP E4418B/E4419B Programming Guide...
Page 396
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 This command queries what type SYST:COMM:SER:REC:PAR? of parity has been set on the received/transmitted data. HP E4418B/E4419B Programming Guide 11-13...
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 This command queries the setting SYST:COMM:SER:REC:SBIT? of the receive/transmit stop bits. 11-14 HP E4418B/E4419B Programming Guide...
Syntax SYST :COMM :SER :TRAN :AUTO Example This command always returns a 1 SYST:COMM:SER:TRAN:AUTO? to show that the transmitter and receiver settings for baud rate, word length, stop bits and parity are the same. HP E4418B/E4419B Programming Guide 11-15...
MIN is 50. The value for MAX is 115200. 2000, 2400, 3600, 4800, 7200, 9600, 19200, 38400, 57600, 115200 Example This command sets the transmitter SYST:COMM:SER:TRAN:BAUD 38400 and receiver baud rate to 38400. Reset Condition On reset, the baud rate is unaffected. 11-16 HP E4418B/E4419B Programming Guide...
Page 400
SYST:COMM:SER:TRAN:BAUD? of the transmit/ receive baud rate. Error Message 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. HP E4418B/E4419B Programming Guide 11-17...
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 This command queries the setting SYST:COMM:SER:TRAN:BIT? of the receive/transmit word length. 11-18 HP E4418B/E4419B Programming Guide...
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). HP E4418B/E4419B Programming Guide 11-19...
Page 403
SYSTem Subsystem SYSTem:COMMunicate:SERial:TRANsmit:ECHO ON|OFF Query Example This command queries whether or SYST:COMM:SER:TRAN:ECHO? not the power meter has been set to return received data back to the sender. 11-20 HP E4418B/E4419B Programming Guide...
SYSTem:COMMunicate:SERial:TRANsmit:PACE? The query returns XON if the handshake is enabled and NONE if the handshake is disabled. Query Example This command queries whether SYST:COMM:SER:TRAN:PACE? the transmitter Xon/Xoff software handshake is enabled (XON) or disabled (NONE). HP E4418B/E4419B Programming Guide 11-21...
(stick 1 parity). The receiver is not expecting a parity bit included NONE in received data and does not perform a parity check. The transmitter does not include a parity bit in the transmitted data. 11-22 HP E4418B/E4419B Programming Guide...
Page 406
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 This command queries what type SYST:COMM:SER:TRAN:PAR? of parity has been set on the transmitted/received data. HP E4418B/E4419B Programming Guide 11-23...
SYST:COMM:SER:TRAN:SBIT 2 stop bits for the transmitter and receiver to 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. 11-24 HP E4418B/E4419B Programming Guide...
Page 408
SYSTem Subsystem SYSTem:COMMunicate:SERial:TRANsmit:SBITs <numeric_value> Query Example This command queries the setting SYST:COMM:SER:TRAN:SBIT? of the receive/transmit stop bits. HP E4418B/E4419B Programming Guide 11-25...
The error queue has a maximum capacity of 30 errors. If the queue overflows, the last error is replaced with -350, “Queue overflow”. No additional errors are accepted by the queue until space becomes available. 11-26 HP E4418B/E4419B Programming Guide...
SYSTem:LANGuage <character_data> This command is used to change the remote programming language accepted by the power meter from SCPI to the HP 437B programming language. To return to using the SCPI programming language when in the HP 437B mode use the SYST:LANG SCPI command. After sending the command to change language wait 100 ms before sending any other commands.
This command unlocks the power SYST:LOC meter front panel keypad and enables local front panel control. Error Message If this command is sent when the GPIB interface is selected, the error -113, “Undefined header” occurs. 11-28 HP E4418B/E4419B Programming Guide...
HP E4418B: Math expression CALC:MATH[:EXPR] Upper - channel A Lower - channel A HP E4419B Upper - channel A Lower - channel B Reference value disabled CALC:REL[:MAGN]:AUTO Relative offset disabled CALC:REL:STAT Automatic calibration disabled CAL:AUTO HP E4418B/E4419B Programming Guide 11-29...
Page 413
Selected sensor calibration table SENS:CORR:CSET:SEL not affected Sensor calibration table disabled SENS:CORR:CSET:STAT 1.000% Duty cycle factor SENS:CORR:DCYC|GAIN3 Duty cycle correction disabled SENS:CORR:DCYC|GAIN3:STAT 100.0% Calibration factor SENS:CORR:CFAC|GAIN1 0.000 dB External gain SENS:CORR:GAIN2 External gain correction disabled SENS:CORR:GAIN2:STAT 11-30 HP E4418B/E4419B Programming Guide...
Page 414
Power meter address SYST:GPIB:ADDR not affected Error messages SYST:ERR not affected Programming language SYST:LANG not affected SCPI version SYST:VERS Delay after trigger enabled TRIG:DEL:AUTO Trigger source is immediate TRIG:SOUR Power units UNIT:POW Ratio units UNIT:POW:RAT HP E4418B/E4419B Programming Guide 11-31...
:REM Example This command locks the power SYST:REM meter front panel keypad (except the Local key). Error Message If this command is sent when the GPIB interface is selected, the error -113, “Undefined header” occurs. 11-32 HP E4418B/E4419B Programming Guide...
RS232. Query SYSTem:RINTerface? The query returns the current setting of the remote control interface (GPIB, RS232, or RS422).. Query Example This command queries the current SYST:RINT? setting of the remote control interface. HP E4418B/E4419B Programming Guide 11-33...
Example This command locks the power SYST:RWL meter front panel keypad - including the Local key. Error Message If this command is sent when the GPIB interface is selected, the error -113, “Undefined header” occurs. 11-34 HP E4418B/E4419B Programming Guide...
XXXX.Y, where XXXX is the year and Y is the version number. Syntax SYST :VERS Example This command queries which SYST:VERS? version of SCPI is used in the power meter. HP E4418B/E4419B Programming Guide 11-35...
Page 419
SYSTem Subsystem SYSTem:VERSion? 11-36 HP E4418B/E4419B Programming Guide...
Page 421
TRIGger1 and TRIGger2 represent channel A and channel B respectively. If you are using the single channel HP E4418B power meter the TRIGger2 commands are irrelevant and cause the error “Header suffix out of range.”...
ABORt was executed. If INITiate:CONTinuous is ON, then after ABORt the specified channel immediately goes into the “wait-for-trigger” state. Syntax ABOR Example This command places channel A in ABOR the “idle” state. HP E4418B/E4419B Programming Guide 12-3...
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 commands associated with this node are: INITiate[1|2][:IMMediate] INITiate[1|2]:CONTinuous <Boolean> 12-4 HP E4418B/E4419B Programming Guide...
On preset (SYSTem:PRESet) and instrument power-up, this command is enabled. Query INITiate[1|2]:CONTinuous? The query enters a 1 or 0 into the output buffer. • 1 is returned when there is continuous triggering. • 0 is returned when there is only a single trigger. HP E4418B/E4419B Programming Guide 12-5...
Page 425
TRIGger Subsystem INITiate[1|2]:CONTinuous <Boolean> Query Example This command queries whether INIT2:CONT? channel B is set for single or continuous triggering. 12-6 HP E4418B/E4419B Programming Guide...
Syntax INIT :IMM Example This command places channel B INIT2:IMM in the “wait-for-trigger” state. Error Messages If the power meter is not in the “idle” state or INITiate:CONTinuous is ON, error -213, “INIT ignored” occurs. HP E4418B/E4419B Programming Guide 12-7...
TRIGger Subsystem TRIGger Node TRIGger Node This node controls the behavior of the trigger system. The commands associated with this node are: TRIGger[1|2]:DELay:AUTO <Boolean> TRIGger[1|2][:IMMediate] TRIGger[1|2]:SOURce BUS|IMMediate|HOLD 12-8 HP E4418B/E4419B Programming Guide...
TRIGger[1|2]:DELay:AUTO is ignored if TRIGger[1|2][:IMMediate] is set to ON. Syntax Space TRIG :AUTO :DEL 0|OFF 1|ON Example This command enables a delay on TRIG:DEL:AUTO ON channel A. Reset Condition On reset, TRIGger:DELay:AUTO is set to ON. HP E4418B/E4419B Programming Guide 12-9...
Page 429
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. • 1 is returned when it is ON. • 0 is returned when it is OFF. 12-10 HP E4418B/E4419B Programming Guide...
ON. Syntax TRIG :IMM Example This command causes a channel A TRIG trigger to occur immediately. Error Messages If the power meter is not in the “wait-for-trigger” state, then TRIGger:IMMediate causes error -211, “Trigger ignored”. HP E4418B/E4419B Programming Guide 12-11...
The MEASure, READ? and CONFigure commands automatically set the trigger source to IMMediate. The READ? or MEASure commands should not be used if the trigger source is BUS or HOLD. Syntax Space TRIG :SOUR HOLD 12-12 HP E4418B/E4419B Programming Guide...
Page 432
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 This command queries TRIG:SOUR? channel A’s trigger source. HP E4418B/E4419B Programming Guide 12-13...
Page 435
UNIT:POWer is set to dBm then UNIT:POWer:RATio is dB. • UNIT:POWer is set to W then UNIT:POWer:RATio is %. Keyword Parameter Form Notes Page UNIT[1|2] page 13-3 :POWer <amplitude unit> [non-SCPI] page 13-6 :RATio <ratio_unit> 13-2 HP E4418B/E4419B Programming Guide...
For any command which accepts a numeric value in more than one unit and the power suffix is omitted then the units set by UNIT:POWer are used. For the HP E4418B: • UNIT1:POWer sets the power measurement units for the upper window.
Page 437
Example This command sets the UNIT1:POW DBM measurement units for the upper window and the default units for any relevant SENSe1 command to dBm. Reset Condition On reset, both channels are set to dBm. 13-4 HP E4418B/E4419B Programming Guide...
Page 438
The query returns the current setting of the measurement units. Query Example This command queries which UNIT2:POW? measurement units are being used on the lower window. In addition, for the HP E4419B this command also queries the default units for any relevant SENSe2 command. HP E4418B/E4419B Programming Guide 13-5...
UNIT Subsystem UNIT[1|2]:POWer:RATio <ratio_unit> UNIT[1|2]:POWer:RATio <ratio_unit> This command is used on the HP E4419B to set the default units used when inputting and outputting power ratio data. • UNIT1:POWer:RATio sets the ratio measurement units for the upper window. In addition, it also sets the ratio suffix for any SENSe1 command that requires but omits the ratio suffix.
Page 440
It also queries the default units for any relevant SENSe2 command. Error Message If this command is used with an HP E4418B, error -113, “Undefined header” occurs. HP E4418B/E4419B Programming Guide 13-7...
Page 441
UNIT Subsystem UNIT[1|2]:POWer:RATio <ratio_unit> 13-8 HP E4418B/E4419B Programming Guide...
Query SERVice:OPTion? The query returns the current option string. For example, if the string “001,003” is returned, the power meter is fitted with the battery and the rear panel sensor inputs and Power Reference Calibrator. HP E4418B/E4419B Programming Guide 14-3...
:SENS :CDATE Example This query returns the calibration SERV:SENS2:CDATE? date of the E-series sensor connected to channel B. Error Message If an HP E-series power sensor is not connected, the error -241 “Hardware missing” occurs 14-4 HP E4418B/E4419B Programming Guide...
:CPL Example This query returns the place of SERV:SENS2:CPL? calibration of the E-series sensor connected to channel B. Error Message If an HP E-series power sensor is not connected, the error -241 “Hardware missing” occurs. HP E4418B/E4419B Programming Guide 14-5...
:SENS :SNUM Example This query returns the serial SERV:SENS2:SNUM? number of the E-series sensor connected to channel B. Error Message If an HP E-series power sensor is not connected, the error -241 “Hardware missing” occurs. 14-6 HP E4418B/E4419B Programming Guide...
SERVice:SENSor[1|2]:TYPE? This query is used to identify the sensor type connected to the power meter input channel(s). For HP 8480 series sensors, either “A”, “B”, “D”, or “H” is returned. For E-series sensors, the model number stored in EEPROM is returned...
30 characters can be used. Example This command loads the power SERV:SNUM GB12345678 meter with the serial number GB12345678. Query SERVice:SNUMber? The query returns the power meter serial number in the form GB12345678 or US12345678. 14-8 HP E4418B/E4419B Programming Guide...
0 - 9 _ (underscore) Example This command loads the power SERV:VERS:PROC “C” meter with processor board revision version C. Query SERVice:VERSion:PROCessor? The query returns the current processor board revision version. HP E4418B/E4419B Programming Guide 14-9...
(lowercase) can be used. 0 - 9 _ (underscore) Example This command loads the power SERV:VERS:SYST “2” meter with system version number2. Query SERVice:VERSion:SYSTem? The query returns the current power meter system version number. 14-10 HP E4418B/E4419B Programming Guide...
This chapter contains information about the IEEE 488.2 Common (*) Commands that the power meter supports. It also describes the universal command statements which form the nucleus of HP-IB programming; they are understood by all instruments in the network. When combined with programming language codes, they provide all management and data communication instructions for the system.
IEEE488.2 Command Reference Universal Commands Universal Commands The DCL (Device Clear) command causes all HP-IB 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.
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. 15-4 HP E4418B/E4419B Programming Guide...
The PPU (Parallel Poll Unconfigure) command disables the power meter from responding to a parallel poll. This is effectively a universal disable. The SDC (Selected Device Clear) command causes all HP-IB instruments in the listen state, to assume a cleared condition. The definition of a selected device clear is unique for each instrument.
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 (refer to “The Status Byte”, on page 1-80 for further information). 15-6 HP E4418B/E4419B Programming Guide...
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 HP E4418B/E4419B Programming Guide 15-7...
Examples of <arbitrary block program data> parameters are: • #15FETC? and #206FETCh? Examples of <string program data> are: • "FETCh1?", "FETCh?" and "TRIG1;FETC1" Reset Condition On reset, the <action> field of *DDT is set to *TRG. 15-8 HP E4418B/E4419B Programming Guide...
Page 460
*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 15-8. Error Message If an invalid parameter is received error -224, “Illegal parameter value” occurs. HP E4418B/E4419B Programming Guide 15-9...
0 to 255 Status Enable Register. 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. 15-10 HP E4418B/E4419B Programming Guide...
0 to 255. Table 15-4 shows the contents of this register. Table 15-4: *ESR? Mapping Weight Meaning Operation Complete Request Control (not used) Query Error Device Dependent Error Execution Error Command Error Not used Power On Syntax *ESR HP E4418B/E4419B Programming Guide 15-11...
HEWLETT-PACKARD,EPM-441A,<serial number>,A1.XX.YY HEWLETT-PACKARD,EPM-442A,<serial number>,A2.XX.YY HEWLETT-PACKARD,437B,,2.0 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 15-12 HP E4418B/E4419B Programming Guide...
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. HP E4418B/E4419B Programming Guide 15-13...
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 15-14 HP E4418B/E4419B Programming Guide...
*RCL Parameters Range of Type Description/Default Values The number of the register to be recalled. 1 to 10 Error Message If the register does not contain a saved state error -224, “Illegal parameter value” occurs. HP E4418B/E4419B Programming Guide 15-15...
IEEE488.2 Command Reference *RST *RST The *RST (ReSeT) command places the power meter in a known state. The power meter is reset to the state shown in Table 11-1 on page 11-29. Syntax *RST 15-16 HP E4418B/E4419B Programming Guide...
Syntax Space *SAV Parameters Range of Item Description/Default Values The number of the register that the 1 to 10 current state of the power meter is to be saved to. HP E4418B/E4419B Programming Guide 15-17...
QUEStionable Status Summary Message Available Event Status Bit Not used OPERation Status Summary Syntax Space *SRE Parameters Range of Type Description/Default Values A value used to set the Service Request 0 to 255 Enable Register. 15-18 HP E4418B/E4419B Programming Guide...
Page 470
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). HP E4418B/E4419B Programming Guide 15-19...
0 - power meter not requesting service 1 - there is at least one reason for requesting service Operation Status Summary 0 - No OPERation status conditions have occurred 1 - An OPERation status condition has occurred 15-20 HP E4418B/E4419B Programming Guide...
Using the *DDT command may change the function of the *TRG command. Syntax *TRG 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. 15-22 HP E4418B/E4419B Programming Guide...
IEEE488.2 Command Reference *TST? *TST? The *TST? (TeST) query causes the power meter to perform the HP-IB self test which takes approximately 30 seconds. The HP-IB self test consists of the following tests: • ROM checksum • • Battery •...
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 15-24 HP E4418B/E4419B Programming Guide...
Page 476
Index Symbols channel offsets 1-51 character response data definition 1-96 *STB? 1-81 clear status command 7 command set 1-4 Numerics condition register 1-72 437B/438A Error codes 1-5 –?? configuration 1-3 contrast 5-3 abort command 12-3 address 1-3 11-3 danger v analog display 5-7 data format 6-2 analog meter...
Page 477
GPIB 11-3 loss correction 9-33 GP-IB address 1-3 lower limit setting on the analog meter 5-10 lower limit fail summary register 10-13 HP 437B command summary 1-6 lower test limit 9-46 HP 438A command summary 1-9 Index-2 HP E4418B/E4419B Programming Guide...
Page 478
7-16 preset 11-29 save/recall register preset, values of status registers 10-18 clearing data 7-10 programming language 11-27 listing 7-4 7-18 programming language selection 1-4 naming 7-19 pulse power 9-20 9-23 SCPI an introduction 1-93 HP E4418B/E4419B Programming Guide Index-3...
Page 479
9-49 standard event register 1-81 user environment vii bit definitions 1-81 standard event status register 11 status byte 1-80 version 11-35 bit definitions 1-80 status byte query 20 status register 1-79 wait command 24 Index-4 HP E4418B/E4419B Programming Guide...