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. Keysight EPM-P Series Programming Guide...
Any adjustments or service procedures that require operation of the CAUTION instrument with protective covers removed should be performed only by trained service personnel. User environment The product is suitable for indoor use only. Keysight EPM-P Series Programming Guide...
To contact Keysight for sales and technical support, refer to the support links on the following Keysight websites: – www.keysight.com/find/powersensors (product-specific information and support, software and documentation updates) – www.keysight.com/find/assist (worldwide contact information for repair and service) Keysight EPM-P Series Programming Guide...
Related Publications The EPM-P Series Power Meters User’s Guide is available on the CD-ROM and in the following languages: – English Language User’s Guide - Standard – German Language User’s Guide - Option ABD – Spanish Language User’s Guide - Option ABE –...
Page 25
Keysight EPM-P Series Power Meters Programming Guide Power Meter Remote Operation Configuring the Remote Interface Zeroing and Calibrating the Power Meter Making Measurements Making Measurements on Wireless Communication Standards Using Sensor Calibration Tables Using Frequency Dependent Offset Tables Setting the Range, Resolution and Averaging...
You can choose to control the power meter remotely using either the GPIB, RS232 or RS422 standard interfaces. For information on selecting the remote interface manually from the front panel, refer to the EPM-P Series Power Meters User’s Guide. To select the interface remotely use the: – SYSTem:RINTerface command To query the current remote interface selection use the: –...
You can set the baud rate, word length, parity, number of stop bits, software and hardware pacing, either remotely or from the front panel. For front panel operation refer to the EPM-P Series Power Meter User’s Guide. For remote operation use the following commands:...
The 8480 Series power sensors and N8480 Series power sensors with Option CFT require you to set the reference calibration factor. All E-Series power sensors and N8480 Series power sensors (excluding Option CFT) set the Keysight EPM-P Series Programming Guide...
Page 29
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 96 for further information. Keysight EPM-P Series Programming Guide...
[SENSe[1]]|SENSe2:CORRection:CSET1:STATe ON When the sensor calibration table is selected the RCF from the table overrides any value previously set. Querying the reference calibration factor To determine the current reference calibration factor, use the following command: CALibration[1|2]:RCFactor? Keysight EPM-P Series Programming Guide...
CONFigure command presets various states in the power meter. It may be likely that you do not want to preset these states. Refer to “Using the lower level commands” on page 46 for further information. Keysight EPM-P Series Programming Guide...
MEAS2? in a lower window measurement. The channel associated with the window can be set using the source list parameter (see example 2), or will default as in this example. specifies window MEAS1? MEAS2? Keysight EPM-P Series Programming Guide...
Page 33
78 for details of the range breaks). The resolution parameter is defaulted leaving it at its current setting. The source list parameter specifies a channel B measurement. The measurement is displayed on the lower window. Keysight EPM-P Series Programming Guide...
Page 34
The following command can only be carried out on the Keysight EPM-442A. It queries the lower window to make a difference measurement of channel B - channel A. The expected power and resolution parameters are defaulted, leaving them at their current settings. Keysight EPM-P Series Programming Guide...
Page 35
(for example, A, B, A/B, A-B etc.) and on the particular command used (for example, MEAS[:POW][:AC]? and MEAS:POW:AC:RAT?). This means that when the source list parameter is defaulted, there are a number of possibilities. Keysight EPM-P Series Programming Guide...
Page 36
Command Current window setup Measurement Upper window: MEAS1[:POW][AC]? Any other Lower window: MEAS2[:POW][AC]? Any other Upper window: MEAS1:POW:AC:RAT Any other Lower window: MEAS2:POW:AC:RAT Any other Upper window: MEAS1:POW:AC:DIFF? Any other Lower window: MEAS2:POW:AC:DIFF? Any other Keysight EPM-P Series Programming Guide...
It is advisable to read through these examples in order as they become increasingly more detailed. These examples give an overview of the CONFigure command. For further information on the CONFigure commands refer to Chapter 2, "Measurement Commands". Keysight EPM-P Series Programming Guide...
Page 38
Retrieves the upper window’s measurement FETC1? For the E4416A only: Reset instrument *RST Configure lower window - E4416A defaults to channel A CONF2 Causes channel A to make a measurement INIT1 Retrieves the lower window’s measurement FETC2? Keysight EPM-P Series Programming Guide...
Page 39
ABOR1 Configures the upper window to make a channel CONF1 DEF,DEF,(@1) A measurement using the current expected power and resolution settings. Takes the upper window’s measurement. READ1? Using INITiate and FETCh? Aborts channel A ABOR1 Keysight EPM-P Series Programming Guide...
Page 40
Some fine tuning of measurements can be carried out using the CONFigure and READ? commands. For example, in the above program segment some fine tuning can be carried out by setting the filter length to 1024 and the trigger delay off. Keysight EPM-P Series Programming Guide...
Page 41
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? Keysight EPM-P Series Programming Guide...
Page 42
Some fine tuning of the above program segment can be carried out for example, by setting the trigger delay off. The following program segment assumes that channel A is currently being measured on the upper window. ABOR1 CONF1 DEF,3 TRIG1:DEL:AUTO OFF READ1? Keysight EPM-P Series Programming Guide...
Page 43
B. The expected power level and resolution parameters are defaulted, leaving them at their current settings. Some fine tuning of the measurement is carried out by setting the averaging, and the trigger delay to off. Keysight EPM-P Series Programming Guide...
Page 44
CONF2:POW:AC:DIFF DEF,DEF,(@1),(@2) SENS1:AVER:COUN 1024 SENS2:AVER:COUN 1024 TRIG1:DEL:AUTO OFF TRIG2:DEL:AUTO OFF INIT1:IMM INIT2:IMM FETC2:POW:AC:DIFF? FETC2:POW:AC:DIFF? DEF,DEF,(@2),(@1) (A second FETCh? query is sent to make a channel B - channel A measurement using the current measurement data.) Keysight EPM-P Series Programming Guide...
Page 45
Using INITiate and FETCh? ABOR1 ABOR2 CONF2:POW:AC:RAT DEF,DEF,(@1),(@2) SENS1:AVER:COUN 512 SENS2:AVER:COUN 256 INIT1:IMM INIT2:IMM FETC2:POW:AC:RAT? FETC2:POW:AC:RAT? DEF,DEF,(@2),(@1) (A second FETCh? query is sent to make a channel B - channel A measurement using the current measurement data.) Keysight EPM-P Series Programming Guide...
Sets lower range (E-Series sensors and N8480 SENS1:POW:AC:RANG 0 Series sensors (excluding Option CFT) only). Sets the lower window’s resolution to setting 3. DISP:WIND2:RES 3 Causes channel A to make a measurement. INIT1 Retrieves the lower window’s measurement. FETC2? Keysight EPM-P Series Programming Guide...
:SYST:ERR? <read string> No Error” The sensor type query should return one SERV:SENS:TYPE? of the following: E9321A|E9322A|E9323A| E9325A|E9326A|E9327A The GSM setup is only valid with these sensors Sets the measurement frequency to SENS:FREQ 900MHZ 900 MHz Keysight EPM-P Series Programming Guide...
Page 48
SENS:TRAC:TIME 0.0007 Assigns upper window to a trace display DISP:WIND1:FORM TRACE Assigns lower window to a single DISP:WIND2:FORM SNUM numeric display CALC2:FEED1 “POW:AVER ON SWEEP1” Lower window to show average power using timing defined by gate1 Keysight EPM-P Series Programming Guide...
SERV:SENS:TYPE? of the following: E9321A|E9322A|E9323A| E9325A|E9326A|E9327A The EDGE setup is only valid with these sensors Sets the measurement frequency to SENS:FREQ 900MHZ 900 MHz Only send this command if using an SENS:BW:VID:HIGH E9321A or E9325A Keysight EPM-P Series Programming Guide...
Page 50
CALC2:FEED1 “POW:AVER ON SWEEP1” Lower window upper display line to show average power using timing defined by gate1 CALC4:FEED1 “POW:PTAV ON SWEEP1” Lower window lower display line to show peak-to-average ratio using timing defined by gate1 Keysight EPM-P Series Programming Guide...
NOTE of the E9321A and E9325A sensors in the Low setting and these are best suited. Other E9320 sensors may be used in their lowest setting but they provide less dynamic range and low-level stability. Keysight EPM-P Series Programming Guide...
Page 52
Sets trace display minimum power to DISP:WIND1:TRACE:LOW -35 -35 dBm Sets trace display maximum power to DISP:WIND1:TRACE:UPP 20 +20 dBm Trace starts 200 μ s before trigger point SENS:TRAC:OFFS:TIME -0.0002 Trace span set to 28 ms SENS:TRAC:TIME 0.028 Keysight EPM-P Series Programming Guide...
E9321A and E9325A sensors in the Low setting and these are best suited. Other E9320 sensors may be used in their lowest setting but they provide less dynamic range and low-level stability. Clears error queue *CLS Resets meter settings to their default *RST states Keysight EPM-P Series Programming Guide...
Page 54
CALC2:FEED1 “POW:PTAV ON SWEEP1” Lower window upper display line to show peak-to-average ratio using timing defined by gate1 CALC4:FEED1 “POW:PTAV ON SWEEP2” Lower window lower display line to show peak power ratio using timing defined by gate2 Keysight EPM-P Series Programming Guide...
6 time slots starting 50 μs before the trigger. The E9321A and E9325A sensors are best suited. The E9321A and E9325A are NOTE not recommended due to lack of bandwidth. Keysight EPM-P Series Programming Guide...
Page 56
Trace starts 10 μ s before trigger point SENS:TRAC:OFFS:TIME -0.00001 μ Trace span set to 650 SENS:TRAC:TIME 0.00065 Assigns upper window to a trace display DISP:WIND1:FORM TRACE Assigns lower window to a dual numeric DISP:WIND2:FORM DNUM display Keysight EPM-P Series Programming Guide...
E9322A|E9323A| E9326A|E9327A The cdmaOne setup is only valid with these sensors Sets the measurement frequency to SENS:FREQ 850MHZ 850 MHz Only send this command if using an SENS:BW:VID:HIGH E9322A or an E9326A Keysight EPM-P Series Programming Guide...
Page 58
Assigns lower window to a dual numeric DISP:WIND2:FORM DNUM display CALC1:FEED1 “POW:AVER” Upper window to show average power CALC2:FEED1 “POW:PEAK” Lower window upper display line to show peak power CALC4:FEED1 “POW:PTAV” Lower window lower display line to show peak-to-average ratio Keysight EPM-P Series Programming Guide...
Puts meter in “wait for trigger” state INIT:CONT ON Selects internal trigger TRIG:SOUR INT Turn off auto leveling for trigger TRIG:LEV:AUTO OFF Sets trigger level to -10.0 dBm TRIG:LEV -10.00DBM Assigns upper window to a single DISP:WIND1:FORM SNUM numeric display Keysight EPM-P Series Programming Guide...
Page 60
Assigns lower window to a dual numeric DISP:WIND2:FORM DNUM display CALC1:FEED1 “POW:AVER” Upper window to show average power CALC2:FEED1 “POW:PEAK” Lower window upper display line to show peak power CALC4:FEED1 “POW:PTAV” Lower window lower display line to show peak-to-average ratio Keysight EPM-P Series Programming Guide...
Note that with the sensor calibration table selected, the RCF from the table overrides any value previously set. The power meter is capable of storing 20 sensor calibration tables of 80 frequency points each. Figure 1-1 illustrates how sensor calibration tables operate. Keysight EPM-P Series Programming Guide...
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 Figure 1-1 Sensor calibration tables Keysight EPM-P Series Programming Guide...
{,<numeric_value>}. The first parameter you enter should be the reference calibration factor, each subsequent parameter is a calibration factor in the sensor calibration table. This means that entries in the frequency list correspond as shown with entries in the calibration factor list. Keysight EPM-P Series Programming Guide...
Page 64
To make subsequent editing of a sensor calibration table simpler, it is recommended that you retain a copy of your data in a program. Keysight EPM-P Series Programming Guide...
Page 65
The power meter is shipped with a set of predefined sensor calibration tables. The data in these sensor calibration tables is based on statistical averages for a range of Keysight Technologies power sensors. These power sensors are: – DEFAULT – 8481A –...
Page 66
– MEMory:TABLe:SELect “Sense1” Select the sensor calibration table named “Sense1”. – MEMory:TABLe:SELect? Query command which returns the name of the currently selected table. – MEMory:TABLe:FREQuency:POINTs? Query command which returns the number of stored frequency points. Keysight EPM-P Series Programming Guide...
If this is not the case an error occurs. To find out which sensor calibration table is currently selected, use the query: [SENSe[1]]|SENSe2:CORRection:CSET1[:SELect]? Keysight EPM-P Series Programming Guide...
Use either the INITiate, FETCh? or the READ? query to initiate the measurement as shown in the following program segments: INITiate Example ABORt1 CONFigure1:POWer:AC DEF,1,(@1) SENS1:CORR:CSET1:SEL "HP8481A" SENS1:CORR:CSET1:STAT ON SENSe1:FREQuency 500KHZ INITiate1:IMMediate FETCh1? READ? Example ABORt1 CONFigure1:POWer:AC DEF,2,(@1) SENS1:CORR:CSET1:SEL "HP8481A" SENS1:CORR:CSET1:STAT ON SENSe1:FREQuency 500KHZ READ1? Keysight EPM-P Series Programming Guide...
Page 69
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? Keysight EPM-P Series Programming Guide...
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. Keysight EPM-P Series Programming Guide...
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 Figure 1-2 Frequency dependent offset tables Keysight EPM-P Series Programming Guide...
" " 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. Keysight EPM-P Series Programming Guide...
Page 73
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. Each string parameter returned indicates the name, type and size of a stored frequency dependent offset table: Keysight EPM-P Series Programming Guide...
Page 74
– MEMory:TABLe:FREQuency? Query command which returns the frequencies stored in the frequency dependent offset table (in Hz). – MEMory:TABLe:GAIN[:MAGNitude]:POINTs? Query command which returns the number of offset factor points stored in the frequency dependent offset table. Keysight EPM-P Series Programming Guide...
Enabling a frequency dependent offset table 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. Keysight EPM-P Series Programming Guide...
Use either the INITiate, FETCh? or the READ? query to initiate the measurement as shown in the following program segments: INITiate Example ABORt1 CONFigure1:POWer:AC DEF,1,(@1) SENS1:CORR:CSET2:SEL “Offset1” SENS1:CORR:CSET2:STAT ON SENSe1:FREQuency 500KHZ INITiate1:IMMediate FETCh1? READ? Example ABORt1 CONFigure1:POWer:AC DEF,2,(@1) SENS1:CORR:CSET2:SEL “Offset1” SENS1:CORR:CSET2:STAT ON SENSe1:FREQuency 500KHZ READ1? Keysight EPM-P Series Programming Guide...
Page 77
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. Keysight EPM-P Series Programming Guide...
For further information on this command refer to page 9-46. To enable autoranging use the following command: [SENSe[1]]|SENSe2:POWer:AC:RANGe:AUTO ON Use autoranging when you are not sure of the power level you will be measuring. Keysight EPM-P Series Programming Guide...
Figure 1-3 lists the number of readings averaged for each range and resolution when the power meter is in auto filter mode. Figure 1-3 applies to 8480 Series sensors only. NOTE Keysight EPM-P Series Programming Guide...
Figure 1-3 Averaged readings Figure 1-4 illustrates part of the power sensor dynamic range hysteresis. Range Hysteresis 9.5 dB 10.5 dB Minimum Sensor Power Minimum Sensor Power + 10 dB Figure 1-4 Averaging range hypothesis Keysight EPM-P Series Programming Guide...
Page 81
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. Keysight EPM-P Series 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 Keysight EPM-442A this offset is applied after any math calculations (refer to Figure 1-8). Keysight EPM-P Series Programming Guide...
240 OUTPUT @Power;"FETC:POW:AC:RAT? 20DBM,2,(@1),(@2)" 250 ENTER @Power;Reading 260 ! 270 PRINT "The measurement result is ";Reading;"dB." 280 END For further information on channel offsets refer to page 384. For further information on display offsets refer to page 212. Keysight EPM-P Series Programming Guide...
+90.00 dBm and the default lower limit is -90.00 dBm. A typical application for this feature is shown in Figure 1-5. Power Meter Swept Source Device Under Test CHANNEL A INPUT Figure 1-5 Limited checking application Keysight EPM-P Series Programming Guide...
TTL output level to active high or low; and determine whether the TTL output represents an over limit condition, under limit condition or both. Refer to Chapter 8, "OUTput Subsystem" for TTL output programming Keysight EPM-P Series Programming Guide...
Power Meter Remote Operation commands and to the EPM-P Series Power Meters User’s Guide for connector and pin-out information. Checking for limit failures There are two ways to check for limit failures: 1 Use the SENSe:LIMit:FAIL? and SENSe:LIMit:FCOunt? commands for channel limits or the CALCulate[1|2]:LIMit:FAIL? and the CALCulate[1|2]:LIMit:FCOunt? for window limits.
Specifies that TTL output 1 should be OUTP:TTL1:FEED asserted when the upper or lower limit fails “CALC1:LIM:LOW,CALC1:LIM:UPP” on the upper window. Specifies that TTL output 1 should be OUTP:TTL1:ACT HIGH active-high. Activates TTL output 1 OUTP:TTL1:STAT ON Keysight EPM-P Series Programming Guide...
The allowable range of values is 0.001% to 99.999%. The default is 1.000%. A duty cycle value can be set using the following command: [SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3 <numeric_value> Keysight EPM-P Series Programming Guide...
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. Keysight EPM-P Series Programming Guide...
Page 90
!... and get the result 330 OUTPUT @Power;"FETC?" ENTER @Power;Reading 350 ! 360 PRINT "The result is ";Reading*1000;"mW" 370 ! 380 ELSE 390 PRINT "THERE WAS A CALIBRATION ERROR!" 400 END IF 410 PRINT "PROGRAM COMPLETED" 420 END Keysight EPM-P Series Programming Guide...
FAST mode is available only for E-Series sensors and averaging, limits and ratio/difference math functions are disabled. Refer to “Specifications” in the EPM-P Series Power Meters User’s Guide to see the influence of these speed settings on the accuracy and noise performance of the power meter.
A channel is in Single Shot when INITiate:CONTinuous is set to OFF. Note that a measurement can take several INT/EXT triggers depending on the filter settings. Refer to TRIGger[1]|2:DELay:AUTO <boolean> in Chapter 13 for further information. Keysight EPM-P Series Programming Guide...
FORMat:BORDer) plus <LF> as an end sentinel of the block. The REAL format is likely to be required only for FAST mode as a means to reduce bus traffic. Keysight EPM-P Series Programming Guide...
GPIB traffic. The latter can be reduced using the FORMat REAL command to return results in binary format. The former is a combination of two factors: – the hardware platform being used. – the programming environment being used. Keysight EPM-P Series Programming Guide...
The MEASure commands in this figure can be replaced with the FETCh? and READ? commands. All references to channel B in the above diagram refer to the E4417A only. NOTE MEAS[1|2]:POW:AC? and MEAS[1|2]:POW:AC:REL? are the only commands that apply to the E4416A. Keysight EPM-P Series Programming Guide...
A set of these registers is called a status group. Condition Transition Event Enable Register Filter Register Register Bit 0 Bit 1 Summary Bit 2 Bit 3 Figure 1-9 Generalized status register model Keysight EPM-P Series Programming Guide...
Page 97
The changing state of the condition in question is shown at the bottom of the figure. A small binary table shows the state of the chosen bit in each status register at the selected times T1 to T5. Keysight EPM-P Series Programming Guide...
– need time critical notification of changes. – 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. Keysight EPM-P Series Programming Guide...
Page 99
This command returns the decimal weighted sum of all the bits. Procedure – Send a bus device clear message. – Clear the event registers with the *CLS (clear status) command. – Set the *ESE (standard event register) and *SRE (status byte register) enable masks. Keysight EPM-P Series Programming Guide...
Page 100
St=SPOLL(@Pm) ! Serial Poll (reads status byte) IF BIT(St,1)=1 THEN ! Device status reg bit set ? OUTPUT @Pm;“STAT:DEV:EVEN?” ! Yes , read register ENTER @Pm;Event ! (this also clears it) OUTPUT @Pm;“STAT:DEV:COND?” ENTER @Pm;Cond Keysight EPM-P Series Programming Guide...
Page 101
OUTPUT @Pm;“*SRE 128” ENABLE INTR 7;2 ! Enable an SRQ to cause an interrupt LOOP ! Idle loop ! Forever END LOOP ! When a SRQ is detected , the following routine will service it. 260 Srq_i: Keysight EPM-P Series Programming Guide...
Status and Questionable Status groups are 16 bits wide, while the Status Byte and Standard Event groups are 8 bits wide. In all 16-bit groups, the most significant bit (bit 15) is not used and is always set to 0. Keysight EPM-P Series Programming Guide...
Power Meter Remote Operation 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 Figure 1-11 Status system Keysight EPM-P Series Programming Guide...
Page 104
Particular bits in the status byte register are cleared when: – The standard event, Questionable status, operation status and device status are queried. – The error/event queue becomes empty. – The output queue becomes empty. Keysight EPM-P Series 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. Keysight EPM-P Series Programming Guide...
Page 106
– send a *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. Keysight EPM-P Series Programming Guide...
Page 107
The following bits in these registers are used by the power meter. Bit number Decimal weight Definition 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) Keysight EPM-P Series Programming Guide...
Page 108
– SET: This bit is set when the power on self test fails. Power on self test – CLEARED: When the power on self test passes. [a] E4417A only Keysight EPM-P Series Programming Guide...
Page 109
Not used MEASuring Summary Waiting for TRIGger Summary 6 - 9 Not used 1024 SENSe Summary 2048 Lower Limit Fail Summary 4096 Upper Limit Fail Summary 13 to 14 Not used Not used (always 0) Keysight EPM-P Series Programming Guide...
Page 110
– SET: If a measurement is made and either a channel or window Upper limit fail upper limit test fails. – CLEARED: If a measurement is made and the upper limit test is not enabled or the test is enabled and passes. Keysight EPM-P Series Programming Guide...
Page 111
Definition 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 [a] E4417A only Keysight EPM-P Series Programming Guide...
Page 112
This is an event, and DOES NOT set the condition register. The bit Front panel key will be set in the event register which will be cleared when read. press Note that the transition registers are of no use for this bit. Keysight EPM-P Series Programming Guide...
– Use a serial poll to check to see when bit 5 (standard event) is set in the status byte summary register. You could also configure the power meter for an SRQ interrupt by sending *SRE 32 (status byte enable register, bit 5). Keysight EPM-P Series Programming Guide...
Page 114
20 OUTPUT @Power;“*CLS” 30 OUTPUT @Power;“*ESE 1” 40 OUTPUT @Power;“CAL:AUTO ONCE;*OPC” 50 WHILE NOT BIT(SPOLL(@Power),5) 60 !(Computer carries out other operations here) 70 END WHILE 80 OUTPUT @Power;“MEAS:POW:AC?” 90 ENTER @Power;Result 100 PRINT Result 110 END Keysight EPM-P Series Programming Guide...
– 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. Keysight EPM-P Series 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. Keysight EPM-P Series Programming Guide...
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. Keysight EPM-P Series Programming Guide...
0 or 1 and are unitless. ON corresponds to 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. Keysight EPM-P Series Programming Guide...
Page 120
Throughout this chapter <non-decimal numeric> is used to represent numeric information in bases other than ten (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. Keysight EPM-P Series Programming Guide...
Page 121
Refer to section 7.7.4.1 of IEEE 488.2 for further details. <NRf> Definition Throughout this chapter <NRf> is used to denote a flexible numeric representation. For example: +200; -56; +9.9E36. Refer to section 7.7.2.1 of IEEE 488.2 for further details. Keysight EPM-P Series Programming Guide...
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. Keysight EPM-P Series Programming Guide...
Page 123
Throughout this chapter the decimal numeric element is abbreviated to <numeric_value>. For example, <NRf>, MINimum, MAXimum, DEFault or Not A Number (NAN). <string> Definition Throughout this chapter <string> is used to represent 7-bit ASCII characters. The format is defined as: Keysight EPM-P Series Programming Guide...
A <carriage return> followed by a <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. Keysight EPM-P Series Programming Guide...
With commands that require you to specify a window, the upper window is represented by a 1 and the lower window by a 2. If you omit the window number, the upper window is assumed. Keysight EPM-P Series Programming Guide...
The registers are: STATus:DEVice STATus:OPERation STATus:OPERation:CALibrating[:SUMMary] STATus:OPERation:LLFail[:SUMMary] STATus:OPERation:MEAsuring[:SUMMary] STATus:OPERation:SENSe[:SUMMary] STATus:OPERation:TRIGger[:SUMMary] STATus:OPERation:ULFail[:SUMMary] STATus:QUEStionable STATus:QUEStionable:CALibration[:SUMMary] STATus:QUEStionable:POWer[:SUMMary] The following five commands operate on each of these registers. However, to avoid duplication they are only listed once. Keysight EPM-P Series Programming Guide...
SCPI format in mind and they follow all of the syntax rules of the standard. CALibration[1|2]:ECONtrol:STATe CALibration[1|2]:RCALibration CALibration[1|2]:RCFactor DISPlay[:WINDow[1|2]]:FORMat DISPlay[:WINDow[1|2]]:METer:LOWer DISPlay[:WINDow[1|2]]:METer:UPPer DISPlay[:WINDow[1|2]]:RESolution DISPlay[:WINDow[1|2]]:SELect MEMory:CLEar[:NAME] MEMory:TABLe:SELect MEMory:STATe:DEFine MEMory:TABLe:GAIN[:MAGNitude] MEMory:TABLe:GAIN:POINts? MEMory:TABLe:MOVE OUTPut:TTL[1|2]:ACTive OUTPut:TTL[1|2]:FEED OUTPut:TTL[1|2]:STATe [SENSe[1]]|SENSe2:AVERage:SDETect [SENSe[1]]|SENSe2:CORRection:CFACtor [SENSe[1]]|SENSe2:CORRection:DCYCle Keysight EPM-P Series Programming Guide...
Page 144
Power Meter Remote Operation [SENSe[1]]|SENSe2:CORRection:FDOFfset [SENSe[1]]|SENSe2:SPEed [SENSe[1]]|SENSe2:POWer:AC:RANGe SERVice:SENSor[1|2]:CDATE? SERVice:SENSor[1|2]:CPLace? SERVice:SENSor[1|2]:SNUMber? SERVice:SENSor[1|2]:TYPE? SYSTem:LOCal SYSTem:REMote SYSTem:RINTerface SYSTem:RWLock TRANsmit:ECHO UNIT[1|2]:POWer:RATio Keysight EPM-P Series Programming Guide...
– CONFigure1? : Returns the configuration of the upper window/upper measurement. – CONFigure2? : Returns the configuration of the lower window/upper measurement. – CONFigure3? : Returns the configuration of the upper window/lower measurement. – CONFigure4? : Returns the configuration of the lower window/lower measurement. Keysight EPM-P Series Programming Guide...
Page 148
Measurement Commands Non-SCPI command extensions The EPM-P series power meters have several command extensions to the SCPI standard: RELative and DIFFerence. Optional parameters CONFigure, FETCh?, READ? and MEASure? have the following three optional parameters: – An expected power value. – A resolution.
Page 153
This command queries the current CONF2? configuration of the lower window/ upper measurement. Reset condition On reset: – The command function is set to :POWer:AC. – The expected power level is set to +20 dBm. Keysight EPM-P Series Programming Guide...
Page 154
– The source list on the E4416A is set to channel A on both windows and their measurements. – The source list on the E4417A is set to channel A for the upper measurement on both windows and channel B for the lower measurement on both windows. Keysight EPM-P Series Programming Guide...
When TRIG:SOUR is set to BUS or HOLD, sets TRIGger:SOURce IMMediate the power meter to make the measurement immediately a trigger is received. Enables automatic delay before making the TRIGger:DELay:AUTO ON measurement. Enables automatic filter length selection. SENSE:AVERage:COUNt:AUTO ON Enables averaging. SENSE:AVERage:STATe ON Keysight EPM-P Series Programming Guide...
– The channel on which the measurement will be made. Syntax CONF :POW :SCAL Space expected_value resolution source list Parameters Refer to “Optional parameters” on page 148 for additional details on the parameters in this command. Keysight EPM-P Series Programming Guide...
Page 157
1 to 4 represents a resolution of 1, 0.1, 0.01 and 0.001 respectively. [c] E4417A only. Example This command configures the upper CONF1:POW:AC DEF,2,(@1) window/upper measurement to measure the power of channel A, using the current sensor range and a resolution setting of 2. Keysight EPM-P Series Programming Guide...
The relative value used is that set by the CALCulate:RELative:MAGNitude:AUTO command. Syntax CONF :POW :REL :SCAL Space expected_value resolution source list Parameters Refer to “Optional parameters” on page 148 for additional details on the parameters in this command. Keysight EPM-P Series Programming Guide...
Page 159
1 to 4 represents a resolution of 1, 0.1, 0.01 and 0.001 respectively. [c] E4417A only. Example This command configures the lower CONF2:REL -50DBM,3,(@1) window to measure the relative power of channel A, using an expected power level of -50 dBm and a resolution setting of 3. Keysight EPM-P Series Programming Guide...
It sets the measurement function to difference with relative mode off. Syntax CONF :DIFF :POW :SCAL Space expected_value resolution source list Parameters Refer to “Optional parameters” on page 148 for additional details on the parameters in this command. Keysight EPM-P Series Programming Guide...
Page 161
[c] E4417A only. Example This command configures the lower CONF2:DIFF DEF,1,(@2),(@1) window to make a difference measurement of channel B - channel A, using the current sensor range and a resolution of 1 on both channels. Keysight EPM-P Series Programming Guide...
The relative value used is set by the CALCulate:RELative:MAGNitude:AUTO command. Syntax CONF :REL :POW :DIFF :SCAL expected_value Space resolution source list Parameters Refer to “Optional parameters” on page 148 for additional details on the parameters in this command. Keysight EPM-P Series Programming Guide...
Page 163
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. Keysight EPM-P Series Programming Guide...
The parameters must be entered in the specified order. If parameters are omitted, they will default from the right. The parameter DEFault is used as a place holder. Specifying leaves the parameter value unchanged. Keysight EPM-P Series Programming Guide...
Page 165
[c] E4417A only. Example This command configures the upper CONF1:RAT DEF,4,(@1),(@2) 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. Keysight EPM-P Series Programming Guide...
If unspecified and the current (@2),(@1) source list window setup is a ratio measurement then this ratio (@1),(@1) setup is used, otherwise it defaults to channel A/B (E4417A) or A/A (E4416A). (@2),(@2) Keysight EPM-P Series Programming Guide...
Page 167
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. Keysight EPM-P Series Programming Guide...
(@2) (E4417A only) However, on the E4417A, if the window shows a ratio or difference measurement, the upper window defaults to channel A and the lower window to channel Keysight EPM-P Series Programming Guide...
Page 170
– If the expected_value and resolution parameters are not the same as the current expected value and resolution setting on the specified window, error -221, “Settings conflict” occurs. Keysight EPM-P Series Programming Guide...
If a value is entered it should level) correspond to that set by CONFigure otherwise an error occurs. The units of measurement are dBm and W. The default units are defined by UNIT:POWer. Keysight EPM-P Series Programming Guide...
Page 172
– 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. Keysight EPM-P Series Programming Guide...
This channel list specifies the channels used to (@1),(@2) calculate the difference. (@2),(@1) If unspecified and the current window setup is a (@1),(@1) difference measurement then this difference setup is used, otherwise it defaults to channel A-B (E4417A) or (@2),(@2) A-A (E4416A). Keysight EPM-P Series Programming Guide...
Page 174
– 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. Keysight EPM-P Series Programming Guide...
If a value is entered it should level) correspond to that set by CONFigure otherwise an error occurs. The units of measurement are dBm and W. The default units are defined by UNIT:POWer. Keysight EPM-P Series Programming Guide...
Page 176
– 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. Keysight EPM-P Series Programming Guide...
This channel list specifies the channels used to (@1),(@2) calculate the ratio. (@2),(@1) If unspecified and the current window setup is a ratio (@1),(@1) measurement then this ratio setup is used, otherwise it defaults to channel A/B (E4417A) or A/A (E4416A). (@2),(@2) Keysight EPM-P Series Programming Guide...
Page 178
– 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. Keysight EPM-P Series Programming Guide...
This channel list specifies the channels used to (@1),(@2) calculate the ratio. (@2),(@1) If unspecified and the current window setup is a ratio (@1),(@1) measurement then this ratio setup is used, otherwise it defaults to channel A/B (E4417A) or A/A (E4416A). (@2),(@2) Keysight EPM-P Series Programming Guide...
Page 180
– 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. Keysight EPM-P Series Programming Guide...
– For the E4417A carrying out a difference measurement the READ:DIFFerence? queries are equivalent to: ABORt1and ABORt2 INITiate1 INITiate2 FETCh:DIFFerence? – For the E4417A carrying out a ratio measurement the READ:RATio? queries are equivalent to: ABORt1 ABORt2 INITiate1 INITiate2 FETCh:RATio? Keysight EPM-P Series Programming Guide...
The expected power level parameter can be set to DEF sensor dependent (for the expected power or a numeric value. If a value is entered it should level) correspond to that set by CONFigure otherwise an error occurs. Keysight EPM-P Series Programming Guide...
Page 183
– 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. Keysight EPM-P Series Programming Guide...
The expected power level parameter can be set to DEF sensor dependent (for the expected power or a numeric value. If a value is entered it should level) correspond to that set by CONFigure otherwise an error occurs. Keysight EPM-P Series Programming Guide...
Page 185
– 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. Keysight EPM-P Series Programming Guide...
Item Description/Defaul t Range of values expected_value The power meter ignores the numeric value entered in sensor dependent (for the expected power this parameter. Any value entered is treated like DEF. level) Keysight EPM-P Series Programming Guide...
Page 187
– If TRIGger:SOURce is set to BUS or HOLD, 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. Keysight EPM-P Series Programming Guide...
Item Description/Defaul t Range of values expected_value The power meter ignores the numeric value entered in sensor dependent (for the expected power this parameter. Any value entered is treated like DEF. level) Keysight EPM-P Series Programming Guide...
Page 189
– If TRIGger:SOURce is set to BUS or HOLD, 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. Keysight EPM-P Series Programming Guide...
Item Description/Defaul t Range of values expected_value The power meter ignores the numeric value entered in sensor dependent (for the expected power this parameter. Any value entered is treated like DEF. level) Keysight EPM-P Series Programming Guide...
Page 191
– If TRIGger:SOURce is set to BUS or HOLD, 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. Keysight EPM-P Series Programming Guide...
Item Description/Defaul t Range of values expected_value The power meter ignores the numeric value entered in sensor dependent (for the expected power this parameter. Any value entered is treated like DEF. level) Keysight EPM-P Series Programming Guide...
Page 193
– If TRIGger:SOURce is set to BUS or HOLD, 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. Keysight EPM-P Series Programming Guide...
– For the E4417A carrying out a difference measurement the READ:DIFFerence? queries are equivalent to: ABORt1 ABORt2 CONFigure:DIFFerence READ:DIFFerence? – For the E4417A carrying out a ratio measurement the READ:RATio? queries are equivalent to: ABORt1 ABORt2 CONFigure:RATio READ:RATio? Keysight EPM-P Series Programming Guide...
If unspecified the current window setup is used. (@2) (E4417A only) However, on the E4417A, if the window shows a ratio or difference measurement, the upper window defaults to channel A and the lower window to channel Keysight EPM-P Series Programming Guide...
Page 196
1 to 4 represents a resolution of 1, 0.1, 0.01 and 0.001 respectively. Example This command queries the lower MEAS2:POW:AC? -70DBM,1,(@1) window’s measurement of channel A, using an expected power level of -70 dBm and a resolution setting of 1. Keysight EPM-P Series Programming Guide...
If unspecified the current window setup is used. (@2) (E4417A only) However, on the E4417A, if the window shows a ratio or difference measurement, the upper window defaults to channel A and the lower window to channel Keysight EPM-P Series Programming Guide...
Page 198
1 to 4 represents a resolution of 1, 0.1, 0.01 and 0.001 respectively. Example This command queries the upper MEAS1:REL? -50DBM,2,(@2) window’s relative measurement of channel B, using an expected power level of -50 dBm and a resolution setting of 2. Keysight EPM-P Series Programming Guide...
This channel list specifies the channels used to (@1),(@2) calculate the difference. (@2),(@1) If unspecified and the current window setup is a (@1),(@1) difference measurement then this difference setup is used, otherwise it defaults to channel A-B (E4417A) or (@2),(@2) A-A (E4416A). Keysight EPM-P Series Programming Guide...
Page 200
[b] 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. [c] E4417A only. Example This command queries the difference MEAS2:DIFF? measurement on the lower window. Keysight EPM-P Series Programming Guide...
This channel list specifies the channels used to (@1),(@2) calculate the difference. (@2),(@1) If unspecified and the current window setup is a (@1),(@1) difference measurement then this difference setup is used, otherwise it defaults to channel A-B (E4417A) or (@2),(@2) A-A (E4416A). Keysight EPM-P Series Programming Guide...
Page 202
[c] E4417A only. 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. Keysight EPM-P Series Programming Guide...
This channel list specifies the channels used to (@1),(@2) calculate the ratio. (@2),(@1) If unspecified and the current window setup is a (@1),(@1) difference measurement then this difference setup is used, otherwise it defaults to channel A-B (E4417A) or (@2),(@2) A-A (E4416A). Keysight EPM-P Series Programming Guide...
Page 204
1 to 4 represents a resolution of 1, 0.1, 0.01 and 0.001 respectively. [c] E4417A only. 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. Keysight EPM-P Series Programming Guide...
This channel list specifies the channels used to (@1),(@2) calculate the ratio. (@2),(@1) If unspecified and the current window setup is a (@1),(@1) difference measurement then this difference setup is used, otherwise it defaults to channel A-B (E4417A) or (@2),(@2) A-A (E4416A). Keysight EPM-P Series Programming Guide...
Page 206
[b] 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. [c] E4417A only. Example This command queries the relative MEAS:RAT:REL? ratio measurement on the upper window. Keysight EPM-P Series Programming Guide...
For example: “POW:PEAK ON SWEEP2” If ON SWEEP[1]|2|3|4 is not supplied, the gate used is left unchanged. A feed of “” (empty string) disables the CALC block and switches off that display line. Keysight EPM-P Series Programming Guide...
Page 211
– If the command changes the measurement mode to PEAK or PTAV when a non E9320 sensor is connected or an E9320 sensor is connected and set to AVERage mode rather than NORMal mode, error -221, “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
These commands are used to enter and enable a display offset on the specified window/measurement. The display offset is applied to the measurement signal after any math calculation. The following commands are detailed in this section: CALCulate[1]|2|3|4:GAIN[:MAGNitude] <numeric value> CALCulate[1]|2|3|4:GAIN:STATe <boolean> Keysight EPM-P Series Programming Guide...
-100.000 to +100.000 dB – the default value is 0 dB. DEF: – -100.000 dB. MIN: – : +100.000 dB. Example This command enters a display offset CALC2:GAIN 20 of 20 dB to the window/lower measurement. Keysight EPM-P Series Programming Guide...
Page 214
This command queries the current CALC1:GAIN? setting of the display offset on the upper window/upper measurement. Error message If CALCulate[1]|2|3|4:GAIN[:MAGNitude] is set to ON while SENSe:SPEed is set to 200, error -221, “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
The query enters a 1 or 0 into the output buffer indicating the status of the display offset. – 1 is returned when the display offset feature is enabled. – 0 is returned when the display offset feature is disabled. Keysight EPM-P Series Programming Guide...
Page 216
This command queries whether the CALC1:GAIN:STAT? display offset in the upper window/ upper measurement is on or off. Error message If CALCulate[1]|2|3|4:GAIN:STATe is set to ON while SENSe:SPEed is set to 200, error -221, “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
– Query if there has been a failure. – Count the number of failures. – Clear the counter. The following commands are detailed in this section: CALCulate[1]|2|3|4:LIMit:CLEar:AUTo <boolean> CALCulate[1]|2|3|4:LIMit:CLEar[IMMediate] CALCulate[1]|2|3|4:LIMit:FAIL? CALCulate[1]|2|3|4:LIMit:FCOunt? CALCulate[1]|2|3|4:LIMit:LOWer[:DATA] CALCulate[1]|2|3|4:LIMit:UPPer[:DATA] CALCulate[1]|2|3|4:LIMit:STATe <boolean> Keysight EPM-P Series Programming Guide...
CALC :LIM :CLE 1|ON ONCE Example This command switches on automatic CALC1:LIM:CLE:AUTO 1 clearing of the FCO for the upper window/upper measurement. Reset condition On reset, both windows and their measurements are set to ON. Keysight EPM-P Series Programming Guide...
Page 219
If a measurement is initiated then 0 is entered. Query example This command queries when the FCO CALC1:LIM:CLE:AUTO? is cleared for the upper window/upper measurement. Keysight EPM-P Series Programming Guide...
This command immediately clears the FCO (fail counter) of any limit failures for the specified window. The FCO is used to determine the results returned by the CALCulate[1]|2|3|4:LIMit:FAIL? query Syntax :IMM :LIM :CLE CALC Example This command clears the FCO for the CALC2:LIM:CLE:IMM lower window/upper measurement. Keysight EPM-P Series Programming Guide...
:FAIL Example This command queries if there have CALC1:LIM:FAIL? been any limit failures on the upper window/upper measurement. Reset condition On reset, the buffer is set to zero for both upper and lower window measurements. Keysight EPM-P Series Programming Guide...
– measured using MEASure? – read using READ? – 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. Keysight EPM-P Series Programming Guide...
Page 223
Example This command queries the number of CALC1:LIM:FCO? limit failures on the upper window/ upper measurement. Reset condition On reset, the counter is set to zero for both measurements of the upper and lower windows. Keysight EPM-P Series Programming Guide...
Measurement units CALC:REL:STAT OFF CALC:REL:STAT ON Measurement Measurement type mode Linear Linear Avg, Pk Watt Single channel Pk-Avg Ratio Avg, Pk, Pk-Avg Avg, Pk Watt Difference Pk-Avg Syntax Space numeric_value :DATA CALC :LIM :LOW Space Keysight EPM-P Series Programming Guide...
Page 225
On reset, both measurements of the upper and lower windows are set to -90.00 dBm or -90 dB (DEF). Query CALCulate[1]|2|3|4:LIMit:LOWer[:DATA]? [MIN|MAX] The query returns the current setting of the lower limit or the values associated with MIN and MAX for the specified window. Keysight EPM-P Series Programming Guide...
Page 226
CALCulate Subsystem Query example This command queries the lower limit CALC2:LIM:LOW:DATA? set for the lower window upper measurement. Keysight EPM-P Series Programming Guide...
Measurement units CALC:REL:STAT OFF CALC:REL:STAT ON Measurement Measurement type mode Linear Linear Avg, Pk Watt Single channel Pk-Avg Ratio Avg, Pk, Pk-Avg Avg, Pk Watt Difference Pk-Avg Syntax Space numeric_value :UPP :DATA :LIM CALC Space Keysight EPM-P Series Programming Guide...
Page 228
The query returns the current setting of the upper limit or the values associated with MIN and MAX for the specified window/measurement. Query example This command queries the setting of CALC2:LIM:UPP:DATA? the upper limit for the lower window/ upper measurement. Keysight EPM-P Series Programming Guide...
– 1 is returned when limits testing is enabled. – 0 is returned when limits testing is disabled. Query example This command queries whether the CALC1:LIM:STAT? limit checking function for the upper window/upper measurement is on or off. Keysight EPM-P Series Programming Guide...
Page 230
CALCulate Subsystem Error message If CALCulate[1|2|3|4]:LIMit:STATe is set to ON while [SENSe[1]]|SENSe2:SPEed is set to 200, error -221, “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
CALCulate Subsystem CALCulate[1]|2|3|4:MATH Commands These commands define and carry out the following mathematical transformations on SENSe data: – Single channel. – Difference. – Ratio. The following commands are detailed in this section: CALCulate[1]|2|3|4:MATH[:EXPRession] <string> CALCulate[1]|2|3|4:MATH[:EXPRession]:CATalog? Keysight EPM-P Series Programming Guide...
POW:PEAK “ ” 4 CALC:MATH (SENS2) “ ” The FEED1 measurement mode, set in step 3, is made invalid by step 4 and automatically changed to POW:AVER “ ” Syntax Space string :MATH :EXPR CALC Keysight EPM-P Series Programming Guide...
Page 233
On reset, the Keysight E4416A upper and lower window measurements are set to channel A ("(SENS1)"). On the E4417A the upper window measurements are set to channel A ("(SENS1)") and the lower window measurements to channel B ("(SENS2)") Keysight EPM-P Series Programming Guide...
Page 234
“(SENS1)” while SENSe:SPEed is set to 200, error -221, “Settings Conflict” occurs. – For the dual channel E4417A power meter: if <string> is not set to “(SENS1)” while SENS1:SPEEd or SENS2:SPEEd is set to 200, error -221, (SENS2) “ ” “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
– For the E4416A the string is: (SENS1)”, (SENS1-SENS1)”, (SENS1/SENS1)” “ “ “ – For the E4417A the string is: "(SENS1)","(SENS2)","(SENS1/SENS2)", "(SENS2/SENS1)","(SENS1-SENS2)","(SENS2-SENS1)" "(SENS1-SENS1)","(SENS2-SENS2)","(SENS1/SENS1)", "(SENS2/SENS2)" Syntax :CAT :EXPR :MATH CALC Example This command lists all the defined CALC1:MATH:CAT? math expressions. Keysight EPM-P Series Programming Guide...
– If a non E9320 Series power sensor is connected, error -241 “Hardware missing” occurs. – If SENS:DET:FUNC is set to AVER or TRIG:SOUR is set to INT1, INT2 or EXT, error -221 “Settings conflict” occurs. Keysight EPM-P Series Programming Guide...
These commands compare the measurement signal to a reference value. Within the CALCulate block the relative value is applied to the measurement signal after any math calculations and display offsets have been applied. The commands described in this section: CALCulate[1]|2|3|4:RELative[:MAGNitude]:AUTO <boolean>|ONCE CALCulate[1]|2|3|4:RELative:STATe <boolean> Keysight EPM-P Series Programming Guide...
:AUTO :REL 1|ON CALC 0|OFF ONCE Example This command sets a reference value CALC1:REL:AUTO ONCE to be used in the relative measurement on the upper window/ upper measurement. Query CALCulate[1]|2|3|4:RELative[:MAGNitude]:AUTO? The query always returns OFF. Keysight EPM-P Series Programming Guide...
Page 239
CALCulate Subsystem Error message – If CALCulate:RELative[:MAGNitude]:AUTO is set to ONCE while SENSe:SPEed is set to 200, error -221, “Settings Conflict” occurs. – If the value is set to ON error -224, “Illegal parameter value” occurs. Keysight EPM-P Series Programming Guide...
On reset, relative mode is disabled. Query CALCulate[1]|2|3|4:RELative:STATe? The query returns a 1 or 0 into the output buffer. – 1 is returned when relative mode is enabled. – 0 is returned when relative mode is disabled. Keysight EPM-P Series Programming Guide...
Page 241
This command queries whether CALC1:REL:STAT? relative mode is off or on for the upper window/upper measurement. Error message If CALCulate:RELative:STATe is set to ON while SENSe:SPEed is set to 200, error -221, “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
Page 242
CALCulate Subsystem THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight EPM-P Series Programming Guide...
The following CALibration commands are overlapped commands: – CAL:ALL – CAL:AUTO – CAL:ZERO:AUTO An overlapped command allows the instrument to continue parsing and executing subsequent commands while it is still executing. Keysight EPM-P Series Programming Guide...
EEPROM which means that the reference calibration factor is automatically downloaded by the power meter. Syntax :ALL Example This command causes the power CAL1:ALL meter to perform a calibration sequence on channel A. Keysight EPM-P Series Programming Guide...
Page 247
– If zeroing was not carried out successfully the error -231, “Data Questionable; ZERO ERROR” occurs. If you are using the E4417A the error message specifies which channel the calibration failed on. – If there is no sensor connected, the error -241, “Hardware Missing” occurs. Keysight EPM-P Series Programming Guide...
The E-Series power sensors and N8480 Series power sensors (excluding Option CFT) have their sensor calibration tables stored in EEPROM which means that the reference calibration factor is automatically downloaded by the power meter. Syntax :ALL Keysight EPM-P Series Programming Guide...
Page 249
– If zeroing was not carried out successfully the error -231, “Data Questionable; ZERO ERROR” occurs. If you are using the E4417A the error message specifies which channel the calibration failed on. – If there is no sensor connected, the error -241, “Hardware Missing” occurs. Keysight EPM-P Series Programming Guide...
The power meter should be zeroed before calibration using the NOTE CALibration:ZERO:AUTO ONCE command. Syntax Space 0|OFF :AUTO ONCE Example This command causes the power CAL1:AUTO ONCE meter to perform a calibration on channel A. Keysight EPM-P Series Programming Guide...
Page 251
– If the command is set to ON the error -224, “Illegal parameter value” occurs. – If there is no sensor connected, the error -241, “Hardware Missing” occurs. Keysight EPM-P Series Programming Guide...
– 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 not CAL1:ECON:STAT? the TTL inputs are enabled Keysight EPM-P Series 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 not CAL1:RCAL? the zero/cal lockout facility is enabled for channel A. Keysight EPM-P Series Programming Guide...
Page 254
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. Keysight EPM-P Series Programming Guide...
1.0 to 150.0 PCT DEF: the default is 100%. MIN: 1%. MAX:150%. Example This command enters a reference CAL1:RCF 98 calibration factor of 98% to channel Reset condition On reset, the reference calibration factor is set to 100%. Keysight EPM-P Series Programming Guide...
Page 256
This command queries the reference CAL2:RCF? calibration factor of channel B. Error messages If this command is used when an E-Series power sensors or N8480 Series power sensor (excluding Option CFT) is connected the error -241, “Hardware missing” occurs. Keysight EPM-P Series Programming Guide...
– If this command is set to ON the error -224, “Illegal parameter value” occurs. – If there is no sensor connected, the error -241, “Hardware Missing” occurs. Keysight EPM-P Series Programming Guide...
ONCE Example This command causes the power meter CAL2:ZERO:NORM:AUTO ONCE to perform a zeroing routine on channel Reset condition On reset, automatic zeroing is disabled. Query CALibration[1]|2:ZERO:NORMal:AUTO? The query always returns a value of 0. Keysight EPM-P Series Programming Guide...
Page 259
– If there is no sensor connected or if a non-E9320 sensor is connected, the error -241, “Hardware missing” occurs. – If an E9320 sensor is connected and is not in NORMAL mode, the error -221 “Settings conflict” occurs. Keysight EPM-P Series Programming Guide...
Page 260
CALibration Subsystem THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight EPM-P Series Programming Guide...
0 to 1 – DEF: the factory default value which can vary between power meters. – MIN: 0. – MAX: 1. Units are resolved to 0.01. Example This command sets the display DISP:CONT 0.75 contrast to 0.75. Keysight EPM-P Series Programming Guide...
Page 264
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 current DISP:CONT? contrast setting. Keysight EPM-P Series 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 the DISP:ENAB? display is on or off. Keysight EPM-P Series Programming Guide...
FSCR display format does not provide access to softkeys. Example This command sets the display format DISP:SCReen:FORM FSCR to full screen. Reset condition On reset, the display format is WIND. Query DISPlay:SCReen:FORMat? The query returns WIND, EXP or FSCR. Keysight EPM-P Series Programming Guide...
Page 267
DISPlay Subsystem Query example This command queries the display DISP:SCR:FORM? format. Keysight EPM-P Series Programming Guide...
WINDow2 represent the upper and lower windows respectively. The following commands are detailed in this section: DISPlay[:WINDow[1]|2]:ANALog:LOWer <numeric_value> DISPlay[:WINDow[1]|2]:ANALog:UPPer <numeric_value> DISPlay[:WINDow[1]|2]:FORMat <character_data> DISPlay[:WINDow[1]|2]:METer:LOWer <numeric_value> DISPlay[:WINDow[1]|2]:METer:UPPer <numeric_value> DISPlay[:WINDow[1]|2][NUMeric[1|2]]:RESolution <numeric_value> DISPlay[:WINDow[1]|2]:SELect[1]|2 DISPlay[:WINDow[1]|2][:STATe] <boolean> DISPlay[:WINDow[1]|2]:TRACe:FEED <character_data> DISPlay[:WINDow[1]|2]:TRACe:LOWer <numeric_value> DISPlay[:WINDow[1]|2]:TRACe:UPPer <numeric_value> Keysight EPM-P Series Programming Guide...
DISPlay Subsystem DISPlay[:WINDow[1]|2]:ANALog Commands These commands control the upper and lower scale limits of the analog meter. The following commands are detailed in this section: DISPlay[:WINDow[1]|2]:ANALog:LOWer <numeric_value> DISPlay[:WINDow[1]|2]:ANALog:UPPer <numeric_value> Keysight EPM-P Series Programming Guide...
Measurement units CALC:REL:STAT OFF CALC:REL:STAT ON Measurement Measurement type mode Linear Linear Avg, Pk Watt Single channel Pk-Avg Ratio Avg, Pk, Pk-Avg Avg, Pk Watt Difference Pk-Avg Syntax Space :ANAL numeric_value DISP :WIND :LOW Space Keysight EPM-P Series Programming Guide...
Page 271
UNIT:POWer and CALCulate:RELative:STATe as shown in Table 5-1. Query example This command queries the lower DISP:WIND1:ANAL:LOW? scale limit set on the analog meter in the upper window. Keysight EPM-P Series Programming Guide...
Measurement units CALC:REL:STAT OFF CALC:REL:STAT ON Measurement Measurement type mode Linear Linear Avg, Pk Watt Single channel Pk-Avg Ratio Avg, Pk, Pk-Avg Avg, Pk Watt Difference Pk-Avg Syntax Space numeric_value DISP :WIND :ANAL :UPP Space Keysight EPM-P Series Programming Guide...
Page 273
UNIT:POWer and CALCulate:RELative:STATe as shown in Table 5-2. Query example This command queries the upper DISP:WIND2:ANAL:UPP? scale limit set on the analog meter in the lower window Keysight EPM-P Series Programming Guide...
Used to determine the channel from which the trace will be taken. Example This command sets the lower window DISP:WIND2:FORM DIG to a digital display. Query DISPlay:[WINDow[1]|2]:FORMat? The query returns the current format of the selected window. Keysight EPM-P Series Programming Guide...
Page 275
E9320 sensor connected, error -241, “Hardware missing” occurs. – If the command is set to TRACe and the selected channel has an E9320 sensor connected in AVERage measurement mode, the error -221, “Settings conflict” occurs. Keysight EPM-P Series Programming Guide...
DISPlay Subsystem DISPlay[:WINDow[1]|2]:METer Commands These commands control the upper and lower scale limits of the analog meter. The following commands are detailed in this section: DISPlay[:WINDow[1]|2]:METer:LOWer <numeric_value> DISPlay[:WINDow[1]|2]:METer:UPPer <numeric_value> Keysight EPM-P Series Programming Guide...
Measurement units CALC:REL:STAT OFF CALC:REL:STAT ON Measurement Measurement type mode Linear Linear Avg, Pk Watt Single channel Pk-Avg Ratio Avg, Pk, Pk-Avg Avg, Pk Watt Difference Pk-Avg Syntax Space numeric_value DISP :WIND :MET :LOW Space Keysight EPM-P Series Programming Guide...
Page 278
UNIT:POWer and CALCulate:RELative:STATe as shown in the previous table. Query example This command queries the lower DISP:MET:LOW? scale limit set on the analog meter in the upper window. Keysight EPM-P Series Programming Guide...
Measurement units CALC:REL:STAT OFF CALC:REL:STAT ON Measurement Measurement type mode Linear Linear Avg, Pk Watt Single channel Pk-Avg Ratio Avg, Pk, Pk-Avg Avg, Pk Watt Difference Pk-Avg Syntax Space DISP numeric_value :WIND :MET :UPP Space Keysight EPM-P Series Programming Guide...
Page 280
UNIT:POWer and CALCulate:RELative:STATe as shown in the previous table. Query example This command queries the upper DISP:WIND2:MET:UPP? scale limit set on the analog meter in the lower window. Keysight EPM-P Series Programming Guide...
– MIN: 1 – MAX: 4 Example This command sets the lower DISP:WIND2:RES 4 window’s resolution to four significant digits if the measurement result is linear, or to 0.001 if the measurement result is logarithmic. Keysight EPM-P Series Programming Guide...
Page 282
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 resolution DISP:RES? setting of the upper window. Keysight EPM-P Series Programming Guide...
– 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 not DISP:SEL1? the upper measurement in the upper window is selected. Keysight EPM-P Series Programming Guide...
On reset, both windows are enabled. Query DISPlay[:WINDow[1]|2]:STATe? The query enters a 1 or 0 into the output buffer indicating the state of the selected window. – 1 is returned if the window is enabled. Keysight EPM-P Series Programming Guide...
Page 285
DISPlay Subsystem – 0 is returned if the window is disabled. Query example This command queries whether or not DISP:WIND2:STAT? the lower window is displayed. Keysight EPM-P Series Programming Guide...
This command selects channel A’s DISP:WIND2:TRAC:FEED SENS1 “ ” trace to be displayed in the lower window. Reset condition On reset, the value is set to: – Upper window: SENS1. – Lower window (dual channel only): SENS2. Keysight EPM-P Series Programming Guide...
Page 287
DISPlay Subsystem Query DISPlay:[WINDow[1]|2]:TRACe:FEED? The query returns the channel of the trace currently displayed in the specified window. Query example This command queries the channel of DISP:WIND2:TRAC:FEED? the trace currently displayed in the lower window. Keysight EPM-P Series Programming Guide...
The units used are dependent on the current setting of SENS:TRAC:UNIT as shown in the following table: Table 5-5 Measurement units Units: Units: SENS:TRAC:UNIT DISPlay[:WINDow[1]|2]:TRACe:LOWer Syntax Space numeric_value DISP :WIND :TRAC :LOW Space Keysight EPM-P Series Programming Guide...
Page 289
The query returns the current setting of the trace window lower scale limit or the value associated with MIN or MAX. The format of the response is <NR3>. Query example This command queries the trace DISP:WIND2:TRAC:LOW? window lower scale limit of the lower window Keysight EPM-P Series Programming Guide...
The units used are dependent on the current setting of SENS:TRAC:UNIT as shown in the following table: Table 5-6 Measurement units Units: Units: SENS:TRAC:UNIT DISPlay[:WINDow[1]|2]:TRACe:LOWer Syntax Space numeric_value DISP :WIND :TRAC :UPP Space Keysight EPM-P Series Programming Guide...
Page 291
The query returns the current setting of the trace window upper scale limit or the value associated with MIN or MAX. The format of the response is <NR3>. Query example This command queries the trace DISP:WIND2:TRAC:UPP? window upper scale limit of the lower window Keysight EPM-P Series Programming Guide...
Page 292
DISPlay Subsystem THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight EPM-P Series Programming Guide...
Page 293
Keysight EPM-P Series Power Meters Programming Guide FORMat Subsystem FORMat Subsystem FORMat[:READings]:BORDer <character_data> FORMat[:READings][:DATA] <character_data>...
The queries affected are: – FETCh? – READ? – MEASure? For the E4417A power meter the same FORMat is used on both channels. Keyword Parameter form Notes Page FORMat [:READings] page -295 :BORDer <character_data> page -297 [:DATA] <character_data> Keysight EPM-P Series Programming Guide...
This command sets the byte order to FORM:BORD SWAP swapped. Reset condition On reset, this value is set to NORMal. Query FORMat[:READings]:BORDer? The query returns the current setting of the byte order. The format of the response is NORMal or SWAPped. Keysight EPM-P Series Programming Guide...
Page 296
FORMat Subsystem Query example This command queries the current FORM:BORD? byte order setting. Keysight EPM-P Series Programming Guide...
Space character_data FORM :READ :DATA Parameters Item Description/Defaul t Range of values character_data Byte order of binary data transfer: ASCii – ASCii REAL – REAL Example This command sets the format to FORM REAL REAL. Keysight EPM-P Series Programming Guide...
Page 298
FORMat Subsystem Reset condition On reset, the format is set to ASCii. Query FORMat[:READings][:DATA]? The query returns the current setting of format: either ASCii or REAL. Keysight EPM-P Series Programming Guide...
– Sensor calibration tables (8480 Series power sensors and N8480 Series sensors with Option CFT only). – Frequency dependent offset tables. – Save/recall registers. The following commands are detailed in this section: MEMory:CATalog[:ALL]? MEMory:CATalog:STATe? MEMory:CATalog:TABLe? Keysight EPM-P Series Programming Guide...
The power meter is shipped with a set of predefined sensor calibration tables. The data in these sensor calibration tables is based on statistical averages for a range of Keysight Technologies power sensors. These tables can be altered. The predefined data is listed in your User’s Guide. These power sensors are:...
Page 304
CUSTOM_9 and ten frequency dependent offset tables named CUSTOM _A through CUSTOM _J which do not contain any data when the power meter is shipped from the factory. Syntax :CAT :ALL Example This command queries the list of MEM:CAT? tables and save/recall registers. Keysight EPM-P Series Programming Guide...
-- <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. Keysight EPM-P Series Programming Guide...
Keysight power sensors. These tables can be altered. The predefined data is listed in your User’s Guide. These power sensors are: Keysight EPM-P Series Programming Guide...
Page 307
CUSTOM_9 and ten frequency dependent offset tables named CUSTOM_A through CUSTOM_J which do not contain any data when the power meter is shipped from the factory. Syntax :CAT :TABL Example This command queries the list of MEM:CAT:TABL? stored tables. Keysight EPM-P Series Programming Guide...
The following commands are detailed in this section: MEMory:CLEar:[NAME] <character_data> MEMory:CLEar:TABLe The contents cleared using these commands are non-recoverable. NOTE Keysight EPM-P Series Programming Guide...
Description/Defaul t Range of values character_data Contains an existing table name or save/recall register. Any existing table name or save/recall register. Example This command clears the contents of MEM:CLE "HP8485A" sensor calibration table HP 8485A Keysight EPM-P Series Programming Guide...
Page 310
MEMory Subsystem Error messages If the table or save/recall register name does not exist, error -224, “Illegal parameter value” occurs. Keysight EPM-P Series Programming Guide...
The contents cleared using this command are non-recoverable. NOTE Syntax :CLE :TABL Example This command clears the contents of MEM:CLE:TABL the currently selected table. Error message If no table is selected, error -221, “Settings conflict” occurs. Keysight EPM-P Series Programming Guide...
8480 Series power sensors and N8480 Series sensors with Option CFT only), frequency dependent offset tables, and save/recall registers. The following commands are described in this section: MEMory:FREE[:ALL]? MEMory:FREE:STATe? MEMory:FREE:TABLe? Keysight EPM-P Series Programming Guide...
Series power sensors and N8480 Series sensors with Option CFT only), frequency dependent offset tables, and save/recall registers. The format of the response is: <bytes_available>,<bytes_in_use> Syntax :FREE :ALL Example This command queries the amount of MEM:FREE? free memory in total. Keysight EPM-P Series Programming Guide...
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 of MEM:FREE:STAT? free memory for save/recall registers. Keysight EPM-P Series Programming Guide...
Series power sensors and N8480 Series sensors with Option CFT only) and frequency dependent offset tables. The format of the response is: <bytes_available>,<bytes_in_use> Syntax :FREE :TABL Example This command queries the amount of MEM:FREE:TABL? free memory for tables. Keysight EPM-P Series Programming Guide...
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 of MEM:NST? registers available for save/recall. Keysight EPM-P Series Programming Guide...
MEMory Subsystem The MEMory:STATe Commands These commands are used to query and define register names. The following commands are described in this section: MEMory:STATe:CATalog? MEMory:STATe:DEFine Keysight EPM-P Series Programming Guide...
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. Keysight EPM-P Series 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. Keysight EPM-P Series Programming Guide...
Page 320
– 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). Keysight EPM-P Series Programming Guide...
N8480 Series sensors with Option CFT only) or a frequency dependent offset table, and to write to and read data from it. The following commands are described in this section: MEMory:TABLe:FREQuency <numeric_value>{,<numeric_value>} MEMory:TABLe:FREQuency:POINts? MEMory:TABLe:GAIN[:MAGNitude] <numeric_value>{,<numeric_value>} MEMory:TABLe:GAIN[:MAGNitude]:POINts? MEMory:TABLe:MOVE <character_data>,<character_data> MEMory:TABLe:SELect <character_data> Keysight EPM-P Series Programming Guide...
Depending on available memory, the power meter is capable of storing 20 sensor calibration tables and 10 frequency dependent offset tables, each containing 80 points. Syntax Space numeric_value :FREQ :TABL Keysight EPM-P Series Programming Guide...
Page 323
– If more than 80 frequencies are in the list, error -108, “Parameter not allowed” occurs. – If the frequencies are not entered in ascending order, error -220, “Parameter error; Frequency list must be in ascending order” occurs. Keysight EPM-P Series Programming Guide...
Page 324
-221, “Settings conflict” occurs. – If a frequency is sent which is outside of the allowed frequency range, error -222, “Data out of range” occurs. Keysight EPM-P Series 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 of MEM:TABL:FREQ:POIN? frequency points in the current table. Keysight EPM-P Series Programming Guide...
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 Keysight EPM-P Series Programming Guide...
Page 327
– 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 outside of the allowed range, error -222, “Data out of range” occurs. Keysight EPM-P Series Programming Guide...
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 of MEM:TABL:GAIN:POIN? calibration factor/offset points in the current table. Keysight EPM-P Series 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. Keysight EPM-P Series Programming Guide...
A to Z (uppercase) 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. Keysight EPM-P Series Programming Guide...
The CALC block specifying the measurement to be sent to “CALC1” or “CALC” the recorder output. “CALC2” “CALC3” “CALC4” Example This command sends the CALC1 OUTP:REC2:FEED “CALC1” measurement to recorder output 2. Reset condition On reset, data_handle is set to its previous value. Keysight EPM-P Series Programming Guide...
Page 334
OUTput Subsystem Query OUTPut:RECorder[1]|2:FEED? The query command returns the current value of data_handle. Query example This command queries the value of OUTP:REC2:FEED? data_handle for recorder output 2. Keysight EPM-P Series Programming Guide...
Example This command sets the minimum OUTP:REC:LIM:LOW -90 scaling value to -90. Reset condition On reset, the minimum scaling value is set to -150 dBm. Query OUTPut:RECorder[1]|2:LIMit:LOWer? The query command returns the minimum scaling value. Keysight EPM-P Series Programming Guide...
Page 336
OUTput Subsystem Query example This command returns the minimum OUTP:REC:LIM:LOW? scaling value for the specified recorder output. Keysight EPM-P Series Programming Guide...
Example This command sets the maximum OUTP:REC:LIM:UPP 10 scaling value to 10. Reset condition On reset, the maximum scaling value is set to +20 dBm. Query OUTPut:RECorder[1]|2:LIMit:UPPer? The query command returns the maximum scaling value. Keysight EPM-P Series Programming Guide...
Page 338
OUTput Subsystem Query example This command returns the maximum OUTP:REC:LIM:UPP? scaling value for the specified recorder output. Keysight EPM-P Series Programming Guide...
– 1 is returned when the recorder output is switched ON. – 0 is returned when the recorder output is switched OFF. Query example This command queries the status of OUTP:REC2:STAT? the recorder output. Keysight EPM-P Series Programming Guide...
– 1 is returned when the POWER REF output is enabled. – 0 is returned when the POWER REF output is disabled. Query example This command queries the status of OUTP:ROSC? the POWER REF output. Keysight EPM-P Series Programming Guide...
– 1 is returned when the trigger output signal is enabled. – 0 is returned when the trigger output signal is disabled. Query example This command queries the status of OUTP:TRIG:STAT? the trigger output signal. Keysight EPM-P Series Programming Guide...
TTL state is active for a window limit fail. – HIGH is returned if the TTL output is active high for a window limit fail. – LOW is returned if the TTL output is active low for a window limit fail. Keysight EPM-P Series Programming Guide...
Page 343
OUTput Subsystem Query example This command queries whether the OUTP:TTL1:ACT? TTL Output for an upper window limit fail is active high or low. Keysight EPM-P Series Programming Guide...
TTL Output 1 asserted indicates an upper limit “CALC1|2|3|4:LIM:UPP ” fail on the appropriate window/measurement. TTL Output 1 asserted indicates that either the “CALC1|2|3|4:LIM:LOW, lower or upper limit failed on the appropriate CALC1|2|3|4:LIM:UPP” window/measurement. Keysight EPM-P Series Programming Guide...
Page 345
The query command returns one of the strings shown in the table above, indicating whether the asserted state of the TTL Output represents a fail in the lower limit, upper limit or either limit for the selected window/measurement. Keysight EPM-P Series Programming Guide...
Page 346
OUTput Subsystem Query example This command returns the string for OUTP:TTL1:FEED? TTL Output 1. Keysight EPM-P Series Programming Guide...
The query command enters a 1 or 0 into the output buffer indicating whether or not the TTL output is enabled. – 1 is returned when the TTL output is enabled. – 0 is returned when the TTL output is disabled. Keysight EPM-P Series Programming Guide...
Page 348
OUTput Subsystem Query example This command queries whether or not OUTP:TTL1:STAT? the upper window TTL output is enabled. Keysight EPM-P Series Programming Guide...
These commands control averaging which is used to improve measurement accuracy. They combine successive measurements to produce a new composite result. The following commands are detailed in this section: [SENSe[1]]|SENSe2:AVERage:COUNt <numeric_value> [SENSe[1]]|SENSe2:AVERage:COUNt:AUTO <boolean> [SENSe[1]]|SENSe2:AVERage:SDETect <boolean> [SENSe[1]]|SENSe2:AVERage[:STATe] <boolean> Keysight EPM-P Series Programming Guide...
:COUN AVER SENS2 Space Parameters Item Description/Defaul t Range of values A numeric value defining the filter length. 1 to 1024 – DEF: the default value is 4. numeric_value – MIN: 1. – MAX: 1024. Keysight EPM-P Series Programming Guide...
Page 356
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. Keysight EPM-P Series Programming Guide...
Average reading 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. Keysight EPM-P Series Programming Guide...
Page 358
The query enters a 1 or 0 into the output buffer indicating whether automatic filter length is enabled or disabled. – 1 is returned when automatic filter length is enabled. – 0 is returned when automatic filter length is disabled. Keysight EPM-P Series Programming Guide...
Page 359
A. Error messages If [SENSe[1]]|SENSe2:AVERage:COUNt:AUTO is set to ON while [SENSe[1]]|SENSe2:SPEed is set to 200, the error -221, “Settings Conflict” occurs. However, automatic averaging is enabled but the [SENSe[1]]|SENSe2:AVERage:STATe command is not automatically set ON. Keysight EPM-P Series Programming Guide...
SENS:AVER:SDET will retain its current setting which may indicate that step detection is ON). Syntax Space SENS :SDET 0|OFF AVER 1|ON SENS2 Example This command disables step detection. SENS:AVER:SDET OFF Reset condition On reset, step detection is enabled. Keysight EPM-P Series Programming Guide...
Page 361
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 step SENS:AVER:SDET? detection is on or off. Keysight EPM-P Series Programming Guide...
Query example This command queries whether averaging is SENS2:AVER? on or off for channel B. Error messages If [SENSe[1]]|SENSe2:AVERage:STATe is set to ON while [SENSe[1]]|SENSe2:SPEed is set to 200, the error -221, “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
If the commands in this section are used when an E9320 sensor is connected and set to AVERage mode rather than NORMal mode, the error -221, “Settings Conflict” occurs. The following commands are detailed in this section: [SENSe[1]]|SENSe2:AVERage2:COUNt <numeric_value> [SENSe[1]]|SENSe2:AVERage2[:STATe] <boolean> Keysight EPM-P Series Programming Guide...
200 for channel A. Reset condition On reset, the filter length is set to 4. Query AVERage2:COUNt? The query returns the current setting of the video filter length. The format of the response is <NR1>. Keysight EPM-P Series Programming Guide...
Page 365
– If the command is used when a non E9320 sensor is connected, the error -241, “Hardware missing” occurs. – If the command is used when an E9320 sensor is connected and set to AVERage mode rather than NORMal mode, the error -221, “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
Query example This command queries whether averaging is SENS2:AVER2? on or off for channel B. Error messages – If the command is used when a non E9320 sensor is connected, the error -241, “Hardware missing” occurs. Keysight EPM-P Series Programming Guide...
Page 367
SENSe Subsystem – If the command is used when an E9320 sensor is connected and set to AVERage mode rather than NORMal mode, the error -221, “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
30 kHz 100 kHz 300 kHz 300 kHz E9325A E9322A 100 kHZ 300 kHz 1.5 MHz 1.5 MHz E9326A E9323A 300 kHz 1.5 MHz 5 MHz 5 MHz E9327A [a] At 3.0 dB roll off point. Keysight EPM-P Series Programming Guide...
Page 369
– If the command is used when a non E9320 sensor is connected, the error -241, “Hardware missing” occurs. – If the command is used when an E9320 sensor is connected and set to AVERage mode rather than NORMal mode, the error -221, “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
Space numeric_value Space Parameters Item Description/Defaul t Range of values A numeric value. 1 to 150 PCT numeric_value – DEF: the default value is 100%. (for CFACtor and – MIN: 1%. GAIN1) – MAX: 150%. Keysight EPM-P Series Programming Guide...
Page 372
8480 Series power sensors and N8480 Series power sensors with Option CFT when no sensor calibration table has been set up. If a sensor calibration table is selected the error -221, “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
If any of the CSET1 commands are used when an E-Series power sensor or NOTE N8480 Series power sensor (excluding Option CFT) is connected, the error -241, “Hardware missing” occurs. The following commands are detailed in this section: [SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2 [:SELect] <string> [SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2:STATe <boolean> Keysight EPM-P Series Programming Guide...
(Existing table names offset table name. can be listed using MEMory:CATalog:TABle?). Example This command enters the name of the CORR:CSET1 “PW1” sensor calibration table which is to be used on channel A. Reset condition Keysight EPM-P Series Programming Guide...
Page 375
If this is not the case, error -226, “Lists not the same length” occurs. – If the CSET1 command is used when an E-Series power sensor or N8480 Series power sensor (excluding Option CFT) is connected the error -241, “Hardware missing” occurs. Keysight EPM-P Series Programming Guide...
On reset, the sensor calibration table and frequency dependent offset table are not affected. Query [SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2:STATe? The query returns a 1 or 0 into the output buffer indicating whether a table is enabled or disabled. – 1 is returned when the table is enabled. Keysight EPM-P Series Programming Guide...
Page 377
B. Error messages If you attempt to set this command to ON and no table has been selected using [SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2:[SELect] then error -221, “Settings conflict” occurs and [SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2:STATe remains OFF. Keysight EPM-P Series Programming Guide...
[SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3:STATe <boolean> You can use either DCYCLe or GAIN3 in these commands, both do the same. NOTE Using GAIN3 complies with the SCPI standard whereas DCYCle does not, but may make your program more understandable. Keysight EPM-P Series Programming Guide...
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 incorrect results. The pulse power on/off ratio must be much greater than the duty cycle ratio. Keysight EPM-P Series Programming Guide...
Page 380
– MAX: 99.999%. The units are PCT, and are optional. Example This command sets a duty cycle of 90% for CORR:DCYC 90PCT channel A. Reset condition On reset, the duty cycle is set to 1% (DEF). Keysight EPM-P Series Programming Guide...
Page 381
– If this command is used when an Keysight E-series power sensor is connected, the error -310, “System error;Dty Cyc may impair accuracy with ECP sensor” occurs. If you are using the E4417A the error message specifies the channel. Keysight EPM-P Series Programming Guide...
– 1 is returned when the pulse power measurement feature is enabled. – 0 is returned when the pulse power measurement feature is disabled. Query example This command queries whether the pulse CORR:GAIN3:STAT? measurement feature is on or off. Keysight EPM-P Series Programming Guide...
– If this command is used when an E4410 E-Series powers sensor is connected, the error -310, “System error;Dty Cyc may impair accuracy with ECP sensor” occurs. If you are using the E4417A the error message specifies the channel. Keysight EPM-P Series Programming Guide...
Syntax SENS :GAIN4 :INP CORR :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. Keysight EPM-P Series Programming Guide...
SENSe Subsystem [SENSe[1]]|SENSe2:CORRection:GAIN2 Commands These commands provide a simple correction to a measurement for an external gain/loss. The following commands are detailed in this section: [SENSe[1]]|SENSe2:CORRection:GAIN2:STATe <boolean> [SENSe[1]]|SENSe2:CORRection:GAIN2[:INPut][:MAGNitude] <numeric_value> Keysight EPM-P Series Programming Guide...
– 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 not CORR:GAIN2:STAT? there is a channel offset applied to channel A. Keysight EPM-P Series Programming Guide...
Page 387
SENSe Subsystem Error messages If [SENSe[1]]|SENSe2:CORRection:GAIN2:STATe is set to ON while [SENSe[1]]|SENSe2:SPEed is set to 200, the error -221, “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
:MAGN SENS2 Space numeric_value Space Parameters Item Description/Defaul t Range of values numeric_value A numeric value: -100 to +100 dB – DEF: the default is 0.00 dB. – MIN: -100 dB. – MAX: +100 dB. Keysight EPM-P Series Programming Guide...
Page 389
[:MAGNitude] command can be used for the 8480 Series power sensors and N8480 Series power sensors with Option CFT when no sensor calibration table has been set up. If a sensor calibration table is selected the error -221, “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
– CALC:FEED is set automatically to “POW:AVG” for all CALC blocks using the specified channel in their CALC:MATH:EXPR. [b] When measurement mode is set to NORMal: SENS:CORR:DCYC:STAT is set automatically to OFF. Example This command sets the sensor to normal SENS1:DET:FUNC NORM mode for channel A. Keysight EPM-P Series Programming Guide...
Page 391
– If the command is used when a non E9320 sensor is connected, the error -241, “Hardware missing” occurs. – If the command is used when an E9320 sensor is connected and set to AVERage mode rather than NORMal mode, the error -221, “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
– DEF: the default value is 50 MHz. – MIN: 1 kHz. – MAX: 999.999 GHz. The default units are Hz. [a] The following measurement units can be used: Hz, kHz (10 ), MHz (10 ), GHz (10 Keysight EPM-P Series Programming Guide...
Page 393
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 channel B SENS2:FREQ? frequency setting. Keysight EPM-P Series Programming Guide...
DOUBle, the settings that were in place when FAST was entered are restored. [c] Applicable to the E4417A dual channel power meter only. FAST mode cannot be used over RS232 or RS422 serial interfaces. NOTE Syntax Space numeric_value MRAT SENS SENS2 Keysight EPM-P Series Programming Guide...
Page 395
On reset, the speed is set to NORMal. Query [SENSe[1]]|SENSe2:MRAT? The query returns the current speed setting, either NORMal, DOUBle or FAST. Query example This command queries the current speed MRAT? setting for channel A. Keysight EPM-P Series Programming Guide...
Page 396
– If an Keysight E-series power sensor is not connected and <character_data> is set to FAST, error -241 “Hardware missing” occurs. – If TRIG:SOUR is set to EXTernal or INTernal[[1]|2], error -221 “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
– 1 is returned when the upper range is selected. – 0 is returned when the lower range is selected. Query example This command queries the current setting POW:AC:RANG? of the power sensor range. Keysight EPM-P Series Programming Guide...
Page 398
SENSe Subsystem Error messages This command is used with the E-Series power sensors and N8480 Series power sensors (excluding Option CFT). If one is not connected the error -241, “Hardware missing” occurs. Keysight EPM-P Series Programming Guide...
On reset, autoranging is enabled. Query [SENSe[1]]|SENSe2:POWer:AC:RANGe:AUTO? The query enters a 1 or 0 into the output buffer indicating the status of autoranging. – 1 is returned when autoranging is enabled. – 0 is returned when autoranging is disabled. Keysight EPM-P Series Programming Guide...
Page 400
Error messages If this command is set to OFF and E-Series power sensor or N8480 Series power sensor (excluding Option CFT) is not connected, the error, -241, “Hardware missing” occurs. Keysight EPM-P Series Programming Guide...
[b] 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. [c] Applicable to the E4417A dual channel power meter only. Keysight EPM-P Series Programming Guide...
Page 402
The query returns the current speed setting, either 20, 40 or 200. Query example This command queries the current speed SPE? setting for channel A. Error messages – If <speed> is not 20, 40 or 200, error -224 “Illegal parameter value” occurs. Keysight EPM-P Series Programming Guide...
Page 403
– If an Keysight E-series power sensor is not connected and the <numeric_value> is set to 200 readings/second, error -241 “Hardware missing” occurs. – If TRIG:SOUR is set to EXTernal or INTernal[[1]|2], error -221 “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
Measurement gate number is defined by the numeric value following the SWEep component of the command. These commands can only be used with E9320 sensors which must be set to NOTE NORMal mode. Keysight EPM-P Series Programming Guide...
Page 405
SENSe Subsystem The following commands are detailed in this section: [SENSe[1]]|SENSe2:SWEep[1]|2|3|4:OFFSet:TIME <numeric_value> [SENSe[1]]|SENSe2:SWEep[1]|2|3|4:TIME <numeric_value> Keysight EPM-P Series Programming Guide...
– DEF: the default value is 0 seconds. Units are resolved to 1 ns. Example This command sets the delay to 1.001 SENS2:SWE3:OFFS:TIME 1.001 seconds. Reset condition On reset, the value is set to 0 seconds. Keysight EPM-P Series Programming Guide...
Page 407
– If the command is used when a non E9320 sensor is connected, the error -241, “Hardware missing” occurs. – If the command is used when an E9320 sensor is connected and set to AVERage mode rather than NORMal mode, the error -221, “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
This command sets the length to SENS2:SWE3:TIME 0.001 0.001 seconds. Reset condition On reset, gate 1 is set to 100μs and other gates to 1s. Query SENSe[1]]|SENSe2:SWEep[1]|2|3|4:TIME? The query returns the current length of the time-gated period. Keysight EPM-P Series Programming Guide...
Page 409
– If the command is used when a non E9320 sensor is connected, the error -241, “Hardware missing” occurs. – If the command is used when an E9320 sensor is connected and set to AVERage mode rather than NORMal mode, the error -221, “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
These commands can only be used with E9320 sensors which are set to NORMal NOTE mode. The following commands are detailed in this section: [SENSe[1]]|SENSe2:TRACe:LIMit:LOWer <numeric_value> [SENSe[1]]|SENSe2:TRACe:LIMit:UPPer <numeric_value> [SENSe[1]]|SENSe2:TRACe:OFFSet:TIME <numeric_value> [SENSe[1]]|SENSe2:TRACe:TIME <numeric_value> [SENSe[1]]|SENSe2:TRACe: UNIT <character_data> Keysight EPM-P Series Programming Guide...
Refer to SENSe[1]|2:TRACe:LIMit:UPPer <numeric_value> for further information on setting the trace upper scale limit. Syntax Space numeric_value :TRAC :LOW :SENS :LIM Space Keysight EPM-P Series Programming Guide...
Page 412
The query returns the current setting of the trace lower scale limit or the value associated with MIN or MAX. The format of the response is <NR3>. Query example This command queries the trace lower SENSe:TRAC:LIM:LOW? scale limit of channel A. Keysight EPM-P Series Programming Guide...
Refer to SENSe[1]|2:TRACe:LIMit:LOWer <numeric_value> for further information on setting the trace lower scale limit. Syntax Space numeric_value :TRAC :UPP :SENS :LIM Space Keysight EPM-P Series Programming Guide...
Page 414
The query returns the current setting of the trace upper scale limit or the value associated with MIN or MAX. The format of the response is <NR3>. Query example This command queries the trace upper SENS:TRAC:LIM:UPP? scale limit of channel A. Keysight EPM-P Series Programming Guide...
– DEF: the default value is 0 seconds. Units are resolved to 1 ns. Example This command sets the delay to SENS:TRAC:OFFS:TIME TIME 0.05 0.05 seconds. Reset condition On reset, the delay is set to 0 seconds. Keysight EPM-P Series Programming Guide...
Page 416
– If the command is used when a non E9320 sensor is connected, the error -241, “Hardware missing” occurs. – If the command is used when an E9320 sensor is connected and set to AVERage mode rather than NORMal mode, the error -221, “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
This command sets the duration of the SENS2:TRAC:TIME 0.5 trace to 0.5 seconds for channel B. Reset condition On reset, the duration is set to 100 μs. Query SENSe[1]]|SENSe2:TRACe:TIME? The query returns the current duration of the trace. Keysight EPM-P Series Programming Guide...
Page 418
– If the command is used when a non E9320 sensor is connected, the error -241, “Hardware missing” occurs. – If the command is used when an E9320 sensor is connected and set to AVERage mode rather than NORMal mode, the error -221, “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
Example This command sets the trace units for SENS2:TRAC:UNIT W channel B to Watts. Reset condition On reset the units are set to dBm. Query [SENSe[1]]|SENSe2:TRACe:UNIT? The query command returns the current value of character_data. Keysight EPM-P Series Programming Guide...
Page 420
SENSe Subsystem Query example This command queries the current trace SENS2:TRAC:UNIT? units for channel B. Keysight EPM-P Series Programming Guide...
B. Reset condition On reset, the linearity correction is set for A type. Query [SENSe[1]]|SENSe2:V2P? The query returns the current type of linearity correction being displayed on the screen. Keysight EPM-P Series Programming Guide...
Page 422
This command queries which linearity SENS:V2P? correction type is currently being displayed on the screen. Error messages If no sensor is connected or the sensor is not an A type, the error -241, “Hardware missing” occurs. Keysight EPM-P Series Programming Guide...
Page 423
Keysight EPM-P Series Power Meters Programming Guide STATus Subsystem STATus Subsystem Status Register Set Commands Device Status Register Sets Operation Register Sets STATus:OPERation STATus:OPERation:CALibrating[:SUMMary] STATus:OPERation:LLFail[:SUMMary] STATus:OPERation:MEASuring[:SUMMary] STATus:OPERation:SENSe[:SUMMary] STATus:OPERation:TRIGger[:SUMMary] STATus:OPERation:ULFail[:SUMMary] STATus:PRESet Questionable Register Sets STATus:QUEStionable STATus:QUEStionable:CALibration[:SUMMary] STATus:QUEStionable:POWer[:SUMMary]...
Page 425
– To use the :CONDition? command to examine the STATus:DEVice register: STATus:DEVice:CONDition? – To use the :NTRansition command to examine the STATus:OPERation:SENSe[:SUMMary] register: STATus:OPERation:SENSe[:SUMMary]:NTRansition This chapter describes the status register set commands and the status registers which they are used to examine. Keysight EPM-P Series Programming Guide...
Condition Register of the SCPI Register Set you require to control. The format of the return is <NR1> in the range of 0 to 32767 (2 -1). The contents of the Condition Register remain unchanged after it is read. Syntax :COND Keysight EPM-P Series Programming Guide...
SCPI Register Set concerned. The last bit (bit 15) is always set to 0. Syntax space :ENAB non-decimal numeric Parameters Type Description Range of values The value used to set the Enable 0 to 2 Register. non-decimal numeric Keysight EPM-P Series Programming Guide...
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 (2 -1). Keysight EPM-P Series Programming Guide...
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 (2 -1). Keysight EPM-P Series Programming Guide...
The Channel A and B sensor connected bits (bits 1 and 2), when queried with the STATus:DEVice:EVENt? query indicate whether a power sensor has been connected or disconnected depending on the state of the corresponding bits of Keysight EPM-P Series Programming Guide...
Page 431
STATus:DEVice:EVENt? query indicates whether any front panel keys have been pressed since power up or since you last queried the device status register. This bit ignores the :NTRansition, and :PTRansition registers and a:CONDition? query always returns a 0. Keysight EPM-P Series Programming Guide...
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] Further information on these register sets is provided on the following pages. Keysight EPM-P Series Programming Guide...
MEASuring Summary Waiting for TRIGger Summary 6 - 9 Not used 1024 SENSe Summary 2048 Lower Limit Fail Summary 4096 Upper Limit Fail Summary 13 to 15 Not used (bit 15 always 0) Syntax STAT :OPER Keysight EPM-P Series Programming Guide...
(CALibration:AUTO ONCE). Also for the compound command/query CALibration[:ALL]?, this bit is set at the beginning of the calibration sequence. These bits are cleared at the end of zeroing or calibration. Syntax :OPER :CAL :SUMM STAT Keysight EPM-P Series Programming Guide...
The appropriate bits are set if a channel lower limit test fails or a window lower limit test fails. These bits are cleared if a measurement is made and the test is enabled and passes. Syntax :LLF :SUMM STAT :OPER Keysight EPM-P Series Programming Guide...
STAT The operation status measuring summary is available only in average mode. NOTE Refer to the Keysight N1911A/1912A P-Series Power Meters Programming Guide, Page 791/793, example 2, on measurement polling when using a VEE Programme. Keysight EPM-P Series Programming Guide...
Keysight E-Series or N8480 Series power sensor EEPROM. These bits are cleared when the power meter is not reading data from the Keysight E-Series or N8480 Series power sensor EEPROM. Syntax :SENS :SUMM STAT :OPER Keysight EPM-P Series Programming Guide...
The following bits in these registers are used by the power meter: Decimal Bit Number Definition Weight Not used Channel A TRIGger Status Channel B TRIGger Status (E4417A only) 3-15 Not used Syntax :TRIG :SUMM STAT :OPER Keysight EPM-P Series Programming Guide...
The appropriate bits are set if a channel upper limit test fails or a window upper limit test fails. These bits are cleared if a measurement is made and the test is enabled and passes. Syntax :SUMM :OPER :ULF STAT Keysight EPM-P Series Programming Guide...
- all other registers are unaffected. Bit 15 is always 0. Register Fil ter/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 :PRES STAT Keysight EPM-P Series 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] Keysight EPM-P Series Programming Guide...
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 :QUES STAT Keysight EPM-P Series Programming Guide...
– Error -231, “Data questionable; CAL ERROR ChB” These bits are cleared when any of the three commands listed above succeed and no errors are placed on the error queue. Syntax :SUMM :QUES :CAL STAT Keysight EPM-P Series Programming Guide...
– Error -230, “Data corrupt or stale” – Error -231, “Data questionable;Upper window log error” Bit 4 is set when the following error occurs: – Error -230, “Data corrupt or stale” – Error -231, “Data questionable;Lower window log error” Keysight EPM-P Series Programming Guide...
Page 445
– 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. Syntax :POW :SUMM STAT :QUES Keysight EPM-P Series Programming Guide...
– MIN: 0. – MAX: 30. Example This command sets the GPIB address to SYST:COMM:GPIB:ADDR 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. Keysight EPM-P Series Programming Guide...
Page 451
SYSTem Subsystem Query example This command queries the setting of the SYST:COMM:GPIB:ADDR? GPIB address. Keysight EPM-P Series Programming Guide...
– Set the transmit/receive parity type. – Set the transmit/receive stop bits. – Enable /disable XON/XOFF software handshaking. The following commands are detailed in this section: 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 Keysight EPM-P Series Programming Guide...
On reset, the DTR signal line setting is unaffected. Query SYSTem:COMMunicate:SERial:CONTrol:DTR? The query returns the current DTR signal line setting, ON, OFF or IBFull. Query example This command queries the setting of the SYST:COMM:SER:CONT:DTR? DTR signal line. Keysight EPM-P Series Programming Guide...
Page 454
SYSTem Subsystem Error messages If the RS422 interface is selected, then the error message -221 “Settings conflict” will occur. Keysight EPM-P Series Programming Guide...
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 of the SYST:COMM:SER:CONT:RTS? RTS signal line. Keysight EPM-P Series Programming Guide...
3600, 4800, 7200, 9600, – MIN: 50. 19200, 38400, 57600, – MAX: 115200. 115200 Example This command sets the receiver and SYST:COMM:SER:REC:BAUD 38400 transmitter baud rate to 38400. Reset condition On reset, the baud rate is unaffected. Keysight EPM-P Series Programming Guide...
Page 457
This command queries the setting of the SYST:COMM:SER:REC:BAUD? receive/transmit baud rate. Error messages If the baud rate is not in the range of values shown in the parameter table, the error message -224, “Illegal parameter value” occurs. Keysight EPM-P Series Programming Guide...
Reset condition On reset, the word length is unaffected. Query SYSTem:COMMunicate:SERial[:RECeive]:BITs? The query returns the current setting of the receive/transmit word length. Query example This command queries the setting of the SYST:COMM:SER:REC:BITs? receive/transmit word length. Keysight EPM-P Series Programming Guide...
Page 459
SYSTem Subsystem Error messages If the word length is not in the range of values shown in the parameter table, then the error message -224, “Illegal parameter value” will occur. Keysight EPM-P Series 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 the SYST:COMM:SER:REC:PACE? receiver Xon/Xoff software handshake is enabled (XON) or disabled (NONE). Keysight EPM-P Series Programming Guide...
The receiver is not expecting a parity bit included in received data and does not perform a parity check. The transmitter does not include a parity bit in the NONE transmitted data. Syntax Space :COMM :PAR :TYPE SYST :SER :REC EVEN ZERO NONE Keysight EPM-P Series Programming Guide...
Page 462
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 of parity SYST:COMM:SER:REC:PAR? has been set on the received/transmitted data. Keysight EPM-P Series Programming Guide...
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 of the SYST:COMM:SER:REC:SBIT? receive/transmit stop bits. Keysight EPM-P Series Programming Guide...
Syntax SYST :COMM :SER :TRAN :AUTO Example This command always returns a 1 to show SYST:COMM:SER:TRAN:AUTO? that the transmitter and receiver settings for baud rate, word length, stop bits and parity are the same. Keysight EPM-P Series Programming Guide...
3600, 4800, 7200, 9600, – MIN: 50. 19200, 38400, 57600, – MAX: 115200. 115200 Example This command sets the transmitter and SYST:COMM:SER:TRAN:BAUD 38400 receiver baud rate to 38400. Reset condition On reset, the baud rate is unaffected. Keysight EPM-P Series Programming Guide...
Page 466
This command queries the setting of the SYST:COMM:SER:TRAN:BAUD? transmit/ receive baud rate. Error messages If the baud rate is not in the range of values shown in the parameter table, then the error message -224, “Illegal parameter value” will occur. Keysight EPM-P Series Programming Guide...
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 of the SYST:COMM:SER:TRAN:BITs? receive/transmit word length. Keysight EPM-P Series 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). Keysight EPM-P Series Programming Guide...
Page 469
SYSTem Subsystem Query example This command queries whether or not the SYST:COMM:SER:TRAN:ECHO? power meter has been set to return received data back to the sender. Keysight EPM-P Series 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 the SYST:COMM:SER:TRAN:PACE? transmitter Xon/Xoff software handshake is enabled (XON) or disabled (NONE). Keysight EPM-P Series Programming Guide...
The receiver is not expecting a parity bit included in received data and does not perform a parity check. The transmitter does not include a parity bit in the NONE transmitted data. Syntax Space :COMM :PAR :TYPE SYST :SER :TRAN EVEN ZERO NONE Keysight EPM-P Series Programming Guide...
Page 472
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 of parity SYST:COMM:SER:TRAN:PAR? has been set on the transmitted/received data. Keysight EPM-P Series Programming Guide...
On reset, the number of stop bits is unaffected. Query SYSTem:COMMunicate:SERial:TRANsmit:SBITs? The query returns the current setting of the transmit/receive stop bits. Query example This command queries the setting of the SYST:COMM:SER:TRAN:SBIT? receive/transmit stop bits. Keysight EPM-P Series Programming Guide...
The MS byte is transmitted first. Each complete block is terminated by a line feed. Commands are listed in alphabetical order. Syntax SYST :HELP :HEAD Example This command returns the SCPI SYST:HELP:HEAD? commands supported by the instrument. Keysight EPM-P Series Programming Guide...
This command unlocks the power meter SYST:LOC front panel keypad and enables local front panel control. Error messages If this command is sent when the GPIB interface is selected, the error -113, “Undefined header” occurs. Keysight EPM-P Series Programming Guide...
SYSTem:PERSona:MANufacturer<character_data> This command allows you to change the manufacturer string to “Agilent Technologies” or “Keysight Technologies”. The manufacturer string affected by this command are the *IDN query and instrument web pages. It only accepts two non-case sensitive strings: “Agilent Technologies” or “Keysight Technologies”.
Page 477
The query returns the manufacturer string that was set. Query example Queries the manufacturer string that was SYST:PERS:MAN? set. Error message If the parameter string entered is not “Agilent Technologies” or “Keysight Technologies”, error -158, “String data not allowed” occurs. Keysight EPM-P Series Programming Guide...
Technologies” which is the default manufacturer setting. Syntax SYST :PERS :DEF :MAN Example This command sets the instrument’s manufacturer string to “Keysight SYST:PERS:MAN:DEF Technologies”. Query SYSTem:PERSona:MANufacturer:DEFault? The query returns the default manufacturer string. Query example Queries the default manufacturer string. SYST:PERS:MAN:DEF? Keysight EPM-P Series Programming Guide...
A or channel B. The non-E9320 channel is the secondary channel. – If a dual channel meter has two E9320 sensors connected to it, the primary channel is always channel A and the secondary channel is channel B. Syntax Space character_data :PRES SYST Keysight EPM-P Series Programming Guide...
Page 480
E9320 sensor required on channel X. Measurements on channel X may be inaccurate” occurs. – If two E9320 power sensors are connected to a dual channel power meter and only one is of sufficient bandwidth to support the selected format, error -241 Keysight EPM-P Series Programming Guide...
Lower - channel B Reference value disabled CALC[1]|2|3|4:REL[:MAGN]:AUTO Relative offset disabled CALC[1]|2|3|4:REL:STAT TTL zero/calibration inputs CAL[1]|2:ECON:STAT disabled not affected zero/cal lockout CAL[1]|2:RCAL 100.0% Reference calibration factor CAL[1]|2:RCF not affected Display contrast DISP:CONT Display enabled DISP:ENAB Keysight EPM-P Series Programming Guide...
Page 482
Active sensor calibration table MEM:TABL:SEL not affected Previous measurement OUTP:REC[1]|2:FEED -150 dBm Minimum scaling value OUTP:REC[1]|2:LIM:LOW 20 dBm Maximum scaling value OUTP:REC[1]|2:LIM:UPP 50 MHz reference disabled OUTP:ROSC:STAT Trigger output signal disabled OUTP:TRIG:STAT TTL output active low OUTP:TTL[1]|2:ACT Keysight EPM-P Series Programming Guide...
Page 483
Duty cycle correction disabled [SENS[1]]|SENS2:CORR:DCYC|GAIN 3:STAT not affected Return frequency dependent [SENS[1]]|SENS2:CORR:FDOF|GAIN offset 4[:INP][:MAGN] Channel offset disabled [SENS[1]]|SENS2:CORR:GAIN2:STA 0.0 dB Enter channel offset value [SENS[1]]|SENS2:CORR:GAIN2:STA [:INPut][:MAGNitude] NORM Measurement mode [SENS[1]]|SENS2:DET:FUNC [SENS[1]]|SENS2:FREQ[:CW|:FIX] +50.000 MHz Frequency setting Keysight EPM-P Series Programming Guide...
Page 484
PAR[:TYPE] not affected Number of stop bits SYST:COMM:SER[:REC]:SBIT not affected Baud rate SYST:COMM:SER:TRAN:BAUD not affected Word length SYST:COMM:SER:TRAN:BITs not affected Dumb terminal control SYST:COMM:SER:TRAN:ECHO not affected Xon/Xoff software handshake SYST:COMM:SER:TRAN:PACE not affected Parity setting SYST:COMM:SER:TRAN:PAR[:TYPE] Keysight EPM-P Series Programming Guide...
Page 485
Enable automatic setting of TRIG[:SEQ]:LEV:AUTO trigger level Trigger event recognized on rising TRIG[:SEQ]:SLOP edge Trigger events for measurement TRIG[:SEQ[1]|2]:COUN cycle Enable settling time delay TRIG[:SEQ[1]|2]:DEL:AUTO Trigger source set up TRIG[:SEQ[1]|2]:SOUR Power units UNIT:POW Ratio units UNIT:POW:RAT Keysight EPM-P Series Programming Guide...
Page 486
:OFF:TIME Gate 1: 520 us Length of time gated period for [SENS[1]]|SENS2:SWE[1]|2|3|4 Gates 2 - 4: 0 time gated measurements. :TIME Trigger setup INT1 Trigger source set up and TRIG[:SEQ[1]|2]:SOUR acquisition mode continuous INIT:CONT triggering Keysight EPM-P Series Programming Guide...
Page 487
GSM900: Power meter presets: window/measurement setting Setting Function No sensor Non E9320 sensor Display setup Upper window Channel A trace Primary channel trace Lower window LU single numeric See Table 11-4 Window/measurement setup Upper window/upper measurement (UU) Keysight EPM-P Series Programming Guide...
Page 488
Lower window LU single numeric Dual numeric Dual numeric Lower window/lower measurement (LL) Feed Gate1 secondary Secondary channel channel (channel B) Measurement [a] For further information refer to “Primary and secondary channels” on page 479. Keysight EPM-P Series Programming Guide...
Page 489
Sensor video band wid th setup E9321A/25A: HIGH Sensor video bandwidth [SENS[1]]|SENS2:BAND|BWID:VID E9322A/26A: MED E9323A/27A: LOW Gate setup Gate 1: 20 us Delay between trigger point and [SENS[1]]|SENS2:SWE[1]|2|3|4 Gates 2 - 4: 0 time gated period. :OFF:TIME Keysight EPM-P Series Programming Guide...
Page 490
Trace setup +20 dBm Maximum power DISP[:WIND[1]|2]:TRAC:LOW -35 dBm Minimum power DISP[:WIND[1]|2]:TRAC:UPP -40 us Delay between delayed trigger [SENS[1]]|SENS2:TRAC:OFFS point and the start of the trace :TIME <numeric_value> 700 us Length of the trace [SENS[1]]|SENS2:TRAC:TIME <numeric_value> Keysight EPM-P Series Programming Guide...
Page 491
Gate 1 primary channel Measurement Lower window/lower measurement (LL) Feed Gate 1 Channel A See Table 11-7 Measurement Peak to avg See Table 11-7 [a] For further information refer to “Primary and secondary channels” on page 479. Keysight EPM-P Series Programming Guide...
RF level trigger. The internal level trigger is set to –20dBm. Time-gating is used to measure the average power in two active timeslots which are separated by two inactive timeslots Keysight EPM-P Series Programming Guide...
Page 493
-20 dBm Power level TRIG[:SEQ]:LEV Trigger event recognized on the TRIG[:SEQ]:SLOP rising edge of a signal Delay between recognition of TRIG[:SEQ]:DEL trigger event and start of a measurement 30 ms Trigger holdoff TRIG[:SEQ]:HOLD Keysight EPM-P Series Programming Guide...
Page 495
The measurement is started by detecting the Bluetooth RF burst using the internal RF level trigger. The internal trigger is set to –20dBm. Time-gating is used to measure the peak and average power in a single Bluetooth DHI data burst Keysight EPM-P Series Programming Guide...
Page 496
Disable automatic setting of the TRIG[:SEQ]:LEV:AUTO trigger level -20 dBm Power level TRIG[:SEQ]:LEV Trigger event recognized on the TRIG[:SEQ]:SLOP rising edge of a signal Delay between recognition of TRIG[:SEQ]:DEL trigger event and start of a measurement Keysight EPM-P Series Programming Guide...
Page 498
Dual numeric Dual numeric Lower window/lower measurement (LL) Feed Gate1 secondary Gate 1 primary channel Secondary channel channel (channel B) Measurement Peak [a] For further information refer to “Primary and secondary channels” on page 479. Keysight EPM-P Series Programming Guide...
Page 499
Measurement mode [SENS[1]]|SENS2:DET:FUNC Sensor video band wid th setup E9321A/25A: DEF Sensor video bandwidth [SENS[1]]|SENS2:BAND|BWID:VID E9322A/26A: HIGH E9323A/27A: MEDium Gate setup Gates 1 - 4: 0 Delay between trigger point and [SENS[1]]|SENS2:SWE[1]|2|3|4 time gated period. :OFF:TIME Keysight EPM-P Series Programming Guide...
Page 500
CDMAone: Power meter presets: window/measurement settings Setting Function No sensor Non E9320 sensor Display setup Upper window UU single numeric See Table 11-16 Lower window Dual numeric See Table 11-16 Window/measurement setup Upper window/upper measurement (UU) Keysight EPM-P Series Programming Guide...
Page 502
CCDF curve and will refresh to track any signal or DUT changes. The following table shows the power meter presets when <character_data> is set to WCDMA. Commands not listed are preset according to their DEFault values (for further information refer to Table 11-1): Keysight EPM-P Series Programming Guide...
Page 503
Automatically Power level TRIG[:SEQ]:LEV determined by power meter Trigger event recognized on the TRIG[:SEQ]:SLOP rising edge of a signal Delay between recognition of TRIG[:SEQ]:DEL trigger event and start of a measurement Trigger holdoff TRIG[:SEQ]:HOLD Keysight EPM-P Series Programming Guide...
See Table 11-19 Lower window/lower measurement (LL) Feed Gate 1 Channel A See Table 11-19 Measurement Peak to avg See Table 11-19 [a] For further information refer to “Primary and secondary channels” on page 479. Keysight EPM-P Series Programming Guide...
Page 505
Its aim is to measure the peak and average power corresponding to a <0.01% probability that there are no peaks above the returned peak reading. Time gating is set to 10ms, corresponding to 200,000 samples. Triggering is set to Keysight EPM-P Series Programming Guide...
Page 506
Gates 2 - 4: 0 time gated measurements. :TIME Trigger setup INT1 Trigger source set up and TRIGger[:SEQuence[1]|2]:SOUR acquisition mode continuous INIT:CONT triggering Enable automatic setting of the TRIG[:SEQ]:LEV:AUTO trigger level Automatically Power level TRIG[:SEQ]:LEV determined by power meter Keysight EPM-P Series Programming Guide...
Page 508
Lower window/lower measurement (LL) Feed Gate1 secondary Gate 1 primary channel Secondary channel channel (channel B) Measurement Peak to avg Peak to avg [a] For further information refer to “Primary and secondary channels” on page 479. Keysight EPM-P Series Programming Guide...
Page 509
Gates 2 - 4: 0 time gated period. OFF:TIME Gate 1: 15 ms Length of time gated period for [SENS[1]]|SENS2: SWE[1]|2|3|4: Gate 2: 90 ms time gated measurements. TIME Gates 3 - 4: 0 Trigger setup Keysight EPM-P Series Programming Guide...
UU single numeric See Table 11-25 Lower window Dual numeric See Table 11-25 Window/measurement setup Upper window/upper measurement (UU) Feed Gate 1 channel A Gate 1 primary channel Measurement Upper window/lower measurement (UL) Feed See Table 11-25 Keysight EPM-P Series Programming Guide...
Page 511
(channel A) Measurement Peak to Avg Peak to Avg Lower window/upper measurement (LU) Feed Gate 1 secondary Gate 1 primary channel Gate 2 primary channel channel (channel B) Measurement Peak to avg Lower window/lower measurement (LL) Keysight EPM-P Series Programming Guide...
Page 512
Secondary channel sensor Function No sensor Non E9320 sensor E9320 sensor Feed Gate1 secondary Gate 2 primary channel Secondary channel channel (channel B) Measurement [a] For further information refer to “Primary and secondary channels” on page 479. Keysight EPM-P Series Programming Guide...
:REM Example This command locks the power meter front SYST:REM panel keypad excepting the Local key. Error messages If this command is sent when the GPIB interface is selected, the error -113, “Undefined header” occurs. Keysight EPM-P Series 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 setting SYST:RINT? of the remote control interface. Keysight EPM-P Series Programming Guide...
Example This command locks the power meter SYST:RWL front panel keypad - including the Local key. Error messages If this command is sent when the GPIB interface is selected, the error -113, “Undefined header” occurs. Keysight EPM-P Series Programming Guide...
This query returns the version of SCPI used in the power meter. The response is in the form of XXXX.Y, where XXXX is the year and Y is the version number. Syntax :VERS SYST Example This command queries which version of SYST:VERS? SCPI is used in the power meter. Keysight EPM-P Series Programming Guide...
Page 517
Keysight EPM-P Series Power Meters Programming Guide TRACe Subsystem TRACe Subsystem TRACe[1]|2[:DATA]? <character_data> TRACe[1]|2:STATe <boolean> TRACe[1]|2:UNIT <character_data>...
– TRACe1: associated with channel A. – TRACe2: associated with channel B. The following commands are described in this chapter: Keyword Parameter form Notes Page TRACe[1]|2 [query only] page -519 [:DATA]? <character_data> page -521 :STATe <boolean> page -523 :UNIT <character_data> Keysight EPM-P Series Programming Guide...
The MS byte is transmitted first. Each complete block is terminated by a line feed. TRACe data formatting is not affected by FORMat subsystem formatting. NOTE Syntax TRAC :DATA Space character_data Keysight EPM-P Series Programming Guide...
Page 520
A at high resolution. Error messages – If TRAC:STAT is off, the error -221, “Settings Conflict” occurs. The TRIG:SOUR must be set to something other than IMM, and INIT:CONT must NOTE be set to off. Keysight EPM-P Series Programming Guide...
– 1 is returned when trace capture is enabled. – 0 is returned when trace capture is disabled. Query example This command queries the current state of TRAC1:STAT? trace capture for channel A. Keysight EPM-P Series Programming Guide...
Page 522
– If an E-Series E9320 sensor is not connected, error -241, “Hardware missing” occurs. – If an E-Series E9320 sensor is connected and set to AVERage mode rather than NORMal mode, error –221, “Settings conflict” occurs. Keysight EPM-P Series Programming Guide...
Description/Defaul t Range of values – DBM: dBm. character_data – W: Watts. Example This command sets the trace units for TRAC2:UNIT W channel B Watts. Reset condition On reset the units are set to dBm. Keysight EPM-P Series Programming Guide...
Page 524
TRACe Subsystem Query TRACe[1]|2:UNIT? The query command returns the current value of character_data. Query example This command queries the current trace TRAC2:UNIT? units for channel B. Keysight EPM-P Series Programming Guide...
Page 527
For example TRIGger1 and TRIGger2 represent channel A and channel B respectively. Channel B commands cannot be used with the single channel 4416A power meter and result in the error “Header suffix out of range.” Keysight EPM-P Series Programming Guide...
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 the idle ABOR state. Keysight EPM-P Series Programming Guide...
12 for further details. Note that the pending operation flag is set when the power meter moves out of the idle state and is cleared when it re-enters the idle state. The following commands are described in this section: INITiate[1]|2:CONTinuous <boolean> INITiate[1]|2[:IMMediate] INITiate:CONTinuous:ALL <boolean> INITiate:CONTinuous:SEQuence[1]|2 <boolean> INITiate[:IMMediate]:ALL INITiate[:IMMediate]:SEQuence[1]|2 Keysight EPM-P Series Programming Guide...
This command performs the same function as NOTE INITiate:CONTinuous:SEQuence[1]|2 <boolean>. Syntax Space INIT :CONT 0|OFF 1|ON Example This command places channel B in the INIT2:CONT ON wait for trigger state. Reset condition On reset (*RST), this command is set to OFF. Keysight EPM-P Series Programming Guide...
Page 531
– 1 is returned when there is continuous triggering. – 0 is returned when there is only a single trigger. Query example This command queries whether channel B INIT2:CONT? is set for single or continuous triggering. Keysight EPM-P Series Programming Guide...
:IMM Example This command places channel B in the INIT2:IMM 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. Keysight EPM-P Series Programming Guide...
The query enters a 1 or 0 into the output buffer. – 1 is returned when trigger sequences are set to be continuously initiated. – 0 is returned when trigger sequences are not set to be continuously initiated. Keysight EPM-P Series Programming Guide...
Page 534
TRIGger Subsystem Query example This command queries whether both INIT:CONT:ALL? channels are in a wait for trigger state. Keysight EPM-P Series Programming Guide...
0|OFF 1|ON Example This command places channel B in a wait INIT:CONT:SEQ2 ON for trigger state. Reset condition On reset (*RST), this command is disabled. On preset (SYSTem:PRESet) and instrument power-up, this command is enabled. Keysight EPM-P Series Programming Guide...
Page 536
– 1 is returned when there is continuous triggering. – 0 is returned when there is only a single trigger. Query example This command queries whether channel B INIT2:CONT:SEQ? is set for single or continuous triggering. Keysight EPM-P Series Programming Guide...
This command initiates all trigger sequences. Syntax :ALL :IMM INIT Example This command initiates all trigger INIT:IMM:ALL sequences. Error messages If the power meter is not in the idle state or INITiate:CONTinuous is ON, error -213, “INIT ignored” occurs. Keysight EPM-P Series Programming Guide...
:SEQ Example This command places channel A in the wait INIT:IMM:SEQ1 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. Keysight EPM-P Series Programming Guide...
TRIGger commands control the behavior of the trigger system. The following commands are described in this section: TRIGger[1]|2:DELay:AUTO <boolean> TRIGger[1]|2[:IMMediate] TRIGger[1]|2:SOURce BUS|IMMediate|HOLD TRIGger[:SEQuence]:DELay <numeric_value> TRIGger[:SEQuence]:HOLDoff <numeric_value> TRIGger[:SEQuence]:HYSTeresis <numeric_value> TRIGger[:SEQuence]:LEVel <numeric_value> TRIGger[:SEQuence]:LEVel:AUTO <boolean> TRIGger[:SEQuence]:SLOPe <character_data> TRIGger[:SEQuence[1]|2]:COUNt <numeric_value> TRIGger[:SEQuence[1]|2]:DELay:AUTO <boolean> TRIGger[:SEQuence[1]|2]:IMMediate TRIGger[:SEQuence[1]|2]:SOURce BUS|EXTernal|HOLD|IMMediate|INTernal[[1]|2 Keysight EPM-P Series Programming Guide...
TRIGger[1]|2:DELay:AUTO is ignored if TRIGger[1]|2[:IMMediate] is set to Syntax Space :AUTO :DEL 0|OFF TRIG 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. Keysight EPM-P Series Programming Guide...
Page 541
TRIGger Subsystem 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. Keysight EPM-P Series Programming Guide...
TRIG :IMM Example This command causes a channel A trigger TRIG 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”. Keysight EPM-P Series Programming Guide...
Page 543
This command has been included for compatibility purposes. It has the same NOTE purpose as TRIGger[:SEQuence[1]|2]:SOURce BUS|EXTernal|HOLD|IMMediate|INTernal[[1]|2] which should be used in preference. Syntax Space :SOUR TRIG HOLD Keysight EPM-P Series Programming Guide...
The READ? or MEASure commands should not be used if the trigger source is set to BUS or HOLD. Example This command configures channel A for TRIG:SOUR IMM immediate triggering. Reset condition On reset, the trigger source is set to IMMediate. Keysight EPM-P Series Programming Guide...
– If the source is changed to INT1, INT2 or EXT and SENS:SPEED has a value of 200, error -221 “Settings Conflict” occurs. – If the source is changed to INT1, INT2 or EXT and SENS:DET:FUNC is set to AVERage, error -221 “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
0 seconds. DEF: Units are resolved to 50 ns. Example This command sets a delay of 1 ms for TRIG:SEQ:DEL 0.001 channel A. Reset condition On reset, the trigger delay is set to 0 seconds. Keysight EPM-P Series Programming Guide...
Page 547
Query TRIGger[:SEQuence]:DELay? The query returns the current setting of the trigger delay. Query example This command queries the trigger delay of TRIG:SEQ:DEL? channel A. Reset condition On reset, trigger delay is set to 0 seconds. Keysight EPM-P Series Programming Guide...
– MAX: 400 ms. Units are resolved to 100 ns. Example This command sets the trigger holdoff to TRIG:SEQ1:HOLD 0.1 100 ms for channel A. Reset condition On reset the trigger holdoff is set to 1 us. Keysight EPM-P Series Programming Guide...
Page 549
TRIGger Subsystem Query TRIGger[:SEQuence]:HOLDoff? The query returns the current trigger holdoff setting. Query example This command queries the trigger holdoff TRIG:SEQ:HOLD? setting for channel A. Keysight EPM-P Series Programming Guide...
How far a signal must fall/rise before a rising or 0 to 3 dB falling edge can be detected. the default value is 0 dB. Units are resolved to 0.05 dB. Reset condition On reset the value is set to 0 dB. Keysight EPM-P Series Programming Guide...
Page 551
TRIGger Subsystem Query TRIGger[:SEQuence]:HYSTeresis? The query returns the current value in dB. Query example This command queries the value for TRIG:SEQ:HYST? channel A. Keysight EPM-P Series Programming Guide...
The power level at which a trigger event is -40 to 20 dBm recognized. – DEF the default value is 0 dBm. Units are resolved to 0.1 dBm. Reset condition On reset the power level is set to 0 dBm. Keysight EPM-P Series Programming Guide...
Page 553
TRIGger Subsystem Query TRIGger[:SEQuence]:LEVel? The query returns the current power level setting. Query example This command queries the power level TRIG:SEQ1:LEV? setting for channel A. Keysight EPM-P Series Programming Guide...
A. Reset condition On reset the value is set to ON. Query TRIGger[:SEQuence]:LEVel:AUTO? The query enters a 1 or 0 into the output buffer indicating the status of TRIGger[:SEQuence]:LEVel:AUTO. Keysight EPM-P Series Programming Guide...
Page 555
TRIGger Subsystem – 1 is returned when it is ON. – 0 is returned when it is OFF. Query example This command queries the setting for TRIG:SEQ:LEV:AUTO? channel A. Keysight EPM-P Series Programming Guide...
– NEGative: a trigger event is recognized on the falling edge of a signal. Reset condition On reset the value is set to POSitive. Query TRIGger[:SEQuence]:SLOPe? The query returns the current value of <character_data>. Keysight EPM-P Series Programming Guide...
Page 557
TRIGger Subsystem Query example This command queries the current value of TRIG:SEQ:SLOP? <character_data> for channel A. Keysight EPM-P Series Programming Guide...
– DEF the default value is 1. Example This command sets the number of TRIG:SEQ1:COUN 10 triggered events to 10 for the channel A measurement cycle. Reset condition On reset, the value is set to 1. Keysight EPM-P Series Programming Guide...
Page 559
Query example This command queries the number of TRIG:SEQ2:COUN? triggered events for the channel B measurement cycle. Error messages If COUNt>1 when [SENSe[1]]|SENSe2:MRATe <character_data> is set to NORMal or DOUBle, Error -221, “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
– ONCE, a settling-time delay is inserted before taking the requested measurement, for one measurement only. TRIGger[1]|2:DELay:AUTO is ignored if TRIGger[1]|2[:IMMediate] is set to Syntax TRIG :SEQ Space :DEL :AUTO 0|OFF 1|ON ONCE Example This command enables a delay on channel TRIG:SEQ:DEL:AUTO ON Keysight EPM-P Series Programming Guide...
Page 561
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. Query example This command queries the settling-time TRIG:SEQ2:DEL:AUTO? delay of channel B. Keysight EPM-P Series Programming Guide...
In other words, the instrument stops waiting for a trigger and takes a measurement ignoring any delay set by TRIG:DELay. Syntax TRIG :SEQ :IMM Example This command initiates a measurement on TRIG:SEQ:IMM channel A. Keysight EPM-P Series Programming Guide...
This command only selects the trigger source. Use the INITiate command to place the power meter in the wait for trigger state. This command has the same purpose as NOTE TRIGger[1]|2:SOURce BUS|EXTernal|HOLD|IMMediate|INTernal[[1]|2] Syntax Space TRIG :SEQ :SOUR HOLD Keysight EPM-P Series Programming Guide...
Page 564
The READ? or MEASure commands should not be used if the trigger source is set to BUS or HOLD. Example This command configures channel A for TRIG:SOUR IMM immediate triggering. Reset condition On reset, the trigger source is set to IMMediate. Keysight EPM-P Series Programming Guide...
Page 565
– If the source is changed to INT1, INT2 or EXT and SENS:SPEED has a value of 200, error -221 “Settings Conflict” occurs. – If the source is changed to INT1, INT2 or EXT and SENS:DET:FUNC is set to AVERage, error -221 “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
Page 566
TRIGger Subsystem THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight EPM-P Series Programming Guide...
Keysight EPM-P Series Power Meters Programming Guide UNIT Subsystem UNIT Subsystem UNIT[1]|2|3|4:POWer <amplitude_unit> UNIT[1]|2|3|4:POWer:RATio <ratio_unit>...
-571 :RATio <ratio_unit> The UNIT:POWer and UNIT:POWer:RATio commands are coupled as follows: – If UNIT:POWer is set to dBm then UNIT:POWer:RATio is dB. – If UNIT:POWer is set to W then UNIT:POWer:RATio is %. Keysight EPM-P Series Programming Guide...
– If UNIT:POWer is W, the measurement units are percentage. – If UNIT:POWer is DBM, the measurement units are dB relative. Syntax Space amplitude_unit UNIT :POW Parameters Item Description/Defaul t Range of values amplitude_unit The measurement unit. – The default unit is dBm. Keysight EPM-P Series Programming Guide...
Page 570
On reset, all windows/measurements are set to DBM. Query UNIT[1]|2|3|4:POWer? The query returns the current setting of the power measurement units. Query example This command queries which UNIT2:POW? measurement units are being used on the lower window/upper measurement. Keysight EPM-P Series Programming Guide...
The ratio measurement unit. The default unit is DB. Example This command sets the ratio measurement UNIT1:POW:RAT DB units for the upper window/upper measurement. Reset condition On reset, the value is set to DB. Keysight EPM-P Series Programming Guide...
Page 572
UNIT Subsystem Query UNIT[1]|2|3|4]:POWer:RATio? The query returns the current setting of the ratio measurement units. Query example This command queries which ratio UNIT2:POW:RAT? measurement units are being used on the lower window/upper measurement. Keysight EPM-P Series Programming Guide...
The query enters a 1 or 0 into the output buffer indicating the status of the self-test. – 1 is returned when the self-test is enabled. – 0 is returned when the self-test is disabled. Query example This command queries whether the SERV:BIST:CAL? self-test is enabled or disabled. Keysight EPM-P Series Programming Guide...
– If no power sensor is connected, error -241 “Hardware missing” occurs. – If a non E9320 Series power sensor is connected, error -241 “Hardware missing” occurs. – If FPATH2 is sent to a single channel meter, error -113 “Undefined header” occurs. Keysight EPM-P Series Programming Guide...
Example This command enters an externally SERV:BIST:FPATH2:REF 1.2 measured sensor voltage of 1.2 v DC to be used as a reference, for channel B. Reset condition On reset, the last entered value is retained. Keysight EPM-P Series Programming Guide...
Page 579
– If no power sensor is connected, error -241 “Hardware missing” occurs. – If a non E9320 Series power sensor is connected, error -241 “Hardware missing” occurs. – If FPATH2 is sent to a single channel meter, error -113 “Undefined header” occurs. Keysight EPM-P Series Programming Guide...
– OFF, fast path accuracy test mode is disabled for the specified channel. Syntax Space 0|OFF :FPATH :STATe SERV :BIST 1|ON Example This command disables fast path accuracy SERV:BIST:FPATH:STATe OFF test mode for channel A. Reset condition On reset, test mode is disabled. Keysight EPM-P Series Programming Guide...
Page 581
– If no power sensor is connected, error -241 “Hardware missing” occurs. – If a non E9320 Series power sensor is connected, error -241 “Hardware missing” occurs. – If FPATH2 is sent to a single channel meter, error -113 “Undefined header” occurs. Keysight EPM-P Series Programming Guide...
The query enters a 1 or 0 into the output buffer indicating the status of the 10 MHz time base testing. – 1 is returned when the signal is enabled. – 0 is returned when the signal is disabled. Keysight EPM-P Series Programming Guide...
Page 583
SERVice Subsystem Query example This command queries whether the test is SERV:BIST:TBASe:STAT? enabled or disabled. Keysight EPM-P Series Programming Guide...
This command queries trigger level. – 1 is returned when the external trigger-in is high. – 0 is returned when the external trigger-in is low. Syntax :STATe :BIST :TRIG :LEVel SERV Example This command queries trigger level. SERV:BIST:TRIG:LEV:STAT? Keysight EPM-P Series Programming Guide...
– 0 is returned if the test fails. Before running this command, the read panel trigger out must be jumpered to NOTE the rear panel trigger in. Syntax :TRIG SERV :BIST :TEST Example This command queries trigger in and out. SERV:BIST:TRIG:TEST? Keysight EPM-P Series Programming Guide...
Query SERVice:OPTion? The query returns the current option string. For example, if the string “003” is returned, the power meter is fitted with a sensor input and power reference on the back panel. Keysight EPM-P Series Programming Guide...
E-Series or N8480 Series sensor connected to channel B. Error messages – If no power sensor is connected, error -241 “Hardware missing” occurs. – If a non E-Series N8480 Series sensor is connected, error -241 “Hardware missing” occurs. Keysight EPM-P Series Programming Guide...
The query enters a 1 or 0 into the output buffer indicating the status of the voltage to corrected power conversion. – 1 is returned when voltage to corrected power conversion is enabled. – 0 is returned when voltage to corrected power conversion is disabled. Keysight EPM-P Series Programming Guide...
Page 589
A. Error messages – If INIT:CONT is not set to off, error -221, “Settings conflict” occurs. – If a non E9320 Series sensor is connected, error -241, “Hardware missing” occurs. Keysight EPM-P Series Programming Guide...
E-Series or N8480 Series sensor connected to channel B. Error messages – If no power sensor is connected, error -241 “Hardware missing” occurs. – If a non E-Series or N8480 Series sensor is connected, error -241 “Hardware missing” occurs. Keysight EPM-P Series Programming Guide...
– If no sensor is connected, error -241, “Hardware missing” occurs. – If a non E-Series is connected, error -241 “Hardware missing” occurs. – If the E-Series sensor currently connected does not contain the necessary information in EEPROM, error -241 “Hardware missing” occurs. Keysight EPM-P Series Programming Guide...
– If no sensor is connected, error -241, “Hardware missing” occurs. – If a non E-Series is connected, error -241 “Hardware missing” occurs. – If the E-Series sensor currently connected does not contain the necessary information in EEPROM, error -241 “Hardware missing” occurs. Keysight EPM-P Series Programming Guide...
– If no power sensor is connected, error -241 “Hardware missing” occurs. – If a non E9320 Series sensor is connected, error -241 “Hardware missing” occurs. – If INIT:CONT is not set to OFF, error -221, “Settings conflict” occurs. Keysight EPM-P Series Programming Guide...
– If no sensor is connected, error -241, “Hardware missing” occurs. – If a non E-Series is connected, error -241 “Hardware missing” occurs. – If the E-Series sensor currently connected does not contain the necessary information in EEPROM, error -241 “Hardware missing” occurs. Keysight EPM-P Series Programming Guide...
– If no sensor is connected, error -241, “Hardware missing” occurs. – If a non E-Series is connected, error -241 “Hardware missing” occurs. – If the E-Series sensor currently connected does not contain the necessary information in EEPROM, error -241 “Hardware missing” occurs. Keysight EPM-P Series Programming Guide...
– If no sensor is connected, error -241, “Hardware missing” occurs. – If a non E-Series is connected, error -241 “Hardware missing” occurs. – If the E-Series sensor currently connected does not contain the necessary information in EEPROM, error -241 “Hardware missing” occurs. Keysight EPM-P Series Programming Guide...
– If no sensor is connected, error -241, “Hardware missing” occurs. – If a non E-Series is connected, error -241 “Hardware missing” occurs. – If the E-Series sensor currently connected does not contain the necessary information in EEPROM, error -241 “Hardware missing” occurs. Keysight EPM-P Series Programming Guide...
B. Error messages – If INIT:CONT is set to ON, error -221 “Settings Conflict” occurs. – If an E9320 Series sensor is connected and SERVice:SENSor[1]|2:CORRections:STATe is set to ON, error -221 “Settings Conflict” occurs. Keysight EPM-P Series Programming Guide...
E-Series or N8480 Series sensor connected to channel B. Error messages – If no sensor is connected, error -241, “Hardware missing” occurs. – If a non E-Series or N8480 Series sensor is connected, error -241 “Hardware missing” occurs. Keysight EPM-P Series Programming Guide...
This query returns the serial number of the SERV:SENS2:TNUM? E-Series sensor connected to channel B. Error messages – If no sensor is connected, error -241, “Hardware missing” occurs. – If a non E-Series sensor is connected, error -241 “Hardware missing” occurs. Keysight EPM-P Series Programming Guide...
“H” if an Keysight 8480 Series sensor is connected to channel B, or the sensor model number if an E-Series or N8480 Series sensor is connected to channel B. Error messages – If no sensor is connected, error -241, “Hardware missing” occurs. Keysight EPM-P Series Programming Guide...
0 - 9 Example This command loads the power meter with SERV:SNUM GB12345678 the serial number GB12345678. Query SERVice:SNUMber? The query returns the power meter serial number in the form GB12345678 or US12345678. Keysight EPM-P Series Programming Guide...
(lowercase) 0 - 9 _ (underscore) Example This command loads the power meter with SERV:VERS:PROC “C” processor board revision version C. Query SERVice:VERSion:PROCessor? The query returns the current processor board revision version. Keysight EPM-P Series Programming Guide...
(lowercase) 0 - 9 _ (underscore) Example This command loads the power meter with SERV:VERS:SYST “1” system version number 1. Query SERVice:VERSion:SYSTem? The query returns the current power meter system version number. Keysight EPM-P Series Programming Guide...
The LLO (Local Lock Out) command can be used to disable the front panel local key. With this key disabled, only the controller (or a hard reset by the line power switch) can restore local control. Keysight EPM-P Series Programming Guide...
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. Keysight EPM-P Series Programming Guide...
– All pending operations are halted, that is, *OPC? and *WAI. – The parser (the software that interprets the programming codes) is reset and now expects to receive the first character of a programming code. – The output buffer is cleared. Keysight EPM-P Series Programming Guide...
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. Keysight EPM-P Series 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 Keysight EPM-P Series Programming Guide...
The first digit after the # indicates the number of following digits. The following digits indicate the length of the data. Examples of <arbitrary block program data> parameters are: – #15FETC? and #206FETCh? Examples of <string program data> are: – “FETCh1?”, “FETCh?” and “TRIG1;FETC1” Keysight EPM-P Series Programming Guide...
Page 613
<definite length arbitrary block response data> value which is in the form of #nN<action> as described on page -612. Error message – If an invalid parameter is received, error -224, “Illegal parameter value” occurs. Keysight EPM-P Series Programming Guide...
Device Dependent Error Execution Error Command Error Not used Power On Syntax Space *ESE Parameters Type Description/Defaul t Range of valuesRange of values A value used to set the Standard Event Status Enable 0 - 255 Register. Keysight EPM-P Series Programming Guide...
Page 615
IEEE488.2 Command Reference 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. Keysight EPM-P Series Programming Guide...
The format of the return is <NR1> in the range of 0 to 255. Table shows the contents of this register. Table 16-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 Keysight EPM-P Series Programming Guide...
Keysight Technologies,E4416A,<serial number>,A1.XX.YY Keysight Technologies,E4417A,<serial number>,A2.XX.YY where: – <serial number> uniquely identifies each power meter. – A1.XX.YY and A2.XX.YY represents the firmware revision with XX and YY representing the major and minor revisions respectively. Syntax *IDN Keysight EPM-P Series 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. Keysight EPM-P Series Programming Guide...
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 Keysight EPM-P Series Programming Guide...
Type Description/Defaul t Range of values The number of the register to be recalled. 1 - 10 Error message – If the register does not contain a saved state, error -224, “Illegal parameter value” occurs. Keysight EPM-P Series Programming Guide...
IEEE488.2 Command Reference *RST The *RST (ReSeT) command places the power meter in a known state. Refer to chapter 11 for information on reset values. Syntax *RST Keysight EPM-P Series Programming Guide...
The *SAV <NRf> (SAVe) command stores the current state of the power meter in the specified register. Syntax Space *SAV Parameters Item Description/Defaul t Range of values The number of the register that the current state of the 1 - 10 power meter is to be saved to. Keysight EPM-P Series Programming Guide...
QUEStionable Status Summary Message Available Event Status Bit Not used OPERation Status Summary Syntax Space *SRE Parameters Type Description/Defaul t Range of values A value used to set the Service Request Enable Register. 0 - 255 Keysight EPM-P Series Programming Guide...
Page 624
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). Keysight EPM-P Series Programming Guide...
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 Keysight EPM-P Series 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, error -211, “Trigger ignored” occurs. – If the power meter is not in the wait-for-trigger state, error -211, “Trigger ignored” occurs. Keysight EPM-P Series Programming Guide...
– Measurement assembly channel B (dual channel instruments only). – Serial interface. The result of the test is placed in the output queue. – 0 is returned if the test passes. – 1 if the test fails. Syntax *TST Keysight EPM-P Series Programming Guide...
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 Keysight EPM-P Series Programming Guide...
Page 630
IEEE488.2 Command Reference THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. Keysight EPM-P Series Programming Guide...