Page 2
Agilent Technologies, Inc. information contained herein. Should 5301 Stevens Creek Blvd. Agilent and the user have a separate Santa Clara, CA 95052 USA written agreement with warranty terms covering the material in this WA R N I N G...
Page 3
(becomes a part of) other Agilent products. During the warranty period, Agilent will, at its option, either repair or replace products which prove to be defective. The warranty period begins on the date of delivery or on the date of installation if installed by Agilent.
Page 4
(for example, normal blow, time delay, etc.). The use of other fuses or material is prohibited. N1911A/1912A P-Series Power Meters Programming Guide...
Failure to comply with these precautions or with specific warnings elsewhere in this manual violates safety standards of design, manufacture, and intended use of the instrument. Agilent Technologies, Inc. assumes no liability for the customer’s failure to comply with these requirements. •...
Page 6
STATus Subsystem Chapter 11 explains how the STATus command subsystem enables you to examine the status of the power meter by monitoring the “Device Status Register”, “Operation Status Register” and the “Questionable Status Register”. N1911A/1912A P-Series Power Meters Programming Guide...
Page 7
IEEE488.2 Common Commands that the power meter supports. Calibration Factor Block Layout Appendix A contains information on the calibration factor block layout for E4410 Series, E9300 Series, E9320 Series and N8480 Series sensors (excluding Option CFT). N1911A/1912A P-Series Power Meters Programming Guide...
Page 8
THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. viii N1911A/1912A P-Series Power Meters Programming Guide...
Page 9
• Selecting a Frequency Dependent Offset Table • Enabling a Frequency Dependent Offset Table • Making the Measurement Setting the Range, Resolution and Averaging • Resolution • Averaging • Auto Averaging Mode • Filter Length • Range N1911A/1912A P-Series Power Meters Programming Guide...
Page 10
An Introduction to the SCPI Language • Mnemonic Forms • Using a Colon (:) • Using a Semicolon (;) • Using a Comma (,) • Using Whitespace • Using “?” Commands • Using “*” Commands • Syntax Conventions N1911A/1912A P-Series Power Meters Programming Guide...
IEEE 488.2 Arbitrary Block Program Data Format 523 Figure B-12-22 A Trace Display Of The Active Timeslots 577 Figure B-16-23 Measurement Display UNIT Block Window 732 Figure B-17 Example of VEE program used in measurement polling 773 N1911A/1912A P-Series Power Meters Programming Guide xxiii...
Page 24
THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. xxiv N1911A/1912A P-Series Power Meters Programming Guide...
Page 25
EDGE: Power Meter Presets: Window/Measurement Settings 538 Table 12-32 EDGE: Power Meter Presets For Secondary Channel Sensors 538 Table 12-33 CDMAone: Power Meter Presets 540 Table 12-34 CDMAone: Power Meter Presets: Window/Measurement Settings 541 N1911A/1912A P-Series Power Meters Programming Guide...
Page 26
Table 12-66 NADC: Power Meter Presets 577 Table 12-67 NADC: Power Meter Presets: Window/Measurement Settings 579 Table 12-68 NADC: Power Meter Presets For Secondary Channel Sensors 579 Table 12-69 iDEN: Power Meter Presets 581 xxvi N1911A/1912A P-Series Power Meters Programming Guide...
Page 27
PPE Mapping 760 Table A-96 Calibration Factor Block Layout: E4410 Series Sensors A-2 Table A-97 Calibration Factor Block Layout: E9300 Series Sensors A-3 Table A-98 Calibration Factor Block Layout: E9320 Series Sensors A-4 N1911A/1912A P-Series Power Meters Programming Guide xxvii...
Page 28
THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. xxviii N1911A/1912A P-Series Power Meters Programming Guide...
N1911A/1912A P-Series Power Meters Programming Guide Power Meter Remote Operation Introduction Configuring the Remote Interface • Interface Selection • GPIB Address • LAN Configuration • USB Configuration Zeroing and Calibrating the P-Series Power Sensor • Zeroing • Calibration Making Measurement •...
Page 30
Checking for Limit Failures • Using STATus Getting the Best Speed Performance • Measurement Rate • Sensor • Trigger Mode • Output Format • Units • Command Used • Fast Mode How Measurements are Calculated N1911A/1912A P-Series Power Meters Programming Guide...
Page 31
Using a Comma (,) • Using Whitespace • Using “?” Commands • Using “*” Commands • Syntax Conventions • Syntax Diagram Conventions • SCPI Data Types • Input Message Terminators SCPI Compliance Information Summary of Commands N1911A/1912A P-Series Power Meters Programming Guide...
Page 32
Power Meter Remote Operation Making Measurements on Wireless Communication Standards • Starting a Preset Example This chapter describes the parameters that configure the power meter and helps you determine settings to optimize performance. N1911A/1912A P-Series Power Meters Programming Guide...
70. • “An Introduction to the SCPI Language” on page 71. • “SCPI Compliance Information” on page 81. • “Summary of Commands” on page 83. • “Making Measurements on Wireless Communication Standards” page 84. N1911A/1912A P-Series Power Meters Programming Guide...
N O T E Technologies USB/LAN/GPIB Interfaces Connectivity Guide. If you have installed the IO Libraries Suite, you can access the Connectivity Guide via the Agilent IO Libraries Control icon. Alternatively, you can access the Connectivity Guide via the Web at www.agilent.com/find/connectivity.
To individually specify the LAN settings, use the following commands: • IP Address - SYSTem:COMMuniucate:LAN:ADDRess • Subnet Mask - SYSTem:COMMunicate:LAN:SMASk • Default Gateway - SYSTem:COMMunicate:LAN:DGATeway • Domain Name - SYSTem:COMMunicate:LAN:DNAMe N1911A/1912A P-Series Power Meters Programming Guide...
Before connecting the USB cable, make sure that I/O software is installed on your N O T E computer. For more information about Agilent IO Libraries software refer to the Connectivity Guide. N O T E If you have installed other I/O Software, refer to documentation that accompanies the...
• Prior to measuring low level signals. For example, 10 dB above the lowest specified power for your power sensor. Calibration The command used to calibrate the power meter is: CALibration[1|2]:AUTO ONCE It is recommended that you zero the power meter before calibrating. N1911A/1912A P-Series Power Meters Programming Guide...
Page 38
CALibration[1|2][:ALL]? query except that no number is returned to indicate the outcome of the sequence. You can examine the Questionable Status Register or the error queue to discover if the sequence has passed or failed. Refer to “Status Reporting” page 50 for further information. N1911A/1912A P-Series Power Meters Programming Guide...
1, the CONFigure command presets various states in the power meter. It may be likely that you do not want to preset these states. Refer to “Using the Lower Level Commands” page 26 for further information. N1911A/1912A P-Series Power Meters 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 - Specifying the Source List Parameter”), or N1911A/1912A P-Series Power Meters Programming Guide...
Page 41
“Agilent N1912A Only” on page 15. For the N1911A it is not necessary to specify a channel as only one channel is available. N O T E Example 3 - Specifying the Expected Power Parameter The previous example details the three optional parameters which can be used with the MEASure? command.
Page 42
DEF. The measurement is carried out on the upper window. specifies window specifies resolution setting MEAS1? DEF,3 N1911A/1912A P-Series Power Meters Programming Guide...
Page 43
(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. N1911A/1912A P-Series Power Meters Programming Guide...
Current Window Setup Measurement Upper Window: MEAS1[:POW][AC]? Any Other 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 N1911A/1912A P-Series Power Meters 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 “MEASurement Commands”. N1911A/1912A P-Series Power Meters Programming Guide...
Page 46
CONF1 measurement Take upper window (Channel A) measurement READ1? Reset instrument *RST Configure lower window - defaults to a Channel A (N1911A), CONF2 Channel B (N1912A) measurement Take lower window measurement (Channel A on N1911A, B READ2? on N1912A) Using INITiate and FETCh?
Page 47
If they are defined they must be identical to those defined in the CONFigure command otherwise an error occurs. For the N1911A it is not necessary to specify a channel as only one channel is available. N O T E Using READ?
Page 48
37 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 carried out on the upper window. N1911A/1912A P-Series Power Meters Programming Guide...
Page 49
FETC1? -50,DEF,(@2) Some fine tuning of measurements can be carried out using the CONFigure command and INITiate and FETCh? commands. For example, in the above program segment some fine tuning can be carried out by N1911A/1912A P-Series Power Meters Programming Guide...
Page 50
The source list parameter is defaulted as described in the note “Agilent N1912A Only” page 15. Note that as the source list parameter is the last specified parameter you do not have to specify DEF. N1911A/1912A P-Series Power Meters Programming Guide...
Page 51
Causes Channel A to make a measurement INIT1 Retrieves the upper window’s measurement FETC1? DEF,3 Some fine tuning of the above program segment can be carried out for example, by setting the trigger delay off. 1 ABOR1 2 CONF1 DEF,3 N1911A/1912A P-Series Power Meters Programming Guide...
Page 52
READ2:POW:AC:DIFF? DEF,DEF,(@2),(@1) (A second READ? query is sent to make a Channel B - Channel A measurement using fresh measurement data). Using INITiate and FETCh? ABOR1 ABOR2 CONF2:POW:AC:DIFF DEF,DEF,(@1),(@2) SENS1:AVER:COUN 1024 SENS2:AVER:COUN 1024 TRIG1:DEL:AUTO OFF TRIG2:DEL:AUTO OFF INIT1:IMM INIT2:IMM FETC2:POW:AC:DIFF? N1911A/1912A P-Series Power Meters Programming Guide...
Page 53
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.) N1911A/1912A P-Series Power Meters Programming Guide...
Sets lower range (E- Series sensors and SENS1:POW:AC:RANGE 0 N8480 Series sensors (excluding Option CFT) only) Sets the lower window’s resolution to setting DISP:WIND2:RES 3 Causes Channel A to make a measurement INIT1 Retrieves the lower window’s measurement FETC2? N1911A/1912A P-Series Power Meters 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. Figure 1- 1 illustrates how frequency dependent offset tables operate. N1911A/1912A P-Series Power Meters Programming Guide...
Page 56
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-1 Frequency Dependent Offset Tables N1911A/1912A P-Series Power Meters 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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 58
• <string>,<type>,<size> The <string>, <type> and <size> are all character data. The <type> is always TABL. The <size> is displayed in bytes. For example, a sample of the response may look like: N1911A/1912A P-Series Power Meters Programming Guide...
Page 59
Query command which returns the offset factors stored in the frequency dependent offset table. Modifying Data If you need to modify the frequency and offset factor data stored in a frequency dependent offset table you need to resend the complete data lists. N1911A/1912A P-Series Power Meters Programming Guide...
The power meter automatically sets the calibration factor. 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" N1911A/1912A P-Series Power Meters Programming Guide...
Page 61
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. N1911A/1912A P-Series Power Meters Programming Guide...
However, the time to take the measurement is increased. You can select the filter length or you can set the power meter to auto filter mode. To enable and disable averaging use the following command: [SENSe[1]]|SENSe2:AVERage[:STATe] <boolean> N1911A/1912A P-Series Power Meters Programming Guide...
Minimum Sensor Power 10 dB 10 dB 10 dB 10 dB Maximum Sensor Power Figure 1-2 Typical Averaged Readings on 8480 Series Sensors Figure 1- 3 illustrates part of the power sensor dynamic range hysteresis. N1911A/1912A P-Series Power Meters Programming Guide...
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. N1911A/1912A P-Series Power Meters Programming Guide...
For further information on this command refer to page 428. 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. N1911A/1912A P-Series Power Meters Programming Guide...
(refer to Figure 1- 6 page 49). Example The following example program, in HP Basic, details how to use the channel and display offsets on an N1912A making a Channel A/B ratio measurement. N1911A/1912A P-Series Power Meters Programming Guide...
Page 67
250 ENTER @Power;Reading 260 ! 270 PRINT "The measurement result is ";Reading;"dB." 280 END For further information on channel offsets refer to page 403. For further information on display offsets refer to page 168. N1911A/1912A P-Series Power Meters 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- Power Meter Swept Source Device Under Test CHANNEL A INPUT Figure 1-4 Limits Checking Application N1911A/1912A P-Series Power Meters Programming Guide...
Page 69
Figure 1-5 Limits Checking Results The range of values that can be set for the upper and lower limits and the default values depends on the measurement units in the currently measurement line - see Table 1- N1911A/1912A P-Series Power Meters Programming Guide...
0 if there have been no limit failures. In this case 1 is returned. Returns the total number of limit SENSe:LIMit:FCOunt? failures, in this case 2. Use the equivalent CALCulate commands for checking window limit failures. N1911A/1912A P-Series Power Meters Programming Guide...
SENSe or CALCulate, since you do not need to check the limit failures after every power measurement. Refer to “Status Reporting” on page 50 and “STATus Subsystem” page 465 for further information. N1911A/1912A P-Series Power Meters Programming Guide...
Refer to “Specifications” in the 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. N1911A/1912A P-Series Power Meters Programming Guide...
Continuous Trigger, it takes a new measurement each time a trigger event is detected. A channel is in Triggered Free Run Continuous Trigger when INITiate:CONTinuous is set to ON and TRIGger:SOURce is not set to IMMediate. N1911A/1912A P-Series Power Meters Programming Guide...
Page 74
For example, with a filter length of 4 and SENS:SPE set to 20, approximately 5 readings/sec is calculated by the power meter. Typically, free run mode provides the best speed performance from the power meter (especially in 200 readings/sec mode). N1911A/1912A P-Series Power Meters Programming Guide...
FETCh command. For average only measurements a count of 4 is required, however, 10 is recommended. In normal mode (peak measurements) a count of 50 is required to attain 1000 readings per second. N1911A/1912A P-Series Power Meters Programming Guide...
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 N1911A/1912A P-Series Power Meters Programming Guide...
Figure 1-6 How Measurement are Calculated 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 N1912A only. N O T E N1911A/1912A P-Series Power Meters Programming Guide...
SCPI status system. This model consists of a condition register, a transition filter, an event register and an enable register. A set of these registers is called a status group. N1911A/1912A P-Series Power Meters Programming Guide...
Page 79
It remains set until the event register is cleared; either when you read the register or when you send the *CLS (clear status) command. Event registers are read- only. N1911A/1912A P-Series Power Meters Programming Guide...
Page 80
T1 to T5. 0 0 0 0 0 0 Condition marks when event register is read Figure 1-8 Typical Status Register Bit Changes N1911A/1912A P-Series Power Meters Programming Guide...
• Enable your bus controller’s IEEE- 488 SRQ interrupt Examples The following two examples are written in HP BASIC and illustrate possible uses for SRQ. In both cases, it is assumed that the power meter has been zeroed and calibrated. N1911A/1912A P-Series Power Meters Programming Guide...
Page 83
! Yes , read register ENTER @Pm;Event ! (this also clears it) OUTPUT @Pm;”STAT:DEV:COND?” ENTER @Pm;Cond IF Cond=0 THEN PRINT “Sensor disconnected” ELSE PRINT “Sensor connected” END IF END IF GOTO 170 ! Return to idle loop N1911A/1912A P-Series Power Meters Programming Guide...
Page 84
! Operation status bit set? OUTPUT @Pm;”STAT:OPER?”! Yes , read register ENTER @Pm;Oper ! (this also clears it) OUTPUT @Pm;”STAT:OPER:ULF?” ENTER @Pm;Ulf IF Ulf=2 THEN PRINT “Over limit detected” END IF GOTO 190 ! Return to idle loop N1911A/1912A P-Series Power Meters Programming Guide...
Page 85
Operation Status and Questionable Status groups are 16 bits wide, while the Status Byte and Standard Event groups are 8 bits wide. In all 16- bit groups, the most significant bit (bit 15) is not used and is always set to 0. N1911A/1912A P-Series Power Meters Programming Guide...
Page 86
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-9 Status System N1911A/1912A P-Series Power Meters Programming Guide...
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. N1911A/1912A P-Series Power Meters Programming Guide...
Operation Complete All overlapped commands following an *OPC command have been completed. Not Used. (Always set to 0.) Query Error A query error occurred, refer to error numbers 410 to 440 in the user’s guide. N1911A/1912A P-Series Power Meters Programming Guide...
Page 89
The questionable status model is shown in the pullout at the end of this chapter. The following bits in these registers are used by the power meter. N1911A/1912A P-Series Power Meters Programming Guide...
Error –231, ”Data questionable;Lower window log error” Error –231, ”Data questionable;Upper window log error” • CLEARED: When no errors are detected by the power meter during a measurement covering the causes given for it to set. N1911A/1912A P-Series Power Meters Programming Guide...
The Operation status model is shown in the pullout at the end of this chapter. The following bits in these registers are used by the power meter: Table 1-9 Bit Definitions - Operation Status Bit Number Decimal Definition Weight CALibrating Summary 1 - 3 Not used N1911A/1912A P-Series Power Meters Programming Guide...
This is a summary bit for the Operation SENSe Register. • SET: When the power meter is reading data from the power sensor’s EEPROM. • CLEARED: When the power meter is not reading data from the power sensor’s EEPROM. N1911A/1912A P-Series Power Meters Programming Guide...
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 * N1912A only N1911A/1912A P-Series Power Meters Programming Guide...
This is an event, and DOES NOT set the condition register. The Key Press bit is set in the event register which is cleared when read. Note that the transition registers are of no use for this bit. N1911A/1912A P-Series Power Meters Programming Guide...
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). Examples This example program uses the *OPC? command to determine when the N1911A/1912A P-Series Power Meters Programming Guide...
Page 96
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 N1911A/1912A P-Series Power Meters Programming Guide...
• The power meter’s input and output buffers are cleared. • The power meter is prepared to accept a new command string. For interfaces the that do not support a low-level device clear, use the ABORt command. N O T E N1911A/1912A P-Series Power Meters Programming Guide...
When a colon is the first character of a command keyword, it indicates that the next command mnemonic is a root- level command. When a colon is inserted between two command mnemonics, the colon moves the path N1911A/1912A P-Series Power Meters Programming Guide...
Only query commands (commands that end with a “?”) instruct the instrument to send a response message. Queries return either measured values or internal instrument settings. N1911A/1912A P-Series Power Meters Programming Guide...
• Bars (|) can be read as “or” and are used to separate alternative parameter options. Syntax Diagram Conventions • Solid lines represent the recommended path. • Ovals enclose command mnemonics. The command mnemonic must be entered exactly as shown. N1911A/1912A P-Series Power Meters Programming Guide...
A - Z, a - z, 0 - 9 and _ (underscore). For example: START and R6_5F. The format is defined as: <upper-case alpha> <upper-case alpha> <digit> Figure 1-11 Format of <character_data> N1911A/1912A P-Series Power Meters Programming Guide...
Page 103
Throughout this document <non-decimal numeric> is used to represent numeric information in bases other than ten (that is, hexadecimal, octal binary). The following syntax diagram shows the standard for these three data structures. For examples, #HA2F, #ha4e, #Q62, #q15, #B01011. N1911A/1912A P-Series Power Meters Programming Guide...
Page 104
Refer to section 7.7.4.1 of IEEE 488.2 for further details. <NRf> Definition Throughout this document <NRf> is used to denote a flexible numeric representation. For example: +200; –56; +9.9E36. Refer to section 7.7.2.1 of N1911A/1912A P-Series Power Meters Programming Guide...
Page 105
Throughout this document <NR2> numeric response data is defined as: digit digit Figure 1-14 Format of <NR2> For example: • 12.3 • +1.2345 • –0.123 Refer to section 8.7.3 of IEEE 488.2 for further details. N1911A/1912A P-Series Power Meters Programming Guide...
Page 106
Throughout this document the decimal numeric element is abbreviated to <numeric_value>. For example, <NRf>, MINimum, MAXimum, DEFault or Not A Number (NAN). <string> Definition Throughout this document <string> is used to represent 7- bit ASCII characters. N1911A/1912A P-Series Power Meters Programming Guide...
<newline> character and may also be used to terminate a message in place of the <newline> character. A <carriage return> followed by a <newline> is also accepted. Many programming languages allow you N1911A/1912A P-Series Power Meters Programming Guide...
Page 108
Power Meter Remote Operation 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. N1911A/1912A P-Series Power Meters Programming Guide...
SCPI format in mind and they follow all of the syntax rules of the standard. 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 [SENSe[1]]|SENSe2:AVERage:SDETect [SENSe[1]]|SENSe2:CORRection:CFACtor [SENSe[1]]|SENSe2:CORRection:DCYCle [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:COMMunicate:LAN:AIP SYSTem:COMMunicate:LAN:CURRent:ADDRess? SYSTem:COMMunicate:LAN:CURRent:DGATeway? N1911A/1912A P-Series Power Meters Programming Guide...
Page 110
Power Meter Remote Operation SYSTem:COMMunicate:LAN:CURRent:DNAMe? SYSTem:COMMunicate:LAN:CURRent:SMASk? SYSTem:COMMunicate:LAN:ADDRess SYSTem:COMMunicate:LAN:DGATeway SYSTem:COMMunicate:LAN:DHCP SYSTem:COMMunicate:LAN:HNAMe SYSTem:COMMunicate:LAN:RESTart SYSTem:COMMunicate:LAN:SMASk SYSTem:LOCal SYSTem:REMote SYSTem:RWLock UNIT[1|2]:POWer:RATio N1911A/1912A P-Series Power Meters Programming Guide...
This Guide details the commands available for both the N1911A and the N1912A power N O T E meters. As the N1911A is a single channel power meter only Channel A can be selected. Where instances of channel selection are detailed in this document they are only relevant for the N1912A.
• IDEN - See “iDEN” on page 581 for greater detail. • DVB - See “DVB” on page 585 for greater detail. • HIPERLAN2 - See “802.11a and HiperLan2” on page 562 for greater detail. N1911A/1912A P-Series Power Meters Programming Guide...
30 :SYST:ERR? <read string> !The system error query should !return “0: No Error” 40 SERV:SENS:TYPE? !The sensor type query should return one !of the following:E9321A|E9322A|E9323A|E9325A|E9326A|E9327A| !N1921A|N1922A The GSM setup is only valid with these !sensors 50 SYSTem:PRESet “GSM900” N1911A/1912A P-Series Power Meters Programming Guide...
Page 114
Power Meter Remote Operation THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. N1911A/1912A P-Series Power Meters Programming Guide...
Page 116
MEASure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence? [<expected_value>[,<resolution>[,<source list>]]] MEASure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence: RELative? [<expected_value>[,<resolution>[,<source list>]]] MEASure[1]|2|3|4[:SCALar][:POWer:AC]:RATio? [<expected_value>[,<resolution>[,<source list>]]] MEASure[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative? [<expected_value>[,<resolution>[,<source list>]]] This chapter explains how to use the MEASure group of instructions to acquire data using a set of high level instructions. N1911A/1912A P-Series Power Meters Programming Guide...
14, “TRIGger Subsystem,” on page 643. The CONFigure, FETCh?, READ? and MEASure? commands all have a numeric suffix which refers to a specific window/measurement. Figure 2- 17 shown an example of the configuration returned result windows. N1911A/1912A P-Series Power Meters Programming Guide...
Page 118
If the current setting of the power sensor’s range is no longer valid for the new measurement, specifying the expected power value decreases the time taken to obtain a result. N1911A/1912A P-Series Power Meters Programming Guide...
Page 119
• Whether the calculation is A/B or B/A, for a ratio measurement. Entering a <source list> is only required if you are using an N1912A. As the N1911A has a single channel only, the source list can only be Channel A.
Page 123
DISPlay:WINDow:RESolution?. The format of the return is <NR1> in the range 1 through 4. Example 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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 124
The expected power level is set to +20 dBm. The resolution is set to 3. The source list on the N1911A is set to Channel A on both windows and their measurements. The source list on the N1912A is set to Channel A for the upper measurement on both windows and Channel B for the lower measurement on both windows.
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 N1911A/1912A P-Series Power Meters Programming Guide...
The units of measurement are dBm and W. The default units are defined by UNIT:POWer. resolution A numeric value for the resolution. If 1 to 4 unspecified the current resolution setting is 1.0, 0.1, 0.01, 0.001 used. N1911A/1912A P-Series Power Meters Programming Guide...
Page 127
When the measurement result is logarithmic 1 to 4 represents of 1, 0.1, 0.01 and 0.001 respectively. N1912A 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. N1911A/1912A P-Series Power Meters Programming Guide...
The units of measurement are dBm power level) and W. The default units are defined by UNIT:POWer. resolution A numeric value for the resolution. If 1 to 4 unspecified the current resolution setting 1.0, 0.1, 0.01, 0.001 is used. N1911A/1912A P-Series Power Meters Programming Guide...
Page 129
N1912A only. Example This command configures the lower CONF2:REL -50DBM,3,(@1) window/upper measurement to measure the relative power of Channel A, using an expected power level of –50 dBm and a resolution setting of 3. N1911A/1912A P-Series Power Meters Programming Guide...
Any power level) value entered is treated like DEF. resolution A numeric value for the resolution. If 1 to 4 unspecified the current resolution setting 1.0, 0.1, 0.01, 0.001 is used. N1911A/1912A P-Series Power Meters Programming Guide...
Page 131
Example CONF2:DIFF DEF,1,(@2),(@1) This command configures the lower window/upper measurement to make a difference measurement of Channel B - Channel A, using the current sensor range and a resolution of 1 on both channels. N1911A/1912A P-Series Power Meters Programming Guide...
Any power level) value entered is treated like DEF. resolution A numeric value for the resolution. If 1 to 4 unspecified the current resolution setting 1.0, 0.1, 0.01, 0.001 is used. N1911A/1912A P-Series Power Meters Programming Guide...
Page 133
This command configures the upper CONF1:DIFF:REL DEF,1,(@1), window/upper measurement to make a (@2) difference measurement of Channel A - Channel B with relative mode on, using the current sensor range and a resolution of 1 on both channels. N1911A/1912A P-Series Power Meters Programming Guide...
Any power level) value entered is treated like DEF. resolution A numeric value for the resolution. If 1 to 4 unspecified the current resolution 1.0, 0.1, 0.01, 0.001 setting is used. N1911A/1912A P-Series Power Meters Programming Guide...
Page 135
This command configures the upper CONF1:RAT DEF,4,(@1),(@2) window/upper measurement 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. N1911A/1912A P-Series Power Meters Programming Guide...
Any power level) value entered is treated like DEF. resolution A numeric value for the resolution. If 1 to 4 unspecified the current resolution 1.0, 0.1, 0.01, 0.001 setting is used. N1911A/1912A P-Series Power Meters Programming Guide...
Page 137
This command configures the upper CONF1:RAT:REL window/upper measurement to make a DEF,1,(@1),(@2) 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. N1911A/1912A P-Series Power Meters Programming Guide...
To unlock the power meter and adjust trigger settings, an SDC (Selected Device Clear) GPIB Command must be performed. This is equivalent to “EXECUTE CLEAR” in Agilent VEE. N1911A/1912A P-Series Power Meters Programming Guide...
DEF or a numeric value. If a value is power level) entered it should 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. N1911A/1912A P-Series Power Meters Programming Guide...
• 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. N1911A/1912A P-Series Power Meters Programming Guide...
DEF or a numeric value. If a value is entered it power level) should 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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 142
• If the last measurement is not valid error –230, “Data corrupt or stale” occurs. A measurement is valid after it has been initiated. It becomes invalid when either a reset occurs or any measurement parameter, for example frequency, is changed. N1911A/1912A P-Series Power Meters Programming Guide...
Page 143
MEASurement Commands • 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. N1911A/1912A P-Series Power Meters Programming Guide...
DEF or a numeric value. If a value is entered it power level) should 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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 145
• If the last measurement on either channel is not valid error –230, “Data corrupt or stale” occurs. A measurement is valid after it has been initiated. It becomes invalid when either a reset occurs or any measurement parameter, for example frequency, is changed. N1911A/1912A P-Series Power Meters Programming Guide...
Page 146
MEASurement Commands • 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. N1911A/1912A P-Series Power Meters Programming Guide...
DEF or a numeric value. If a value is power level) entered it should 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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 148
Channel B - Channel A, using the current sensor range and a resolution setting of 3 on both channels. Error Messages • If the last measurement on either channel is not valid error –230, N1911A/1912A P-Series Power Meters Programming Guide...
Page 149
• 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. N1911A/1912A P-Series Power Meters Programming Guide...
DEF or a numeric value. If a value is entered it power level) should 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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 151
DEF leaves the parameter value unchanged. When the measurement result is linear this parameter represents the number of significant digits. When the measurement result is logarithmic 1 to 4 represents of 1, 0.1, 0.01 and 0.001 respectively. N1912A only. N1911A/1912A P-Series Power Meters Programming Guide...
Page 152
• 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. N1911A/1912A P-Series Power Meters Programming Guide...
DEF or a numeric value. If a value is entered power level) it should 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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 154
• If the last measurement on either channel is not valid error –230, “Data corrupt or stale” occurs. A measurement is valid after it has been initiated. It becomes invalid when either a reset occurs or any measurement parameter, for example frequency, is changed. N1911A/1912A P-Series Power Meters Programming Guide...
Page 155
MEASurement Commands • 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. N1911A/1912A P-Series Power Meters Programming Guide...
The format of the result is set by FORM[:READ][:DATA]. Refer to Chapter 6, “FORMat Subsystem,” on page 249 for further information. • For the N1911A the READ? query is equivalent to: ABORt INITiate FETCh? • For the N1912A carrying out a single channel measurement the READ?
The expected power level parameter can be sensor dependent (for the expected set to DEF or a numeric value. If a value is power level) entered it should correspond to that set by CONFigure otherwise an error occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Page 158
This command queries the lower READ2:POW:AC? window/upper measurement. Error Messages • INITiate:CONTinuous must be set to OFF, otherwise error –213, “INIT ignored” occurs. • If TRIGger:SOURce is set to BUS or HOLD, error –214, “Trigger deadlock” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Page 159
MEASurement Commands • 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. N1911A/1912A P-Series Power Meters Programming Guide...
INITiate:CONTinuous must be set to OFF, otherwise error –213, “INIT ignored” N O T E occurs. If TRIGger:SOURce is set to BUS, error –214, “Trigger deadlock” occurs. Syntax :REL READ :SCAL :POW expected_value Space resolution source list N1911A/1912A P-Series Power Meters Programming Guide...
Page 161
DEF leaves the parameter value unchanged. When the measurement result is linear this parameter represents the number of significant digits. When the measurement result is logarithmic 1 to 4 represents of 1, 0.1, 0.01 and 0.001 respectively. N1911A/1912A P-Series Power Meters Programming Guide...
Page 162
• 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. N1911A/1912A P-Series Power Meters Programming Guide...
Item Description/Default Range of Values expected_value The power meter ignores the numeric value sensor dependent (for the expected entered in this parameter. Any value entered is power level) treated like DEF. N1911A/1912A P-Series Power Meters Programming Guide...
Page 164
Error Messages • INITiate:CONTinuous must be set to OFF on both channels, otherwise error –213, “INIT ignored” occurs. • If TRIGger:SOURce is set to BUS or HOLD on either channel, error –214, “Trigger deadlock” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Page 165
MEASurement Commands • If the resolution parameter is not the same as the current resolution setting on the specified window, error –221, “Settings conflict” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
IINITiate:CONTinuous must be set to OFF on both channels, otherwise error –213, N O T E “INIT ignored” occurs. If TRIGger:SOURce is set to BUS on either channel, error –214, “Trigger deadlock” occurs. Syntax :DIFF :REL READ :POW :SCAL Space expected_value resolution source list N1911A/1912A P-Series Power Meters Programming Guide...
Page 167
DEF leaves the parameter value unchanged. When the measurement result is linear this parameter represents the number of significant digits. When the measurement result is logarithmic 1 to 4 represents of 1, 0.1, 0.01 and 0.001 respectively. N1912A only. N1911A/1912A P-Series Power Meters Programming Guide...
Page 168
• If TRIGger:SOURce is set to BUS or HOLD on either channel, error –214, “Trigger deadlock” occurs. • If the resolution parameter is not the same as the current resolution setting on the specified window, error –221, “Settings conflict” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Item Description/Default Range of Values expected_value The power meter ignores the numeric value sensor dependent (for the expected entered in this parameter. Any value entered is power level) treated like DEF. N1911A/1912A P-Series Power Meters Programming Guide...
Page 170
Channel A over Channel B, using the current sensor range and a resolution of 1 on both channels. Error Messages • INITiate:CONTinuous must be set to OFF on both channels, otherwise error –213, “INIT ignored” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Page 171
• If TRIGger:SOURce is set to BUS or HOLD on either channel, error –214, “Trigger deadlock” occurs. • If the resolution parameter is not the same as the current resolution setting on the specified window, error –221, “Settings conflict” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
IINITiate:CONTinuous must be set to OFF on both channels, otherwise error –213, N O T E “INIT ignored” occurs. If TRIGger:SOURce is set to BUS on either channel, error –214, “Trigger deadlock” occurs. Syntax READ :REL :POW :RAT :SCAL Space expected_value resolution source list N1911A/1912A P-Series Power Meters Programming Guide...
Page 173
DEF leaves the parameter value unchanged. When the measurement result is linear this parameter represents the number of significant digits. When the measurement result is logarithmic 1 to 4 represents of 1, 0.1, 0.01 and 0.001 respectively. N1912A only. N1911A/1912A P-Series Power Meters Programming Guide...
Page 174
• If TRIGger:SOURce is set to BUS or HOLD on either channel, error –214, “Trigger deadlock” occurs. • If the resolution parameter is not the same as the current resolution setting on the specified window, error –221, “Settings conflict” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Chapter 6, “FORMat Subsystem,” on page 249 for further information. MEASure? is a compound command which is equivalent to: • For the N1911A the MEASure? query is equivalent to: ABORt CONFigure READ? • For the N1912A carrying out a single channel measurement the...
The units of measurement are dBm and W. power level) The default units are defined by UNIT:POWer. resolution A numeric value for the resolution. If 1 to 4 unspecified the current resolution setting is 1.0, 0.1, 0.01, 0.001 used. N1911A/1912A P-Series Power Meters Programming Guide...
Page 177
When the measurement result is logarithmic 1 to 4 represents of 1, 0.1, 0.01 and 0.001 respectively. Example This command queries the lower MEAS2:POW:AC? window/upper measurement of -70DBM,1,(@1) Channel A, using an expected power level of - 70 dBm and a resolution setting of 1. N1911A/1912A P-Series Power Meters Programming Guide...
The units of measurement are dBm and W. The power level) default units are defined by UNIT:POWer. resolution A numeric value for the resolution. If 1 to 4 unspecified the current resolution setting is 1.0, 0.1, 0.01, 0.001 used. N1911A/1912A P-Series Power Meters Programming Guide...
Page 179
When the measurement result is logarithmic 1 to 4 represents of 1, 0.1, 0.01 and 0.001 respectively. Example This command queries the upper MEAS1:REL? -50DBM,2,(@2) window/upper measurement relative measurement of Channel B, using an expected power level of –50 dBm and a resolution setting of 2. N1911A/1912A P-Series Power Meters Programming Guide...
Item Description/Default Range of Values expected_value The power meter ignores the numeric value sensor dependent (for the expected entered in this parameter. Any value entered is power level) treated like DEF. N1911A/1912A P-Series Power Meters Programming Guide...
Page 181
When the measurement result is linear this parameter represents the number of significant digits. When the measurement result is logarithmic 1 to 4 represents of 1, 0.1, 0.01 and 0.001 respectively. N1912A only. Example This command queries the MEAS2:DIFF? difference measurement on the lower window/upper measurement. N1911A/1912A P-Series Power Meters Programming Guide...
Any value entered is power level) treated like DEF. resolution A numeric value for the resolution. If 1 to 4 unspecified the current resolution setting is 1.0, 0.1, 0.01, 0.001 used. N1911A/1912A P-Series Power Meters Programming Guide...
Page 183
Example This command queries the upper MEAS1:DIFF:REL? DEF,3,(@2) window/upper measurement relative ,(@1) difference measurement of Channel B - Channel A, using the current sensor range and a resolution setting of 3 on both channels. N1911A/1912A P-Series Power Meters Programming Guide...
Any value entered power level) is treated like DEF. resolution A numeric value for the resolution. If 1 to 4 unspecified the current resolution setting is 1.0, 0.1, 0.01, 0.001 used. N1911A/1912A P-Series Power Meters Programming Guide...
Page 185
N1912A only. Example MEAS2:RAT? DEF,1,(@1),(@2) This command queries the lower window/upper measurement ratio measurement of Channel A over Channel B, using the current sensor range and a resolution of 1 on both channels. N1911A/1912A P-Series Power Meters Programming Guide...
Any value entered is power level) treated like DEF. resolution A numeric value for the resolution. If unspecified 1 to 4 the current resolution setting is used. 1.0, 0.1, 0.01, 0.001 N1911A/1912A P-Series Power Meters Programming Guide...
Page 187
When the measurement result is logarithmic 1 to 4 represents of 1, 0.1, 0.01 and 0.001 respectively. N1912A only. Example This command queries the relative ratio MEAS:RAT:REL? measurement on the upper window/upper measurement. N1911A/1912A P-Series Power Meters Programming Guide...
Page 188
MEASurement Commands THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. N1911A/1912A P-Series Power Meters Programming Guide...
Figure 3-18 Measurement Display CALCulate Block Window Data from both SENSe blocks may feed any or all of the CALCulate blocks via the MATH command. Figure 3- 18 details where the commands are applied with in the CALCulate block. N1911A/1912A P-Series Power Meters Programming Guide...
PTAV, the other is automatically changed to PTAV. Under certain circumstances the measurement mode is changed by the CALC:MATH:EXPR command. Refer to “CALCulate[1]|2|3|4:MATH[:EXPRession] <string>” on page 189 for further information. Syntax Space string CALC :FEED N1911A/1912A P-Series Power Meters Programming Guide...
Page 194
CALC3:FEED2 “POW:AVER ON of CALC block CALC3 to be average power, SWEEP2” using gate 2. The channel from which the feed is taken is determined by CALC:MATH:EXPR.. Reset Condition On reset, data_handle is set to :POW:AVER. N1911A/1912A P-Series Power Meters Programming Guide...
P- Series or E9320 power sensor is connected or a P- Series or E9320 Sensor is connected and set to AVERage mode rather than NORMal mode, error –221, “Settings Conflict” occurs. N1911A/1912A P-Series Power Meters 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> N1911A/1912A P-Series Power Meters Programming Guide...
Parameters Item Description/Default Range of Values numeric_value A numeric value for the display offset: –100.000 to +100.000 dB • DEF: the default value is 0 dB • MIN: –100.000 dB • MAX: +100.000 dB N1911A/1912A P-Series Power Meters Programming Guide...
Page 198
This command queries the current setting CALC1:GAIN? 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. N1911A/1912A P-Series Power Meters Programming Guide...
On reset, the gain is disabled. Query CALCulate[1]|2|3|4:GAIN:STATe? The query enters a 1 or 0 into the output buffer indicating the status of the display offset. • 1 is returned when the display offset feature is enabled N1911A/1912A P-Series Power Meters Programming Guide...
Page 200
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. N1911A/1912A P-Series Power Meters 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> N1911A/1912A P-Series Power Meters Programming Guide...
• If OFF is specified, the FCO is not cleared by the above commands. • If ONCE is specified, the FCO is cleared only after the first initialization then starts accumulating any limit failures. Syntax Space 0|OFF CALC :CLE :AUTO :LIM 1|ON ONCE N1911A/1912A P-Series Power Meters Programming Guide...
Page 203
If a measurement is initiated then 0 is entered. Query Example This command queries when the FCO is CALC1:LIM:CLE:AUTO? cleared for the upper window/upper measurement. N1911A/1912A P-Series Power Meters Programming Guide...
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. N1911A/1912A P-Series Power Meters Programming Guide...
Example This command queries if there have been CALC1:LIM:FAIL? 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. N1911A/1912A P-Series Power Meters Programming Guide...
• 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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 207
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. N1911A/1912A P-Series Power Meters Programming Guide...
Table 3-13 Measurement Units Measurement Mode Measurement Type CALC:REL:STAT OFF CALC:REL:STAT ON Linear Linear Single Channel Avg, Pk Watt Pk–Avg Ratio Avg, Pk, Pk–Avg Difference Avg, Pk Watt Pk–Avg Syntax Space numeric_value :LOW :DATA CALC :LIM Space N1911A/1912A P-Series Power Meters Programming Guide...
Page 209
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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 210
CALCulate Subsystem Query Example This command queries the lower limit set CALC2:LIM:LOW:DATA? for the lower window upper measurement. N1911A/1912A P-Series Power Meters Programming Guide...
Table 3-14 Measurement Units Measurement Mode Measurement Type CALC:REL:STAT OFF CALC:REL:STAT ON Linear Linear Single Channel Avg, Pk Watt Pk–Avg Ratio Avg, Pk, Pk–Avg Difference Avg, Pk Watt Pk–Avg Syntax Space numeric_value :DATA :UPP :LIM CALC Space N1911A/1912A P-Series Power Meters Programming Guide...
Page 212
= 5 dBm W = 5 W dB = 5 dB % = 5 % Reset Condition On reset, both channels are set to +90.00 dBm or +90 dB. Query CALCulate[1]|2|3|4:LIMit:UPPer[:DATA]? [MIN|MAX] N1911A/1912A P-Series Power Meters Programming Guide...
Page 213
This command queries the setting of the CALC2:LIM:UPP:DATA? upper limit for the lower window/upper measurement. The query returns the current setting of the upper limit or the values associated with MIN and MAX for the specified window/measurement. N1911A/1912A P-Series Power Meters Programming Guide...
The query enters 1 or 0 into the output buffer indicating the status of the limits testing feature for the specified window/measurement. • 1 is returned when limits testing is enabled • 0 is returned when limits testing is disabled N1911A/1912A P-Series Power Meters Programming Guide...
Page 215
This command queries whether the limit CALC1:LIM:STAT? checking function for the upper window/upper measurement is on or off. 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. N1911A/1912A P-Series Power Meters 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? N1911A/1912A P-Series Power Meters Programming Guide...
2 CALC:MATH “(SENS1)” 3 CALC:FEED1 “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 N1911A/1912A P-Series Power Meters Programming Guide...
Page 218
Channel B/A ratio measurement. Reset Condition On reset, the Agilent N1911A upper and lower window measurements are set to Channel A ("(SENS1)"). On the N1912A the upper window measurements are set to Channel A ("(SENS1)") and the lower window measurements to Channel B ("(SENS2)").
Page 219
Error Messages • For the single channel N1911A power meter: if <string> is not set to “(SENS1)” while SENSe:SPEed is set to 200, error –221, “Settings Conflict” occurs. • For the dual channel N1912A power meter: if <string> is not set to “(SENS1)”...
CALCulate[1]|2|3|4:MATH[:EXPRession]:CATalog? This query lists all the defined expressions. The response is a list of comma separated strings. Each string contains an expression. • For the N1911A the string is: “(SENS1)”, “(SENS1–SENS1)”, “(SENS1/SENS1)” • For the N1912A the string is: "(SENS1)","(SENS2)","(SENS1/SENS2)", "(SENS2/SENS1)","(SENS1–SENS2)","(SENS2–SENS1)"...
• If a sensor, other than an P- Series or E9320 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. N1911A/1912A P-Series Power Meters 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> N1911A/1912A P-Series Power Meters Programming Guide...
OFF. OFF is only available because it is required for the query response. If 1|ON is selected, it causes error –224, “Illegal parameter value” to occur. Syntax Space :REL :MAGN :AUTO 1|ON CALC 0|OFF ONCE N1911A/1912A P-Series Power Meters Programming Guide...
Page 224
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. N1911A/1912A P-Series Power Meters Programming Guide...
CALCulate:RELative:MAGnitude:AUTO is applied to the measurement signal. Syntax Space :STAT :REL 0|OFF CALC 1|ON Example This command disables the relative mode CALC1:REL:STAT OFF on the upper window/upper measurement. Reset Condition On reset, relative mode is disabled. Query CALCulate[1]|2|3|4:RELative:STATe? N1911A/1912A P-Series Power Meters Programming Guide...
Page 226
This command queries whether relative CALC1:REL:STAT? 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. N1911A/1912A P-Series Power Meters Programming Guide...
N1911A/1912A P-Series Power Meters Programming Guide CALibration Subsystem CALibration Subsystem CALibration[1]|2[:ALL] CALibration[1]|2[:ALL]? CALibration[1]|2:AUTO [ONCE|ON|OFF|0|1] CALibration[1]|2:RCALibration <boolean> CALibration[1]|2:RCFactor <numeric_value> CALibration[1]|2:ZERO:AUTO [ONCE|ON|OFF|0|1] CALibration[1]|2:ZERO:NORMal:AUTO <boolean> This chapter explains how the CALibration command subsystem is used to zero and calibrate the power meter. Agilent Technologies...
• CALibration1 represents Channel A • CALibration2 represent Channel B This command does not apply to the single channel N1911A power meter and results in the error “Header suffix out of range.” Zeroing and calibration of the power meter is recommended: •...
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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 231
• If zeroing was not carried out successfully the error –231, “Data Questionable; ZERO ERROR” occurs. If you are using an N1912A the error message specifies which channel failed calibration. • If there is no sensor connected, the error –241, “Hardware Missing” occurs. N1911A/1912A P-Series Power Meters 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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 233
• If zeroing was not carried out successfully the error –231, “Data Questionable; ZERO ERROR” occurs. If you are using an N1912A the error message specifies which channel failed calibration. • If there is no sensor connected, the error –241, “Hardware Missing” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
To determine the current reference calibration factor, use CALibration:RCFactor?. If the power meter is using an 8480, E-Series or N8480 Series power sensor it should be N O T E zeroed before calibration using the CALibration:ZERO:AUTO ONCE command. N1911A/1912A P-Series Power Meters Programming Guide...
Page 235
If the command is set to ON when a N1920 is connected, auto cal is enabled. N O T E Query CALibration[1]|2:AUTO? The query always returns a value of 0. Error Messages • If this command is set to ON and an 8480 Series, E- Series, N8480 or N1911A/1912A P-Series Power Meters Programming Guide...
Page 236
P- Series power sensor is connected (for dual channel, at either measurement channel) and is in the wait- for- trigger state for external trigger buffering, the error –224, “Illegal parameter value” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
The query enters a 1 or 0 into the output buffer indicating whether zero/cal lockout is enabled or disabled. • 1 is returned if zero/cal lockout is enabled • 0 is returned if zero/cal lockout is disabled N1911A/1912A P-Series Power Meters Programming Guide...
Page 238
FETC?, READ?, MEAS? etc) does not return a result and generates the error –230, “Data corrupt or stale; Please zero and Cal.” After the sensor has been zeroed and calibrated the return measurement results commands function normally. N1911A/1912A P-Series Power Meters Programming Guide...
Syntax Space numeric_value :RCF Space Parameters Item Description/Default Range of Values numeric_value A numeric value: 1.0 to 150.0 PCT • DEF: the default is 100 % • MIN: 1 % • MAX:150 % N1911A/1912A P-Series Power Meters Programming Guide...
Page 240
Channel B. Error Messages If this command is used when a P- Series, E- Series or N8480 Series power sensors (excluding Option CFT) is connected the error –241, “Hardware missing” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Syntax Space :AUTO :ZERO 0|OFF 1|OFF ONCE Example This command causes the power meter to CAL2:ZERO:AUTO ONCE perform a zeroing routine on Channel B. Reset Condition On reset, automatic zeroing is disabled. N1911A/1912A P-Series Power Meters Programming Guide...
Page 242
• If there is no sensor connected, the error –241, “Hardware Missing” occurs. • If this command is set to ON and TRIGger[:SEQuence[1]|2]:COUNt setting is more than 1, the error –221, “Setting conflict” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
E9320 Series sensor is not connected to a power source. Syntax :NORM :AUTO Space :ZERO 0|OFF ONCE Example This command causes the power meter to CAL2:ZERO:NORM:AUTO ONCE perform a zeroing routine on Channel B. N1911A/1912A P-Series Power Meters Programming Guide...
Page 244
• If there is no sensor connected, or if a sensor other than an E9320 or P- Series 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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 245
N1911A/1912A P-Series Power Meters Programming Guide DISPlay Subsystem DISPlay Subsystem DISPlay:ENABle <boolean> DISPlay:SCReen:FORMat <character_data> DISPlay[:WINDow[1]|2] Commands DISPlay[:WINDow[1]|2]:ANALog Commands 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 Commands 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> This chapter explains how the DISPlay subsystem is used to control the selection and presentation of the windows used on the power meter’s...
On reset, the display is enabled. Query DISPlay:ENABle? The query returns a 1 or 0 into the output buffer. • 1 is returned when the display is enabled • 0 is returned when the display is disabled N1911A/1912A P-Series Power Meters Programming Guide...
Page 248
DISPlay Subsystem Query Example This command queries whether the DISP:ENAB? display is on or off. N1911A/1912A P-Series Power Meters Programming Guide...
The EXP display format provides access to softkeys. • FSCReen: the full screen format provides one display window which can display a single measurement. The FSCR display format does not provide access to softkeys. N1911A/1912A P-Series Power Meters Programming Guide...
Page 250
This command sets the display format to DISP:SCReen:FORM FSCR full screen. Reset Condition On reset, the display format is WIND. Query DISPlay:SCReen:FORMat? The query returns WIND, EXP or FSCR. . Query Example This command queries the display format. DISP:SCR:FORM? N1911A/1912A P-Series Power Meters Programming Guide...
WINDow1 and WINDow2 represent the upper and lower windows respectively. The following commands are detailed in this section: DISPlay[:WINDow[1]|2]:ANALog:LOWer <numeric_value> DISPlay[:WINDow[1]|2]:ANALog:UPPer <numeric_value> DISPlay[:WINDow[1]|2]:FORMat <character_data> DISPlay[:WINDow[1]|2]:METer:LOWer <numeric_value> DISPlay[:WINDow[1]|2]:METer:UPPer <numeric_value> DISPlay[:WINDow[1]|2][NUMeric[1|2]]:RESolution <numeric_value> DISPlay[:WINDow[1]|2]:SELect[1]|2 DISPlay[:WINDow[1]|2][:STATe] <boolean> DISPlay[:WINDow[1]|2]:TRACe:FEED <character_data> N1911A/1912A P-Series Power Meters 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> N1911A/1912A P-Series Power Meters Programming Guide...
CALCulate:RELative:STATe as shown in Table 5- Table 5-15 Measurement Units Measurement Mode Measurement Type CALC:REL:STAT OFF CALC:REL:STAT ON Linear Linear Single Channel Avg, Pk Watt Pk–Avg Ratio Avg, Pk, Pk–Avg Difference Avg, Pk Watt Pk–Avg N1911A/1912A P-Series Power Meters Programming Guide...
Page 254
MAX: 230 dBm Units used are determined by the current setting of UNIT:POWer and CALCulate:RELative:STATe as shown Table 5-15. Example This command sets the upper window’s DISP:WIND1:ANAL:LOW –50 analog meter lower scale limit to –50 dBm. N1911A/1912A P-Series Power Meters Programming Guide...
Page 255
<NR3>. The units in which the results are returned are determined by the current setting of UNIT:POWer and CALCulate:RELative:STATe as shown in Table 5- Query Example This command queries the lower scale DISP:WIND1:ANAL:LOW? limit set on the analog meter in the upper window. N1911A/1912A P-Series Power Meters Programming Guide...
CALCulate:RELative:STATe as shown in Table 5- Table 5-16 Measurement Units Measurement Mode Measurement Type CALC:REL:STAT OFF CALC:REL:STAT ON Linear Linear Single Channel Avg, Pk Watt Pk–Avg Ratio Avg, Pk, Pk–Avg Difference Avg, Pk Watt Pk–Avg N1911A/1912A P-Series Power Meters Programming Guide...
Page 257
MAX: 230 dBm Units used are determined by the current setting of UNIT:POWer and CALCulate:RELative:STATe as shown Table 5-16. Example This command sets the lower window’s DISP:WIND2:ANAL:UPP 50 analog meter upper scale limit to 50 dBm. N1911A/1912A P-Series Power Meters Programming Guide...
Page 258
<NR3>. The units in which the results are returned are determined by the current setting of UNIT:POWer and CALCulate:RELative:STATe as shown in Table 5- Query Example This command queries the upper scale DISP:WIND2:ANAL:UPP? limit set on the analog meter in the lower window. N1911A/1912A P-Series Power Meters Programming Guide...
• This command has the same purpose as N O T E DISPlay[:WINDow[1]|2]:ANALog:LOWer <numeric_value>. • This command does not allow the setting set to TRACe when either measurement channel (for dual channel) is configured to initiate external trigger buffering. N1911A/1912A P-Series Power Meters Programming Guide...
Page 260
This command sets the lower window to a DISP:WIND2:FORM DIG digital display. Reset Condition On reset, the N1911A power meter upper window is DIGital and the lower window ANALog. For the N1912A power meter, the defaults for the N1911A/1912A P-Series Power Meters Programming Guide...
Page 261
• If the command is set to TRACe ( for dual channel, at either measurement channel) when the P- Series or E9320 sensor is connected in normal mode and SENse:BUFFer:COUNt or SENse:FREQuency:STEP is more than 1, error –221, “Settings conflict” occurs. N1911A/1912A P-Series Power Meters 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> N1911A/1912A P-Series Power Meters Programming Guide...
CALCulate:RELative:STATe as shown in Table 5- Table 5-17 Measurement Units Measurement Mode Measurement Type CALC:REL:STAT OFF CALC:REL:STAT ON Linear Linear Single Channel Avg, Pk Watt Pk–Avg Ratio Avg, Pk, Pk–Avg Difference Avg, Pk Watt Pk–Avg N1911A/1912A P-Series Power Meters Programming Guide...
Page 264
DEF: the default is 20 dBm • MIN: –150 dBm • MAX: 230 dBm The default units are defined by UNIT:POWer and CALCulate:RELative:STATe. Example This command sets the lower window’s DISP:WIND2:MET:LOW 10 analog meter lower scale limit. N1911A/1912A P-Series Power Meters Programming Guide...
Page 265
<NR3>. The units in which the results are returned is dependent on the current setting of UNIT:POWer and CALCulate:RELative:STATe as shown in Table 5- Query Example This command queries the lower scale DISP:MET:LOW? limit set on the analog meter in the upper window. N1911A/1912A P-Series Power Meters Programming Guide...
CALCulate:RELative:STATe as shown in Table 5- Table 5-18 Measurement Units Measurement Mode Measurement Type CALC:REL:STAT OFF CALC:REL:STAT ON Linear Linear Single Channel Avg, Pk Watt Pk–Avg Ratio Avg, Pk, Pk–Avg Difference Avg, Pk Watt Pk–Avg N1911A/1912A P-Series Power Meters Programming Guide...
Page 267
• MAX: 230 dBm Units used are determined by the current setting of UNIT:POWer and CALCulate:RELative:STATe as shown Table 5-18. Example This command sets the lower window’s DISP:WIND2:MET:UPP 20 analog meter upper scale limit. N1911A/1912A P-Series Power Meters Programming Guide...
Page 268
UNIT:POWer and CALCulate:RELative:STATe as shown in the previous table. Query Example This command queries the upper scale DISP:WIND2:MET:UPP? limit set on the analog meter in the lower window. N1911A/1912A P-Series Power Meters Programming Guide...
Syntax Space numeric_value DISP :NUM :RES :WIND Space Parameters Item Description/Default Range of Values numeric_value A numeric value for the window resolution: 1 to 4 • DEF: 3 • MIN: 1 • MAX: 4 N1911A/1912A P-Series Power Meters Programming Guide...
Page 270
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:WINDow1:NUMber2RES? setting of the upper window/lower measurement. N1911A/1912A P-Series Power Meters Programming Guide...
Reset Condition On reset, the upper window upper measurement is selected. Query DISPlay[:WINDow[1]|2]:SELect[1]|2? The query enters a 1 or 0 into the output buffer indicating whether the window specified is currently selected. N1911A/1912A P-Series Power Meters Programming Guide...
Page 272
• 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 the DISP:SEL1? upper measurement in the upper window is selected. N1911A/1912A P-Series Power Meters Programming Guide...
The upper window in shown in expanded format, displaying its currently selected measurement. This command enables the lower window DISP:WIND2:STAT ON so that a dual window display is once more provided. Reset Condition On reset, both windows are enabled. N1911A/1912A P-Series Power Meters Programming Guide...
Page 274
This enters a 1 or 0 in the output buffer indicating the selected window. • 1 is returned if the window is enabled • 0 is returned if the window is disabled Query Example This command queries whether or not the DISP:WIND2:STAT? lower window is displayed. N1911A/1912A P-Series Power Meters Programming Guide...
SENS1: Channel A • SENS2: Channel B Example This command selects Channel A’s trace to DISP:WIND2:TRAC:FEED be displayed in the lower window. “SENS1” Reset Condition On reset, the value is set to: • Upper window: SENS1 N1911A/1912A P-Series Power Meters Programming Guide...
Page 276
• Lower window (dual channel only): SENS2 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 the DISP:WIND2:TRAC:FEED? trace currently displayed in the lower window. N1911A/1912A P-Series Power Meters Programming Guide...
N1911A/1912A P-Series Power Meters Programming Guide FORMat Subsystem FORMat Subsystem FORMat[:READings]:BORDer <character_data> FORMat[:READings][:DATA] <character_data> This chapter explains how the FORMat subsystem is used to set a data format for transferring numeric information. Agilent Technologies...
• FETCh? • READ? • MEASure? For the N1912A power meter the same FORMat is used on both channels. Keyword Parameter Form Notes Page FORMat [:READings] page 251 :BORDer <character_data> page 253 [:DATA] <character_data> N1911A/1912A P-Series Power Meters Programming Guide...
Byte order of binary data transfer: NORMal SWAPped • NORMal • SWAPped Example This command sets the byte order to FORM:BORD SWAP swapped. Reset Condition On reset, this value is set to NORMal. N1911A/1912A P-Series Power Meters Programming Guide...
Page 280
FORMat Subsystem Query FORMat[:READings]:BORDer? The query returns the current setting of the byte order. The format of the response is NORMalor SWAPped.. Query Example This command queries the current byte FORM:BORD? order setting. N1911A/1912A P-Series Power Meters Programming Guide...
FORMat data formatting is not affected by TRACe subsystem data formatting. N O T E Syntax character_data Space :READ :DATA FORM Parameters Item Description/Default Range of Values character_data Data format for transferring data: ASCii REAL • ASCii • REAL N1911A/1912A P-Series Power Meters Programming Guide...
Page 282
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. Query Example This command queries the current format FORM? setting. N1911A/1912A P-Series Power Meters Programming Guide...
• Sensor calibration tables (8480 Series 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? N1911A/1912A P-Series Power Meters 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 Agilent Technologies power sensors. These tables can be edited. The predefined data is listed in your user’s guide. These...
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 tables MEM:CAT? and save/recall registers. N1911A/1912A P-Series Power Meters 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. N1911A/1912A P-Series Power Meters 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 Agilent Technologies power sensors. These tables can be edited. The predefined data is listed in your user’s guide. These...
There are also ten sensor calibration tables named CUSTOM_0 through CUSTOM_9 and ten frequency dependent offset tables named CUSTOM_A through CUSTOM_J which do not contain any data when the power meter is shipped from the factory. N1911A/1912A P-Series Power Meters Programming Guide...
Page 292
MEMory Subsystem Syntax :CAT :TABL Example This command queries the list of stored MEM:CAT:TABL? tables. N1911A/1912A P-Series Power Meters Programming Guide...
This subsystem removes the data contents but does not affect the name of the associated table or save/recall register. The following commands are detailed in this section: MEMory:CLEar:[NAME] <character_data> MEMory:CLEar:TABLe The contents cleared using these commands are non-recoverable. N O T E N1911A/1912A P-Series Power Meters Programming Guide...
For sensor calibration tables and frequency dependent offset tables, this command is an alternative form of the MEMory:CLEar:TABLE command, the only difference being the method in which the table is selected. The contents cleared using this command are non-recoverable. N O T E N1911A/1912A P-Series Power Meters Programming Guide...
Page 295
Example This command clears the contents of MEM:CLE "8485A" sensor calibration table 8485A. Error Messages If the table or save/recall register name does not exist, error –224, “Illegal parameter value” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
The contents cleared using this command are non-recoverable. N O T E Syntax :CLE :TABL Example This command clears the contents of the MEM:CLE:TABL currently selected table. Error Message If no table is selected, error –221, “Settings conflict” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
(8480 Series 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? N1911A/1912A P-Series Power Meters Programming Guide...
(8480 Series 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 free MEM:FREE? memory in total. N1911A/1912A P-Series Power Meters Programming Guide...
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 free MEM:FREE:STAT? memory for save/recall registers. N1911A/1912A P-Series Power Meters Programming Guide...
(8480 Series sensors and N8480 Series sensors with Option CFT only) and frequency dependent offset tables. The format of the response <bytes_available>,<bytes_in_use> Syntax :FREE :TABL Example This command queries the amount of free MEM:FREE:TABL? memory for tables. N1911A/1912A P-Series Power Meters 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. N1911A/1912A P-Series Power Meters Programming Guide...
MEMory Subsystem 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 N1911A/1912A P-Series Power Meters Programming Guide...
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 names. MEM:STAT:CAT? N1911A/1912A P-Series Power Meters Programming Guide...
A numeric value (<NRf>) for the register 0 to 9 number. Example This command names register 4 SETUP1. MEM:STAT:DEF "SETUP1",4 Query MEMory:STATe:DEFine? <string> The query returns the register number for the given register name. N1911A/1912A P-Series Power Meters Programming Guide...
Page 305
• 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). N1911A/1912A P-Series Power Meters 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> N1911A/1912A P-Series Power Meters Programming Guide...
Predefined sensor calibration table is not applicable for N8480 Series power sensors with N O T E Option CFT. Therefore you are required to create a new sensor calibration table for the sensors when a sensor calibration table is needed. N1911A/1912A P-Series Power Meters 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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 309
A numeric value for the frequency. The 1 kHz to 1000.0 GHz default units are Hz. The following measurement units can be used: kHz (10 MHz (10 GHz (10 All frequencies are truncated to a multiple of 1 kHz. N1911A/1912A P-Series Power Meters Programming Guide...
Page 310
–221, “Settings conflict” occurs. • If a frequency is sent which is outside of the allowed frequency range, error –222, “Data out of range” occurs. N1911A/1912A P-Series Power Meters 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. N1911A/1912A P-Series Power Meters 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>. N1911A/1912A P-Series Power Meters Programming Guide...
Page 313
97 % and calibration MEM:TABL:GAIN 97,99.5,97.4 factors of 99.5 % and 97.4 % into the sensor calibration table. Query MEMory:TABLe:GAIN[:MAGNitude]? The query returns a list of calibration factor/offset points for the currently selected table. N1911A/1912A P-Series Power Meters Programming Guide...
Page 314
• 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. N1911A/1912A P-Series Power Meters Programming Guide...
If no values have been set, 0 is returned. If no table is selected, NAN is returned. Syntax :GAIN :TABL :MAGN :POIN Example This command queries the number of MEM:TABL:GAIN:POIN? calibration factor/offset points in the current table. N1911A/1912A P-Series Power Meters Programming Guide...
Details the new table name. A maximum of A to Z (uppercase) parameter) 12 characters can be used. a to z (lowercase) 0 - 9 _ (underscore) Example This command renames a table named MEM:TABL:MOVE tab1 to tab1a. "tab1","tab1a" N1911A/1912A P-Series Power Meters Programming Guide...
Page 317
• 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. N1911A/1912A P-Series Power Meters Programming Guide...
12 characters can be used. a to z (lowercase) 0 - 9 _ (underscore) Example This command selects a sensor calibration MEM:TABL:SEL "Sensor1" table named “Sensor1”. Query MEMory:TABLe:SELect? The query returns the name of the currently selected table. N1911A/1912A P-Series Power Meters Programming Guide...
N1911A/1912A P-Series Power Meters Programming Guide OUTput Subsystem OUTPut Subsystem OUTPut:RECorder[1]|2:FEED <data_handle> OUTPut:RECorder[1]|2:LIMit:LOWer <numeric_value> OUTPut:RECorder[1]|2:LIMit:UPPer <numeric_value> OUTPut:RECorder[1]|2:STATe <boolean> OUTPut:ROSCillator[:STATe] <boolean> OUTPut:TRIGger[:STATe] <boolean> This chapter explains how the OUTput command subsystem is used to switch the POWER REF output on and off.
“CALC2” output. “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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 322
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. N1911A/1912A P-Series Power Meters Programming Guide...
0 % to 999 % CALC block specified in OUTPut:RECorder[1]|2:FEED <data_handle>. Example This command sets the minimum scaling OUTP:REC:LIM:LOW –90 value to –90. Reset Condition On reset, the minimum scaling value is set to –150 dBm. N1911A/1912A P-Series Power Meters Programming Guide...
Page 324
OUTput Subsystem Query OUTPut:RECorder[1]|2:LIMit:LOWer? The query command returns the minimum scaling value. Query Example This command returns the minimum OUTP:REC:LIM:LOW? scaling value for the specified recorder output. N1911A/1912A P-Series Power Meters Programming Guide...
0 % to 999 % CALC block specified in OUTPut:RECorder[1]|2:FEED <data_handle>. Example OUTP:REC:LIM:UPP 10 This command sets the maximum scaling value to 10. Reset Condition On reset, the maximum scaling value is set to +20 dBm. N1911A/1912A P-Series Power Meters Programming Guide...
Page 326
OUTput Subsystem Query OUTPut:RECorder[1]|2:LIMit:UPPer? The query command returns the maximum scaling value. Query Example This command returns the maximum OUTP:REC:LIM:UPP? scaling value for the specified recorder output. N1911A/1912A P-Series Power Meters Programming Guide...
The query command enters a 1 or 0 into the output buffer indicating whether or not the specified recorder is switched on. • 1 is returned when the recorder output is switched ON • 0 is returned when the recorder output is switched OFF N1911A/1912A P-Series Power Meters Programming Guide...
Page 328
OUTput Subsystem Query Example This command queries the status of the OUTP:REC2:STAT? recorder output. N1911A/1912A P-Series Power Meters Programming Guide...
The query command enters a 1 or 0 into the output buffer indicating whether or not the POWER REF is enabled. • 1 is returned when the POWER REF output is enabled • 0 is returned when the POWER REF output is disabled N1911A/1912A P-Series Power Meters Programming Guide...
Page 330
OUTput Subsystem Query Example This command queries the status of the OUTP:ROSC? POWER REF output. N1911A/1912A P-Series Power Meters Programming Guide...
N O T E sensor (Average mode only). Syntax Space OUTP :TRIG :STAT 0|OFF 1|ON Example This command enables the trigger output OUTP:TRIG:STAT 1 signal. Reset Condition On reset, the trigger output signal is disabled. N1911A/1912A P-Series Power Meters Programming Guide...
Page 332
This command queries the status of the OUTP:TRIG:STAT? trigger output signal. Error Messages • If 8480, N8480, E4410, E9300 or E9320 sensor is connected and the trigger source is not set to external, error –221 “Settings conflict” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Page 334
PSTatistic Subsystem Chapter 17 explains how the PSTatistic command subsystem is used to configure the settings of Complementary Cumulative Distribution Function (CCDF), both in table and trace format. N1911A/1912A P-Series Power Meters Programming Guide...
:CCDF 0|OFF :GAUS 1|ON Example This command turns on the Gaussian PST:CCDF:GAUS ON trace. This command turns off the Gaussian PST:CCDF:GAUS OFF trace. Reset Conditions On reset, the Gaussian trace will be cleared (OFF). N1911A/1912A P-Series Power Meters Programming Guide...
Page 338
Query Example This command queries the state of the PST:CCDF:GAUS? Gaussian trace. Error Messages • If command is executed in other window besides expanded CCDF window, error –221 "Settings conflict: Requires CCDF expanded window" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
This command sets marker 1 on the PST:CCDF:GAUS:MARK Gaussian trace. Reset Condition On reset, the marker is set on the next visible trace according to the sequence Channel A, Channel B, Reference or Gaussian. N1911A/1912A P-Series Power Meters Programming Guide...
Page 340
• If command is executed when the specific trace is not visible , error –221 "Settings conflict:Trace Not Present" occurs. Check with the command PST:CCDF:GAUS? to check if the trace is enabled. N1911A/1912A P-Series Power Meters Programming Guide...
• Free-run acquisition mode is selected • NORMal or DOUBle measurement speed setting is chosen Algorithm Delta = Marker 2 Value - Marker 1 Value where Delta is the power difference and probability difference Syntax :CCDF :MARK :DEL N1911A/1912A P-Series Power Meters Programming Guide...
Page 342
On reset, the marker 1 and marker 2 will be set back to their default positions. Error Messages • If command is executed in other window besides CCDF window, error –221 “Settings conflict: Requires CCDF window” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
:DAT :CCDF :MARK Example This command returns the power and PST:CCDF:MARK1:DAT? probability values at marker 1. Reset Condition On reset, the marker 1 and marker 2 will be set back to their default positions. N1911A/1912A P-Series Power Meters Programming Guide...
Page 344
PSTatistic Subsystem Error Messages • If command is executed in other window besides CCDF window, error –221 “Settings conflict: Requires CCDF window” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
• Maximum Value: 50 dB. The value will be set to 0 if negative value is inserted. The marker will be placed at the point nearest to the specified X-axis position if that particular X value is not available. N1911A/1912A P-Series Power Meters Programming Guide...
Page 346
–221 “Settings conflict: Requires CCDF window” occurs. • If the requested X position is more than max dB then error –220 "Parameter error" occurs. • If invalid parameter choice has been used then error –224 “Illegal parameter value” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
The current marker Y-axis position • Minimum Value: 0 % • Maximum Value: 100 % The marker will be placed at the point nearest to the specified Y-axis position if that particular Y value is not available. N1911A/1912A P-Series Power Meters Programming Guide...
Page 348
• If the requested Y position is more than 100 or less than 0 then error –220 "Parameter error" occurs. • If invalid parameter choice has been used then error –224 “Illegal parameter value” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
• The reference trace data maximum X-axis value in dB • 501 points of the reference trace data Syntax :CCDF :REF :DAT Example This command returns the previously PST:CCDF:REF:DAT? saved reference trace data. Reset Condition On reset, the trace will be cleared. N1911A/1912A P-Series Power Meters Programming Guide...
Page 350
–221 "Settings conflict: Requires CCDF window" occurs. • If there was no previously saved trace, error –221 "Settings conflict: No reference trace saved" occurs. Please check the status of saved reference trace using command PST:CCDF:STOR:REF?. N1911A/1912A P-Series Power Meters Programming Guide...
1|ON Example This command turns on the previously PST:CCDF:REF ON saved reference trace. This command turns off the previously PST:CCDF:REF OFF saved reference trace. Reset Condition On reset, the reference trace will be cleared. N1911A/1912A P-Series Power Meters Programming Guide...
Page 352
–221 "Settings conflict: Requires CCDF expanded window" occurs. • If there was no previously saved trace, error –221 "Settings conflict: No reference trace saved" occurs. Please check the status of saved reference trace using command PST:CCDF:STOR:REF?. N1911A/1912A P-Series Power Meters Programming Guide...
This command sets marker 1 on the PST:CCDF:REF:MARK1 reference trace. Reset Condition On reset, the marker will be set on the next visible trace according to the sequence of Channel A, Channel B, Reference or Gaussian. N1911A/1912A P-Series Power Meters Programming Guide...
Page 354
PST:CCDF:REF? to check if the trace is enabled. • If there was no previously saved trace, error –221 "Settings conflict: No reference trace saved" occurs. Please check the status of saved reference trace using command PST:CCDF:STOR:REF?. N1911A/1912A P-Series Power Meters Programming Guide...
–221 "Settings conflict: Requires CCDF window" occurs. • If there was no previously saved trace, error –221 "Settings conflict: No reference trace saved" occurs. Please check the status of saved reference trace using command PST:CCDF:STOR:REF?. N1911A/1912A P-Series Power Meters Programming Guide...
–221 "Settings conflict: Requires CCDF window" occurs. • If there was no previously saved trace, error –221 "Settings conflict: No reference trace saved" occurs. Please check the status of saved reference trace using command PST:CCDF:STOR:REF?. N1911A/1912A P-Series Power Meters Programming Guide...
–221 "Settings conflict: Requires CCDF window" occurs. • If there was no previously saved trace, error –221 "Settings conflict: No reference trace saved" occurs. Please check the status of saved reference trace using command PST:CCDF:STOR:REF?. N1911A/1912A P-Series Power Meters Programming Guide...
This command turns off the CCDF PST2:CCDF:CONT OFF Continuous Refresh mode for Channel B and the Single Refresh mode is on. Reset Condition On reset, the CCDF Continuous Refresh mode will be turned on. N1911A/1912A P-Series Power Meters Programming Guide...
Page 359
Error Messages • If no sensor or wrong sensor is connected to the channel, error –241 "Hardware missing" occurs. • If channel is not in free- run acquisition mode, error –221 "Settings conflict" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
The CCDF cummulative counts in numeric 100 M to 10 G value. • Minimum value: 100 M • Maximum value: 10 G Example PST1:CCDF:COUN 1.2G This command sets the CCDF cummulative counts for Channel A to 1.2 N1911A/1912A P-Series Power Meters Programming Guide...
Page 361
• If user inputs a count that is lesser than 100 M or greater than 10 G, error –222 "Data out of range" occurs. Any input count that is within range will be normalized and round down to the nearest 100 M. N1911A/1912A P-Series Power Meters Programming Guide...
• NORMal or DOUBle measurement speed setting is chosen Syntax :CCDF :DAT Example This command returns 501 probability PST1:CCDF:DAT? values in % at different power levels within certain range (from 0 dB to maximum power level defined). N1911A/1912A P-Series Power Meters Programming Guide...
Page 363
• If measurement speed setting is FAST, error –221 "Settings conflict" occurs. • If the acquisition mode is in continuous triggering or triggering source is set to either INT1, INTl2, or EXT, error –221 "Settings conflict" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Example This command sets the maximum value of PST1:CCDF:DAT:MAX 10 X- axis CCDF trace to 10 dB. Reset Condition On reset, the maximum value for CCDF trace X- axis is set to 50 dB. N1911A/1912A P-Series Power Meters Programming Guide...
Page 365
• If the parameter set is less than 5.0, error –222 "Data out of range; value clipped to lower limit" occurs. • If the parameter set is more than 50.0, error –222 "Data out of range; value clipped to upper limit" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
The probability at the queried 0.0 to 100 power. • Maximum value: 0 % • Minimum value: 100 % Example This command queries the power level at PST1:CCDF:POW? 30 probability of 30 %. N1911A/1912A P-Series Power Meters Programming Guide...
Page 367
INT1, INT2, or EXT, error –221 "Setting conflict" occurs. • If the parameter specified is less than 0.0 or more than 100.0, error –220 "Parameter error" occurs. • If no parameter is specified, error –109 "Missing parameter" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
• NORMal or DOUBle measurement speed setting is chosen Syntax :PROB :CCDF space numeric_value Parameters Item Description/Default Range of Values numeric_value The power level at the queried 0.00 to 50.0 probability. • Maximum value: 50.00 dB • Minimum value: 0.00 dB N1911A/1912A P-Series Power Meters Programming Guide...
Page 369
INT1, INT2, or EXT, error –221 "Setting conflict" occurs. • If the parameter specified is less than 0.0 or more than 50.0, error –220 "Parameter error" occurs. • If no parameter is specified, error –109 "Missing parameter" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
• Expanded window is enabled (not full CCDF screen window) Syntax :CCDF :STOR :REF Example This command saves the Channel A trace PST:CCDF:STOR:REF as reference trace. This command saves the Channel B trace PST2:CCDF:STOR:REF as reference trace. N1911A/1912A P-Series Power Meters Programming Guide...
Page 371
–221 "Settings conflict: Requires CCDF expanded window" occurs. • If the acquisition mode is in continuous triggering or triggering source is set to either INT1, INT2, or EXT, error –221 "Settings conflict" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
This command is only applicable when P-Series sensors are present and the following N O T E conditions are met: • Free run acquisition mode is selected • NORMal or DOUBle measurement speed setting is chosen N1911A/1912A P-Series Power Meters Programming Guide...
Page 373
%, 1 %, 0.1 %, 0.01 %, 0.001 % and 0.0001 %), peak to average power ratio and sample count for Channel B. The sample count will always be returned as 100 million samples (100,000,000). N O T E N1911A/1912A P-Series Power Meters Programming Guide...
Page 374
• If measurement speed setting is FAST, error –221 "Settings conflict" occurs. • If the acquisition mode is in continuous triggering or triggering source is set to either INT1, INT2, or EXT, error –221 "Settings conflict" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
1|ON Example This command turns on Channel A trace. PST:CCDF:TRAC ON This command turns off Channel B trace. PST2:CCDF:TRAC OFF Reset Condition On reset, the trace of the physically connected channel will be shown. N1911A/1912A P-Series Power Meters Programming Guide...
Page 376
–221 "Settings conflict: Requires CCDF expanded window" occurs. • If no power sensor is connected, error –241 "Hardware missing" occurs. • If sensor/sensors connected are not P- Series sensors, error –241 "Hardware missing" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
This command sets the marker2 on PST2:CCDF:TRAC:MARK2 Channel B. Reset Condition On reset, the marker will be set on the next visible trace according to the sequence Channel A, Channel B, Reference or Gaussian. N1911A/1912A P-Series Power Meters Programming Guide...
Page 378
–221 "Settings conflict: Requires CCDF expanded window" occurs. • If command is executed when the specific trace is not visible , error –221 "Settings conflict:Trace Not Present" occurs. Use the command PST:CCDF:TRAC? to check if the trace is enabled. N1911A/1912A P-Series Power Meters Programming Guide...
• If sensor/sensors connected are not P- Series sensors, error –241 "Hardware missing" occurs. • If measurement speed setting is FAST, error –221 "Settings conflict" occurs. • If command executed in other window besides CCDF window, error –221 "Settings conflict: Requires CCDF window" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Page 380
PSTatistic Subsystem • If the acquisition mode is in continuous triggering or triggering source is set to either INT1, INT2, or EXT, error –221 "Settings conflict" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
• If sensor/sensors connected are not P- Series sensors, error –241 "Hardware missing" occurs. • If measurement speed setting is FAST, error –221 "Settings conflict" occurs. • If command executed in other window besides CCDF window, error –221 "Settings conflict: Requires CCDF window" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Page 382
PSTatistic Subsystem • If the acquisition mode is in continuous triggering or triggering source is set to either INT1, INT2, or EXT, error –221 "Settings conflict" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
"Hardware missing" occurs. • If measurement speed setting is FAST, error –221 "Settings conflict" occurs. • If command is executed in other window besides CCDF window, error –221 "Settings conflict: Requires CCDF window" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Page 384
PSTatistic Subsystem • If the acquisition mode is in continuous triggering or triggering source is set to either INT1, INT2, or EXT, error –221 "Settings conflict" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Page 386
[SENSe[1]]|SENSe2:TRACe:OFFSet:TIME <numeric_value> [SENSe[1]]|SENSe2:TRACe:TIME <numeric_value> [SENSe[1]]|SENSe2:TRACe:UNIT <character_data> [SENSe[1]]|SENSe2:V2P ATYPe|DTYPe SENSe[1]|2:TRACe:AUToscale SENSe[1]|2:TRACe:LIMit:LOWer <numeric_value> SENSe[1]|2:TRACe:LIMit:UPPer <numeric_value> SENSe[1]|2:TRACe:X:SCALe:PDIV <numeric_value> SENSe[1]|2:TRACe:Y:SCALe:PDIV <numeric_value> This chapter explains how the SENSe command subsystem directly affects device specific settings used to make measurements. N1911A/1912A P-Series Power Meters Programming Guide...
SENSe1 and SENSe2 represent Channel A and Channel B respectively. If you are using the single channel N1911A power meter the SENSe2 commands are N O T E irrelevant and cause the error “Header suffix out of range.”...
These commands control the measurement 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> N1911A/1912A P-Series Power Meters Programming Guide...
However, manual filter length selection ([SENSe[1]]|SENSe2:AVERage:COUNt <numeric_value>) is useful in applications requiring either high resolution or fast settling times, where signal variations rather than measurement noise need filtering, or when approximate results are needed quickly. N1911A/1912A P-Series Power Meters Programming Guide...
Page 392
DEF: the default value is 4 MIN: 1 MAX: 1024 Example This command enters a filter length of 400 AVER:COUN 400 for Channel A. Reset Condition On reset, the filter length is set to 4. N1911A/1912A P-Series Power Meters Programming Guide...
Page 393
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. N1911A/1912A P-Series Power Meters Programming Guide...
Figure 10-20Example of Averaged Readings 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 disables automatic averaging. Auto averaging is enabled by the MEASure:POWer:AC? and N1911A/1912A P-Series Power Meters Programming Guide...
Page 395
Syntax Space SENS :COUN :AUTO AVER 0|OFF 1|ON SENS2 ONCE Example This command disables automatic filter AVER:COUN:AUTO OFF length selection for Channel A. Reset Condition On reset, automatic averaging is enabled. Query [SENSe[1]]|SENSe2:AVERage:COUNt:AUTO? N1911A/1912A P-Series Power Meters Programming Guide...
Page 396
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. N1911A/1912A P-Series Power Meters Programming Guide...
With certain pulsing signals step detect may operate on the pulses, preventing the final N O T E average being completed and making the results unstable. Under these conditions SDET should be set to OFF. Syntax Space SENS AVER :SDET 0|OFF 1|ON SENS2 N1911A/1912A P-Series Power Meters Programming Guide...
Page 398
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. N1911A/1912A P-Series Power Meters Programming Guide...
Query [SENSe[1]]|SENSe2:AVERage[:STATe]? The query enters a 1 or 0 into the output buffer indicating the status of averaging. • 1 is returned when averaging is enabled • 0 is returned when averaging is disabled N1911A/1912A P-Series Power Meters Programming Guide...
Page 400
• If [SENSe[1]]|SENSe2:AVERage:STATe is set to ON when a N1920 or E9320 power sensor is connected in AVERage measurement mode and is in the wait- for- trigger state for external trigger buffering, the error –221, “Settings Conflict” occurs. N1911A/1912A P-Series Power Meters 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> N1911A/1912A P-Series Power Meters Programming Guide...
1 to 256 • DEF: the default value is 4. This is only implemented in powers of 2 (2 Example This command enters a video filter length AVER2:COUN 16 of 16 for Channel A. N1911A/1912A P-Series Power Meters Programming Guide...
Page 403
–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. N1911A/1912A P-Series Power Meters Programming Guide...
Query [SENSe[1]]|SENSe2:AVERage2[:STATe]? The query enters a 1 or 0 into the output buffer indicating the status of averaging. • 1 is returned when averaging is enabled. • 0 is returned when averaging is disabled. N1911A/1912A P-Series Power Meters Programming Guide...
Page 405
–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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 407
Reset Condition On reset, sensor bandwidth is set to OFF. Query [SENSe[1]]|SENSe2:BANDwidth|BWIDth:VIDeo? The query returns the current sensor bandwidth setting. Query Example This command queries the current sensor SENS2:BAND:VID? bandwidth setting for Channel B. N1911A/1912A P-Series Power Meters Programming Guide...
Page 408
N O T E to ensure a flat bandwidth up to the frequency shown, bandwidths are flat to ±0.1 dB. In the OFF state no corrections are applied and the response has a slow roll-off. N1911A/1912A P-Series Power Meters Programming Guide...
This command is only applicable when used with 8480, N8480, E4410, E9300, E9320 or N O T E N1920 power sensors (average or peak). Syntax :COUN FREQ numeric_value SENS Space SENS2 Parameters Item Description Range of Values numeric_value A numeric value for buffer size. 1 to 2048 N1911A/1912A P-Series Power Meters Programming Guide...
Page 410
• If E4410, N8480, E9300, E9320 or N1920 sensor is connected but acquisition mode is in free run, error –221, “Setting conflict. Invalid acquisition mode” occurs. • If frequency sweep step is non- zero, error –221, “Settings conflict. Frequency sweep enabled. Buffer count overidden” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Page 411
• If parameter is set lower than 1, error –222 “Data out of range; value clipped to lower limit” occurs. • If parameter is set higher than 2048, error –222 “Data out of range; value clipped to upper limit” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
The input measurement type to be fed to the “PEAK” specific input on the SENSe block: “PTAV” • PEAK: peak power “AVER” • PTAV: peak to average “MIN” • AVER: average • MIN: minimum power N1911A/1912A P-Series Power Meters Programming Guide...
Page 413
• If E9320 or N1920 sensor is connected but sensor mode is average, error –221, “Setting conflict. Invalid acquisition mode” occurs. • If E9320 or N1920 sensor is connected but trigger source is not external, error- 221 “Setting conflict. Invalid acquisition mode” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Page 414
SENSe Subsystem • If parameter set is a string but it is invalid, error- 224 “Illegal parameter value” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
They are used to enter duty cycle values, calibration factors and other external gains and losses. The following commands are detailed in this section: [SENSe[1]]|SENSe2:CORRection:CFACtor|GAIN[1][:INPut] [:MAGNitude] <numeric_value> [SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2 [:SELect] <string> [SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2:STATe <boolean> [SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3[:INPut] [:MAGNitude] <numeric_value> [SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3:STATe <boolean> [SENSe[1]]|SENSe2:CORRection:FDOFfset|GAIN4[:INPut] [:MAGNitude]? [SENSe[1]]|SENSe2:CORRection:LOSS2[:INPut][:MAGNitude] <numeric_value> [SENSe[1]]|SENSe2:CORRection:LOSS2:STATe <boolean> N1911A/1912A P-Series Power Meters Programming Guide...
Either CFACtor and GAIN1 can be used in the command—both have an identical result. Using GAIN1 complies with the SCPI standard, whereas CFACtor does not—this may make your program easier to understand. Syntax SENS :INP CORR :GAIN :MAGN SENS2 :CFAC Space numeric_value Space N1911A/1912A P-Series Power Meters Programming Guide...
Page 417
100% for Channel B. Reset Condition On reset, CFACtor|GAIN1 is set to 100 %. Query [SENSe[1]]|SENSe2:CORRection:CFACtor|GAIN[1][:INPut] [:MAGNitude]? [MIN|MAX] The query returns the current gain correction setting or the values associated with MIN and MAX. N1911A/1912A P-Series Power Meters Programming Guide...
Page 418
The SENSe[1]]|SENSe2:CORRection:CFACtor|GAIN1 command can be used for the 8480 Series power sensor when no sensor calibration table has been set up. If a sensor calibration table is selected the error –221, “Settings Conflict” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
If any of the CSET1 commands are used when a P-Series, N8480 Series (excluding Option N O T E CFT) or E-Series power sensor 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> N1911A/1912A P-Series Power Meters Programming Guide...
:CSET2 SENS2 Parameters Item Description/Default Range of Values string String data representing a sensor Any existing table name calibration table, or frequency (Existing table names dependent offset table name. can be listed using MEMory:CATalog:TABle?). N1911A/1912A P-Series Power Meters Programming Guide...
Page 421
• When a sensor calibration table is selected, the power meter verifies that the number of calibration points defined is one more than the number of frequency points defined. When a frequency dependent N1911A/1912A P-Series Power Meters Programming Guide...
Page 422
If this is not the case, error –226, “Lists not the same length” occurs. • If the CSET1 command is used when a P- Series or an E- Series power sensor is connected the error –241, “Hardware missing” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Example This command enables the use of the CORR:CSET1:STAT 1 currently active sensor calibration table for Channel A. Reset Condition On reset, the sensor calibration table and frequency dependent offset table are not affected. N1911A/1912A P-Series Power Meters Programming Guide...
Page 424
–221, “Settings conflict” occurs and [SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2:STATe remains OFF. • If the CSET1 command is used when a P- Series, N8480 Series (excluding Option CFT) or an E- Series power sensor is connected, the error –241 “Hardware missing” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
You can use either DCYCLe or GAIN3 in these commands, both do the same. Using N O T E GAIN3 complies with the SCPI standard whereas DCYCle does not, but may make your program more understandable. N1911A/1912A P-Series Power Meters 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) cause incorrect results. The pulse power on/off ratio must be much greater than the duty cycle ratio. N1911A/1912A P-Series Power Meters Programming Guide...
Page 427
DEF: the default value is 1 % • MIN: 0.001 % • 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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 428
• If this command is used when a E9320 Series power sensor is set to NORMal mode, the error –221, “Settings Conflict” occurs. • If this command is used when a P- Series power sensor is connected, the error –241, “Hardware missing” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Channel A. Reset Condition On reset, the pulse power measurement feature is disabled. Query [SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3:STATe? The query enters a 1 or 0 into the output buffer indicating the status of the pulse power measurement feature. N1911A/1912A P-Series Power Meters Programming Guide...
Page 430
• If this command is used when a E9320 power sensor is set to NORMal mode, the error –221, “Settings Conflict” occurs. • If this command is used when a P- Series power sensor is connected, the error –241, “Settings Conflict” occurs. N1911A/1912A P-Series Power Meters 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. N1911A/1912A P-Series Power Meters 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> N1911A/1912A P-Series Power Meters Programming Guide...
[:MAGNitude] command is used to enter the loss/gain value. Syntax SENS :GAIN2 :STAT Space CORR 0|OFF 1|ON SENS2 Example This command enables a channel offset on CORR:GAIN2:STAT ON Channel A. Reset Condition On reset, channel offsets are disabled. N1911A/1912A P-Series Power Meters Programming Guide...
Page 434
This command queries whether or not CORR:GAIN2:STAT? there is a channel offset applied to Channel A. 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. N1911A/1912A P-Series Power Meters Programming Guide...
Entering a value for GAIN2 using this command automatically turns the [SENSe[1]]|SENSe2:CORRection:GAIN2:STATe command to ON. Syntax SENS :INP CORR :GAIN2 :MAGN SENS2 Space numeric_value Space N1911A/1912A P-Series Power Meters Programming Guide...
Page 436
50 dB for Channel A. Reset Condition On reset, GAIN2 is set to 0.00 dB. Query [SENSe[1]]|SENSe2:CORRection:GAIN2[:INPut][:MAGNitude]? [MIN|MAX] The query returns the current setting of the channel offset or the values associated with MIN and MAX. N1911A/1912A P-Series Power Meters Programming Guide...
Page 437
Conflict” occurs. However, the correction value is set but the [SENSe[1]]|SENSe2:CORRection:GAIN2:STATe command is not automatically set ON. • The SENSe[1]]|SENSe2:CORRection:GAIN2[:INPut][:MAGNitude] command can be used for the 8480 Series power sensor when no sensor calibration table has been set up. N1911A/1912A P-Series Power Meters Programming Guide...
• SENS:AVER2:STAT is set automatically to OFF. • CALC:FEED is set automatically to “POW:AVG” for all CALC blocks using the specified channel in their CALC:MATH:EXPR. When measurement mode is set to NORMal: SENS:CORR:DCYC:STAT is set automatically to OFF. N1911A/1912A P-Series Power Meters Programming Guide...
Page 439
This command queries the current sensor SENS:DET:FUNC? mode setting for Channel A. Error Messages • If the command is used when a non E9320 or N1920 sensor is connected, the error –241, “Hardware missing” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
[SENSe[1]]|SENSe2:CORRection:CSET:STATe is ON. For P- Series and E- Series power sensor, the appropriate corrections are applied for the frequency selected, dependant on the calibration data stored in the sensor’s EEPROM. Syntax Space SENS numeric_value FREQ :FIX SENS2 Space N1911A/1912A P-Series Power Meters Programming Guide...
Page 441
On reset, the frequency is set to 50 MHz (DEF). Query [SENSe[1]]|SENSe2:FREQuency[:CW|:FIXed]? [MIN|MAX] The query returns the current frequency setting or the values associated with MIN and MAX. The units in which the results are returned are Hz. N1911A/1912A P-Series Power Meters Programming Guide...
Page 442
SENSe Subsystem Query Example This command queries the Channel B SENS2:FREQ? frequency setting. N1911A/1912A P-Series Power Meters Programming Guide...
• If frequency stop point is less than frequency start point, the frequency range will be swept in a descending order. • If frequency stop point and frequency start point are equal, it is the same as power sweep mode. N1911A/1912A P-Series Power Meters Programming Guide...
Page 444
DEF: the default value is 50 MHz • MIN: 1 kHz • MAX: 1000.0 GHz The default units are Hz. The following measurement units can be used: • Hz • kHz (10 • MHz (10 • GHz (10 N1911A/1912A P-Series Power Meters Programming Guide...
Page 445
• If parameter set is lower than 1 kHz, error –222, “Data out of range; value clipped to lower limit” occurs. • If parameter set is higher than 1000 GHz, error –222, “Data out of range; value clipped to upper limit” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
= 5 GHz with given interval of 0.5 GHz, the Step should be set start stop Step = f – f + Interval stop start Interval = 5 GHz – 1 GHz + 0.5 GHz 0.5 GHz N1911A/1912A P-Series Power Meters Programming Guide...
Page 447
Description Range of Values numeric_value A numeric value for number of step in the 0 to 2048 average trigger frequency sweep: • DEF: the default value is 0 • MIN: 0 • MAX: 2048 N1911A/1912A P-Series Power Meters Programming Guide...
Page 448
–221, “Setting conflict. Invalid acquisition mode” occurs. • If parameter set is lower than 0, error –222, “Data out of range; value clipped to lower limit” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Page 449
SENSe Subsystem • If parameter set is higher than 2048, error –222, “Data out of range; value clipped to upper limit” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
• If frequency stop point is less than frequency start point, the frequency range will be sweep in a descending order. • If frequency stop point and frequency start point are equal, it is the same as power sweep mode. N1911A/1912A P-Series Power Meters Programming Guide...
Page 451
DEF: the default value is 50 MHz • MIN: 1 kHz • MAX: 1000.0 GHz The default units are Hz. The following measurement units can be used: • Hz • kHz (10 • MHz (10 • GHz (10 N1911A/1912A P-Series Power Meters Programming Guide...
Page 452
• If parameter set is lower than 1 kHz, error –222, “Data out of range; value clipped to lower limit” occurs. • If parameter set is higher than 1000 GHz, error –222, “Data out of range; value clipped to upper limit” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
This change occurs when either channel is set to FAST. When both channels are changed from FAST to NORMal or DOUBle, the settings that were in place when FAST was entered are restored. Applicable to the N1912A dual channel power meter only. N1911A/1912A P-Series Power Meters Programming Guide...
Page 454
When a channel is set to NORMal or DOUBle, TRIG:COUNt is set automatically to 1. Example This command sets the Channel A speed to MRAT DOUBle 40 readings/second. Reset Condition On reset, the speed is set to NORMal. N1911A/1912A P-Series Power Meters Programming Guide...
Page 455
• If <character_data> is not set to NORMal, DOUBle or FAST, error –224 “Illegal parameter value” occurs. • If a P- Series or an E- Series power sensor is not connected and <character_data> is set to FAST, error –241 “Hardware missing” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
POW:AC:RANG 0 it’s lower range. Reset Condition On reset, the upper range is selected. Query [SENSe[1]]|SENSe2:POWer:AC:RANGe? The query enters a 1 or 0 into the output buffer indicating the status of the power sensor’s range. N1911A/1912A P-Series Power Meters Programming Guide...
Page 457
This command is used with the E- Series power sensor. If one is not connected the error –241, “Hardware missing” occurs. For E-Series power sensor (E9320), the auto ranging feature will be disabled when normal N O T E and trigger modes are selected. N1911A/1912A P-Series Power Meters Programming Guide...
For E9320 power sensor, only UPPER and LOWER ranges are available in Normal and N O T E Triggered modes. Syntax SENS :AUTO Space :RANG 0|OFF 1|ON SENS2 Example This command disables autoranging. POW:AC:RANG:AUTO 0 N1911A/1912A P-Series Power Meters Programming Guide...
Page 459
N8480 Series power sensor (excluding Option CFT) connected, the error –241, “Hardware missing” occurs. • If this command is set to ON when E9320 power sensor is in Normal and Triggered modes, the error - 221, “Setting conflicts” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
These commands can only be used with P-Series and E9320 sensors. The E9320 sensor N O T E must be set to NORMal mode. The following commands are detailed in this section: [SENSe[1]]|SENSe2:SWEep[1]|2|3|4:OFFSet:TIME <numeric_value> [SENSe[1]]|SENSe2:SWEep[1]|2|3|4:TIME <numeric_value> N1911A/1912A P-Series Power Meters Programming Guide...
Syntax Space SENS :AUTO ONCE SENS2 Parameters Item Description/Default Range of Values character_data The status of Auto Gating and Perpetual Gating. ONCE: To turn on Auto Gating ONCE ON/OFF: To turn on/off Perpetual Gating N1911A/1912A P-Series Power Meters Programming Guide...
Page 462
• 1 is returned if the perpetual gating is turned on • 0 is returned if the perpetual gating is turned off Query Example The query returns the current setting of SENS2:SWE:AUTO? Perpetual Gating for Gate 1 Channel B. N1911A/1912A P-Series Power Meters Programming Guide...
Page 463
• If no sensor or wrong sensor is connected to the channel, error –241 "Hardware missing" occurs. • If channel is not in trigger acquisition mode, error –221 "Settings conflict" occurs. • If Auto Gate fails, error –221 "Settings conflict; Auto Once failed" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Description/Default Range of Values numeric_value The values of Auto Gating Marker References 1 0.0 to 99.9 and 2 for the selected gate. The combined value of REF1 and REF2 can not exceed 99.9 %. N1911A/1912A P-Series Power Meters Programming Guide...
Page 465
• If channel is not in trigger acquisition mode, error –221 "Settings conflict" occurs. • If limits of the values keyed in are exceeded, error –222 "Data out of range; upper (or lower) limit exceeded; no change" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Range of Values numeric_value The delay between the trigger point and the –1 to 1 second start of the time-gated period. • DEF: the default value is 0 seconds Units are resolved to 1 ns. N1911A/1912A P-Series Power Meters Programming Guide...
Page 467
–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. N1911A/1912A P-Series Power Meters Programming Guide...
The length of the time gated period in seconds. 0 to 1 second • DEF: the default value is 100 µs Units are resolved to 1 ns. Example This command sets the length to 0.001 SENS2:SWE3:TIME 0.001 seconds. N1911A/1912A P-Series Power Meters Programming Guide...
Page 469
–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. N1911A/1912A P-Series Power Meters Programming Guide...
A numeric value defining sensor's temperature –50 to 100 in degrees Celsius. Example This command returns the current sensor SENS2:TEMP? temperature found on Channel B. Reset Condition On reset, this parameter is not affected. N1911A/1912A P-Series Power Meters Programming Guide...
Page 471
SENSe Subsystem Error Messages • If a P- Series sensor is not connected, error –241, “Hardware missing” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
These commands can only be used with P-Series and E9320 sensors. The E9320 sensor N O T E must be set to NORMal mode. The following commands are detailed in this section: [SENSe[1]]|SENSe2:TRACe:LIMit:LOWer <numeric_value> [SENSe[1]]|SENSe2:TRACe:LIMit:UPPer <numeric_value> [SENSe[1]]|SENSe2:TRACe:OFFSet:TIME <numeric_value> [SENSe[1]]|SENSe2:TRACe:TIME <numeric_value> [SENSe[1]]|SENSe2:TRACe:UNIT <character_data> N1911A/1912A P-Series Power Meters Programming Guide...
The length of the delay in seconds. –1 to 1 second • DEF: the default value is 0 seconds Units are resolved to 1 ns. Example This command sets the delay to 0.05 SENS:TRAC:OFFS:TIME TIME seconds. 0.05 N1911A/1912A P-Series Power Meters Programming Guide...
Page 474
–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. N1911A/1912A P-Series Power Meters Programming Guide...
20 ns to 1 s • DEF: the default value is 100 µs. Units are resolved to 1 ns. Example This command sets the duration of the SENS2:TRAC:TIME 0.5 trace to 0.5 seconds for Channel B. N1911A/1912A P-Series Power Meters Programming Guide...
Page 476
–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. N1911A/1912A P-Series Power Meters Programming Guide...
Range of Values character_data • DBM: dBm • W: Watts 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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 478
SENSe Subsystem Query [SENSe[1]]|SENSe2:TRACe:UNIT? The query command returns the current value of character_data. Query Example This command queries the current trace SENS2:TRAC:UNIT? units for Channel B. N1911A/1912A P-Series Power Meters Programming Guide...
Space SENS ATYP DTYP SENS2 Example This command selects the D type linearity SENS2:V2P DTYP correction to be applied to Channel B. Reset Condition On reset, the linearity correction is set for A type. N1911A/1912A P-Series Power Meters Programming Guide...
Page 480
This command queries which linearity SENS:V2P? correction type is currently being used on Channel A. Error Messages If no sensor is connected or the sensor is not an A type, the error –241, “Hardware missing” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Perpetual gating function will also be disabled after autoscaling. This command is only applicable when N192x or E932x sensor is present and trigger N O T E acquisition mode is selected. Syntax :TRAC SENS N1911A/1912A P-Series Power Meters Programming Guide...
Page 482
On reset, X Start = 0 s, X Scale = 10 ms, Y Max = 20 dBm, Y Scale = 7 dB. Error Messages • If no sensor or wrong sensor is connected to the channel, error –241 "Hardware missing" occurs. • If channel is not in trigger acquisition mode, error –221 "Settings conflict" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Refer to “SENSe[1]|2:TRACe:LIMit:UPPer <numeric_value>” on page 458 for further information on setting the trace upper scale limit. Syntax Space numeric_value :TRAC :LOW :SENS :LIM Space N1911A/1912A P-Series Power Meters Programming Guide...
Page 484
On reset, the value is set to –50 dBm. Query SENSe[1]|2:TRACe:LIMit:LOWer [MIN|MAX] The query returns the current setting of the trace lower scale limit or the value associated with MIN or MAX. The format of the response is <NR3>. N1911A/1912A P-Series Power Meters Programming Guide...
Page 485
SENSe Subsystem Query Example This command queries the trace lower SENSe:TRAC:LIM:LOW? scale limit of Channel A. N1911A/1912A P-Series Power Meters Programming Guide...
Refer to “SENSe[1]|2:TRACe:LIMit:LOWer <numeric_value>” on page 455 for further information on setting the trace lower scale limit. Syntax Space numeric_value :TRAC :LIM :UPP :SENS Space N1911A/1912A P-Series Power Meters Programming Guide...
Page 487
On reset, the value is set to DEF. Query SENSe[1]|2:TRACe:LIMit:LOWer [MIN|MAX] The query returns the current setting of the trace upper scale limit or the value associated with MIN or MAX. The format of the response is <NR3>. N1911A/1912A P-Series Power Meters Programming Guide...
Page 488
SENSe Subsystem Query Example This command queries the trace upper SENS:TRAC:LIM:UPP? scale limit of Channel A. N1911A/1912A P-Series Power Meters Programming Guide...
2 ns to 0.1 s Example SENS:TRAC:X:SCAL:PDIV 0.02 This command sets the X Scale value of Channel A to 0.02 step. This command sets the X Scale value of SENS2:TRAC:X:SCAL:PDIV Channel B to 0.05 step. 0.05 N1911A/1912A P-Series Power Meters Programming Guide...
Page 490
• If channel is not in trigger acquisition mode, error –221 "Settings conflict" occurs. • If limits of the values keyed in are exceeded, error –222 "Data out of range; upper (or lower) limit exceeded; no change" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
N O T E acquisition mode is selected. Syntax numeric_value Space SENS :TRAC :PDIV :SCAL Parameters Item Description/Default Range of Values numeric_value The numeric value for Y-axis scale. 0.001 dB to10 dB 1 nWatt to10 MWatt N1911A/1912A P-Series Power Meters Programming Guide...
Page 492
• If channel is not in trigger acquisition mode, error –221 "Settings conflict" occurs. • If limits of the values keyed in are exceeded, error –222 "Data out of range; upper (or lower) limit exceeded; no change" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Page 493
N1911A/1912A 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] This chapter explains how the STATus command subsystem enables you to examine the status of the power meter by monitoring the “Device Status...
The contents of the status registers are examined using the following status register set commands: :CONDition? :ENABle <NRf>|<non-decimal numeric> [:EVENt?] :NTRansition <NRf>|<non-decimal numeric> :PTRansition <NRf>|<non-decimal numeric> Each of these can be used to examine any of the following eleven status registers: N1911A/1912A P-Series Power Meters Programming Guide...
Page 495
• 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. N1911A/1912A P-Series Power Meters 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 –1). The contents of the Condition Register remain unchanged after it is read. Syntax :COND N1911A/1912A P-Series Power Meters Programming Guide...
Page 497
2 has its first 15 bits written into the Enable Register of the SCPI Register Set concerned. The last bit (bit 15) is always set to 0. Syntax space :ENAB non-decimal numeric N1911A/1912A P-Series Power Meters Programming Guide...
Page 498
Set you require to control. The parameter value, when rounded to an integer and expressed in base 2 has its first 15 bits written into the Negative Transition Register of the SCPI Register Set concerned. The last bit (bit 15) is always set to 0. N1911A/1912A P-Series Power Meters Programming Guide...
Page 499
Register Set you require to control. The first 15 bits of the input parameter are written into the Positive Transition Register of the SCPI Register Set concerned. The last bit (bit 15) is always set to 0. N1911A/1912A P-Series Power Meters Programming Guide...
Page 500
The query returns a 15 bit decimal- weighted number representing the contents of the Positive Transition Register of the SCPI register set being queried. The format of the return is <NR1> in the range of 0 to 32767 –1). N1911A/1912A P-Series Power Meters Programming Guide...
STATus:DEVice:EVENt? query indicate whether a power sensor has been connected or disconnected depending on the state of the corresponding bits of STATus:DEVice:NTRansition and STATus:DEVice:PTRansition. If the corresponding bit in: • STATus:DEVice:NTRansition is 1, then STATus:DEVice:EVENt? is N1911A/1912A P-Series Power Meters Programming Guide...
Page 502
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. N1911A/1912A P-Series Power Meters Programming Guide...
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. N1911A/1912A P-Series Power Meters Programming Guide...
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 :OPER STAT N1911A/1912A P-Series Power Meters Programming Guide...
ONCE) and at the beginning of calibration (CALibration:AUTO ONCE). Also for the compound command/query CALibration[:ALL]?, this bit is set at the beginning of the calibration sequence. These bits are cleared at the end of zeroing or calibration. Syntax :SUMM :OPER :CAL STAT N1911A/1912A P-Series Power Meters 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 N1911A/1912A P-Series Power Meters Programming Guide...
Channel B MEASuring Status (N1912A only) 3-15 Not used These bits are set when the power meter is taking a measurement. These bits are cleared when the measurement is finished. Syntax :MEAS :SUMM STAT :OPER N1911A/1912A P-Series Power Meters Programming Guide...
E- Series power sensor or N8480 Series power sensor EEPROM. These bits are cleared when the power meter is not reading data from the E- Series power sensor or N8480 Series power sensor EEPROM. Syntax :SENS :SUMM STAT :OPER N1911A/1912A P-Series Power Meters Programming Guide...
The following bits in these registers are used by the power meter: Bit Number Decimal Definition Weight Not used Channel A TRIGger Status Channel B TRIGger Status (N1912A only) 3-15 Not used Syntax :SUMM :OPER :TRIG STAT N1911A/1912A P-Series Power Meters 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 :ULF :SUMM STAT :OPER N1911A/1912A P-Series Power Meters Programming Guide...
- all other registers are unaffected. Bit 15 is always 0. Register Filter/Enable PRESet Value OPERational ENABle all zeros all ones all zeros QUEStionable ENABle all zeros all ones all zeros All Others ENABle all ones all ones all zeros Syntax STAT :PRES N1911A/1912A P-Series Power Meters 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] N1911A/1912A P-Series Power Meters Programming Guide...
STATus:QUEStionable:POWer:SUMMary register set. Bit 8 is set by the logical OR outputs of the STATus:QUEStionable:CALibration:SUMMary register set. Bit 9 is set if power- on self- test fails, and cleared if it passes. Syntax STAT :QUES N1911A/1912A P-Series Power Meters 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 :CAL :SUMM STAT :QUES N1911A/1912A P-Series Power Meters Programming Guide...
• 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” Bit 5 is set when the following condition occurs: N1911A/1912A P-Series Power Meters Programming Guide...
Page 516
• 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 N1911A/1912A P-Series Power Meters Programming Guide...
Page 517
STATus Subsystem Logical OR Logical OR Logical OR Logical OR Logical OR Logical OR Logical OR Logical OR Logical OR Logical OR Logical OR Logical OR Logical OR N1911A/1912A P-Series Power Meters Programming Guide...
Page 518
STATus Subsystem THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. N1911A/1912A P-Series Power Meters Programming Guide...
Range of Values numeric_value A numeric value for the address. 0 to 30 • DEF: the default value is 13 • MIN: 0 • MAX: 30 Example This command sets the GPIB address to SYST:COMM:GPIB:ADDR 13 N1911A/1912A P-Series Power Meters Programming Guide...
Page 523
SYSTem Subsystem Query SYSTem:COMMunicate:GPIB[:SELF]:ADDRess? MIN|MAX The query returns the current setting of the GPIB address or the values associated with MIN and MAX. Query Example This command queries the setting of the SYST:COMM:GPIB:ADDR? GPIB address. N1911A/1912A P-Series Power Meters Programming Guide...
This command enables the AutoIP SYST:COMM:LAN:AIP ON Query SYSTem:COMMunicate:LAN:AIP? • 1 is returned if AutoIP is enabled • 0 is returned if AutoIP is disabled Query Example This command queries the state of the SYST:COMM:LAN:AIP? AutoIP. N1911A/1912A P-Series Power Meters Programming Guide...
If DHCP or AutoIP are enabled and successful, then one of these IP address modes assigns N O T E the IP address, otherwise it is the static IP address. Syntax :COMM :LAN :ADDR SYST :CURR Example This command queries the current setting SYST:COMM:LAN:CURR:ADDR? of the IP address. N1911A/1912A P-Series Power Meters Programming Guide...
LAN IP router/gateway address, otherwise it is the static LAN IP router/gateway address Syntax :COMM :LAN :DGAT SYST :CURR Example This command queries the current setting SYST:COMM:LAN:CURR:DGAT? of the LAN IP router/gateway address. N1911A/1912A P-Series Power Meters Programming Guide...
N O T E LAN domain name, otherwise it is the static LAN domain name. Syntax :COMM :LAN :DNAM SYST :CURR Example This command queries the current setting SYST:COMM:LAN:CURR:DNAM? of the LAN domain name. N1911A/1912A P-Series Power Meters Programming Guide...
N O T E LAN subnet mask, otherwise it is the static LAN subnet mask. Syntax :COMM :LAN :SMAS SYST :CURR Example This command queries the current setting SYST:COMM:LAN:CURR:SMAS? of the LAN subnet mask. N1911A/1912A P-Series Power Meters Programming Guide...
A.B.C.D where A, B, C, D = 0 to 255 Example This command sets the LAN IP address to SYST:COMM:LAN:ADDR 130.015.156.255. ‘130.015.156.255’ Query SYSTem:COMMunicate:LAN:ADDRess? The query returns the current setting of the LAN address. N1911A/1912A P-Series Power Meters Programming Guide...
Page 530
SYSTem Subsystem Query Example This command queries the setting of the SYST:COMM:LAN:ADDR? LAN IP address. Remark If the paramater value is more than 255, error –232 “Invalid format" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
A.B.C.D where A, B, C, D = 0 to 255 Example This command sets the gateway address to SYST:COMM:LAN:DGAT 130.2.6.200. ‘130.2.6.200’ Query SYSTem:COMMunicate:LAN:DGAT? The query returns the current setting of the LAN gateway address. N1911A/1912A P-Series Power Meters Programming Guide...
Page 532
SYSTem Subsystem Query Example This command queries the setting of the SYST:COMM:LAN:DGAT? gateway address. Remark If the paramater value is more than 255, error –232 “Invalid format" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
SYSTem:COMMunicate:LAN:DHCP[:STATe] <boolean> This command enables the dynamic host configuration protocol. Syntax Space 0|OFF :DHCP :STAT :COMM :LAN SYST 1|ON Example This command enables the DHCP. SYST:COMM:LAN:DHCP ON Query SYSTem:COMMunicate:LAN:DHCP? • 1 is returned if DHCP is enabled • 0 is returned if DHCP is disabled Query Example This command queries the state of the SYST:COMM:LAN:DHCP?
Character values of up to 16 characters Maximum of 16 characters Example This command sets the hostname to SYST:COMM:LAN:DNAM myco.com. ‘myco.com’ Query SYSTem:COMMunicate:LAN:DNAM? The query returns the current setting of the LAN domain name. N1911A/1912A P-Series Power Meters Programming Guide...
Page 535
SYSTem Subsystem Query Example This command queries the setting of the SYST:COMM:LAN:DNAM? domain name. N1911A/1912A P-Series Power Meters Programming Guide...
Character values of up to 15 characters Maximum of 15 characters Example This command sets the hostname to SYST:COMM:LAN:HNAM PowerMeter 1. ‘PowerMeter1’ Query SYSTem:COMMunicate:LAN:HNAM? The query returns the current setting of the LAN hostname. N1911A/1912A P-Series Power Meters Programming Guide...
Page 537
SYSTem Subsystem Query Example This command queries the setting of the SYST:COMM:LAN:HNAM? hostname. N1911A/1912A P-Series Power Meters Programming Guide...
SYSTem Subsystem SYSTem:COMMunicate:LAN:MAC? This query returns the LAN MAC address. Syntax SYST :COMM :LAN :MAC Example This command queries the current MAC SYST:COMM:LAN:MAC? address. N1911A/1912A P-Series Power Meters Programming Guide...
This command restarts the power meter's network stack; any LAN configuration changes can only take effect after this is performed. Syntax :COMM :REST SYST :LAN Example This command restarts the LAN network SYST:COMM:LAN:REST with new configuration. N1911A/1912A P-Series Power Meters Programming Guide...
A.B.C.D where A, B, C, D = 0 to 255 Example This command sets the subnet mask to SYST:COMM:LAN:SMAS 255.255.248.0. ‘255.255.248.0’ Query SYSTem:COMMunicate:LAN:SMASk? The query returns the current setting of the LAN subnet mask. N1911A/1912A P-Series Power Meters Programming Guide...
Page 541
SYSTem Subsystem Query Example This command queries the setting of the SYST:COMM:LAN:SMAS? LAN subnet mask. Remark If the paramater value is more than 255, error –232 “Invalid format" occurs. N1911A/1912A P-Series Power Meters Programming Guide...
It is not recommended to use this command in Fast Mode, as it slows down the N O T E measurement rate. Syntax SYST :DISP :BMP Example SYST:DISP:BMP? This command returns the display image in bitmap format. N1911A/1912A P-Series Power Meters Programming Guide...
30 errors. Syntax SYST :ERR Example SYST:ERR? This command queries the oldest error message stored in the power meter’s error queue. Reset Condition On reset, the error queue is unaffected. N1911A/1912A P-Series Power Meters Programming Guide...
Page 544
SYSTem Subsystem Error Messages • If the error queue overflows, the last error is replaced with –350, “Queue overflow”. No additional errors are accepted by the queue until space becomes available. N1911A/1912A P-Series Power Meters Programming Guide...
Page 545
If you are using the short form of the command, remember that it may contain up to four letters. For example, TRIG:SOUR IMM. N1911A/1912A P-Series Power Meters Programming Guide...
Page 546
A block data element was expected but was invalid for some reason. For example, *DDT #15FET. The 5 in the string indicates that 5 characters should follow, whereas in this example there are only 3. N1911A/1912A P-Series Power Meters Programming Guide...
Page 547
For example, SENS:FREQ 2KHZ. –224 Illegal parameter value A discrete parameter was received which was not a valid choice for the command. You may have used an invalid parameter choice. For example, TRIG:SOUR EXT. N1911A/1912A P-Series Power Meters Programming Guide...
Page 548
–231 Data questionable;ZERO ERROR ChB Power meter zeroing failed on Channel B. The most likely cause is attempting to zero when some power signal is being applied to the power sensor. –232 Invalid format N1911A/1912A P-Series Power Meters Programming Guide...
Page 549
–330 Self-test Failed; The -330, “Self-test Failed” errors indicate that you have a problem with your power meter. Refer to Contacting Agilent Technologies on page 119 for details of what to do with your faulty power meter. N1911A/1912A P-Series Power Meters Programming Guide...
Page 550
A command was received which generates too much data to fit in the output buffer and the input buffer is also full. Command execution continues but data is lost. –440 Query UNTERMINATED after indefinite response The *IDN? command must be the last query command within a command string. N1911A/1912A P-Series Power Meters Programming Guide...
The MS byte is transmitted first. Each complete block is terminated by a line feed. Commands are listed in alphabetical order. Syntax :HELP :HEAD SYST N1911A/1912A P-Series Power Meters Programming Guide...
Page 552
SYSTem Subsystem Example This command returns the SCPI SYST:HELP:HEAD? commands supported by the instrument. N1911A/1912A P-Series Power Meters Programming Guide...
The power meter display status reporting line shows “LCL”. Syntax :LOC SYST Example This command unlocks the power meter SYST:LOC front panel keypad and enables local front panel control. N1911A/1912A P-Series Power Meters Programming Guide...
• If a dual channel meter has two, P- Series or E9320 sensors, connected to it, the primary channel is always Channel A and the secondary channel is Channel B. N1911A/1912A P-Series Power Meters Programming Guide...
Page 555
Refer to GSM900 Table 12-26 through to Table 12-74 EDGE the preset values for each format. NADC BLUetooth CDMAone WCDMA CDMA2000 IDEN MCPa RADar WL802DOT11A WL802DOT11B XEVDO XEVDV TDSCdma HIPERLAN2 WIMAX HSDPA DMEPRT N1911A/1912A P-Series Power Meters Programming Guide...
Page 556
• If two E9320 power sensors are connected to a dual channel power meter and only one is of sufficient bandwidth to support the selected format, error –241 “Hardware missing: Higher bandwidth E9320 sensor required on Channel X. Measurements on Channel X may be inaccurate” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
CAL[1]|2:RCAL 100.0 % Reference calibration factor CAL[1]|2:RCF not affected Display contrast DISP:CONT Display enabled DISP:ENAB WIND Display format set to windowed DISP:SCR:FORM –70 dBm Lower scale limit DISP[:WIND[1]|2]:ANAL:LOW 20 dBm Upper scale limit DISP[:WIND[1]|2]:ANAL:UPP N1911A/1912A P-Series Power Meters Programming Guide...
Page 558
Filter length [SENS[1]]|SENS2:AVER:COUN Auto-filtering enabled [SENS[1]]|SENS2:AVER:COUN:AUTO Step detection enabled [SENS[1]]|SENS2:AVER:SDET Averaging enabled [SENS[1]]|SENS2:AVER[:STAT] Video average length [SENS[1]]|SENS2:AVER2:COUN Video averaging enabled [SENS[1]]|SENS2:AVER2[:STAT] Sensor video bandwidth set to off [SENS[1]]|SENS2:BAND|BWID:VID 100.0 % Calibration factor [SENS[1]]|SENS2:CORR:CFAC| GAIN[1][:INPut][:MAGNitude] N1911A/1912A P-Series Power Meters Programming Guide...
Page 559
Other gates: 0 sec :TIME Delay [SENS[1]]|SENS2:TRACe:OFFSet: TIME 100 µs Duration of trace [SENS[1]]|SENS2:TRACe:TIME ATYP Select linearity correction [SENS[1]]|SENS2:V2P not affected Power meter address SYST:GPIB[:SELF]ADDR Disable trace capture TRAC[1]|2:STAT Trace units TRAC[1]|2:UNIT Insert settling time delay TRIG[1]|2:DEL:AUTO N1911A/1912A P-Series Power Meters Programming Guide...
Page 560
Enable automatic setting of trigger TRIG[:SEQ]:LEV:AUTO 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 N1911A/1912A P-Series Power Meters Programming Guide...
Gate 1: 520 µs Length of time gated period for time [SENS[1]]|SENS2:SWE[1]|2|3|4 Gates 2 - 4: 0 gated measurements. :TIME Trigger setup INT1 Trigger source set up and acquisition TRIG[:SEQ[1]|2]:SOUR mode continuous triggering INIT:CONT N1911A/1912A P-Series Power Meters Programming Guide...
Series power sensor (excluding Option CFT) Table 12-28GSM900: Power Meter Presets: Window/Measurement Settings Function Setting Single Channel Dual Channel Display setup Upper window Channel A trace Primary channel trace Lower window LU single numeric Table 12-29 N1911A/1912A P-Series Power Meters Programming Guide...
Lower window LU single numeric Dual numeric Dual numeric Lower window/lower measurement (LL) Feed Gate1 secondary channel Secondary channel (Channel B) Measurement * For further information refer to “Primary and Secondary Channels” on page 526. N1911A/1912A P-Series Power Meters Programming Guide...
Sensor video bandwidth setup E9321A/25A: HIGH Sensor video bandwidth [SENS[1]]|SENS2:BAND|BWID:VID E9322A/26A: MED E9323A/27A: LOW N1921/2A: LOW Gate Setup Gate 1: 20 µs Delay between trigger point and time [SENS[1]]|SENS2:SWE[1]|2|3|4 Gates 2 - 4: 0 gated period. :OFF:TIME N1911A/1912A P-Series Power Meters Programming Guide...
Page 565
:TIME <numeric_value> 700 µs Length of the trace [SENS[1]]|SENS2:TRAC:TIME <numeric_value> The Range setting in Table 12-30 is only applicable for E-Series power sensor and N8480 N O T E Series power sensor (excluding Option CFT) N1911A/1912A P-Series Power Meters Programming Guide...
Table 12-32EDGE: Power Meter Presets For Secondary Channel Sensors Function Secondary Channel Sensor No Sensor Non P-Series or E9320 P-Series and E9320 Sensor Sensor Display setup Lower window Dual numeric Dual numeric Dual numeric Lower window/lower measurement (LL) N1911A/1912A P-Series Power Meters Programming Guide...
Page 567
Non P-Series or E9320 P-Series and E9320 Sensor Sensor Feed Gate 1 primary channel Gate1 secondary channel Secondary channel (Channel B) Measurement Pk-to-Avg * For further information refer to “Primary and Secondary Channels” on page 526. N1911A/1912A P-Series Power Meters Programming Guide...
Command Setting Comments Frequency +850.000 MHz Frequency setting [SENS[1]]|SENS2:FREQ[:CW|:FIX] Sensor measurement mode NORM Measurement mode [SENS[1]]|SENS2:DET:FUNC Sensor video bandwidth setup E9321A/25A: DEF Sensor video bandwidth [SENS[1]]|SENS2:BAND|BWID:VID E9322A/26A: OFF E9323A/27A: OFF N1921/2A: OFF Gate Setup N1911A/1912A P-Series Power Meters Programming Guide...
E-Series power sensor and N8480 Series power sensor (excluding Option CFT). Table 12-34CDMAone: Power Meter Presets: Window/Measurement Settings Function Setting Single Channel Dual Channel Display setup Upper window UU single numeric Table 12-35 Lower window Dual numeric Table 12-35 N1911A/1912A P-Series Power Meters Programming Guide...
Sensor video bandwidth setup E9321A/25A: DEF Sensor video bandwidth [SENS[1]]|SENS2:BAND|BWID:VID E9322A/26A: DEF E9323A/27A: OFF N1921/2A: OFF Gate Setup Gate 1: 0 s Delay between trigger point and time [SENS[1]]|SENS2:SWE[1]|2|3|4 Gates 2 - 4: 0 gated period. :OFF:TIME N1911A/1912A P-Series Power Meters Programming Guide...
Series power sensor (excluding Option CFT) Table 12-37 cdma2000: Power Meter Presets: Window/Measurement Settings Function Setting Single Channel Dual Channel Display setup Upper window UU single numeric UU single numeric Lower window Dual numeric Table 12-38 Window/measurement setup N1911A/1912A P-Series Power Meters Programming Guide...
Sensor video bandwidth setup E9321A/25A: DEF Sensor video bandwidth [SENS[1]]|SENS2:BAND|BWID:VID E9322A/26A: DEF E9323A/27A: OFF N1921/2A: OFF Gate Setup Gate 1: 0 s Delay between trigger point and time [SENS[1]]|SENS2:SWE[1]|2|3|4 Gates 2 - 4: 0 gated period. :OFF:TIME N1911A/1912A P-Series Power Meters Programming Guide...
Gate 1: 366 µs Length of time gated period for time [SENS[1]]|SENS2:SWE[1]|2|3|4 Gates 2 - 4: 0 gated measurements. :TIME Trigger setup INT1 Trigger source set up and acquisition TRIG[:SEQ[1]|2]:SOUR mode continuous triggering INIT:CONT N1911A/1912A P-Series Power Meters Programming Guide...
Power level TRIG[:SEQ]:LEV Trigger event recognized on the rising TRIG[:SEQ]:SLOP edge of a signal Delay between recognition of trigger TRIG[:SEQ]:DEL event and start of a measurement Trigger holdoff TRIG[:SEQ]:HOLD Range Auto range off [SENS[1]]|SENS2:POW:AC:RANG:AUTO N1911A/1912A P-Series Power Meters Programming Guide...
Table 12-47 Measurement Peak Table 12-47 Lower window/lower measurement (LL) Feed Gate 1 Channel A Table 12-47 Measurement Pk-to-Avg Table 12-47 * For further information refer to “Primary and Secondary Channels” on page 526. N1911A/1912A P-Series Power Meters Programming Guide...
Peak Pk-to-Avg Lower window/lower measurement (LL) Feed Gate 1 primary channel Secondary channel Gate1 secondary channel (Channel B) Measurement Pk-to-Avg Pk-to-Avg * For further information refer to “Primary and Secondary Channels” on page 526. N1911A/1912A P-Series Power Meters Programming Guide...
Disable automatic setting of the trigger TRIG[:SEQ]:LEV:AUTO level AUTO Automatic Power level TRIG[:SEQ]:LEV Trigger event recognized on the rising TRIG[:SEQ]:SLOP edge of a signal Delay between recognition of trigger TRIG[:SEQ]:DEL event and start of a measurement N1911A/1912A P-Series Power Meters Programming Guide...
Page 589
Non P-Series or E9320 P-Series and E9320 Sensor Sensor Feed Gate 1 primary Gate1 secondary Secondary channel channel channel (Channel B) Measurement * For further information refer to “Primary and Secondary Channels” on page 526. N1911A/1912A P-Series Power Meters Programming Guide...
Enable automatic setting of the trigger TRIG[:SEQ]:LEV:AUTO level AUTO Power level TRIG[:SEQ]:LEV Trigger event recognized on the rising TRIG[:SEQ]:SLOP edge of a signal Delay between recognition of trigger TRIG[:SEQ]:DEL event and start of a measurement Trigger holdoff TRIG[:SEQ]:HOLD Range N1911A/1912A P-Series Power Meters Programming Guide...
Table 12-53 Measurement Peak Table 12-53 Lower window/lower measurement (LL) Feed Gate 1 Channel A Table 12-53 Measurement Pk-to-Avg Table 12-53 * For further information refer to “Primary and Secondary Channels” on page 526. N1911A/1912A P-Series Power Meters Programming Guide...
Pk-to-Avg Lower window/lower measurement (LL) Feed Gate 1 primary channel Secondary channel Gate 1 secondary channel (Channel B) Measurement Pk-to-Avg Pk-to-Avg * For further information refer to “Primary and Secondary Channels” on page 526. N1911A/1912A P-Series Power Meters Programming Guide...
Power level TRIG[:SEQ]:LEV Trigger event recognized on the rising TRIG[:SEQ]:SLOP edge of a signal Delay between recognition of trigger TRIG[:SEQ]:DEL event and start of a measurement Trigger holdoff TRIG[:SEQ]:HOLD Range Auto range off [SENS[1]]|SENS2:POW:AC:RANG:AUTO N1911A/1912A P-Series Power Meters Programming Guide...
Table 12-56 Measurement Peak Table 12-56 Lower window/lower measurement (LL) Feed Gate 1 Channel A Table 12-56 Measurement Pk-to-Avg Table 12-56 * For further information refer to “Primary and Secondary Channels” on page 526. N1911A/1912A P-Series Power Meters Programming Guide...
Peak Pk-to-Avg Lower window/lower measurement (LL) Feed Gate 1 primary channel Secondary channel Gate1 secondary channel (Channel B) Measurement Pk-to-Avg Pk-to-Avg * For further information refer to “Primary and Secondary Channels” on page 526. N1911A/1912A P-Series Power Meters Programming Guide...
TRIG[:SEQ]:LEV Trigger event recognized on the rising TRIG[:SEQ]:SLOP edge of a signal Delay between recognition of trigger TRIG[:SEQ]:DEL event and start of a measurement 1 ms Trigger holdoff TRIG[:SEQ]:HOLD Range Auto range off [SENS[1]]|SENS2:POW:AC:RANG:AUTO N1911A/1912A P-Series Power Meters Programming Guide...
TRIG[:SEQ]:LEV Trigger event recognized on the rising TRIG[:SEQ]:SLOP edge of a signal Delay between recognition of trigger TRIG[:SEQ]:DEL event and start of a measurement 1 ms Trigger holdoff TRIG[:SEQ]:HOLD Range Auto range off [SENS[1]]|SENS2:POW:AC:RANG:AUTO N1911A/1912A P-Series Power Meters Programming Guide...
Dual numeric Lower window/lower measurement (LL) Feed Secondary channel Gate 1 secondary channel Gate 1 primary channel (Channel B) Measurement Pk-to-Avg * For further information refer to “Primary and Secondary Channels” on page 526. N1911A/1912A P-Series Power Meters Programming Guide...
TRIG[:SEQ]:LEV Trigger event recognized on the rising TRIG[:SEQ]:SLOP edge of a signal Delay between recognition of trigger TRIG[:SEQ]:DEL event and start of a measurement 1 ms Trigger holdoff TRIG[:SEQ]:HOLD Range Auto range off [SENS[1]]|SENS2:POW:AC:RANG:AUTO N1911A/1912A P-Series Power Meters Programming Guide...
(for further information refer to Table 12- 26): Table 12-66 NADC: Power Meter Presets Command Setting Comments Frequency +800.000 MHz Frequency setting [SENS[1]]|SENS2:FREQ[:CW|:FIX] Sensor measurement mode NORM Measurement mode [SENS[1]]|SENS2:DET:FUNC Sensor video bandwidth setup N1911A/1912A P-Series Power Meters Programming Guide...
Page 606
+20 dBm Maximum power SENSe[1]|2:TRAC:LIM:UPP -35 dBm Minimum power SENSe[1]|2:TRAC:LIM:LOW -0.2 ms Delay between delayed trigger point [SENS[1]]|SENS2:TRAC:OFFS and the start of the trace :TIME <numeric_value> 28 ms Length of the trace [SENS[1]]|SENS2:TRAC:TIME <numeric_value> N1911A/1912A P-Series Power Meters Programming Guide...
“Primary and Secondary Channels” on page 526. Table 12-68 NADC: Power Meter Presets For Secondary Channel Sensors Function Secondary Channel Sensor No Sensor Non P-Series or E9320 P-Series and E9320 Sensor Sensor Display setup N1911A/1912A P-Series Power Meters Programming Guide...
Page 608
Dual numeric Dual numeric Lower window/lower measurement (LL) Feed Gate 2 primary channel Secondary channel Gate1 secondary channel (Channel B) Measurement * For further information refer to “Primary and Secondary Channels” on page 526. N1911A/1912A P-Series Power Meters Programming Guide...
Sensor video bandwidth setup E9321A/25A: OFF Sensor video bandwidth [SENS[1]]|SENS2:BAND|BWID:VID E9322A/26A: OFF E9323A/27A: OFF N1921/2A: OFF Gate Setup µ Delay between trigger point and time [SENS[1]]|SENS2:SWE[1]|2|3|4 Gate 1: 0 gated period. :OFF:TIME Gates 2 - 4: 0 N1911A/1912A P-Series Power Meters Programming Guide...
Page 610
:TIME <numeric_value> 100 ms Length of the trace [SENS[1]]|SENS2:TRAC:TIME <numeric_value> The Range setting in Table 12-69 is only applicable for E-Series power sensor and N8480 Series power sensor (excluding Option CFT). N1911A/1912A P-Series Power Meters Programming Guide...
Table 12-71 iDEN: Power Meter Presets For Secondary Channel Sensors Function Secondary Channel Sensor No Sensor Non P-Series or E9320 P-Series and E9320 Sensor Sensor Display setup Upper window UU single numeric Dual numeric Dual numeric N1911A/1912A P-Series Power Meters Programming Guide...
Page 612
Peak Pk-to-Avg Lower window/lower measurement (LL) Feed Gate 1 primary channel Secondary channel Gate1 secondary channel (Channel B) Measurement Pk-to-Avg Pk-to-Avg * For further information refer to “Primary and Secondary Channels” on page 526. N1911A/1912A P-Series Power Meters Programming Guide...
Disable automatic setting of the trigger TRIG[:SEQ]:LEV:AUTO level -15 dBm Power level TRIG[:SEQ]:LEV Trigger event recognized on the rising TRIG[:SEQ]:SLOP edge of a signal Delay between recognition of trigger TRIG[:SEQ]:DEL event and start of a measurement N1911A/1912A P-Series Power Meters Programming Guide...
Measurement Pk-to-Avg Lower window/lower measurement (LL) Feed Gate 2 primary channel Secondary channel Gate 1 secondary channel (Channel B) Measurement Pk-to-Avg * For further information refer to “Primary and Secondary Channels” on page 526. N1911A/1912A P-Series Power Meters Programming Guide...
Enable automatic setting of the trigger TRIG[:SEQ]:LEV:AUTO level AUTO Power level TRIG[:SEQ]:LEV Trigger event recognized on the rising TRIG[:SEQ]:SLOP edge of a signal Delay between recognition of trigger TRIG[:SEQ]:DEL event and start of a measurement N1911A/1912A P-Series Power Meters Programming Guide...
Measurement Lower window/lower measurement (LL) Feed Gate 2 primary channel Gate 1 secondary channel Secondary channel (Channel B) Measurement Pk-to-Avg Pk-to-Avg * For further information refer to “Primary and Secondary Channels” on page 526. N1911A/1912A P-Series Power Meters Programming Guide...
Enable automatic setting of the trigger TRIG[:SEQ]:LEV:AUTO level AUTO Power level TRIG[:SEQ]:LEV Trigger event recognized on the rising TRIG[:SEQ]:SLOP edge of a signal Delay between recognition of trigger TRIG[:SEQ]:DEL event and start of a measurement N1911A/1912A P-Series Power Meters Programming Guide...
Enable automatic setting of the trigger TRIG[:SEQ]:LEV:AUTO level AUTO Power level TRIG[:SEQ]:LEV Trigger event recognized on the rising TRIG[:SEQ]:SLOP edge of a signal Delay between recognition of trigger TRIG[:SEQ]:DEL event and start of a measurement N1911A/1912A P-Series Power Meters Programming Guide...
AUTO Automatic Power level TRIG[:SEQ]:LEV Trigger event recognized on the rising TRIG[:SEQ]:SLOP edge of a signal Delay between recognition of trigger TRIG[:SEQ]:DEL event and start of a measurement 1 µs Trigger holdoff TRIG[:SEQ]:HOLD Range N1911A/1912A P-Series Power Meters Programming Guide...
Table 12-86 Measurement Peak Table 12-86 Lower window/lower measurement (LL) Feed Gate 1 Channel A Table 12-86 Measurement Pk-to-Avg Table 12-86 * For further information refer to “Primary and Secondary Channels” on page 526. N1911A/1912A P-Series Power Meters Programming Guide...
Pk-to-Avg Lower window/lower measurement (LL) Feed Gate 1 primary channel Secondary channel Gate 1 secondary channel (Channel B) Measurement Pk-to-Avg Pk-to-Avg * For further information refer to “Primary and Secondary Channels” on page 526. N1911A/1912A P-Series Power Meters Programming Guide...
AUTO Power level TRIG[:SEQ]:LEV Trigger event recognized on the rising TRIG[:SEQ]:SLOP edge of a signal Delay between recognition of trigger TRIG[:SEQ]:DEL event and start of a measurement 4 ms Trigger holdoff TRIG[:SEQ]:HOLD Range N1911A/1912A P-Series Power Meters Programming Guide...
Local front panel operation of the power meter is inhibited but can be enabled by pressing the Local key. Syntax SYST :REM Example This command locks the power SYST:REM meter front panel keypad excepting the Local key. N1911A/1912A P-Series Power Meters Programming Guide...
“RMT”. In this state the power meter cannot be returned to manual control from the front panel. Syntax SYST :RWL Example This command locks the power meter SYST:RWL front panel keypad - including the Local key. N1911A/1912A P-Series Power Meters Programming Guide...
XXXX.Y, where XXXX is the year and Y is the version number. Syntax SYST :VERS Example This command queries which version of SYST:VERS? SCPI is used in the power meter. N1911A/1912A P-Series Power Meters Programming Guide...
Page 636
SYSTem Subsystem THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. N1911A/1912A P-Series Power Meters Programming Guide...
Page 637
N1911A/1912A P-Series Power Meters Programming Guide TRACe Subsystem TRACe Subsystem TRACe[1]|2[:DATA]? <character_data> TRACe[1]|2:DEFine:DURation:REFerence<numeric_value> TRACe[1]|2:DEFine:TRANsition:REFerence <numeric_value>, <numeric_value> TRACe[1]|2:MEASurement:INSTant:REFerence? <numeric_value> TRACe[1]|2:MEASurement:PULSe[1]|...|10:DCYCle? TRACe[1]|2:MEASurement:PULSe[1]|...|10:DURation? TRACe[1]|2:MEASurement:PULSe[1]|...|10:PERiod? TRACe[1]|2:MEASurement:PULSe[1]|...|10:SEParation? TRACe[1]|2:MEASurement:TRANsition[1]|...|10:NEGative:DURation? TRACe[1]|2:MEASurement:TRANsition[1]|...|10:NEGative:OCCurrence? TRACe[1]|2:MEASurement:TRANsition[1]|...|10:POSitive:DURation? TRACe[1]|2:MEASurement:TRANsition[1]|...|10:POSitive:OCCurrence? TRACe[1]|2:MEASurement:REFerence? <numeric_value> TRACe[1]|2:STATe <boolean> TRACe[1]|2:UNIT <character_data> This chapter explains how to use the TRACe command subsystem to configure and read back the measured power trace.
Page 639
INIT Fetch the result (waits for the measurement to complete) FETCH? Retrieves the trace data once the measurement has completed TRACE:DATA? MRES A trace display format must be set when this command is used. N1911A/1912A P-Series Power Meters 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. N O T E Syntax TRAC Space :DATA character_data N1911A/1912A P-Series Power Meters Programming Guide...
Page 641
Hence, the LRES command can be used to replicate the power meter’s display. Example This command returns the trace data for TRAC:DATA? HRES Channel A at high resolution. Error Messages If TRAC:STAT is off, the error –221, “Settings Conflict” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
This is a configuration command independent of the sensors. Syntax Space :REF :DUR numeric_value TRAC :DEF Parameters Item Description/Default Range of Values numeric_value Reference levels to be used in calculation of pulse duration 0 to 100 N1911A/1912A P-Series Power Meters Programming Guide...
Page 643
The query returns the numeric value of the reference level used in the pulse duration calculation. Query Example This command queries the value of the TRAC1:DEF:DUR:REF? reference level used in pulse duration measurement for trace 1. N1911A/1912A P-Series Power Meters Programming Guide...
Syntax TRAC Space numeric_value numeric_value :TRAN :REF :DEF Parameters Item Description/Default Range of Values Reference levels to be used in calculation of transition numeric_value 0 to 100 durations and occurences N1911A/1912A P-Series Power Meters Programming Guide...
Page 645
The query returns trace 1 reference levels used in the transition occurences calculation. Query Example This command queries the reference levels TRAC1:DEF:TRAN:REF? used in the calculation of transition durations and occurrences for trace 1. N1911A/1912A P-Series Power Meters Programming Guide...
This command is only applicable when P-Series power sensors are used with single or N O T E continuous triggered acquisition is selected. Syntax TRAC :INST :REF Space :MEAS numeric_value Parameters Item Description/Default Range of Values numeric_value Reference level in percentage – 25 to 125 N1911A/1912A P-Series Power Meters Programming Guide...
Page 647
This command return the time instant TRAC1:MEAS:INST:REF? 25 for trace 1 when the power transitioned through 25 % reference level. Error Messages • If P- Series power sensor is not present, the error –241, “Hardware Missing” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
TRACe[1]|2:MEASurement:PULSe[1]|...|10:DCYCle? This command returns the duty cycle of the selected pulse in percentage. Algorithm Duty Cycle = (pulse duration / pulse period) * 100 where, pulse duration is the time difference between positive and negative transitions of one pulse and pulse period is the time difference between two consecutive transition occurrences of the same polarity.
Page 649
If you attempt to measure a pulse out of the range of the capture, for example, measure the N O T E 5th pulse and there are only 4 pulses displayed, the power meter returns #0##9.91E37 as the result. N1911A/1912A P-Series Power Meters Programming Guide...
PULSe:DURation = time the second negative transition occurs - time the first positive transition occurs. Syntax :PUL :DUR TRAC :MEAS 2|...|10 Example This command returns the duration of TRAC2:MEAS:PULS3:DUR? the 3rd pulse found on trace 2. N1911A/1912A P-Series Power Meters Programming Guide...
Page 651
TIf you attempt to measure a pulse out of the range of the capture, for example, measure N O T E the 5th pulse and there are only 4 pulses displayed, the power meter returns #0##9.91E37 as the result. N1911A/1912A P-Series Power Meters Programming Guide...
PULSe:PERiod = time the second negative transition occurs - time the first negative transition occurs. Syntax :PULS TRAC :MEAS :PER 2|...|10 Example This command returns the period of the TRAC:MEAS:PULS:PER? pulse found on trace 1. N1911A/1912A P-Series Power Meters Programming Guide...
Page 653
TIf you attempt to measure a pulse out of the range of the capture, for example, measure N O T E the 5th pulse and there are only 4 pulses displayed, the power meter returns #0##9.91E37 as the result. N1911A/1912A P-Series Power Meters Programming Guide...
PULSe:SEParation = time the first positive transition occurs - time the first negative transition occurs. Syntax :SEP TRAC :MEAS :PULS 2|...|10 Example This command returns the time TRAC1:MEAS:PULS:SEP? separation of the 1st and 2nd pulses found on trace 1. N1911A/1912A P-Series Power Meters Programming Guide...
Page 655
TIf you attempt to measure a pulse out of the range of the capture, for example, measure N O T E the 5th pulse and there are only 4 pulses displayed, the power meter returns #0##9.91E37 as the result. N1911A/1912A P-Series Power Meters Programming Guide...
• If a P- Series sensor is not connected, error –241, “Hardware missing” occurs. • If a P- Series sensor is connected and Free Run trigger acquisition is selected, error –221, “Settings conflict” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Page 657
If you attempt to measure a pulse out of the range of the capture, for example, measure the N O T E 5th pulse and there are only 4 pulses displayed, the power meter returns #0#0#0 as the result. N1911A/1912A P-Series Power Meters Programming Guide...
• If a P- Series sensor is not connected, error –241, “Hardware missing” occurs. • If a P- Series sensor is connected and Free Run trigger acquisition is selected, error –221, “Settings conflict” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Page 659
If you attempt to measure a pulse out of the range of the capture, for example, measure the N O T E 5th pulse and there are only 4 pulses displayed, the power meter returns #0#0#0 as the result. N1911A/1912A P-Series Power Meters Programming Guide...
• If a P- Series sensor is not connected, error –241, “Hardware missing” occurs. • If a P- Series sensor is connected and Free Run trigger acquisition is selected, error –221, “Settings conflict” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Page 661
If you attempt to measure a pulse out of the range of the capture, for example, measure the N O T E 5th pulse and there are only 4 pulses displayed, the power meter returns #0#0#0 as the result. N1911A/1912A P-Series Power Meters Programming Guide...
• If a P- Series sensor is not connected, error –241, “Hardware missing” occurs. • If a P- Series sensor is connected and Free Run trigger acquisition is selected, error –221, “Settings conflict” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Page 663
TIf you attempt to measure a pulse out of the range of the capture, for example, measure N O T E the 5th pulse and there are only 4 pulses displayed, the power meter returns #0#0#0 as the result. N1911A/1912A P-Series Power Meters Programming Guide...
= level of high state 100% • P and P are all in the same unit of measurement, for 100% example, Watts. Syntax numeric_value :REF TRAC :MEAS Reset Condition On reset, this parameter is not affected. N1911A/1912A P-Series Power Meters Programming Guide...
Page 665
• If a P- Series sensor is not connected, error –241, “Hardware missing” occurs. • If a P- Series sensor is connected and Free Run trigger acquisition is selected, error –221, “Settings conflict” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Reset Condition On reset trace capture is set to OFF. Query TRACe[1]|2:STATe? The query command enters a 1 or 0 into the output buffer indicating whether or not trace capture is enabled or disabled. N1911A/1912A P-Series Power Meters Programming Guide...
Page 667
• If source is set to ON ( for dual channel, at either measurement channel) when the N1920 sensor is connected in normal mode and SENse:BUFFer:COUNt or SENse:FREQuency:STEP is more than 1, error –221, “Settings conflict” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
[SENSe[1]]|SENSe2:TRACe:UNIT <character_data>, which should be the preferred command. Syntax TRAC Space character_data :UNIT Parameters Item Description/Default Range of Values character_data • DBM: dBm • W: Watts Example This command sets the trace units for TRAC2:UNIT W Channel B Watts. N1911A/1912A P-Series Power Meters Programming Guide...
Page 669
Reset Condition On reset the units are set to dBm. Query TRACe[1]|2:UNIT? The query command returns the current value of character_data. Query Example This command queries the current TRAC2:UNIT? trace units for Channel B. N1911A/1912A P-Series Power Meters Programming Guide...
Page 670
TRACe Subsystem THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. N1911A/1912A P-Series Power Meters Programming Guide...
Page 673
For example TRIGger1 and TRIGger2 represent Channel A and Channel B respectively. Channel B commands cannot be used with the single Channel N1911A power meter and result in the error “Header suffix out of range.” N1911A/1912A P-Series Power Meters 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 ABOR idle state. N1911A/1912A P-Series Power Meters Programming Guide...
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 N1911A/1912A P-Series Power Meters Programming Guide...
• ON, the trigger system is initiated and exits the idle state. On completion of each trigger cycle, the trigger system immediately commences another trigger cycle without entering the idle state. This command performs the same function as N O T E INITiate:CONTinuous:SEQuence[1]|2 <boolean>. N1911A/1912A P-Series Power Meters Programming Guide...
Page 677
INITiate:CONTinuous is set to ON. Query INITiate[1]|2:CONTinuous? The query enters a 1 or 0 into the output buffer. • 1 is returned when there is continuous triggering • 0 is returned when there is only a single trigger N1911A/1912A P-Series Power Meters Programming Guide...
Page 678
TRIGger Subsystem Query Example This command queries whether Channel B INIT2:CONT? is set for single or continuous triggering. N1911A/1912A P-Series Power Meters Programming Guide...
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. N1911A/1912A P-Series Power Meters Programming Guide...
On reset (*RST), this command is set to OFF. On preset (SYSTem:PRESet) and instrument power- up, when entering local mode, if TRIGger[:SEQuence[1]|2]:SOURce is set to INT[[1]|2] or EXT, INITiate:CONTinuous is not changed. For other trigger sources, INITiate:CONTinuous is set to ON. N1911A/1912A P-Series Power Meters Programming Guide...
Page 681
• 1 is returned when trigger sequences are set to be continuous • 0 is returned when trigger sequences are not set to be continuous Query Example This command queries whether both INIT:CONT:ALL? channels are in a wait for trigger state. N1911A/1912A P-Series Power Meters Programming Guide...
This command performs the same functions as INITiate[1]|2:CONTinuous N O T E <boolean>. Syntax INIT Space :CONT :SEQ 0|OFF 1|ON Example This command places Channel B in a wait INIT:CONT:SEQ2 ON for trigger state. N1911A/1912A P-Series Power Meters Programming Guide...
Page 683
• 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. N1911A/1912A P-Series Power Meters Programming Guide...
This command initiates all trigger sequences. Syntax :IMM :ALL 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. N1911A/1912A P-Series Power Meters Programming Guide...
Example This command places Channel A in INIT:IMM:SEQ1 the wait for trigger state. Error Messages If the power meter is not in the “idle” state or INITiate:CONTinuous is ON, error –213, “INIT ignored” occurs. N1911A/1912A P-Series Power Meters 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:SOURce BUS|IMMediate|HOLD TRIGger[1]|2[:IMMediate] 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 N1911A/1912A P-Series Power Meters Programming Guide...
TRIGger[1]|2:DELay:AUTO is ignored if TRIGger[1]|2[:IMMediate] is set to ON. Syntax Space :AUTO :DEL 0|OFF TRIG 1|ON Trigger delay is not applicable when the power meter is set to power sweep mode or N O T E frequency sweep mode. N1911A/1912A P-Series Power Meters Programming Guide...
Page 688
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 N1911A/1912A P-Series Power Meters Programming Guide...
: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”. N1911A/1912A P-Series Power Meters Programming Guide...
BUS|EXTernal|HOLD|IMMediate|INTernal[[1]|2] which should be used in preference. • If the source is set to INT, INT1 or INT2 when connecting the N1920 or E9320 sensor in average mode, errors occurs. Syntax Space TRIG :SOUR HOLD N1911A/1912A P-Series Power Meters Programming Guide...
Page 691
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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 692
• If the source is changed to INT1, INT2 or EXT and SENS:DET:FUNC is set to AVERage, error –221 “Settings Conflict” occurs. • If the source is set to INT1 or INT2 when connecting the N1920 sensor in average mode, error –221 “Settings Conflict” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
DEF: the default value is 0 seconds Units are resolved to 1.25 ns. Trigger delay is not applicable when the power meter is set to power sweep mode or N O T E frequency sweep mode. N1911A/1912A P-Series Power Meters Programming Guide...
Page 694
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. N1911A/1912A P-Series Power Meters Programming Guide...
MIN: 1 µs • MAX: 400 ms Units are resolved to 1 ns. Trigger holdoff is not applicable when the power meter is set to power sweep mode or N O T E frequency sweep mode. N1911A/1912A P-Series Power Meters Programming Guide...
Page 696
Reset Condition On reset the trigger holdoff is set to 1 µs. 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. N1911A/1912A P-Series Power Meters Programming Guide...
How far a signal must fall/rise before a 0 to 3 dB rising or falling edge can be detected. • DEF: the default value is 0 dB Units are resolved to 0.05 dB. N1911A/1912A P-Series Power Meters Programming Guide...
Page 698
2 dB for Channel A. Reset Condition On reset the value is set to 0 dB. 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. N1911A/1912A P-Series Power Meters Programming Guide...
DEF: the default value is 0 dBm Units are resolved to 0.1 dBm. If a channel offset has been previously set, a higher numeric value is permitted. See“Setting Offsets” on page 38 for more information. N1911A/1912A P-Series Power Meters Programming Guide...
Page 700
Reset Condition On reset the power level is set to 0 dBm. 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. N1911A/1912A P-Series Power Meters Programming Guide...
Space TRIG :SEQ :LEV :AUTO 0|OFF 1|ON ONCE Example This command disables the automatic TRIG:SEQ:LEV:AUTO 0 setting of the trigger level for Channel A. Reset Condition On reset the value is set to ON. N1911A/1912A P-Series Power Meters Programming Guide...
Page 702
The query enters a 1 or 0 into the output buffer indicating the status of TRIGger[:SEQuence]:LEVel:AUTO. • 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. N1911A/1912A P-Series Power Meters Programming Guide...
How a trigger event is recognized: POSitive NEGative • POSitive: a trigger event is recognized on the rising edge of a signal. • NEGative: a trigger event is recognized on the falling edge of a signal. N1911A/1912A P-Series Power Meters Programming Guide...
Page 704
This command queries the current value TRIG:SEQ:SLOP? of <character_data> for Channel A. Error Messages • If 8480, N8480, E4410, E9300 or E9320 sensor is connected and trigger source is not set to external, –221 “Settings conflict” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
COUNt is set to 1. • Setting a channel from FAST mode to NORMal mode or DOUBle mode will also restore both the CALibration[1]|2:ZERO:AUTO and COUNt to its default setting automatically. Syntax numeric_value TRIG :SEQ :COUN Space N1911A/1912A P-Series Power Meters Programming Guide...
Page 706
10 for the Channel A measurement cycle. Reset Condition On reset, the value is set to 1. Query TRIGger[1]|2[:SEQuence[1]|2]:COUNt? The query returns the current setting of trigger events for a specified channel. N1911A/1912A P-Series Power Meters Programming Guide...
Page 707
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. N1911A/1912A P-Series Power Meters 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 ON. Syntax TRIG :SEQ Space :DEL :AUTO 0|OFF 1|ON ONCE N1911A/1912A P-Series Power Meters Programming Guide...
Page 709
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. N1911A/1912A P-Series Power Meters 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 TRIG:SEQ:IMM on Channel A. N1911A/1912A P-Series Power Meters 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 TRIGger[1]|2:SOURce N O T E BUS|EXTernal|HOLD|IMMediate|INTernal[[1]|2]. Syntax TRIG :SEQ Space :SOUR HOLD N1911A/1912A P-Series Power Meters Programming Guide...
Page 712
The MEASure and CONFigure commands automatically set the trigger source to IMMediate. 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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 713
• For dual channel power meters: if the adjacent sensor is in peak mode, setting the trigger source of 8480, N8480, E4410, E9300 or E9320 (Average mode only) to EXTernal causes error –221 “Settings Conflict”. N1911A/1912A P-Series Power Meters Programming Guide...
Page 714
TRIGger Subsystem THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. N1911A/1912A P-Series Power Meters Programming Guide...
Page 716
SERVice Subsystem SERVice:SENSor[1]|2:RADC? SERVice:SENSor[1]|2:SNUMber? SERVice:SENSor[1]|2:TNUMber? SERVice:SENSor[1]|2:TYPE? SERVice:SNUMber <character_data> SERVice:VERSion:PROCessor <character_data> SERVice:VERSion:SYSTem <character_data> This chapter explains how the SERVice command subsystem is used to obtain and set information useful for servicing the power meter. N1911A/1912A P-Series Power Meters 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 N1911A/1912A P-Series Power Meters Programming Guide...
Page 720
SERVice Subsystem Query Example This command queries whether the SERV:BIST:CAL? self- test is enabled or disabled. N1911A/1912A P-Series Power Meters Programming Guide...
SERVice Subsystem SERVice:BIST:CW[1]|2:LINearity This command initiates the CW linearity test. Syntax :BIST SERV :LIN Example This command enables the CW linearity SERV:BIST:CW:LIN test. N1911A/1912A P-Series Power Meters Programming Guide...
SERVice Subsystem SERVice:BIST:CW[1]|2:LINearity:PERRor? This command returns the worst case error in the CW linearity test. Syntax SERV :BIST :LIN :PERR Example SERV:BIST:CW:LIN:PERR? This command queries the worst case error in the CW linearity test. N1911A/1912A P-Series Power Meters Programming Guide...
This command returns the worst case error in the CW Zero test invoked by "SERVice:BIST:PEAK[1 2]:Z SET" Syntax SERV :BIST :ZSET :NUM Example This command queries the worst case SERV:BIST:CW:ZSET:NUM? error in the CW zero test. N1911A/1912A P-Series Power Meters Programming Guide...
Range of Values Numeric_value Define the number of samples taken for 0 to 8000 results, default:0 Example This command sets the number of samples SERV:BIST:PEAK:LIN 8000 of the PEAK linearity test to be 8000. N1911A/1912A P-Series Power Meters Programming Guide...
SERVice Subsystem SERVice:BIST:PEAK[1]|2:LINearity:PERRor? This command returns the PEAK linearity worst case error. Syntax SERV :BIST :PEAK :LIN :PERR Example SERV:BIST:PEAK:LIN PERR? This commands queries the PEAK linearity worst case error. N1911A/1912A P-Series Power Meters Programming Guide...
This command initiates the zero set and noise test for both peak and CW for a channel. Syntax SERV :BIST :PEAK :ZSET Example This command enables the zero set and SERV:BIST:PEAK1:ZSET noise test for Channel A. N1911A/1912A P-Series Power Meters Programming Guide...
This command returns the worst case error in the PEAK zero test invoked by "SERVice:BIST:PEAK[1 2]:ZSET" Syntax SERV :BIST :PEAK :ZSET :NUM Example SERV:BIST:PEAK:ZSET:NUM? This command queries the worst case error in the PEAK zero test. N1911A/1912A P-Series Power Meters Programming Guide...
SERVice Subsystem SERVice:BIST:TBASe:STATe This command toggles the 10 MHz timebase out of the trigger outport. Syntax SERV :BIST :TBAS :STAT Example This command toggles the timebase out of SERV:BIST:TBAS:STAT the trigger outport. N1911A/1912A P-Series Power Meters Programming Guide...
• ON, the 10 MHz time base signal is sent to the rear panel trigger out connector. • OFF, the 10 MHz time base signal is disabled. Syntax Space 0|OFF :BIST :TBAS :STAT SERV 1|ON Example This command disables the signal. SERV:BIST:TBAS:STAT OFF N1911A/1912A P-Series Power Meters Programming Guide...
Page 730
10 MHz time base testing. • 1 is returned when the signal is enabled • 0 is returned when the signal is disabled Query Example This command queries whether the test is SERV:BIST:TBASe:STAT? enabled or disabled. N1911A/1912A P-Series Power Meters Programming Guide...
Before running this command, the read panel trigger out must be jumpered to the rear N O T E panel trigger in. Syntax :TRIG SERV :BIST :TEST Example This command queries trigger in and out. SERV:BIST:TRIG:TEST? N1911A/1912A P-Series Power Meters Programming Guide...
Range of Values Numeric_value Adjust the 1 mW Power Reference Level 0 to 1023 (Unsigned Int Increment Coarse by 1. Query The query returns the Reference SERV:CAL:ADJ:COUR? Calibrator power level in unsigned Int 16. N1911A/1912A P-Series Power Meters Programming Guide...
Range of Values Numeric_value Adjust the 1 mW Power Reference Level 0 to 1023 (Unsigned Int Increment Fine by 1. Query The query returns the Reference SERV:CAL:ADJ:FINE? Calibrator power level in unsigned Int 16. N1911A/1912A P-Series Power Meters Programming Guide...
This command preset the LAN hostname to its default value. It requires the serial number to be set- up. Syntax :LAN :PHOS SERV Example The command presets the LAN hostname SERV:LAN:PHOS to its default value. N1911A/1912A P-Series Power Meters Programming Guide...
A maximum of 30 characters a to z (lowercase) can be used. 0 - 9 _ (underscore) Example This command loads the power meter SERV:OPT “003” memory with 003 indicating that the unit is a rear panel option. N1911A/1912A P-Series Power Meters Programming Guide...
Page 736
SERVice Subsystem 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. N1911A/1912A P-Series Power Meters Programming Guide...
SERVice:SECure:ERASe This command erases the P- Series power meter’s memory, for example, before you return it to Agilent Technologies for repair or calibration, of all data stored in it. The memory data erased, includes the save/recall states and power on last states.
For E9320 Series sensors, peak path, refer to “SERVice:SENSor[1]|2:PCALfactor <cal_factor_data>” on page 718. Syntax Space SERV :SENS cal_factor_data :CALF Parameters Item Description/Default cal_factor_data A binary data block. Refer to Appendix A, “Calibration Factor Block Layout,” on page A-763 for further information. N1911A/1912A P-Series Power Meters Programming Guide...
Page 739
E- Series power sensor is connected, error –241 “Hardware missing” occurs. • If an E9320 Series sensor is connected and SERVice:SENSor[1]|2:CORRections:STATe is set to ON, error –221, “Settings conflict” occurs. • If INIT:CONT is not set to OFF, error –221, “Settings conflict” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
• If no power sensor is connected, error –241 “Hardware missing” occurs. • If a a sensor other than a P- Series, N8480 Series or E- Series power sensor is connected, error –241 “Hardware missing” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
ADC values—for example, the SERV:SENS:RADC command. Syntax Space :STAT 0|OFF SERV :SENS :CORR 1|ON Example This command enables the voltage to SERV:SENS2:CORR:STAT ON corrected power conversion for Channel Reset Condition On reset, the value is set to ON. N1911A/1912A P-Series Power Meters Programming Guide...
Page 742
• If INIT:CONT is not set to off, error –221, “Settings conflict” occurs. • If the command is used when a sensor other than an E9320 power sensor is connected, error –241, “Hardware missing” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
• If no power sensor is connected, error –241 “Hardware missing” occurs. • If a sensor other than a P- Series, N8480 Series or E- Series power sensor is connected, error –241 “Hardware missing” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
• If a a sensor other than an E- Series sensors is connected, error –241 “Hardware missing” occurs. • If the E- Series sensor sensor, currently connected, does not contain the necessary information in EEPROM, error –241 “Hardware missing” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
• If a a sensor other than an E- Series sensor 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. N1911A/1912A P-Series Power Meters Programming Guide...
Parameters Item Description/Default cal_factor_data A binary data block. Refer to Appendix A, “Calibration Factor Block Layout,” on page A-763 for further information. Query SERVice:SENSor[1]|2:PCALfactor? The query returns the current peak path calibration factor block. N1911A/1912A P-Series Power Meters Programming Guide...
Page 747
• If no power sensor is connected, error –241 “Hardware missing” occurs. • If a a sensor other than an E9320 power sensor is connected, error –241 “Hardware missing” occurs. • If INIT:CONT is not set to OFF, error –221, “Settings conflict” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
• If a a sensor other than an E- Series sensor 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. N1911A/1912A P-Series Power Meters Programming Guide...
• If a a sensor other than an E- Series sensor 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. N1911A/1912A P-Series Power Meters Programming Guide...
• If a a sensor other than an E- Series sensor 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. N1911A/1912A P-Series Power Meters Programming Guide...
• If a a sensor other than an E- Series sensor 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. N1911A/1912A P-Series Power Meters Programming Guide...
Channel 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. N1911A/1912A P-Series Power Meters Programming Guide...
• If no sensor is connected, error –241, “Hardware missing” occurs. • If a a sensor other than a P- Series, N8480 Series or E- Series power sensor is connected, error –241 “Hardware missing” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Error Messages • If no sensor is connected, error –241, “Hardware missing” occurs. • If a a sensor other than a P- Series or E- Series power sensor is connected, error –241 “Hardware missing” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
SERVice:SENSor[1]|2:TYPE? This query identifies the sensor type connected to the power meter input channel(s). For Agilent 8480 Series Sensors, either “A”, “B”, “D”, or “H” is returned. For P- Series, E- Series and N8480 Series sensors, the model number stored in EEPROM is returned...
30 characters can be used. 0 - 9 Example This command loads the power meter SERV:SNUM GB12345678 with the serial number GB12345678. Query SERVice:SNUMber? The query returns the power meter serial number in the form GB12345678 or US12345678. N1911A/1912A P-Series Power Meters Programming Guide...
(lowercase) be used. 0 - 9 _ (underscore) Example This command loads the power meter SERV:VERS:PROC “C” with processor board revision version C. Query SERVice:VERSion:PROCessor? The query returns the current processor board revision version. N1911A/1912A P-Series Power Meters Programming Guide...
(lowercase) 0 - 9 _ (underscore) Example SERV:VERS:SYST “1” This command loads the power meter with system version number 1. Query SERVice:VERSion:SYSTem? The query returns the current power meter system version number. N1911A/1912A P-Series Power Meters Programming Guide...
N1911A/1912A 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> This chapter explains how the UNIT command subsystem is used to set the power meter measurement units to Watts and % (linear), or dBm and dB (logarithmic).
735 :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 %. N1911A/1912A P-Series Power Meters Programming Guide...
For ratio and relative power measurements: • 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 N1911A/1912A P-Series Power Meters Programming Guide...
Page 762
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. N1911A/1912A P-Series Power Meters Programming Guide...
• UNIT4:POWer:RATio sets the ratio measurement units for the lower window/lower measurement. Syntax Space ratio_unit :POW :RAT UNIT Parameters Item Description/Default Range of Values ratio_unit The ratio measurement unit. • The default unit is DB N1911A/1912A P-Series Power Meters Programming Guide...
Page 764
On reset, the value is set to DB. 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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 765
N1911A/1912A P-Series Power Meters Programming Guide IEEE 488.2 Command Reference SCPI Compliance Information *CLS *DDT <arbitrary block program data>|<string program data> *ESE <NRf> *ESR? *IDN? *OPC *OPT? *RCL <NRf> *RST *SAV <NRf> *SRE <NRf> *STB? *TRG *TST? *WAI GPIB Universal Commands This chapter contains information about the IEEE 488.2 Common...
*RCL Reset page 749 *RST Save page 750 *SAV *SRE and *SRE? Service Request Enable page 751 Status Byte page 753 *STB? Trigger page 755 *TRG Test page 756 *TST? Wait page 757 *WAI N1911A/1912A P-Series Power Meters Programming Guide...
Page 767
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 N1911A/1912A P-Series Power Meters Programming Guide...
The <action> field of the parameter may contain: FETC? FETC1? FETC2? (N1912A only) *TRG TRIG1 TRIG2 (N1912A only) The first digit after the # indicates the number of following digits. The following digits indicate the length of the data. N1911A/1912A P-Series Power Meters Programming Guide...
Page 769
*TRG. This is returned as a <definite length arbitrary block response data> value which is in the form of #nN<action> as described on page 709. Error Message • If an invalid parameter is received, error –224, “Illegal parameter value” occurs. N1911A/1912A P-Series Power Meters Programming Guide...
Table 17- 90 shows the contents of this register. Table 17-90*ESE Mapping Weight Meaning Operation Complete Request Control (not used) Query Error Device Dependent Error Execution Error Command Error Not used Power On Syntax Space *ESE N1911A/1912A P-Series Power Meters Programming Guide...
Page 771
0 - 255 Enable Register. Query *ESE? The query returns the current contents of the Standard Event Status Enable Register. The format of the return is <NR1> in the range of 0 to 255. N1911A/1912A P-Series Power Meters Programming Guide...
Table 17- 91 shows the contents of this register. Table 17-91*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 N1911A/1912A P-Series Power Meters Programming Guide...
Page 773
Agilent Technologies,N1911A,<serial number>,A1.XX.YY Agilent Technologies,N1912A,<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 N1911A/1912A P-Series Power Meters Programming Guide...
Page 774
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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 775
IEEE 488.2 Command Reference *OPT? The *OPT? query reports the options installed in the power meter and returns: • " " empty string for a standard instrument. • "003" for an option 003 instrument. Syntax *OPT N1911A/1912A P-Series Power Meters Programming Guide...
Type Description/Default 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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 777
IEEE 488.2 Command Reference *RST The *RST (ReSeT) command places the power meter in a known state. on page 526 for information on Refer to “SYSTem:PRESet <character_data>” reset values. Syntax *RST N1911A/1912A P-Series Power Meters 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/Default Range of Values The number of the register that the current state of 1 - 10 the power meter is to be saved to. N1911A/1912A P-Series Power Meters Programming Guide...
Chapter 10 for further information. Table 17-92*SRE Mapping Weight Meaning Not used Not used Device Dependent QUEStionable Status Summary Message Available Event Status Bit Not used OPERation Status Summary Syntax Space *SRE N1911A/1912A P-Series Power Meters Programming Guide...
Page 780
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). N1911A/1912A P-Series Power Meters 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 N1911A/1912A P-Series Power Meters Programming Guide...
Page 783
*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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 784
The *TST? (TeST) query causes the power meter to perform the self test. The test takes approximately 100 seconds. 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 N1911A/1912A P-Series Power Meters Programming Guide...
Page 785
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 N1911A/1912A P-Series Power Meters Programming Guide...
The GTL (Go To Local) command is the complement to remote. It causes the power meter to return to local control with a fully enabled front panel. When reverting to local mode the power meter triggering is set to free run. N1911A/1912A P-Series Power Meters Programming Guide...
1 - response bit is set during a parallel poll if requesting service. Always 0 Always 1 Always 1 Always 0 The PPU (Parallel Poll Unconfigure) command disables the power meter from responding to a parallel poll. This is effectively a universal disable. N1911A/1912A P-Series Power Meters Programming Guide...
Page 789
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. N1911A/1912A P-Series Power Meters Programming Guide...
Page 790
IEEE 488.2 Command Reference THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. N1911A/1912A P-Series Power Meters Programming Guide...
Page 791
N1911A/1912A P-Series Power Meters Programming Guide Calibration Factor Block Layout Calibration Factor Block Layout A-764 This chapter contains information on the calibration factor block layout for N8480 Series (excluding Option CFT), E4410 Series, E9300 Series and E9320 Series sensors. Agilent Technologies...
0.25 to 3 None Power (in watts) is Cal factor (low power) divided by this value. 2.14 0.25 to 3 None Power (in watts) is Cal factor (high power) divided by this value. A-764 N1911A/1912A P-Series Power Meters Programming Guide...
Frequency LSB weight 1000 Hertz Fhbp (Freq. Hz per bit). 1 KHz per bit for the cal factor: 1KHz x 2^32 = 4.3E+12 = 4300 GHz range. N1911A/1912A P-Series Power Meters Programming Guide A-765...
See note dependent on the number of frequency points. Table A-98 Calibration Factor Block Layout: E9320 Series Sensors E9320 Series Contents Data Data Units Notes Sensors: Calibration Bytes Format Range Factor Block Layout Header: A-766 N1911A/1912A P-Series Power Meters Programming Guide...
Page 795
Fhbp = Freq Hz per bit (2^32) Cal factor 2.14 0.25 to 3 None Used to adjust analog to digital converter (ADC) values. Table Size: The table size is See note dependent on the number of frequency points. N1911A/1912A P-Series Power Meters Programming Guide A-767...
Page 796
0.25 to 3 None Power (in watts) is Cal factor (low power) divided by this value. 2.14 0.25 to 3 None Power (in watts) is Cal factor (high power) divided by this value. A-768 N1911A/1912A P-Series Power Meters Programming Guide...
Page 797
One location contains the calibration factor data for the average path and the other contains the calibration factor data for the peak path. These EEPROM blocks are accessed using the SERV:SENS:CALFactor and SERV:SENS:PCALfactor commands respectively. N1911A/1912A P-Series Power Meters Programming Guide A-769...
Page 798
Calibration Factor Block Layout THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. A-770 N1911A/1912A P-Series Power Meters Programming Guide...
Page 799
N1911A/1912A P-Series Power Meters Programming Guide Measurement Polling Example Measurement Polling Example using VEE program B-772 This chapter contains an example of VEE program in measurement polling. Agilent Technologies B-771...
Page 800
The following figure provides an example on how to do a measurement polling using a VEE program. The information relates to the condition polling method as described in “Status Reporting” on page 50. Example 1: B-772 N1911A/1912A P-Series Power Meters Programming Guide...
Page 801
Measurement Polling Example Example 2: Figure B-17 Example of VEE program used in measurement polling N1911A/1912A P-Series Power Meters Programming Guide B-773...
Page 802
Measurement Polling Example THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK. B-774 N1911A/1912A P-Series Power Meters Programming Guide...