Agilent N1911A/1912A P-Series Power Meters Programming Guide Agilent Technologies
Notices © Agilent Technologies, Inc. 2006–2014 Warranty No part of this manual may be reproduced in any form or by any means (including electronic storage and retrieval or translation into a foreign language) without prior agreement and written consent from Agilent Technologies, Inc. as governed by United States and international copyright laws. The material contained in this document is provided “as is,” and is subject to being changed, without notice, in future editions.
General Warranty The material contained in this document is provided “as is,” and is subject to being changed, without notice, in future editions. Further, to the maximum extent permitted by applicable law, Agilent disclaims all warranties, either express or implied with regard to this manual and any information contained herein, including but not limited to the implied warranties of merchantability and fitness for a particular purpose.
Equipment Operation Warnings and Cautions This guide uses warnings and cautions to denote hazards. WA R N I N G A WARNING notice denotes a hazard. It calls attention to an operating procedure, practice, or the like that, if not correctly performed or adhered to, could result in personal injury or loss of life. Do not proceed beyond a WARNING notice until the indicated conditions are fully understood and met. CAUTION A CAUTION notice denotes a hazard.
General Safety Considerations The following general safety precautions must be observed during all phases of operation of this instrument. 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.
In This Guide… 1 Power Meter Remote Operation Chapter 1 describes the parameters that configure the power meter and helps you determine settings to optimize performance. 2 MEASurement Commands Chapter 2 explains how to use the MEASure group of instructions to acquire data using a set of high level instructions. 3 CALCulate Subsystem Chapter 3 explains how the CALCulate subsystem is used to perform post acquisition data processing.
12 SYSTem Subsystem Chapter 12 explains how the SYSTem command subsystem is used to return error numbers and messages from the power meter, preset the power meter, set the remote address, and query the SCPI version. 13 TRACe Subsystem Chapter 13 explains how the TRACe command subsystem is used to configure and read back the measured power trace. 14 TRIGger Subsystem Chapter 14 explains how the TRIGger command subsystem is used to synchronize device actions with events.
THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK.
Contents Notices ii General Warranty iii Restricted Rights Legend iii Equipment Operation iv General Safety Considerations v User Environment v In This Guide… vi 1 Power Meter Remote Operation Introduction 5 Configuring the Remote Interface 6 • Interface Selection 6 • GPIB Address 6 • LAN Configuration 7 • USB Configuration 8 Zeroing and Calibrating the P-Series Power Sensor 9 • Zeroing 9 • Calibration 9 Making Measurement 11 • Using MEASure? 12 • Using the CONFigure Command 17 • Using the Lower Level Co
Setting Offsets 38 • Channel Offsets 38 • Display Offsets 38 Setting Measurement Limits 40 • Setting Limits 40 • Checking for Limit Failures 42 • Using STATus 43 Getting the Best Speed Performance 44 • Measurement Rate 44 • Sensor 45 • Trigger Mode 45 • Output Format 47 • Units 47 • Command Used 47 • Fast Mode 48 How Measurements are Calculated 49 Status Reporting 50 • The General Status Register Model 50 • How to Use Register 53 • The Condition Polling Method 53 • The SRQ Method 54 • Device Status Regis
• Syntax Diagram Conventions 73 • SCPI Data Types 74 • Input Message Terminators 79 SCPI Compliance Information 81 Summary of Commands 83 Making Measurements on Wireless Communication Standards 84 • Starting a Preset Example 85 2 MEASurement Commands MEASurement Commands 89 CONFigure[1] |2|3|4? 94 CONFigure [1] |2|3|4 Commands 97 CONFigure[1]|2|3|4[:SCALar][:POWer:AC] [[,[,
READ[1]|2|3|4[:SCALar][:POWer:AC]:RELative? [[,[,
CALCulate[1]|2|3|4:MATH Commands 188 CALCulate[1]|2|3|4:MATH[:EXPRession] 189 CALCulate[1]|2|3|4:MATH[:EXPRession]:CATalog? 192 CALCulate[1]|2|3|4:PHOLd:CLEar 193 CALCulate[1]|2|3|4:RELative Commands 194 CALCulate[1]|2|3|4:RELative[:MAGNitude]:AUTO |ONCE 195 CALCulate[1]|2|3|4:RELative:STATe 197 4 CALibration Subsystem CALibration Subsystem 200 CALibration[1]|2[:ALL] 202 CALibration[1]|2[:ALL]? 204 CALibration[1]|2:AUTO [ONCE|ON|OFF|0|1] 206 CALibration[1]|2:RCALibration
6 FORMat Subsystem FORMat Subsystem 250 FORMat[:READings]:BORDer 251 FORMat[:READings][:DATA] 253 7 MEMory Subsystem MEMory Subsystem 256 MEMory:CATalog Commands 258 MEMory:CATalog[:ALL]? 259 MEMory:CATalog:STATe? 261 MEMory:CATalog:TABLe? 262 MEMory:CLEar Commands 265 MEMory:CLEar[:NAME] 266 MEMory:CLEar:TABLe 268 MEMory:FREE Commands 269 MEMory:FREE[:ALL]? 270 MEMory:FREE:STATe? 271 MEMory:FREE:TABLe? 272 MEMory:NSTates? 273 MEMory:STATe Commands 274 MEM
OUTPut:RECorder[1]|2:STATe 299 OUTPut:ROSCillator[:STATe] 301 OUTPut:TRIGger[:STATe] 303 9 PSTatistic Subsystem PSTatistic Subsystem 307 PSTatistic:CCDF:GAUSsian[:STATe] 309 PSTatistic:CCDF:GAUSsian:MARKer[1]|2[:SET] 311 PSTatistic:CCDF:MARKer:DELta? 313 PSTatistic:CCDF:MARKer[1]|2:DATa? 315 PSTatistic:CCDF:MARKer[1]|2:X 317 PSTatistic:CCDF:MARKer[1]|2:Y 319 PSTatistic:CCDF:REFerence:DATa? 321 PSTatistic:CCDF:REFerence[:STATe]
[SENSe[1]]|SENSe2:AVERage:COUNt 363 [SENSe[1]]|SENSe2:AVERage:COUNt:AUTO 366 [SENSe[1]]|SENSe2:AVERage:SDETect 369 [SENSe[1]]|SENSe2:AVERage[:STATe] 371 [SENSe[1]]|SENSe2:AVERage2 Commands 373 [SENSe[1]]|SENSe2:AVERage2:COUNt 374 [SENSe[1]]|SENSe2:AVERage2[:STATe] 376 [SENSe[1]]|SENSe2:BANDwidth|BWIDth:VIDeo 378 [SENSe[1]]|SENSe2:BUFFer:COUNt 381 [SENSe[1]]|SENSe2:BUFFer:MTYPe 384 [SENSe[1]]|SEN
[SENSe[1]]|SENSe2:TEMPerature? 442 [SENSe[1]]|SENSe2:TRACe Commands 444 [SENSe[1]]|SENSe2:TRACe:OFFSet:TIME 445 [SENSe[1]]|SENSe2:TRACe:TIME 447 [SENSe[1]]|SENSe2:TRACe:UNIT 449 [SENSe[1]]|SENSe2:V2P ATYPe|DTYPe 451 SENSe[1]|2:TRACe:AUToscale 453 SENSe[1]|2:TRACe:LIMit:LOWer 455 SENSe[1]|2:TRACe:LIMit:UPPer 458 SENSe[1]|2:TRACe:X:SCALe:PDIV 461 SENSe[1]|2:TRACe:Y:SCALe:PDIV 463 11 STATus Subsyst
SYSTem:COMMunicate:LAN:CURRent:DGATeway? 498 SYSTem:COMMunicate:LAN:CURRent:DNAMe? 499 SYSTem:COMMunicate:LAN:CURRent:SMASk? 500 SYSTem:COMMunicate:LAN:ADDRess 501 SYSTem:COMMunicate:LAN:DGATeway 503 SYSTem:COMMunicate:LAN:DHCP[:STATe] 505 SYSTem:COMMunicate:LAN:DNAMe 506 SYSTem:COMMunicate:LAN:HNAMe 508 SYSTem:COMMunicate:LAN:MAC? 510 SYSTem:COMMunicate:LAN:RESTart 511 SYSTem:COMMunicate:LAN:SMASk 512 SYSTem:DISP
TRACe[1]|2:STATe 638 TRACe[1]|2:UNIT 640 14 TRIGger Subsystem TRIGger Subsystem 644 ABORt[1]|2] 646 INITiate Commands 647 INITiate[1]|2:CONTinuous 648 INITiate[1]|2[:IMMediate] 651 INITiate:CONTinuous:ALL 652 INITiate:CONTinuous:SEQuence[1]|2 654 INITiate[:IMMediate]:ALL 656 INITiate[:IMMediate]:SEQuence[1]|2 657 TRIGger Commands 658 TRIGger[1]|2:DELay:AUTO 659 TRIGger[1]|2[:IMMediate] 661 TRIGger[1]|2:SOURce BUS|EXTernal|HOLD|IMMediate|INT
SERVice:BIST:CALibrator 697 SERVice:BIST:CW[1]|2:LINearity 699 SERVice:BIST:CW[1]|2:LINearity:PERRor? 700 SERVice:BIST:CW[1]|2:ZSET:NUMber? 701 SERVice:BIST:PEAK[1]|2:LINearity 702 SERVice:BIST:PEAK[1]|2:LINearity:PERRor? 703 SERVice:BIST:PEAK[1]|2:ZSET 704 SERVice:BIST:PEAK[1]|2:ZSET:NUMber? 705 SERVice:BIST:TBASe:STATe 706 SERVice:BIST:TBASe:STATe 707 SERVice:BIST:TRIGger:TEST? 709 SERVice:CALibrator:ADJ:COUR 710 SERVice:CALibrator:ADJ:FINE
17 IEEE 488.
THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK.
List of Figures Figure B-1-1 Frequency Dependent Offset Tables 28 Figure B-1-2 Typical Averaged Readings on 8480 Series Sensors 35 Figure B-1-3 Averaging Range Hysteresis 36 Figure B-1-4 Limits Checking Application 40 Figure B-1-5 Limits Checking Results 41 Figure B-1-6 How Measurement are Calculated 49 Figure B-1-7 Generalized Status Register Model 51 Figure B-1-8 Typical Status Register Bit Changes 52 Figure B-1-9 Status System 58 Figure B-1-10 Hierarchical structure of SCPI 71 Figure B-1-11 Format of
THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK.
List of Tables Table 1-1 MEASure? and CONFigure Preset States 11 Table 1-2 Possibilities of the defaulted source list parameter 16 Table 1-3 Range of Values for Window Limits 42 Table 1-4 Model of Sensor and Measurement Rates 45 Table 1-5 Bit Definitions - Status Byte Register 59 Table 1-6 Bit Definitions - Standard Event Register 60 Table 1-7 Bit Definitions - Questionable Status Registers 62 Table 1-8 Bit change conditions for Questionable Status Register 62 Table 1-9 Bit Definitions - Operation Status 63
Table 12-35 CDMAone: Power Meter Presets For Secondary Channel Sensors 542 Table 12-36 cdma2000: Power Meter Presets 544 Table 12-37 cdma2000: Power Meter Presets: Window/Measurement Settings 545 Table 12-38 cdma2000: Power Meter Presets For Secondary Channel Sensors 546 Table 12-39 W-CDMA: Power Meter Presets 548 Table 12-40 W-CDMA: Power Meter Presets: Window/Measurement Settings 549 Table 12-41 W-CDMA: Power Meter Presets For Secondary Channel Sensors 550 Table 12-42 BLUetooth: Power Meter Presets 552 Ta
Table 12-70 iDEN: Power Meter Presets: Window/Measurement Settings 583 Table 12-71 iDEN: Power Meter Presets For Secondary Channel Sensors 583 Table 12-72 DVB: Power Meter Presets 585 Table 12-73 DVB: Power Meter Presets: Window/Measurement Settings 586 Table 12-74 DVB: Power Meter Presets For Secondary Channel Sensors 587 Table 12-75 WiMAX: Power Meter Presets 588 Table 12-76 WiMAX: Power Meter Presets: Window/Measurement Settings 589 Table 12-77 WiMAX: Power Meter Presets For Secondary Channel Sensors 590
THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK.
N1911A/1912A P-Series Power Meters Programming Guide 1 Power Meter Remote Operation Introduction 5 Configuring the Remote Interface 6 • Interface Selection 6 • GPIB Address 6 • LAN Configuration 7 • USB Configuration 8 Zeroing and Calibrating the P-Series Power Sensor 9 • Zeroing 9 • Calibration 9 Making Measurement 11 • Using MEASure? 12 • Using the CONFigure Command 17 • Using the Lower Level Commands 26 Using Frequency Dependent Offset Tables 27 • Overview 27 • Editing Frequency Dependent Offset Tables
1 Power Meter Remote Operation Configuring the Remote Interface 6 • Interface Selection 6 • GPIB Address 6 • LAN Configuration 7 Setting Offsets 38 • Channel Offsets 38 • Display Offsets 38 Setting Measurement Limits 40 • Setting Limits 40 • Checking for Limit Failures 42 • Using STATus 43 Getting the Best Speed Performance 44 • Measurement Rate 44 • Sensor 45 • Trigger Mode 45 • Output Format 47 • Units 47 • Command Used 47 • Fast Mode 48 How Measurements are Calculated 49 2 N1911A/1912A P-Series Power
Power Meter Remote Operation 1 Status Reporting 50 • The General Status Register Model 50 • How to Use Register 53 • The Condition Polling Method 53 • The SRQ Method 54 • Device Status Register 65 • Using the Operation Complete Commands 67 Saving and Recalling Power Meter Configurations 69 • How to Save and Recall a Configuration 69 Using Device Clear to Halt Measurements 70 An Introduction to the SCPI Language 71 • Mnemonic Forms 71 • Using a Colon (:) 71 • Using a Semicolon (;) 72 • Using a Comma (,) 72
1 Power Meter Remote Operation Making Measurements on Wireless Communication Standards 84 • Starting a Preset Example 85 This chapter describes the parameters that configure the power meter and helps you determine settings to optimize performance.
Power Meter Remote Operation 1 Introduction This chapter describes the parameters which configure the power meter and help you determine settings to optimize performance. It contains the following sections: • “Configuring the Remote Interface” on page 6. • “Zeroing and Calibrating the P- Series Power Sensor” on page 9. • “Making Measurement” on page 11. • “Using Frequency Dependent Offset Tables” on page 27. • “Setting the Range, Resolution and Averaging” on page 34. • “Setting Offsets” on page 38.
1 Power Meter Remote Operation Configuring the Remote Interface This section briefly describes how to configure the GPIB, LAN and USB remote interfaces. NOTE For more information on configuring the remote interface connectivity, refer to the Agilent 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.
Power Meter Remote Operation 1 For information on setting the GPIB address manually from the front panel, refer to the P- Series Power Meters Installation Guide. • To set the GPIB address from the remote interface use the: SYSTem:COMMunicate:GPIB:ADDRess command. • To query the GPIB address from the remote interface use the: SYSTem:COMMunicate:GPIB:ADDRess? query.
1 Power Meter Remote Operation • Hostname - SYSTem:COMMunicate:LAN:HNAMe • Restart Network - SYSTem:COMMunicate:LAN:RESTart The character_data values for the IP address, Subnet Mask, and Default Gateway can range between 0.0.0.0 and 255.255.255.255. NOTE If you configure an invalid IP Address or an IP address that is used by another device or host, an error message is generated. This error can be read by using the SYSTem:ERRor? command.
Power Meter Remote Operation 1 Zeroing and Calibrating the P-Series Power Sensor P- Series wideband power sensor’s do not need manual calibration and zero routines performed. These are performed without removing the power sensor from the source. Zeroing Zeroing adjusts the power meter’s specified channel for a zero power reading. The command CALibration[1]|2:ZERO:AUTO [ONCE|ON|OFF|0|1] causes the power meter to perform its zeroing routine on the specified channel when enabled.
1 Power Meter Remote Operation Calibration Sequence This feature allows you to perform a complete calibration sequence with a single query. The query is: CALibration[1|2][:ALL]? The query assumes that the power sensor is connected to the power reference oscillator. It turns the power reference oscillator on, then after calibrating, returns the power reference oscillator to the same state it was in prior to the command being received.
Power Meter Remote Operation 1 Making Measurement The MEASure? and CONFigure commands provide a straight- forward method to program the power meter for measurements. You can select the measurement’s expected power level, resolution and with the N1912A the measurement type (that is single channel, difference or ratio measurements) all in one command. The power meter automatically presets other measurement parameters to default values as shown in Table 1- 1 below.
1 Power Meter Remote Operation Using MEASure? The simplest way to program the power meter for measurements is by using the MEASure? query. However, this command does not offer much flexibility. When you execute the command, the power meter selects the best settings for the requested configuration and immediately performs the measurement. You cannot change any settings (other than the expected power value, resolution and with the N1912A the measurement type) before the measurement is taken.
Power Meter Remote Operation 1 defaults as in this example (see “Agilent N1912A Only” on page 15). specifies window MEAS1? MEAS2? Example 2 - Specifying the Source List Parameter The MEASure command has three optional parameters, an expected power value, a resolution and a source list. These parameters must be entered in the specified order. If parameters are omitted, they default from the right. The parameter DEFault is used as a place holder.
1 Power Meter Remote Operation The following example uses the expected value parameter to specify a value of –50 dBm. This selects the power sensor’s lower range (refer to “Range” on page 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 displayed on the lower window.
Power Meter Remote Operation 1 Example 5 - Making a Difference Measurement The following command is performed on the N1912A. It queries the lower window to make a difference measurement of Channel B - Channel A. The expected power and resolution parameters are defaulted, leaving them at their current settings.
1 Power Meter Remote Operation Table 1-2 Possibilities of the defaulted source list parameter Command Current Window Setup MEAS1[:POW][AC]? Upper Window: MEAS2[:POW][AC]? MEAS1:POW:AC:RAT MEAS2:POW:AC:RAT MEAS1:POW:AC:DIFF? MEAS2:POW:AC:DIFF? 16 Measurement A A B B Any Other Any Other A Lower Window: A A B B Any Other B Upper Window: Lower Window: Upper Window: Lower Window: A/B A/B B/A B/A Any Other A/B A/B A/B B/A B/A Any Other A/B A-B A-B B-A B-A Any Other
Power Meter Remote Operation 1 Using the CONFigure Command When you execute this command, the power meter presets the optimum settings for the requested configuration (like the MEASure? query). However, the measurement is not automatically started and you can change measurement parameters before making measurements. This allows you to change the power meter’s configuration from the preset conditions. The power meter offers a variety of low- level commands in the SENSe, CALCulate, and TRIGger subsystems.
1 Power Meter Remote Operation Example 1 - The Simplest Method The following program segments show the simplest method of querying the upper and lower window’s measurement results respectively.
Power Meter Remote Operation FETC2? 1 Retrieves the lower window’s measurement Example 2 - Specifying the Source List Parameter The CONFigure and READ? commands have three optional parameters, an expected power value, a resolution and a source list. These parameters must be entered in the specified order. If parameters are omitted, they default from the right. The parameter DEFault is used as a place holder.
1 Power Meter Remote Operation Using INITiate and FETCh? ABOR1 Aborts Channel A CONF1 DEF,DEF,(@1) Configures the upper window to make a Channel A measurement using the current expected power and resolution settings INIT1 Causes Channel A to make a measurement FETC1? DEF,DEF,(@1) Retrieves the upper window’s measurement Example 3 - Specifying the Expected Power Parameter The previous example details the three optional parameters which can be used with the CONFigure and READ? commands.
Power Meter Remote Operation 1 Using READ? ABOR2 Aborts Channel B CONF1 -50,DEF,(@2) Configures the upper window to make a Channel B measurement using an expected power of –50 dBm and the current resolution setting READ1? Takes the upper window’s measurement Some fine tuning of measurements can be performed using the CONFigure and READ? commands. For example, in the above program segment some fine tuning can be performed by setting the filter length to 1024 and the trigger delay off.
1 Power Meter Remote Operation setting the filter length to 1024 and the trigger delay off. 1 ABOR2 2 CONF1 -50,DEF,(@2) 3 SENS2:AVER:COUN 1024 4 TRIG2:DEL:AUTO OFF 5 INIT2 6 FETC1? -50,DEF,(@2) Example 4 - Specifying the Resolution Parameter The previous examples detailed the use of the expected value and source list parameters. The resolution parameter is used to set the resolution of the specified window.
Power Meter Remote Operation 1 Using READ? ABOR1 Aborts Channel A CONF1 DEF,3 Configures the upper window to make a measurement using the current setting of the expected power and source list and a resolution setting of 3 READ1? Takes the upper window’s measurement. This is Channel A or B measurement depending on current window setup. Some fine tuning of the above program segment can be carried out for example, by setting the trigger delay off.
1 Power Meter Remote Operation 3 TRIG1:DEL:AUTO OFF 4 INIT1:IMM 5 FETC1? DEF,3 Example 5 - Making a Difference Measurement The following program segment can be carried out on the N1912A. It queries the lower window to make a difference measurement of Channel A - Channel B. The expected power level and resolution parameters are defaulted, leaving them at their current settings. Some fine tuning of the measurement is carried out by setting the averaging, and the trigger delay to off.
Power Meter Remote Operation 1 FETC2:POW:AC:DIFF? DEF,DEF,(@2),(@1) (A second FETCh? query is sent to make a Channel B - Channel A measurement using the current measurement data). Example 6 - Making a Ratio Measurement The following program segment can be carried out on the N1912A. It queries the lower window to make a ratio measurement of Channel A/B. The expected power level and resolution parameters are defaulted, leaving them at their current settings.
1 Power Meter Remote Operation Using the Lower Level Commands An alternative method of making measurements is to use the lower level commands to set up the expected range and resolution.
Power Meter Remote Operation 1 Using Frequency Dependent Offset Tables This section describes how to use frequency dependent offset tables. These tables give you the ability to compensate for frequency effects in your test setup. Overview If the [SENSe[1]]|SENSe2:CORRection:CSET2:STATe command is OFF, the frequency dependent offset tables are not used.
1 Power Meter Remote Operation TABLE 1 TABLE 10 TABLE N FREQ 1 OFFSET 1 FREQ 1 OFFSET 1 FREQ 1 OFFSET 1 FREQ 2 . . . . . . . . . . OFFSET 2 . . . . . . . . . . FREQ 2 . . . . . . . . . . OFFSET 2 . . . . . . . . . . FREQ 2 . . . . . . . . . . OFFSET 2 . . . . . . . . . . FREQ 80 OFFSET 80 FREQ 80 OFFSET 80 FREQ 80 OFFSET 80 OFFSET = Frequency Dependent Offset TABLE SELECTED Frequency of the signal you want to measure FREQ 1 OFFSET 1 FREQ 2 . . . . . . . . . . OFFSET 2 . . . . .
Power Meter Remote Operation 1 Editing Frequency Dependent Offset Tables It is not possible to create any additional frequency dependent offset tables. However, the 10 existing tables can be edited using the MEMory subsystem. To do this: 1 Select one of the existing tables using: MEMory:TABle:SELect For information on naming frequency dependent offset tables see “Naming Frequency Dependent Offset Tables” on page 31.
1 Power Meter Remote Operation NOTE The legal frequency suffix multipliers are any of the IEEE suffix multipliers, for example, KHZ, MHZ, and GHZ. If no units are specified the power meter assumes the data is Hz. PCT is the only legal unit for offset factors and can be omitted. The frequency and offset data must be within range. Refer to the individual commands in Chapter 4 for their specified ranges. Any offset values entered into the table should exclude the effect of the sensor.
Power Meter Remote Operation 1 560,8020,“Offset_1,TABL,220”,”Offset_2,TABL,340” .... Naming Frequency Dependent Offset Tables To rename a frequency dependent offset table use: MEMory:TABLe:MOVE , The first parameter identifies the existing table name, and the second identifies the new table name. The following rules apply to frequency dependent offset table names: 1 Table names use a maximum of 12 characters.
1 Power Meter Remote Operation If you have retained the original data in a program, edit the program and resend the data.
Power Meter Remote Operation 1 SENS1:CORR:CSET2:STAT ON SENSe1:FREQuency 500KHZ INITiate1:IMMediate FETCh1? READ? Example ABORt1 CONFigure1:POWer:AC DEF,2,(@1) SENS1:CORR:CSET2:SEL "Offset1" SENS1:CORR:CSET2:STAT ON SENSe1:FREQuency 500KHZ READ1? NOTE If the measurement frequency does not correspond directly to a frequency in the frequency dependent offset table, the power meter calculates the offset using linear interpolation.
1 Power Meter Remote Operation Setting the Range, Resolution and Averaging This section provides an overview of setting the range, resolution and averaging. For more detailed information about these features refer to the individual commands in Chapter 10, “SENSe Subsystem”. Resolution You can set the window’s resolution using the following command: DISPlay[:WINDow[1]|2][:NUMeric[1]|2] :RESolution There are four levels of resolution available (1 through 4).
Power Meter Remote Operation 1 Auto Averaging Mode To enable and disable auto filter mode, use the following command: [SENSe[1]]|SENSe2:AVERage:COUNt:AUTO When the auto filter mode is enabled, the power meter automatically sets the number of readings averaged together to satisfy the filtering requirements for most power measurements. The number of readings averaged together depends on the resolution and the power level currently being measured.
1 Power Meter Remote Operation Range Hysteresis 9.5 dB 10.5 dB Minimum Sensor Power + 10 dB Minimum Sensor Power Figure 1-3 Averaging Range Hysteresis Filter Length You specify the filter length using the following command: [SENSe[1]]|SENSe2:AVERage:COUNt 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.
Power Meter Remote Operation 1 Range The power meter has no internal ranges which can be set. The only ranges that can be set are those of the E- Series power sensor and N8480 Series power sensors (excluding Option CFT). With an E- Series power sensor or N8480 Series power sensors (excluding Option CFT), the range can be set either automatically or manually. Use autoranging when you are not sure of the power level you will be measuring.
1 Power Meter Remote Operation Setting Offsets Channel Offsets The power meter can be configured to compensate for signal loss or gain in your test setup (for example, to compensate for the loss of a 10 dB attenuator). You use the SENSe command subsystem to configure the power meter. Gain and loss correction are a coupled system. This means that a gain set by [SENSe[1]]|SENSe2:CORRection:GAIN2 is represented in the [SENSe[1]]|SENSe2:CORRection:LOSS2? command.
Power Meter Remote Operation 1 The final result is: A dBm – 10 ⎛ ⎛ -----------------------⎞ -⎞ ⎝ ⎝ B dBm – 10⎠ – 20⎠ dB 10 !Create I/O path name 20 ASSIGN @POWER TO 713 30 !Clear the power meter’s interface 40 CLEAR @POWER 50 !Set the power meter to a known state 60 OUTPUT @POWER;"*RST" 70 !Configure the Power Meter to make the measurement 80 OUTPUT @Power;"CONF:POW:AC:RAT 20DBM,2,(@1),(@2)" 90 !Set the measurement units to dBm 100 OUTPUT @POWER;"UNIT:POW DBM" 110 !Set the power meter for channel offsets
1 Power Meter Remote Operation Setting Measurement Limits You can configure the power meter to detect when a measurement is outside of a predefined upper and/or lower limit value. Limits are window or measurement display line based and can be applied to power, ratio or difference measurements. Setting Limits The power meter can be configured to verify the power being measured against an upper and/or lower limit value. The range of values that can be set for lower and upper limits is –150.00 dBm to +230.
Power Meter Remote Operation 1 Amplitude +10 dBm o o o Fail o o o +4 dBm o Fail Frequency 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- 3.
1 Power Meter Remote Operation Table 1-3 Range of Values for Window Limits Window Units Default Maximum Minimum Maximum Minimum dB +200 dB –180 dB 60 dB –120 dB dBm +230 dBm –150 dBm 90 dBm –90 dBm % 999.9 X% 100.0 a% 100.0 M% 100.0 p% W 100.000 XW 1.000 aW 1.000 MW 1.
Power Meter Remote Operation NOTE 1 If TRIGger:DELay:AUTO is set to ON, then the number of failures returned by SENSe:LIMit:FCOunt? or CALCulate[1|2]:LIMit:FCOunt? is affected by the current filter settings. Using STATus If using GPIB, you can use the STATus subsystem to generate an SRQ to interrupt your program when a limit failure occurs. This is a more efficient method than using SENSe or CALCulate, since you do not need to check the limit failures after every power measurement.
1 Power Meter Remote Operation Getting the Best Speed Performance This section discusses the factors that influence the speed of operation (number of readings/sec) of a P- Series power meter. The following factors are those which have the greatest effect upon measurement speed (in no particular order): • The selected measurement rate, i.e. NORMal, DOUBle, FAST. • The sensor being used. • The trigger mode (for example, free run, trigger with delay etc.). • The output format: ASCii or REAL.
Power Meter Remote Operation 1 Sensor Different measurement rates are achievable depending on the sensor type being used, as shown in Table 1- 4: Table 1-4 Model of Sensor and Measurement Rates Sensor Measurement Rate NORMal DOUBle FAST 8480 Series and N8480 Series 20 reading/s 40 reading/s NA E-Series E4410 and E9300 50 ms 25 ms Up to 400 20 reading/s 40 reading/s E-Series E9320, AVERage only mode 50 ms 25 ms 20 reading/s 40 reading/s E-Series E9320, NORMal mode 50 ms 25 ms 20 readi
1 Power Meter Remote Operation • Single Shot: When a channel is in Single Shot, it takes a new measurement when a trigger event is detected and then returns to the idle state. A channel is in Single Shot when INITiate:CONTinuous is set to OFF. Note that a measurement can take several INT/EXT triggers depending on the filter settings. Refer to “TRIGger[1]|2:DELay:AUTO ” on page 659 for further information.
Power Meter Remote Operation 1 Output Format The power meter has two output formats for measurement results: ASCii and REAL. These formats are selected using the FORMat command. When FORMat is set to REAL, the returned result is in IEEE 754 floating- point format (note that the byte order can be changed using FORMat:BORDer) plus as an end sentinel of the block. The REAL format is likely to be required only for FAST mode as it reduces the amount of bus traffic.
1 Power Meter Remote Operation Fast Mode In the highest speed setting, the limiting factor tends to be the speed of the controller being used to retrieve results from the power meter, and to a certain extent, the volume of remote traffic. The latter can be reduced using the FORMat REAL command to return results in binary format.
Power Meter Remote Operation 1 How Measurements are Calculated Figure 1- 6 details how measurements are calculated. It shows the order in which the various power meter functions are implemented in the measurement calculation. WINDow1 WINDow2 TRACe:DATA? “TRACe1” TRACe:DATA? “TRACe2” CALCulate1 FORMat :LIM :FEED Limits SENSe1 Switch Switch :BAND:VID (B/W) :AVER2 (video averaging) Sensor Video Filter Data Selection :SPEed :POW:AC:RANG :POW:AC:RANG:AUTO:DIR :DET:FUNC Freq. Corr.
1 Power Meter Remote Operation Status Reporting Status reporting is used to monitor the power meter to determine when events have occurred. Status reporting is accomplished by configuring and reading status registers. The power meter has the following main registers: • Status Register • Standard Event Register • Operation Status Register • Questionable Status Register • Device Status Register There are other registers that exist “behind” the main registers, and are described later in this chapter.
Power Meter Remote Operation Bit 0 0 Bit 1 1 Bit 2 2 Transition Filter Event Register Enable Register Logical OR Condition Register 1 Summary Bit Bit 3 Figure 1-7 Generalized Status Register Model When a status group is implemented in an instrument, it always contains all of the component registers. However, there is not always a corresponding command to read or write to every register.
1 Power Meter Remote Operation Enable Register The enable register specifies the bits in the event register that can generate a summary bit. The instrument logically ANDs corresponding bits in the event and enable registers and ORs all the resulting bits to obtain a summary bit. Enable registers are read- write. Querying an enable register does not affect it.
Power Meter Remote Operation 1 How to Use Register There are two methods to access the information in status groups: • the polling method, or • the service request (SRQ) method. (GPIB mode only) Use the polling method when: • your language/development environment does not support SRQ interrupts. • you want to write a simple, single purpose program and do not want to add the complexity of setting an SRQ handler. Use the SRQ method when you: • need time critical notification of changes.
1 Power Meter Remote Operation For example on measurement polling, refer to Figure B- 16 on page B- 2. The SRQ Method When a bit of the Status Register is set and has been enabled to assert SRQ (*SRE command), the power meter sets the GPIB SRQ line true. This interrupt can be used to interrupt your program, suspending its current operation, and find out what service the power meter requires.
Power Meter Remote Operation 1 Example 1: 10 ! Program to generate an SRQ when a channel A sensor 20 ! connect or disconnect occurs 30 ! 40 ASSIGN @Pm TO 713 ! Power meter GPIB address 50 ON ON INTR 7 GOTO Srq_i! Define service request handler 60 CLEAR @Pm ! Selective device clear 70 OUTPUT @Pm;”*CLS;*RST” ! Clear registers and resetmeter 80 ! 90 ! Configure the device status register so that a sensor 100 ! connect or disconnect on channel A will cause an SRQ.
1 Power Meter Remote Operation 380 END Example 2: 10 ! Program to generate an SRQ when an over limit 20 ! condition occurs. 30 ! 40 ASSIGN @Pm TO 713 ! Power meter GPIB address 50 ON INTR 7 GOTO Srq_i ! Define service request handler 60 CLEAR @Pm ! Selective device clear 70 OUTPUT @Pm;”*CLS” ! Clear registers 80 OUTPUT @Pm;”SYST:PRES” ! Preset meter 90 ! 100 ! Set upper limit to 2dBm and configure the operation status 110 ! so that an over limit condition will cause an SRQ.
Power Meter Remote Operation 360 1 END Status Registers The Status System in the power meter is shown in Figure 1- 9. The 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.
1 Power Meter Remote Operation Device Status Logical OR Error/Event Queue Condition Event Enable Logical OR Questionable Status Event Enable Status Byte Output Queue 0 1 2 QUE MAV ESB RQS/MSS OPR *STB? 0 1 2 QUE MAV ESB X OPR *SRE Logical OR Condition Logical OR Standard Event Event *ESR Enable *ESE Logical OR Operation Status Condition Event Enable Figure 1-9 Status System 58 N1911A/1912A P-Series Power Meters Programming Guide
Power Meter Remote Operation 1 The Status Byte Summary Register The status byte summary register reports conditions from other status registers. Query data waiting in the power meter’s output buffer is immediately reported through the “message available” bit (bit 4). Clearing an event register clears the corresponding bits in the status byte summary register. Reading all messages in the output buffer, including any pending queries, clears the message available bit.
1 Power Meter Remote Operation The status byte enable register (SRE, service request enable) is cleared when you: • cycle the instrument power. • execute a *SRE 0 command. Using *STB? to Read the Status Byte The *STB? (status byte query) command is similar to a serial poll except it is processed like any other power meter command. The *STB? command returns the same result as an IEEE- 488 serial poll except that the request service bit (bit 6) is not cleared if a serial poll has occurred.
Power Meter Remote Operation 1 Bit Number Decimal Value Definition 3 8 Device Error A device error occurred, refer to error numbers 310 to 350 in the user’s guide. 4 16 Execution Error An execution error occurred, refer to error numbers 211 to 241 in the user’s guide. 5 32 Command Error A command syntax error occurred, refer to error numbers 101 to 161 in the user’s guide. 6 64 User request.
1 Power Meter Remote Operation Table 1-7 Bit Definitions - Questionable Status Registers Bit Number Decimal Weight Definition 0 to 2 - Not used 3 8 POWer Summary 4 to 7 - Not used 8 256 CALibration Summary 9 512 Power On Self Test 10 to 14 - Not Used 15 - Not used (always 0) The condition bits are set and cleared under the following conditions: Table 1-8 Bit change conditions for Questionable Status Register 62 Bit Number Meaning EVENts Causing Bit Changes 3 POWer Summary Th
Power Meter Remote Operation Bit Number Meaning EVENts Causing Bit Changes 8 CALibration Summary This is a summary bit for the Questionable CALibration Register. 9 Power On Self Test • SET: These may be caused by CALibration[1|2]:ZERO:AUTO ONCE or CALibration[1|2]:AUTO ONCE or CALibration[1|2][:ALL] or CALibration[1|2][:ALL]?.
1 Power Meter Remote Operation Bit Number Decimal Weight Definition 4 16 MEASuring Summary 5 32 Waiting for TRIGger Summary 6-9 - Not used 10 1024 SENSe Summary 11 2048 Lower Limit Fail Summary 12 4096 Upper Limit Fail Summary 13 to 14 - Not used 15 - Not used (always 0) The condition bits are set and cleared under the following conditions: Table 1-10 Bit change conditions for Operation Status Bit Number Meaning EVENts Causing Bit Changes 0 CALibrating This is a summary bit
Power Meter Remote Operation Bit Number Meaning EVENts Causing Bit Changes 11 Lower Limit Fail This is a summary bit for the Lower Limit Fail Register. 12 Upper Limit Fail • SET: If a measurement is made and either a channel or window lower limit test fails. • CLEARED: If a measurement is made and the lower limit test is not enabled or the test is enabled and passes. 1 This is a summary bit for the Upper Limit Fail Register.
1 Power Meter Remote Operation The condition bits are set and cleared under the following conditions: Table 1-12 Bit change conditions for Device Status Register Bit Number Meaning EVENts Causing Bit Changes 1 Channel A sensor connected • SET: When a power sensor is connected to the Channel A input. • CLEARED: When no power sensor is connected to the Channel A input. Channel B sensor connected • SET: When a power sensor is connected to the Channel B input.
Power Meter Remote Operation 1 Using the Operation Complete Commands The *OPC? and *OPC commands allow you to maintain synchronization between the computer and the power meter. The *OPC? query command places an ASCII character 1 into the power meter’s output queue when all pending power meter commands are complete. If your program reads this response before continuing program execution, you can ensure synchronization between one or more instruments and the computer.
1 Power Meter Remote Operation power meter has finished calibrating. CAL:AUTO ONCE *OPC? MEAS:POW:AC? This example GPIB program, in HP Basic, uses the *OPC command and serial poll to determine when the power meter has finished calibrating. The advantage to using this method over the *OPC? command is that the computer can perform other operations while it is waiting for the power meter to finish calibrating.
Power Meter Remote Operation 1 Saving and Recalling Power Meter Configurations To reduce repeated programming, up to ten power meter configurations can be stored in the power meter’s non- volatile memory. The error list, remote addresses, sensor calibration table data, zeroing and calibration information are not stored.
1 Power Meter Remote Operation Using Device Clear to Halt Measurements Device clear is an IEEE- 488 low- level bus message which can be used to halt measurements in progress. Different programming languages and IEEE- 488 interface cards provide access to this capability through their own unique commands. The status registers, the error queue, and all configuration states are left unchanged when a device clear message is received. Device clear performs the following actions.
Power Meter Remote Operation 1 An Introduction to the SCPI Language Standard Commands for Programmable Instruments (SCPI) defines how you communicate with an instrument from a bus controller. The SCPI language uses a hierarchical structure similar to the file systems used by many bus controllers. The command tree is organized with root- level commands (also called subsystems) positioned at the top, with multiple levels below each root- level command.
1 Power Meter Remote Operation down one level in the present path (for the specified root- level command) of the command tree. You must separate command mnemonics from each other using a colon. You can omit the leading colon if the command is the first of a new program line. Using a Semicolon (;) Use a semicolon to separate two commands within the same command string. The semicolon does not change the present path specified. For example, the following two statements are equivalent.
Power Meter Remote Operation NOTE 1 If you send two query commands without reading the response from the first, then attempt to read the second response, you may receive some data from the first response followed by the complete second response. To avoid this, do not send a query command without reading the response. When you cannot avoid this situation, send a device clear before sending the second query command. Using “*” Commands Commands starting with a “*” are called common commands.
1 Power Meter Remote Operation • Dotted lines indicate an optional path for by passing secondary keywords. • Arrows and curved intersections indicate command path direction. SCPI Data Types The SCPI language defines different data formats for use in program messages and response messages. Instruments are flexible listeners and can accept commands and parameters in various formats. However, SCPI instruments are precise talkers.
Power Meter Remote Operation 1 Definition Not a number (NAN) is represented as 9.91 E37. Not a number is defined in IEEE 754. Definition Throughout this document is used to represent numeric information in bases other than ten (that is, hexadecimal, octal and binary). The following syntax diagram shows the standard for these three data structures. For examples, #HA2F, #ha4e, #Q62, #q15, #B01011.
1 Power Meter Remote Operation A/a B/b H/h C/c D/d E/e F/f 0 1 2 # Q/q 3 4 5 6 7 0 B/b 1 Figure 1-12 Format of Refer to section 7.7.4.1 of IEEE 488.2 for further details. Definition Throughout this document is used to denote a flexible numeric representation. For example: +200; –56; +9.9E36. Refer to section 7.7.2.
Power Meter Remote Operation 1 IEEE 488.2 for further details. Definition Throughout this document numeric response data is defined as: + digit Figure 1-13 Format of For example: • 146 • +146 • –12345 Refer to section 8.7.2 of IEEE 488.2 for further details. Definition Throughout this document numeric response data is defined as: + digit digit Figure 1-14 Format of For example: • 12.3 • +1.2345 • –0.123 Refer to section 8.7.3 of IEEE 488.2 for further details.
1 Power Meter Remote Operation Definition Throughout this document numeric response data is defined as: + digit digit + E digit Figure 1-15 Format of For example: • 1.23E+6 • 123.4E- 54 • –1234.567E+90 Refer to section 8.7.4 of IEEE 488.2 for further details. Definition Throughout this document the decimal numeric element is abbreviated to . For example, , MINimum, MAXimum, DEFault or Not A Number (NAN).
Power Meter Remote Operation 1 The format is defined as: Program Data ' ' ' " " " Response Data " " " Figure 1-16 Format of Input Message Terminators Program messages sent to a SCPI instrument must terminate with a character. The IEEE.
1 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.
Power Meter Remote Operation 1 SCPI Compliance Information The power meter complies with the rules and regulations of the present version of SCPI (Standard Commands for Programmable Instruments). You can determine the SCPI version with which the power meter’s is in compliance by sending the SYSTem:VERSion? command from the remote interface. The following commands are device- specific to the power meter. They are not included in the 1999.0 version of the SCPI standard.
1 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 82 N1911A/1912A P-Series Power Meters Programming Guide
Power Meter Remote Operation 1 Summary of Commands For detail of each SCPI (Standard Commands for Programmable Instruments) command available to program the power meter, refer to later chapters for more details on each command. NOTE This Guide details the commands available for both the N1911A and the N1912A power 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.
1 Power Meter Remote Operation Making Measurements on Wireless Communication Standards The following sections describe typical measurements you may want to make. They are also described, for front panel operation, in the user’s guide. The optimum method of measuring these Wireless Communication Standards is to use the SYSTem:PRESet command and use one of the following values. • GSM900 - See “GSM900” on page 533 for greater detail. • EDGE - See “EDGE” on page 536 for greater detail.
Power Meter Remote Operation 1 Starting a Preset Example 10 *CLS !Clears error queue 20 *RST !Resets meter settings to their default states 30 :SYST:ERR? !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 85
1 Power Meter Remote Operation THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK.
N1911A/1912A P-Series Power Meters Programming Guide 2 MEASurement Commands MEASurement Commands 89 CONFigure[1] |2|3|4? 94 CONFigure [1] |2|3|4 Commands 97 CONFigure[1]|2|3|4[:SCALar][:POWer:AC] [[,[,]]] 98 CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:RELative [[,[,]]] 100 CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence [[,[,]]] 102 CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence: RELat
2 MEASurement Commands READ[1]|2|3|4[:SCALar][:POWer:AC]? [[,[,]]] 129 READ[1]|2|3|4[:SCALar][:POWer:AC]:RELative? [[,[,]]] 132 READ[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence? [[,[,]]] 135 READ[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence: RELative? [[,[,]]] 138 READ[1]|2|3|4[:SCALar][:POWer:AC]:RATio? [[,[,]]]
MEASurement Commands 2 MEASurement Commands Measurement commands are high level commands used to acquire data. They enable you to trade interchangeability against fine control of the measurement process. Measurement Command Descriptions MEASure? Provides the simplest way to program a power meter for measurements. MEASure? is a compound command which is equivalent to an ABORT followed by a CONFigure and a READ?. It does not enable much flexibility or control over measurement settings.
2 MEASurement Commands CONfigure1? upper window/upper measurement CONFigure3? upper window/lower measurement CONFigure2? lower window/upper measurement CONFigure4? lower window/lower measurement Figure 2-17 Measurement Display CALCulate Block Window Optional Parameters CONFigure, FETCh?, READ? and MEASure? have the following three optional parameters: • An expected power value • A resolution • A source list Expected Power Value An parameter is only required if you are using an E- Seri
MEASurement Commands 2 Resolution The parameter sets the resolution of the specified window. This parameter does not affect the resolution of the remote data but it does affect the auto averaging setting. Where a channel is set up in both the upper and lower window and the parameter settings for these windows are different, the highest resolution setting is taken to calculate the averaging.
2 MEASurement Commands Keyword Parameter Form Notes Page [ [,[,]]] [no query] page 106 [ [,[,]]] [no query] page 108 [:POWer:AC]? [ [,[,]]] [query only] page 111 :RELative? [ [,[,]]] [query only] page 113 [ [,[,]]] [query only] [ [,[,]]] [quer
MEASurement Commands Keyword Parameter Form Notes Page [ [,[,]]] [query only] page 144 [:POWer:AC]? [ [,[,]]] [query only] page 148 :RELative? [ [,[,]]] [query only] page 150 :DIFFerence? [ [,[,]]] [query only] [ [,[,]]] [query only] [ [,[,]]]
2 MEASurement Commands CONFigure[1] |2|3|4? This query returns the present configuration of the specified window/measurement. Syntax CONF 1 ? 2 3 4 The string returned depends on the setting of the CALCulate:MATH and CALCulate:RELative:STATe commands.
MEASurement Commands 2 CALCulate:MATH CALCulate:RE Lative: STATe Function (SENSe2 - SENSe2)* ON :POW:AC:DIFF:REL (@2),(@2) (SENSe2 / SENSe1)* OFF :POW:AC:RAT (@1),(@2) (SENSe2 / SENSe1)* OFF :POW:AC:RAT (@2),(@1) (SENSe1 / SENSe2)* ON :POW:AC:RAT:REL (@1),(@2) (SENSe2 / SENSe1)* ON :POW:AC:RAT:REL (@2),(@1) (SENSe1/SENSe1) OFF POW:AC:RAT (@1),(@1) (SENSe2/SENSe2)* OFF POW:AC:RAT (@2),(@2) (SENSe1/SENSe1) ON POW:AC:RAT:REL (@1),(@1) (SENSe2/SENSe2)* ON PO
2 MEASurement Commands 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.
MEASurement Commands 2 CONFigure [1] |2|3|4 Commands The CONFigure commands are used on the specified window/measurement to set: • The expected power level being measured. • The resolution of the window/measurement. • The channel(s) on which the measurement is to be made. The CONFigure commands do not make the power measurement after setting the configuration. Use READ?, or alternatively use INITiate followed by a FETCh? to make the measurement.
2 MEASurement Commands CONFigure[1]|2|3|4[:SCALar][:POWer:AC] [[,[,]]] This command is used on the specified window/measurement to set: • The expected power level of the measurement. • The resolution of the window/measurement. • The channel on which the measurement will be made.
MEASurement Commands Item Description/Default Range of Values source list The channel which the command is implemented on. If unspecified the current window setup is used. However, on the N1912A, if the window shows a ratio or difference measurement, the upper window defaults to Channel A and the lower window to Channel B. (@1) (@2)3 2 1 The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in the command sub-systems.
2 MEASurement Commands CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:RELative [[,[,]]] This command sets the measurement function, range and resolution of the specified window. It sets the measurement function to single channel with relative mode on. The relative value used is that set by the CALCulate:RELative:MAGNitude:AUTO command.
MEASurement Commands Item Description/Default Range of Values source list The channel which the command is implemented on. If unspecified the current window setup is used. However, on the N1912A, if the window shows a ratio or difference measurement, the upper window defaults to Channel A and the lower window to Channel B. (@1) 2 (@2)3 1 The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in the command sub-systems.
2 MEASurement Commands CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence [[,[,]]] This command sets the measurement function and resolution of the specified window. It sets the measurement function to difference with relative mode off. Syntax CONF 1 :SCAL :DIFF :AC :POW 2 3 Space expected_value , 4 DEF resolution , source list DEF Parameters Refer to “Optional Parameters” on page 90 for additional details on the parameters in this command.
MEASurement Commands Item Description/Default Range of Values source list This channel list specifies between which channels the difference is calculated. If unspecified and the current window setup is a difference measurement then this difference setup is used, otherwise it defaults to Channel A-B (N1912A) or A-A (N1911A). (@1),(@2)3 (@2),(@1)3 (@1),(@1) (@2),(@2)3 2 1 The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in the command sub-systems.
2 MEASurement Commands CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence: RELative [[,[,]]] This command sets the measurement function, range and resolution of the specified window. It sets the measurement function to difference with relative mode on. The relative value used is set by the CALCulate:RELative:MAGNitude:AUTO command.
MEASurement Commands Item Description/Default Range of Values source list This channel list specifies the channels used to calculate the difference. (@1),(@2)3 (@2),(@1)3 (@1),(@1) (@2),(@2)3 If unspecified and the current window setup is a difference measurement then this difference setup is used, otherwise it defaults to Channel A-B (N1912A) or A-A (N1911A). 2 1 The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in the command sub-systems.
2 MEASurement Commands CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:RATio [[,[,]]] This command sets the measurement function, range and resolution of the specified window. It sets the measurement function to ratio with relative mode off. Syntax CONF 1 :SCAL :AC :POW :RAT 2 3 Space expected_value , resolution 4 DEF , source list DEF Parameters Refer to “Optional Parameters” on page 90 for additional details on the parameters in this command.
MEASurement Commands Item Description/Default Range of Values source list This channel list specifies the channels used to calculate the ratio. If unspecified and the current window setup is a ratio measurement then this ratio setup is used, otherwise it defaults to Channel A/B (N1912A) or A/A (N1911A). (@1),(@2)3 (@2),(@1)3 (@1),(@1) (@2),(@2)3 2 1 The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in the command sub-systems.
2 MEASurement Commands CONFigure[1]|2|3|4[:SCALar][:POWer:AC]:RATio: RELative[[,[,]]] This command sets the measurement function, range and resolution of the specified window. It sets the measurement function to ratio with relative mode on. The relative value used is that set by the CALCulate:RELative:MAGNitude:AUTO command.
MEASurement Commands Item Description/Default Range of Values source list This channel list specifies the channels used to calculate the ratio. (@1),(@2)3 (@2),(@1)3 (@1),(@1) (@2),(@2)3 If unspecified and the current window setup is a ratio measurement then this ratio setup is used, otherwise it defaults to Channel A/B (N1912A) or A/A (N1911A). 2 1 The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in the command sub-systems.
2 MEASurement Commands FETCh[1]|2|3|4 Queries The FETCh? queries set the specified window’s measurement function. This can be set to either single channel, difference or ratio measurements, with relative mode either off or on. They then recalculate the measurement and place the result on the bus. The format of the result is set by FORM[:READ][:DATA]. Refer to Chapter 6, “FORMat Subsystem,” on page 249 for further information. The query returns a measurement result when it is valid.
MEASurement Commands 2 FETCh[1]|2|3|4[:SCALar][:POWer:AC]? [[,[,]]] This command sets the specified window’s measurement function to single channel with relative mode off, recalculates the measurement and places the result on the bus. The result is a power based measurement and is expressed in the units defined by UNIT[1]|2|3|4:POWer.
2 MEASurement Commands Item Description/Default Range of Values resolution A numeric value for the resolution. If it is unspecified the current resolution setting is used. If a value is entered it should correspond to the current resolution setting otherwise an error occurs. 1 to 42 1.0, 0.1, 0.01, 0.001 DEF1 source list The channel which the command is implemented on. If unspecified the current window setup is used.
MEASurement Commands 2 FETCh[1]|2|3|4[:SCALar][:POWer:AC]:RELative? [[,[,]]] This command sets the specified window’s measurement function to single channel with relative mode on, recalculates the measurement and places the results on the bus. The result is a ratio based measurement and is expressed in the units defined by UNIT[1]|2|3|4:POWer:RATio. The relative value used is that set by the CALCulate:RELative:MAGNitude:AUTO command.
2 MEASurement Commands Item Description/Default Range of Values resolution A numeric value for the resolution. If it is unspecified the current resolution setting is used. If a value is entered it should correspond to the current resolution setting otherwise an error occurs. 1 to 42 1.0, 0.1, 0.01, 0.001 DEF1 source list The channel which the command is implemented on. If unspecified the current window setup is used.
MEASurement Commands 2 • If the expected_value and resolution parameters are not the same as the current expected value and resolution settings on the specified window, error –221, “Settings conflict” occurs.
2 MEASurement Commands FETCh[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence? [[,[,]]] This command sets the specified window’s measurement function to power difference with relative mode off, recalculates the measurement and places the results on the bus. The result is a power based measurement and is expressed in the units defined by UNIT[1]|2|3|4:POWer.
MEASurement Commands Item Description/Default Range of Values resolution A numeric value for the resolution. If it is unspecified the current resolution setting is used. If a value is entered it should correspond to the current resolution setting otherwise an error occurs. 1 to 42 1.0, 0.1, 0.01, 0.001 DEF1 source list This channel list specifies the channels used to calculate the difference.
2 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.
MEASurement Commands 2 FETCh[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence: RELative? [[,[,]]] This command sets the specified window’s measurement function to power difference with relative mode on, recalculates the measurement and places the results on the bus. The result is a ratio based measurement and is expressed in the units defined by UNIT[1]|2|3|4:POWer:RATio. The relative value used is that set by the CALCulate:RELative:MAGNitude:AUTO command.
2 MEASurement Commands Item Description/Default Range of Values resolution A numeric value for the resolution. If it is unspecified the current resolution setting is used. If a value is entered it should correspond to the current resolution setting otherwise an error occurs. 1 to 42 1.0, 0.1, 0.01, 0.001 DEF1 source list This channel list specifies the channels used to calculate the difference.
MEASurement Commands 2 “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. • If the expected_value and resolution parameters are not the same as the current expected value and resolution settings on the specified window, error –221, “Settings conflict” occurs.
2 MEASurement Commands FETCh[1]|2|3|4[:SCALar][:POWer:AC]:RATio? [[,[,]]] This command sets the specified window’s measurement function to power ratio with relative mode off, recalculates the measurement and places the results on the bus. The result is a ratio based measurement and is expressed in the units defined by UNIT[1]|2|3|4:POWer:RATio.
MEASurement Commands Item Description/Default Range of Values resolution A numeric value for the resolution. If it is unspecified the current resolution setting is used. If a value is entered it should correspond to the current resolution setting otherwise an error occurs. 1 to 42 1.0, 0.1, 0.01, 0.001 DEF1 source list This channel list specifies the channels used to calculate the ratio.
2 MEASurement Commands Example FETC2: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. Error Messages • 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.
MEASurement Commands 2 FETCh[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative? [[,[,]]] This command sets the specified window’s measurement function to power ratio with relative mode on, recalculates the measurement and places the results on the bus. The result is a ratio based measurement and is expressed in the units defined by UNIT[1]|2|3|4:POWer:RATio. The relative value used is that set by the CALCulate:RELative:MAGNitude:AUTO command.
2 MEASurement Commands Item Description/Default Range of Values resolution A numeric value for the resolution. If it is unspecified the current resolution setting is used. If a value is entered it should correspond to the current resolution setting otherwise an error occurs. 1 to 42 1.0, 0.1, 0.01, 0.001 DEF1 source list This channel list specifies the channels used to calculate the ratio.
MEASurement Commands 2 • If the expected_value and resolution parameters are not the same as the current expected value and resolution settings on the specified window, error –221, “Settings conflict” occurs.
2 MEASurement Commands READ[1]|2|3|4 Commands The READ? commands are most commonly used with the CONFigure command to cause a new power measurement to be taken and the result returned to the output buffer. The format of the result is set by FORM[:READ][:DATA]. Refer to Chapter 6, “FORMat Subsystem,” on page 249 for further information.
MEASurement Commands 2 READ[1]|2|3|4[:SCALar][:POWer:AC]? [[,[,]]] This command sets the specified window’s measurement function to single channel with relative mode off, aborts then initiates the specified channel, calculates the measurement result and places the result on the bus. The result is a power based measurement and is expressed in the units defined by UNIT[1]|2|3|4:POWer.
2 MEASurement Commands Item Description/Default Range of Values resolution A numeric value for the resolution. If it is unspecified the current resolution setting is used. If a value is entered it should correspond to the current resolution setting otherwise an error occurs. 1 to 42 1.0, 0.1, 0.01, 0.001 DEF1 source list The channel which the command is implemented on. If unspecified the current window setup is used.
MEASurement Commands 2 • If the expected value and resolution parameters are not the same as the current expected value and resolution settings on the specified window, error –221, “Settings conflict” occurs.
2 MEASurement Commands READ[1]|2|3|4[:SCALar][:POWer:AC]:RELative? [[,[,]]] This command sets the specified window’s measurement function to single channel with relative mode on, aborts then initiates the specified channel, calculates the measurement result and places the result on the bus. The result is a ratio based measurement and is expressed in the units defined by UNIT[1]|2|3|4:POWer:RATio.
MEASurement Commands 2 Parameters Refer to “Optional Parameters” on page 90 for additional details on the parameters in this command. Item Description/Default Range of Values expected_value (for the expected power level) The expected power level parameter can be set to DEF or a numeric value. If a value is entered it should correspond to that set by CONFigure otherwise an error occurs. sensor dependent DEF1 resolution A numeric value for the resolution.
2 MEASurement Commands Example READ1:REL? DEF,1,(@2) This command queries the upper window/upper measurement relative measurement of Channel B, using the current sensor range and a resolution of 1. 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.
MEASurement Commands 2 READ[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence? [[,[,]]] This command sets the specified window’s measurement function to difference mode with relative mode off, aborts then initiates both Channel A and B, calculates the difference measurement result and places the result on the bus. The result is a power based measurement and is expressed in the units defined by UNIT[1]|2|3|4:POWer.
2 MEASurement Commands Item Description/Default Range of Values resolution A numeric value for the resolution. If it is unspecified the current resolution setting is used. If a value is entered it should correspond to the current resolution setting otherwise an error occurs. 1 to 42 1.0, 0.1, 0.01, 0.001 DEF1 source list This channel list specifies the channels used to calculate the difference.
MEASurement Commands 2 • If the resolution parameter is not the same as the current resolution setting on the specified window, error –221, “Settings conflict” occurs.
2 MEASurement Commands READ[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence: RELative? [[,[,]]] This command sets the specified window’s measurement function to difference mode with relative mode on, aborts then initiates both Channel A and B, calculates the difference measurement result and places the result on the bus. The result is a ratio based measurement and is expressed in the units defined by UNIT[1]|2|3|4:POWer:RATio.
MEASurement Commands 2 Parameters Refer to “Optional Parameters” on page 90 for additional details on the parameters in this command. Item Description/Default Range of Values expected_value (for the expected power level) The power meter ignores the numeric value entered in this parameter. Any value entered is treated like DEF. sensor dependent DEF1 resolution A numeric value for the resolution. If it is unspecified the current resolution setting is used.
2 MEASurement Commands Example READ1:DIFF:REL? DEF,4,(@2),(@1) This command queries the upper window/upper measurement relative difference measurement of Channel B - Channel A, using the current sensor range and a resolution setting of 4 on both channels. 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.
MEASurement Commands 2 READ[1]|2|3|4[:SCALar][:POWer:AC]:RATio? [[,[,]]] This command sets the specified window’s measurement function to ratio mode with relative mode off, aborts then initiates both Channel A and B, calculates the ratio measurement result and places the result on the bus. The result is a ratio based measurement and is expressed in the units defined by UNIT[1]|2|3|4:POWer:RATio.
2 MEASurement Commands Item Description/Default Range of Values resolution A numeric value for the resolution. If it is unspecified the current resolution setting is used. If a value is entered it should correspond to the current resolution setting otherwise an error occurs. 1 to 42 1.0, 0.1, 0.01, 0.001 DEF1 source list This channel list specifies the channels used to calculate the ratio.
MEASurement Commands 2 • If TRIGger:SOURce is set to BUS or HOLD on either channel, error –214, “Trigger deadlock” occurs. • If the resolution parameter is not the same as the current resolution setting on the specified window, error –221, “Settings conflict” occurs.
2 MEASurement Commands READ[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative? [[,[,]]] This command sets the specified window’s measurement function to ratio mode with relative mode on, aborts then initiates both Channel A and B, calculates the ratio measurement result using the new sensor data and places the result on the bus. The result is a ratio based measurement and is expressed in the units defined by UNIT[1]|2|3|4:POWer:RATio.
MEASurement Commands 2 Parameters Refer to “Optional Parameters” on page 90 for additional details on the parameters in this command. Item Description/Default Range of Values expected_value (for the expected power level) The power meter ignores the numeric value entered in this parameter. Any value entered is treated like DEF. sensor dependent DEF1 resolution A numeric value for the resolution. If it is unspecified the current resolution setting is used.
2 MEASurement Commands Example READ:RAT:REL? This command queries the relative ratio measurement on the upper window/upper measurement. 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. • If the resolution parameter is not the same as the current resolution setting on the specified window, error –221, “Settings conflict” occurs.
MEASurement Commands 2 MEASure[1]|2|3|4 Commands The MEASure? commands configure the power meter to perform a power measurement with the given measurement function, relative mode setting, range and resolution then makes the measurement. The format of the result is set by FORM[:READ][:DATA]. Refer to Chapter 6, “FORMat Subsystem,” on page 249 for further information.
2 MEASurement Commands MEASure[1]|2|3|4[:SCALar][:POWer:AC]? [[,[,]]] This command sets the specified window’s measurement function to single channel with relative mode off, aborts, configures the window then initiates Channel A or B, calculates the measurement result and places the result on the bus.
MEASurement Commands Item Description/Default Range of Values source list The channel which the command is implemented on. If unspecified the current window setup is used. However, on the N1912A, if the window shows a ratio or difference measurement, the upper window defaults to Channel A and the lower window to Channel B. (@1) 2 (@2) (N1912A only) 1 The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in the command sub-systems.
2 MEASurement Commands MEASure[1]|2|3|4[:SCALar][:POWer:AC]:RELative? [[,[,]]] This command sets the specified window’s measurement function to single channel with relative mode on, aborts, configures then initiates the specified channel, calculates the measurement result and places the result on the bus. The result is a ratio based measurement and is expressed in the units defined by UNIT[1]|2|3|4:POWer:RATio.
MEASurement Commands Item Description/Default Range of Values source list The channel which the command is implemented on. If unspecified the current window setup is used. However, on the N1912A, if the window shows a ratio or difference measurement, the upper window defaults to Channel A and the lower window to Channel B. (@1) 2 (@2) (N1912A only) 1 The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in the command sub-systems.
2 MEASurement Commands MEASure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence? [[,[,]]] This command applies to the N1912A power meter only, as it needs two measurement channels to make sense. This command sets the specified window’s measurement function to difference mode with relative mode off, aborts, configures then initiates both Channel A and B, calculates the difference measurement result and places the result on the bus.
MEASurement Commands Item Description/Default Range of Values resolution A numeric value for the resolution. If unspecified the current resolution setting is used. 1 to 42 1.0, 0.1, 0.01, 0.001 DEF1 source list This channel list specifies the channels used to calculate the difference. If unspecified and the current window setup is a difference measurement then this difference setup is used, otherwise it defaults to Channel A-B (N1912A) or A-A (N1911A).
2 MEASurement Commands MEASure[1]|2|3|4[:SCALar][:POWer:AC]:DIFFerence: RELative? [[,[,]]] This command sets the specified window’s measurement function to difference mode with relative mode on, aborts, configures then initiates both Channel A and B, calculates the difference measurement result and places the result on the bus. The result is a ratio based measurement and is expressed in the units defined by UNIT[1]|2|3|4:POWer:RATio.
MEASurement Commands Item Description/Default Range of Values source list This channel list specifies the channels used to calculate the difference. If unspecified and the current window setup is a difference measurement then this difference setup is used, otherwise it defaults to Channel A-B (N1912A) or A-A (N1911A). (@1),(@2)3 (@2),(@1)3 (@1),(@1) (@2),(@2)3 2 1 The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in the command sub-systems.
2 MEASurement Commands MEASure[1]|2|3|4[:SCALar][:POWer:AC]:RATio? [[,[,]]] This command sets the specified window’s measurement function to ratio mode with relative mode off, aborts, configures then initiates both Channel A and B, calculates the ratio measurement result and places the result on the bus. The result is a ratio based measurement and is expressed in the units defined by UNIT[1]|2|3|4:POWer:RATio.
MEASurement Commands Item Description/Default Range of Values source list This channel list specifies the channels used to calculate the ratio. If unspecified and the current window setup is a ratio measurement then this ratio setup is used, otherwise it defaults to Channel A/B (N1912A) or A/A (N1911A). (@1),(@2)3 (@2),(@1)3 (@1),(@1) (@2),(@2)3 2 1 The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in the command sub-systems.
2 MEASurement Commands MEASure[1]|2|3|4[:SCALar][:POWer:AC]:RATio:RELative? [[,[,]]] This command sets the specified window’s measurement function to ratio mode with relative mode on, aborts, configures then initiates both Channel A and B, calculates the ratio measurement and places the result on the bus. The result is a ratio based measurement and is expressed in the units defined by UNIT[1]|2|3|4:POWer:RATio.
MEASurement Commands Item Description/Default Range of Values source list This channel list specifies the channels used to calculate the ratio. If unspecified and the current window setup is a ratio measurement then this ratio setup is used, otherwise it defaults to Channel A/B (N1912A) or A/A (N1911A). (@1),(@2)3 (@2),(@1)3 (@1),(@1) (@2),(@2)3 2 1 The mnemonic DEF means DEFault. This is not equivalent to the DEFault parameter used in the command sub-systems.
2 MEASurement Commands THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK.
N1911A/1912A P-Series Power Meters Programming Guide 3 CALCulate Subsystem CALCulate Subsystem 162 CALCulate[1]|2|3|4:FEED[1]|2 165 CALCulate[1]|2|3|4:GAIN Commands 168 CALCulate[1]|2|3|4:GAIN[:MAGNitude] 169 CALCulate[1]|2|3|4:GAIN:STATe 171 CALCulate[1]|2|3|4:LIMit Commands 173 CALCulate[1]|2|3|4:LIMit:CLEar:AUTo |ONCE 174 CALCulate[1]|2|3|4:LIMit:CLEar[:IMMediate] 176 CALCulate[1]|2|3|4:LIMit:FAIL? 177 CALCulate[1]|2|3|4:LIMit:FCOunt? 178 CALCulate[1]|2|3|4:LI
3 CALCulate Subsystem CALCulate Subsystem The CALCulate subsystem performs post acquisition data processing. Functions in the SENSe subsystem are related to data acquisition, while the CALCulate subsystem operates on the data acquired by a SENSe function. There are four independent CALCulate blocks in the power meter: two for each window, as shown in Figure 3- 18. The numeric suffix of the CALCulate command determines which CALCulate block is used and where the measurement result is displayed.
CALCulate Subsystem 3 CALCulate Block SENSe1: Peak or Avg Input from SENSe1 block :FEED FEED1 :MATH A “A” | “B” “A-A” | “A/A” “B-B” | “B/B” SENSe2: Peak or Avg Input from SENSe2 block (N1912A only) FEED2 B :GAIN :REL “A-B” | “A/B” “B-A” | “B/A” Figure 3-19 CALCulate Block N1911A/1912A P-Series Power Meters Programming Guide 163
3 CALCulate Subsystem Keyword Parameter Form Notes Page CALCulate[1]|2|3|4 page 165 [:MAGNitude] page 169 :STATe page 171 |ONCE page 174 :FEED[1]|2 :GAIN :LIMit :CLEar :AUTO page 176 [:IMMediate] :FAIL? [query only] page 177 :FCOunt? [query only] page 178 :LOWer [:DATA] page 180 page 183 page 186 page 189 :UPPer [:DATA] :STATe :MATH [:EXPRession] :CATalog? [query only] page
CALCulate Subsystem 3 CALCulate[1]|2|3|4:FEED[1]|2 This command sets the input measurement mode to be fed to the specified input on the CALC block. It is applied to the measurement after the CALC:MATH:EXPR command has been used to specify which channel the feed is taken from. Measurement modes are coupled for combination measurements (for example, ratio measurements). For example, if one feed is changed to PTAV, the other is automatically changed to PTAV.
3 CALCulate Subsystem Parameters Item Description Range of Values string The input measurement type to be fed to the specific input on the CALC block: “POW:PEAK” “POW:PTAV” “POW:AVER” “POW:MIN” • PEAK: peak power • PTAV: peak to average • AVER: average • MIN: minimum power Values may be followed by ON SWEEP[1]|2|3|4 where the numeric specifies the gate to be used for the feed. For example: “POW:PEAK ON SWEEP2”. If ON SWEEP[1]|2|3|4 is not supplied, the gate used is left unchanged.
CALCulate Subsystem 3 Query CALCulate[1]|2|3|4:FEED[1]2? The query returns the current value of the string. Query Example CALC1:FEED2? This command queries the current setting of the data_handle on FEED2 of the upper window/upper measurement. Error Message • If the command is used when no sensor is attached, error –241 “Hardware missing” occurs.
3 CALCulate Subsystem CALCulate[1]|2|3|4:GAIN Commands 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.
CALCulate Subsystem 3 CALCulate[1]|2|3|4:GAIN[:MAGNitude] This command is used to enter a value for the display offset on the specified window/measurement. The display offset is applied to the measurement signal after any math calculation. Entering a value using this command automatically turns the CALCulate[1]|2|3|4:GAIN:STATe command to ON.
3 CALCulate Subsystem Example CALC2:GAIN 20 This command enters a display offset of 20 dB to the lower window/lower measurement. Reset Condition On reset, the display offset is set to 0 dB (DEF). Query CALCulate[1]|2|3|4:GAIN[:MAGNitude]? [MIN|MAX] The query returns the current setting of the display offset or the value associated with MIN and MAX. Query Example CALC1:GAIN? This command queries the current setting of the display offset on the upper window/upper measurement.
CALCulate Subsystem 3 CALCulate[1]|2|3|4:GAIN:STATe This command is used on the specified window/measurement to enable and disable the display offset set by the CALCulate[1]|2|3|4:GAIN[:MAGNitude] command. Syntax CALC 1 :GAIN :STAT Space 0|OFF 2 1|ON 3 ? 4 Example CALC2:GAIN:STAT 1 This command enables the display offset for the lower window/ upper measurement. Reset Condition On reset, the gain is disabled.
3 CALCulate Subsystem • 0 is returned when the display offset feature is disabled Query Example CALC1:GAIN:STAT? This command queries whether the 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.
CALCulate Subsystem 3 CALCulate[1]|2|3|4:LIMit Commands These commands set the limits on both the upper and lower windows/measurements enabling you to: • Set upper and lower level limits • 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 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
3 CALCulate Subsystem CALCulate[1]|2|3|4:LIMit:CLEar:AUTo |ONCE This command controls when the FCO (fail counter) is cleared of any limit failures. The FCO is used to determine the results returned by the CALCulate[1]|2|3|4:LIMit:FAIL? query.
CALCulate Subsystem 3 Example CALC1:LIM:CLE:AUTO 1 This command switches on automatic clearing of the FCO for the upper window/upper measurement. Reset Condition On reset, both windows and their measurements are set to ON. Query CALCulate[1]|2|3|4:LIMit:CLEar:AUTO? The query command enters a 1 or 0 into the output buffer indicating whether limit failures are cleared automatically when a new measurement is initiated on the specified window section.
3 CALCulate Subsystem CALCulate[1]|2|3|4:LIMit:CLEar[:IMMediate] This command immediately clears the FCO (fail counter) of any limit failures for the specified window. The FCO is used to determine the results returned by the CALCulate[1]|2|3|4:LIMit:FAIL? query. Syntax CALC 1 :LIM :CLE :IMM 2 3 4 Example CALC2:LIM:CLE:IMM 176 This command clears the FCO for the lower window/upper measurement.
CALCulate Subsystem 3 CALCulate[1]|2|3|4:LIMit:FAIL? This query enters a 1 or 0 into the output buffer indicating whether there have been any limit failures for the specified window. A limit failure is defined as CALC[1]|2|3|4:LIMit:FCO? being non- zero. The FCO (fail counter) can be zeroed using the CALC[1]|2|3|4:LIMit:CLEar command.
3 CALCulate Subsystem CALCulate[1]|2|3|4:LIMit:FCOunt? This query returns the total number of limit failures for the specified window/measurement. If the appropriate STATe commands are set to ON, each time a measurement is initiated on the specified window/measurement and the result is outside the limits, the counter is incremented by one. If the measured value is equal to a limit, this is a limit pass.
CALCulate Subsystem 3 Syntax CALC 1 :LIM :FCO ? 2 3 4 Example CALC1:LIM:FCO? This command queries the number of 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.
3 CALCulate Subsystem CALCulate[1]|2|3|4:LIMit:LOWer[:DATA] This command enters a value for the lower test limit for the specified window/measurement used in the CALCulate[1]|2|3|4:LIMit:FAIL? test. The units used are dependent on the current setting of UNIT:POWer and CALCulate:RELative:STATe as shown in Table 3- 13. When the measured value is less than the value specified in CALCulate[1]|2|3|4:LIMit:LOWer[:DATA], CALCulate[1]|2|3|4:LIMit:FAIL? reports a fail.
CALCulate Subsystem 3 Parameters Item Description/Default Range of Values numeric_value A numeric value for the lower test limit: –150 to +230 dBm or • DEF: the default is –90.00 dBm or –90 db –180 to +200 dB • MIN: –150 dBm or –180 dB MIN • MAX: +230 dBm or +200 dB MAX DEF Example CALC2:LIM:LOW:DATA 0.1 This command enters a lower limit for the lower window/upper measurement depending on the window’s units as follows: dBm = 0.1 dBm W = 100 mW dB = 0.1 dB % = 0.
3 CALCulate Subsystem Query Example CALC2:LIM:LOW:DATA? 182 This command queries the lower limit set for the lower window upper measurement.
CALCulate Subsystem 3 CALCulate[1]|2|3|4:LIMit:UPPer[:DATA] This command enters a value for the upper test limit for the specified window/measurement used in the CALCulate[1]|2|3|4:LIMit :FAIL? test. The units used are dependent on the current setting of UNIT:POWer and CALCulate:RELative:STATe as shown in Table 3- 14. When the measured power is greater than the value specified in CALCulate[1]|2|3|4:LIMit:UPPer[:DATA], CALCulate[1]|2|3|4:LIMit:FAIL? reports a fail.
3 CALCulate Subsystem Parameters Item Description/Default Range of Values numeric_value A numeric value for the lower test limit: –150 to +230 dBm or • DEF: the default is –90.
CALCulate Subsystem 3 Query Example CALC2:LIM:UPP:DATA? This command queries the setting of the 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.
3 CALCulate Subsystem CALCulate[1]|2|3|4:LIMit:STATe This command enables/disables the test limits for the specified window. Syntax CALC 1 :LIM :STAT Space 0|OFF 1|ON 2 ? 3 4 Example CALC2:LIM:STAT 1 This command enables the limit checking function for the lower window upper measurement. Reset Condition On reset, limit checking is disabled.
CALCulate Subsystem 3 Query Example CALC1:LIM:STAT? This command queries whether the limit 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.
3 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] CALCulate[1]|2|3|4:MATH[:EXPRession]:CATalog? 188 N1911A/1912A P-Series Power Meters Programming Guide
CALCulate Subsystem 3 CALCulate[1]|2|3|4:MATH[:EXPRession] This command sets the specified window/measurement to a single channel, difference or ratio measurement. The command may result in a change to the measurement mode set by CALC:FEED .
3 CALCulate Subsystem Parameters Item Description/Default Range of Values string A single string value detailing the measurement type: “(SENS1)”1 “(SENS2)”1,2 “(SENS1–SENS1)”1,3 “(SENS2–SENS2)”1,2,3 “(SENS1/SENS1)”1 “(SENS2/SENS2)”1,2 “(SENS1–SENS2)”1,2,3 “(SENS2–SENS1)”1,2,3 “(SENS1/SENS2)”1,2 “(SENS2/SENS1)”1,2 • For the Agilent N1911A the default is SENS1. • For the Agilent N1912A the default is SENS1 if the upper window is selected, or SENS2 if the lower window is selected.
CALCulate Subsystem 3 Query CALCulate[1]|2|3|4:MATH[:EXPRession]? The query returns the current math measurement setting on the specified window. Query Example CALC1:MATH? This command queries the current setting of the math expression on the upper window/upper measurement. Error Messages • For the single channel N1911A power meter: if is not set to “(SENS1)” while SENSe:SPEed is set to 200, error –221, “Settings Conflict” occurs.
3 CALCulate Subsystem 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.
CALCulate Subsystem 3 CALCulate[1]|2|3|4:PHOLd:CLEar This command clears the peak hold value for a specified CALC block so that a new peak hold value can be set. NOTE Clearing the peak hold value for a specified CALC block may affect the peak hold value of other CALC blocks, depending on the CALC channel set up (set by CALC:MATH:EXPR). Syntax CALC 1 :PHOL :CLE 2 3 4 Example CALC2:PHOLd:CLEar This command clears the peak hold value for CALC2.
3 CALCulate Subsystem CALCulate[1]|2|3|4:RELative Commands 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.
CALCulate Subsystem 3 CALCulate[1]|2|3|4:RELative[:MAGNitude]:AUTO |ONCE This command sets the reference value to be used in the relative measurement. Within the CALCulate block the relative value is applied to the measurement signal after any math calculations and display offsets have been applied. The value should be set to ONCE to set the reference value to be used in relative measurements.
3 CALCulate Subsystem Example This command sets a reference value to be used in the relative measurement on the upper window/upper measurement. CALC1:REL:AUTO ONCE Query CALCulate[1]|2|3|4:RELative[:MAGNitude]:AUTO? The query always returns OFF. 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.
CALCulate Subsystem 3 CALCulate[1]|2|3|4:RELative:STATe This command enables/disables relative mode. If the command is: • disabled, the measurement signal remains unchanged. • enabled, the current relative value set by CALCulate:RELative:MAGnitude:AUTO is applied to the measurement signal. Syntax CALC 1 :STAT :REL Space 0|OFF 2 1|ON 3 ? 4 Example CALC1:REL:STAT OFF This command disables the relative mode on the upper window/upper measurement.
3 CALCulate Subsystem The query returns a 1 or 0 into the output buffer. • 1 is returned when relative mode is enabled • 0 is returned when relative mode is disabled Query Example CALC1:REL:STAT? This command queries whether relative mode is off or on for the upper window/upper measurement. Error Message If CALCulate:RELative:STATe is set to ON while SENSe:SPEed is set to 200, error –221, “Settings Conflict” occurs.
N1911A/1912A P-Series Power Meters Programming Guide 4 CALibration Subsystem CALibration Subsystem 200 CALibration[1]|2[:ALL] 202 CALibration[1]|2[:ALL]? 204 CALibration[1]|2:AUTO [ONCE|ON|OFF|0|1] 206 CALibration[1]|2:RCALibration 209 CALibration[1]|2:RCFactor 211 CALibration[1]|2:ZERO:AUTO [ONCE|ON|OFF|0|1] 213 CALibration[1]|2:ZERO:NORMal:AUTO 215 This chapter explains how the CALibration command subsystem is used to zero and calibrate the power meter.
4 CALibration Subsystem CALibration Subsystem The CALibration command subsystem is used to zero and calibrate the power meter. It is also used to set the reference calibration factor for the power sensor which is being used. The numeric suffix of the CALibration command refers to a specific channel: • 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.
CALibration Subsystem Keyword Parameter Form Notes Page [:ALL] [event; no query] page 202 [:ALL]? [event;query] page 204 4 CALibration[1]|2 :AUTO |ONCE :RCALibration :RCFactor page 206 page 209 [non-SCPI] page 211 :ZERO :AUTO |ONCE page 213 page 215 :NORMal :AUTO N1911A/1912A P-Series Power Meters Programming Guide 201
4 CALibration Subsystem CALibration[1]|2[:ALL] NOTE This command is identical to CALibration[1]|2[:ALL]?, however, unlike the query it does not provide a response to indicate whether the calibration has been successful or not. This command causes the power meter to perform a calibration sequence on the specified channel. The command assumes that the power sensor is connected to the POWER REF output.
CALibration Subsystem 4 Syntax CAL 1 :ALL 2 Example CAL1:ALL This command causes the power meter to perform a calibration sequence on Channel A. Error Messages • If the calibration was not carried out successfully the error –231, “Data Questionable; CAL ERROR” occurs. If you are using an N1912A the error message specifies which channel failed calibration. • If zeroing was not carried out successfully the error –231, “Data Questionable; ZERO ERROR” occurs.
4 CALibration Subsystem CALibration[1]|2[:ALL]? NOTE This query is identical to CALibration[1]|2[:ALL], however, unlike the command, it provides a response to indicate whether the calibration has been successful or not. This query causes the power meter to perform a calibration sequence on the specified channel. The query assumes that the power sensor is connected to the POWER REF output.
CALibration Subsystem 4 Syntax CAL 1 :ALL ? 2 Query Example CAL1:ALL? This command causes the power meter to perform a calibration sequence on Channel A and return a result. Error Messages • If the calibration was not carried out successfully the error –231, “Data Questionable; CAL ERROR” occurs. If you are using an N1912A the error message specifies which channel failed calibration. • If zeroing was not carried out successfully the error –231, “Data Questionable; ZERO ERROR” occurs.
4 CALibration Subsystem CALibration[1]|2:AUTO [ONCE|ON|OFF|0|1] This command calibrates the specified channel when enabled. The command assumes that an 8480, E- Series or N8480 Series power sensor is connected to a 1 mW reference signal. 1|ON can only be used with a P- series sensor. When 1|ON is enabled the calibration is updated if the meter’s or sensor’s temperature changes by ±5 oC or the time since last calibration is greater then 1000 minutes.
CALibration Subsystem 4 Syntax CAL 1 :AUTO Space 0|OFF 1|ON 2 ONCE ? Example CAL1:AUTO ONCE This command causes the power meter to perform a calibration on Channel A. Reset Condition On reset, automatic calibration is disabled. NOTE If the command is set to ON when a N1920 is connected, auto cal is enabled. Query CALibration[1]|2:AUTO? The query always returns a value of 0.
4 CALibration Subsystem P- Series power sensor is connected the error –241, “Hardware missing” occurs. • If the calibration was not carried out successfully the error –231, “Data Questionable; CAL 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. • If this command is set to ON and TRIGger[SEQuence[1]|2]:COUNt is set to a value >1, the error –221, “Setting conflict” occurs.
CALibration Subsystem 4 CALibration[1]|2:RCALibration This command enables and disables the zero/cal lockout facility. With the lockout facility enabled the power meter is stopped from making measurements until the connected sensor has been zeroed and calibrated. Syntax CAL 1 :RCAL Space 0|OFF 1|ON 2 ? Example CAL1:RCAL 1 This command enables the zero/cal lockout facility on Channel A. Reset Condition On reset, the state of the zero/cal lockout is unaffected.
4 CALibration Subsystem Query Example CAL1:RCAL? This command queries whether or not the zero/cal lockout facility is enabled for Channel A. Error Messages When CAL[1]|2:RCAL is ON and the sensor currently connected to the appropriate channel (A or B) has not been zeroed and calibrated, then any SCPI command which would normally return a measurement result (for example, FETC?, READ?, MEAS? etc) does not return a result and generates the error –230, “Data corrupt or stale; Please zero and Cal.
CALibration Subsystem 4 CALibration[1]|2:RCFactor This command is used with 8480 Series power sensors or N8480 Series power sensors with Option CFT to set the reference calibration factor of the specified channel. Reference calibration factors can also be set using sensor calibration tables. The power meter uses the most recently set reference calibration factor.
4 CALibration Subsystem Example CAL1:RCF 98 This command enters a reference calibration factor of 98 % to Channel A. Reset Condition On reset, the reference calibration factor is set to 100 %. Query CALibration[1]|2:RCFactor? [MIN|MAX] The query returns the current setting of the reference calibration factor or the values associated with MIN and MAX. Query Example CAL2:RCF? This command queries the reference calibration factor of Channel B.
CALibration Subsystem 4 CALibration[1]|2:ZERO:AUTO [ONCE|ON|OFF|0|1] This command causes the power meter to perform its zeroing routine on the specified channel when enabled. This adjusts the power meter for a zero power reading with no power supplied to the power sensor. 1|ON can only be used with a P- Series sensor. When 1|ON is enabled the the zero is maintained by a combination of on- the- fly zero measurements and temperature compensation.
4 CALibration Subsystem Query CALibration[1]|2:ZERO:AUTO? The query always returns a value of 0. Error Messages • If this command is set to ON and an 8480 Series, E- Series or N8480 Series power sensor is connected the error –241, “Hardware missing” occurs. • 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 zeroing.
CALibration Subsystem 4 CALibration[1]|2:ZERO:NORMal:AUTO This command provides a quick way of zeroing the NORMAL path of an E9320 Series sensor. The average only path is unaffected. This command can only be used to zero an E9320 Series sensor and a P- Series sensor. NOTE The P-Series sensor only has a NORMAL path. Hence, the reason this E9320 Series sensor command is allowed to function.
4 CALibration Subsystem Reset Condition On reset, automatic zeroing is disabled. Query CALibration[1]|2:ZERO:NORMal:AUTO? The query always returns a value of 0. Error Messages • If zeroing was not carried out successfully the error –231, “Data Questionable; ZERO ERROR” occurs. If you are using a dual channel power meter, the error message specifies which channel failed zeroing. • If this command is set to ON the error –224, “Illegal parameter value” occurs.
N1911A/1912A P-Series Power Meters Programming Guide 5 DISPlay Subsystem DISPlay Subsystem 218 DISPlay:ENABle 219 DISPlay:SCReen:FORMat 221 DISPlay[:WINDow[1]|2] Commands 223 DISPlay[:WINDow[1]|2]:ANALog Commands 224 DISPlay[:WINDow[1]|2]:ANALog:LOWer 225 DISPlay[:WINDow[1]|2]:ANALog:UPPer 228 DISPlay[:WINDow[1]|2]:FORMat 231 DISPlay[:WINDow[1]|2]:METer Commands 234 DISPlay[:WINDow[1]|2]:METer:LOWer 235 DISPlay[:WIN
5 DISPlay Subsystem DISPlay Subsystem The DISPlay subsystem is used to control the selection and presentation of the windows used on the power meter’s display.
DISPlay Subsystem 5 DISPlay:ENABle This command is used to enable and disable the display. At power- up the display is always enabled. Syntax DISP :ENAB Space 0|OFF 1|ON ? Example DISP:ENAB 0 This command disables the display. Reset Condition On reset, the display is enabled. Query DISPlay:ENABle? The query returns a 1 or 0 into the output buffer.
5 DISPlay Subsystem Query Example DISP:ENAB? 220 This command queries whether the display is on or off.
DISPlay Subsystem 5 DISPlay:SCReen:FORMat This command sets the display format. Syntax DISP :FORM :SCR Space character_data ? Parameters Item Description/Default Range of Values character_data Sets the display format: WIND EXP FSCR • WINDowed: the windowed format provides two display windows. Each window can display two measurements. • EXPanded: the expanded format provides one display window which can display a single measurement.
5 DISPlay Subsystem Example DISP:SCReen:FORM FSCR This command sets the display format to full screen. Reset Condition On reset, the display format is WIND. Query DISPlay:SCReen:FORMat? The query returns WIND, EXP or FSCR. . Query Example DISP:SCR:FORM? 222 This command queries the display format.
DISPlay Subsystem 5 DISPlay[:WINDow[1]|2] Commands These commands control various characteristics of the display windows. WINDow1 and WINDow2 represent the upper and lower windows respectively.
5 DISPlay Subsystem DISPlay[:WINDow[1]|2]:ANALog Commands These commands control the upper and lower scale limits of the analog meter.
DISPlay Subsystem 5 DISPlay[:WINDow[1]|2]:ANALog:LOWer This command sets the analog meter lower scale limit. NOTE This command has the same purpose as DISPlay[:WINDow[1]|2]:METer:LOWer . The units used are dependent on the current setting of UNIT:POWer and CALCulate:RELative:STATe as shown in Table 5- 15.
5 DISPlay Subsystem Syntax DISP :WIND :ANAL 1 :LOW Space numeric_value DEF 2 MIN MAX ? Space MIN MAX Parameters Item Description/Default Range of Values numeric_value A numeric value for the analog meter lower scale limit: –150 to 230 dBm • DEF: the default is –70 dBm MIN • MIN: –150 dBm MAX • MAX: 230 dBm DEF Units used are determined by the current setting of UNIT:POWer and CALCulate:RELative:STATe as shown in Table 5-15.
DISPlay Subsystem 5 Reset Condition On reset, the value is set to –70 dBm for both windows. Query DISPlay:[WINDow[1]|2]:ANALog:LOW? [MIN|MAX] The query returns the current setting of the analog meter’s lower scale limit, or the value associated with MIN or MAX. The format of the response is . 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- 15.
5 DISPlay Subsystem DISPlay[:WINDow[1]|2]:ANALog:UPPer This command sets the analog meter upper scale limit. NOTE This command has the same purpose as DISPlay[:WINDow[1]|2]:METer:UPPer . The units used are dependent on the current setting of UNIT:POWer and CALCulate:RELative:STATe as shown in Table 5- 16.
DISPlay Subsystem 5 Syntax DISP :WIND :ANAL 1 :UPP Space numeric_value DEF 2 MIN MAX ? Space MIN MAX Parameters Item Description/Default Range of Values numeric_value A numeric value for the analog meter upper scale limit: –150 to 230 dBm • DEF: the default is 20 dBm MIN • MIN: –150 dBm MAX • MAX: 230 dBm DEF Units used are determined by the current setting of UNIT:POWer and CALCulate:RELative:STATe as shown in Table 5-16.
5 DISPlay Subsystem Reset Condition On reset, the upper scale limit is set to 20 dBm. Query DISPlay:[WINDow[1]|2]:ANALog:UPPer? [MIN|MAX] The query returns the current setting of the analog meter’s upper scale limit, or the value associated with MIN or MAX. The format of the response is . 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- 16.
DISPlay Subsystem 5 DISPlay[:WINDow[1]|2]:FORMat This command selects the format of the selected window. Syntax DISP :WIND 1 :FORM Space character_data 2 ? NOTE • This command has the same purpose as DISPlay[:WINDow[1]|2]:ANALog:LOWer . • This command does not allow the setting set to TRACe when either measurement channel (for dual channel) is configured to initiate external trigger buffering.
5 DISPlay Subsystem Parameters Item Description/Default Range of Values character_data Sets the window format: DIGital • ANALog DIGital: sets the window display to digital. This setting is the same as SNUMeric. SNUMeric DNUMeric • ANALog: sets the window display to analog using the currently SELected measurement. • SNUMeric: sets the window display to single numeric. The currently SELected measurement is displayed. This setting is the same as DIGital.
DISPlay Subsystem 5 upper and lower windows are DIGital. Query DISPlay:[WINDow[1]|2]:FORMat? The query returns the current format of the selected window. Query Example DISP:FORM? This command queries the current format of the upper window. Error Messages • If the command is set to TRACe and the selected channel from which TRACe is taken has no sensor connected or has on a sensor other than a P- Series or E9320 power sensor connected, error –241, “Hardware missing” occurs.
5 DISPlay Subsystem DISPlay[:WINDow[1]|2]:METer Commands These commands control the upper and lower scale limits of the analog meter.
DISPlay Subsystem 5 DISPlay[:WINDow[1]|2]:METer:LOWer This command sets the analog meter lower scale limit. NOTE This command has the same purpose as DISPlay[:WINDow[1]|2]:ANALog:LOWer . The units used are dependent on the current setting of UNIT:POWer and CALCulate:RELative:STATe as shown in Table 5- 17.
5 DISPlay Subsystem Syntax DISP :WIND :LOW :MET 1 Space numeric_value DEF 2 MIN MAX ? Space MIN MAX Parameters Item Description/Default Range of Values numeric_value A numeric value for the analog meter lower scale limit: –150 to 230 dBm • DEF: the default is 20 dBm MIN • MIN: –150 dBm MAX • MAX: 230 dBm DEF The default units are defined by UNIT:POWer and CALCulate:RELative:STATe.
DISPlay Subsystem 5 Reset Condition On reset, the lower scale limit is set to –70 dBm. Query DISPlay[:WINDow[1]|2]:METer:LOWer? [MIN|MAX] The query returns the current setting of the analog meter’s lower scale limit or the value associated with MIN and MAX. The format of the response is . 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- 17.
5 DISPlay Subsystem DISPlay[:WINDow[1]|2]:METer:UPPer This command sets the analog meter upper scale limit. NOTE This command has the same purpose as DISPlay[:WINDow[1]|2]:ANALog:UPPer . The units used are dependent on the current setting of UNIT:POWer and CALCulate:RELative:STATe as shown in Table 5- 18.
DISPlay Subsystem 5 Syntax DISP :WIND 1 :MET :UPP Space numeric_value DEF 2 MIN MAX ? Space MIN MAX Parameters Item Description/Default Range of Values numeric_value A numeric value for the analog meter upper scale limit: –150 to 230 dBm • DEF: the default is 20 dBm MIN • MIN: –150 dBm MAX • MAX: 230 dBm DEF Units used are determined by the current setting of UNIT:POWer and CALCulate:RELative:STATe as shown in Table 5-18.
5 DISPlay Subsystem Reset Condition On reset, the upper scale limit is set to 20 dBm. Query DISPlay[:WINDow[1]|2]:METer:UPPer? [MIN|MAX] The query returns the current setting of the analog meter’s upper scale limit or the value associated with MIN and MAX. The format of the response is . The units in which the results are returned is dependent on the current setting of UNIT:POWer and CALCulate:RELative:STATe as shown in the previous table.
DISPlay Subsystem 5 DISPlay[:WINDow[1]|2][:NUMeric[1]|2]:RESolution This command sets the resolution of the measurement result in the specified window.
5 DISPlay Subsystem Example This command sets the lower window’s resolution to four significant digits if the measurement result is linear, or to 0.001 if the measurement result is logarithmic. DISP:WIND2:RES 4 Reset Condition On reset, the resolution is set to 3. Query DISPlay[:WINDow[1]|2]:RESolution? [MIN|MAX] 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 .
DISPlay Subsystem 5 DISPlay[:WINDow[1]|2]:SELect[1]|2 This command is used to select a specific measurement within a specific window. If the second numeric value is not sent, the upper measurement of the relevant window is selected. This command is used to specify which measurement is used for the analog, trace, or single numeric display. Syntax DISP :WIND :SEL 1 2 1 2 ? Example DISP:WIND2:SEL1 This command selects the upper measurement in the lower window.
5 DISPlay Subsystem • 1 is returned if the specified window is selected • 0 is returned if the specified window is not selected Query Example DISP:SEL1? 244 This command queries whether or not the upper measurement in the upper window is selected.
DISPlay Subsystem 5 DISPlay[:WINDow[1]|2]:STATe This command enables/disables the upper or lower window (WINDow1 and WINDow2 respectively) so that the display shows a single window only. The displayed window is presented in expanded format, showing a single measurement only: either the single measurement that was shown on the window, or the currently selected measurement, if two measurements had been shown.
5 DISPlay Subsystem Query DISPlay[:WINDow[1]|2]:STATe? 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 DISP:WIND2:STAT? 246 This command queries whether or not the lower window is displayed.
DISPlay Subsystem 5 DISPlay[:WINDow[1]|2]:TRACe:FEED This command selects which channel’s trace is displayed in the specified window. Syntax DISP :WIND :TRAC 1 :FEED Space character_data 2 Parameters Item Description/Default Range of Values character_data Identifies which channel’s trace is displayed. “SENS1” “SENS2” • SENS1: Channel A • SENS2: Channel B Example DISP:WIND2:TRAC:FEED “SENS1” This command selects Channel A’s trace to be displayed in the lower window.
5 DISPlay Subsystem • 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 DISP:WIND2:TRAC:FEED? 248 This command queries the channel of the trace currently displayed in the lower window.
N1911A/1912A P-Series Power Meters Programming Guide 6 FORMat Subsystem FORMat Subsystem 250 FORMat[:READings]:BORDer 251 FORMat[:READings][:DATA] 253 This chapter explains how the FORMat subsystem is used to set a data format for transferring numeric information.
6 FORMat Subsystem FORMat Subsystem The FORMat subsystem sets a data format for transferring numeric information. This data format is used only for response data by commands that are affected by the FORMat subsystem. The queries affected are: • FETCh? • READ? • MEASure? For the N1912A power meter the same FORMat is used on both channels.
FORMat Subsystem 6 FORMat[:READings]:BORDer This command controls whether the binary data is transferred in normal or swapped Byte ORDer. It is only used when FORMat[:READings][:DATA] is set to REAL. Syntax FORM :READ character_data Space :BORD ? Parameters Item Description/Default Range of Values character_data Byte order of binary data transfer: NORMal SWAPped • NORMal • SWAPped Example FORM:BORD SWAP This command sets the byte order to swapped.
6 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 FORM:BORD? 252 This command queries the current byte order setting.
FORMat Subsystem 6 FORMat[:READings][:DATA] This command sets the data format for transferring numeric information to either ASCii or REAL: • When the format type is ASCii, numeric data is output as ASCII bytes in the format. • When the format type is REAL, numeric data is output as IEEE 754 64 bit floating point numbers in a definite length block. The result is an 8 byte block per number. Each complete block is terminated by a line feed character.
6 FORMat Subsystem Example This command sets the format to REAL. FORM REAL 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 FORM? 254 This command queries the current format setting.
N1911A/1912A P-Series Power Meters Programming Guide 7 MEMory Subsystem MEMory Subsystem 256 MEMory:CATalog Commands 258 MEMory:CATalog[:ALL]? 259 MEMory:CATalog:STATe? 261 MEMory:CATalog:TABLe? 262 MEMory:CLEar Commands 265 MEMory:CLEar[:NAME] 266 MEMory:CLEar:TABLe 268 MEMory:FREE Commands 269 MEMory:FREE[:ALL]? 270 MEMory:FREE:STATe? 271 MEMory:FREE:TABLe? 272 MEMory:NSTates? 273 MEMory:STATe Commands 274 MEMory:STATe:CATalog? 275 MEMory:STATe:DEFine , 276
7 MEMory Subsystem MEMory Subsystem The MEMory command subsystem is used to: • Edit and review sensor calibration tables (8480 Series sensors and N8480 Series sensors with Option CFT only) • Store sensor calibration tables (8480 Series sensors and N8480 Series sensors with Option CFT only) • Edit and review sensor frequency dependent offset tables • Store sensor frequency dependent offset tables • Edit and review sensor save/recall registers Stored tables remain in the power meter’s memory during power do
MEMory Subsystem Keyword Parameter Form :NSTates? Notes Page [query only] page 273 [query only] page 275 [non-SCPI] page 276 7 :STATe :CATalog? :DEFine [,] :TABLe :FREQuency page 279 [,] :POINts? [query only] page 283 [non-SCPI] page 284 [query only], [non-SCPI] page 287 :GAIN [:MAGNitude] [,] :POINts? :MOVE , [no query], [non-SCPI] page 288 :SELect <
7 MEMory Subsystem MEMory:CATalog Commands These commands are used to query information on the current contents of a power meter’s: • 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? 258 N1911A/1912A P-Series Power Meters Programming Guide
MEMory Subsystem 7 MEMory:CATalog[:ALL]? This command lists stored sensor calibration tables (8480 Series sensors and N8480 Series Sensors with Option CFT only), frequency dependent offset tables and save/recall registers.
7 MEMory Subsystem Table 7-19 8480 Series Power Sensor Tables Table Power Sensor Table Name 0 None DEFAULT* 1 8481A 8481A 2 8482A, 8482B, 8482H 8482A 3 8483A 8483A 4 8481D 8481D 5 8485A 8485A 6 R8486A R8486A 7 Q8486A Q8486A 8 R8486D R8486D 9 8487A 8487A * 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
MEMory Subsystem 7 MEMory:CATalog:STATe? This command is used to list the save/recall registers. The power meter returns the data in the form of two numeric parameters and as many strings as there are save/recall registers. ,{,} • The first numeric parameter indicates the amount of memory, in bytes, used for the storage of registers. • The second parameter indicates the memory, in bytes, available for the storage of registers.
7 MEMory Subsystem MEMory:CATalog:TABLe? This command is used to list the stored sensor calibration (8480 Series sensors and N8480 Series sensors with Option CFT only) and frequency dependent offset tables. The power meter returns the data in the form of two numeric parameters and as many strings as there are stored tables. ,{,} • The first numeric parameter indicates the amount of memory, in bytes, used for the storage of tables.
MEMory Subsystem 7 Table 7-20 8480 Series Power Sensor Tables Table Power Sensor Table Name 0 None DEFAULT1 1 8481A 8481A 2 8482A, 8482B, 8482H 8482A 3 8483A 8483A 4 8481D 8481D 5 8485A 8485A 6 R8486A R8486A 7 Q8486A Q8486A 8 R8486D R8486D 9 8487A 8487A 1 Default is a sensor calibration table in which the reference calibration factor and calibration factors are 100%.
7 MEMory Subsystem Syntax MEM :CAT :TABL ? Example MEM:CAT:TABL? 264 This command queries the list of stored tables.
MEMory Subsystem 7 MEMory:CLEar Commands These commands are used to remove the contents stored in the sensor calibration tables (8480 Series sensors and N8480 Series sensors with Option CFT only), frequency dependent offset tables and save/recall registers. This subsystem removes the data contents but does not affect the name of the associated table or save/recall register.
7 MEMory Subsystem MEMory:CLEar[:NAME] This command clears the contents of a specified sensor calibration table (8480 Series sensors and N8480 Series sensors with Option CFT only), frequency dependent offset table, or save/recall register. Although the table remains, a MEMory:TABLe:FREQuency|GAIN:POINts? query returns a 0 as there are no contents in the table.
MEMory Subsystem 7 Syntax MEM :CLE Space :NAME character_data Parameters Item Description/Default Range of Values character_data Contains an existing table name or save/recall register. Any existing table name or save/recall register. Example MEM:CLE "8485A" This command clears the contents of sensor calibration table 8485A. Error Messages If the table or save/recall register name does not exist, error –224, “Illegal parameter value” occurs.
7 MEMory Subsystem MEMory:CLEar:TABLe This command is used to clear the contents of the table currently selected using MEMory:TABLe:SELect. Although the table remains, a MEMory:TABLe:FREQuency|GAIN:POINts? query returns a 0 as the table contents are empty. This command is an alternative form of the MEMory:CLEar[:NAME] command. The difference is the method in which the table is selected. NOTE The contents cleared using this command are non-recoverable.
MEMory Subsystem 7 MEMory:FREE Commands These commands are used to return information on the amount of free memory space available for sensor calibration tables (8480 Series sensors and N8480 Series sensors with Option CFT only), frequency dependent offset tables, and save/recall registers.
7 MEMory Subsystem MEMory:FREE[:ALL]? This query returns the amount of memory free for sensor calibration tables (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: , Syntax MEM :FREE :ALL ? Example MEM:FREE? 270 This command queries the amount of free memory in total.
MEMory Subsystem 7 MEMory:FREE:STATe? This query returns the amount of memory free for save/recall registers. The format of the response is: , Syntax MEM :FREE ? :STAT Example MEM:FREE:STAT? This command queries the amount of free memory for save/recall registers.
7 MEMory Subsystem MEMory:FREE:TABLe? This query returns the amount of memory free for sensor calibration tables (8480 Series sensors and N8480 Series sensors with Option CFT only) and frequency dependent offset tables. The format of the response is: , Syntax MEM :FREE :TABL ? Example MEM:FREE:TABL? 272 This command queries the amount of free memory for tables.
MEMory Subsystem 7 MEMory:NSTates? This query returns the number of registers that are available for save/recall. As there are ten registers this query always returns ten. Syntax MEM :NST ? Example MEM:NST? This command queries the number of registers available for save/recall.
7 MEMory Subsystem MEMory:STATe Commands These commands are used to query and define register names.
MEMory Subsystem 7 MEMory:STATe:CATalog? This query returns a list of the save/recall register names in ascending order of register number. The format of the response is: ,,....., Syntax MEM :STAT ? :CAT Example MEM:STAT:CAT? This command queries the register names.
7 MEMory Subsystem MEMory:STATe:DEFine , This command is used to associate a name with a save/recall register number. Syntax MEM :STAT :DEF Space , character_data ? Space numeric_value character_data Parameters Item Description/Default Range of Values character_data Details the register name. A maximum of 12 characters can be used. A to Z (uppercase) a to z (lowercase) 0-9 _ (underscore) numeric_value A numeric value () for the register number.
MEMory Subsystem 7 Query Example MEM:STAT:DEF? "SETUP1" This command queries the register number of SETUP1. Error Messages • If the register number is out of range, error –222, “Data out of range” occurs. • If the name is invalid, error –224, “Illegal parameter value” occurs. • If a register or sensor calibration table with the same name already exists, error –257, “File name error” occurs (command only).
7 MEMory Subsystem MEMory:TABLe Commands These commands are used to define a sensor calibration table (8480 Series sensors and N8480 Series sensors with Option CFT only) or a frequency dependent offset table, and to write to and read data from it.
MEMory Subsystem 7 MEMory:TABLe:FREQuency {,} This command is used to enter frequency data into the current selected table. Any previous frequency list is cleared before the new frequency list is stored. The frequencies must be entered in ascending order. Entries in the frequency lists correspond as shown in Table 7- 21 with entries in the calibration/offset factor lists.
7 MEMory Subsystem Table 7-21 Frequency and Calibration/Offset Factor List Table Power Sensor Table Name 0 None DEFAULT1 1 8481A 8481A 2 8482A, 8482B, 8482H 8482A 3 8483A 8483A 4 8481D 8481D 5 8485A 8485A 6 R8486A R8486A 7 Q8486A Q8486A 8 R8486D R8486D 9 8487A 8487A 1 Default is a sensor calibration table in which the reference calibration factor and calibration factors are 100%. This sensor calibration table can be used during the performance testing of the power meter.
MEMory Subsystem 7 Syntax , MEM :TABL :FREQ Space numeric_value ? Parameters Item Description/Default Range of Values numeric_value A numeric value for the frequency. The default units are Hz. 1 kHz to 1000.0 GHz 1,2 1 The following measurement units can be used: Hz kHz (103) MHz (106) GHz (109) 2 All frequencies are truncated to a multiple of 1 kHz.
7 MEMory Subsystem Example This command enters frequencies of 200 kHz and 600 kHz into the currently selected table. MEM:TABL:FREQ 200kHz,600kHz Query MEMory:TABLe:FREQuency? The query returns a list of frequency points for the table currently selected. The frequencies are returned in Hz. Query Example MEM:TABL:FREQ? This command queries the frequency points in the currently selected table. Error Messages • If more than 80 frequencies are in the list, error –108, “Parameter not allowed” occurs.
MEMory Subsystem 7 MEMory:TABLe:FREQuency:POINts? This query returns the number of frequency points for the table currently selected. The response format is . If no frequency values have been set, this command returns 0. If no table is selected, this command returns NAN. Syntax MEM :TABL :POIN :FREQ ? Example MEM:TABL:FREQ:POIN? This command queries the number of frequency points in the current table.
7 MEMory Subsystem MEMory:TABLe:GAIN[:MAGNitude] {,} This command is used to enter calibration factors into the sensor calibration table (8480 Series sensors and N8480 Series sensors with Option CFT only) or offsets into the frequency dependent offset table, currently selected using MEMory:TABLe:SELect. Any previous calibration factor list, or offset list is cleared before the new calibration factors/offsets are stored.
MEMory Subsystem 7 Syntax , MEM :TABL :GAIN :MAGN Space numeric_value ? Parameters Item Description/Default Range of Values numeric_value A numeric value for the calibration/ offset factors. The units are PCT. 1.0 to 150.0 Example MEM:TABL:SEL "Sensor_1" This command enters a reference MEM:TABL:GAIN 97,99.5,97.4 calibration factor of 97 % and calibration factors of 99.5 % and 97.4 % into the sensor calibration table.
7 MEMory Subsystem Query Example MEM:TABL:GAIN? This command queries the calibration factor/offset in the current table. Error Messages • If more than 81 calibration factors for sensor calibration tables, or 80 offsets for frequency dependent offset tables are in the list, error –108, “Parameter not allowed” occurs. • If a table is not specified using the MEMory:TABLe:SELect command, the data cannot be entered and error –221, “Settings conflict” occurs.
MEMory Subsystem 7 MEMory:TABLe:GAIN[:MAGNitude]:POINts? This query is used to return the number of calibration factor/offset points for the currently selected table. If the currently selected table is a sensor calibration table (8480 Series sensors and N8480 Series sensors with Option CFT only), the reference calibration factor is included If no values have been set, 0 is returned. If no table is selected, NAN is returned.
7 MEMory Subsystem MEMory:TABLe:MOVE , This command is used to rename a sensor calibration table (8480 Series sensors and N8480 Series sensors with Option CFT only) or a frequency dependent offset table. Syntax MEM :TABL :MOVE Space character_data , character_data Parameters Item Description/Default Range of Values character_data 1st parameter) Contains the existing table name. existing table name character_data(2nd parameter) Details the new table name.
MEMory Subsystem 7 Error Messages • If either table name is invalid, error –224, “Illegal parameter value” occurs. • 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.
7 MEMory Subsystem MEMory:TABLe:SELect This command is used to activate either a sensor calibration table (8480 Series sensors and N8480 Series sensors with Option CFT only), or a frequency dependent offset table. A table must be activated before any operation can be performed on it. Syntax MEM :TABL :SEL character_data Space ? Parameters Item Description/Default Range of Values character_data Details the new table name. A maximum of 12 characters can be used.
N1911A/1912A P-Series Power Meters Programming Guide 8 OUTPut Subsystem OUTPut Subsystem 292 OUTPut:RECorder[1]|2:FEED 293 OUTPut:RECorder[1]|2:LIMit:LOWer 295 OUTPut:RECorder[1]|2:LIMit:UPPer 297 OUTPut:RECorder[1]|2:STATe 299 OUTPut:ROSCillator[:STATe] 301 OUTPut:TRIGger[:STATe] 303 This chapter explains how the OUTput command subsystem is used to switch the POWER REF output on and off.
8 OUTPut Subsystem OUTPut Subsystem The OUTPut command subsystem is used to control the trigger output, switch on and off the POWER REF output, and controls the recorder output.
OUTPut Subsystem 8 OUTPut:RECorder[1]|2:FEED This command specifies which measurement is sent to the recorder output specified by the numeric value following RECorder. RECorder1 applies to both single and dual channel power meters. RECorder2 applies to dual channel power meters only. Syntax OUTP :REC :FEED 1 data_handle Space 2 ? Parameters Item Description/Default Range of Values data_handle The CALC block specifying the measurement to be sent to the recorder output.
8 OUTPut Subsystem Query OUTPut:RECorder[1]|2:FEED? The query command returns the current value of data_handle. Query Example OUTP:REC2:FEED? 294 This command queries the value of data_handle for recorder output 2.
OUTPut Subsystem 8 OUTPut:RECorder[1]|2:LIMit:LOWer This command sets the minimum scaling value for the specified recorder output. The units used are dependent on the units currently set for the CALC block specified in OUTPut:RECorder[1]|2:FEED . Syntax OUTP :REC :LIM 1 :LOW Space 2 numeric_value ? Parameters Item Description/Default Range of Values numeric_value A numeric value for the minimum scaling value.
8 OUTPut Subsystem Query OUTPut:RECorder[1]|2:LIMit:LOWer? The query command returns the minimum scaling value. Query Example OUTP:REC:LIM:LOW? 296 This command returns the minimum scaling value for the specified recorder output.
OUTPut Subsystem 8 OUTPut:RECorder[1]|2:LIMit:UPPer This command sets the maximum scaling value for the specified recorder output. The units used are dependent on the units currently set for the CALC block specified in OUTPut:RECorder[1]|2:FEED . Syntax OUTP :REC :UPP :LIM 1 Space numeric_value 2 ? Parameters Item Description/Default Range of Values numeric_value A numeric value for the minimum scaling value.
8 OUTPut Subsystem Query OUTPut:RECorder[1]|2:LIMit:UPPer? The query command returns the maximum scaling value. Query Example OUTP:REC:LIM:UPP? 298 This command returns the maximum scaling value for the specified recorder output.
OUTPut Subsystem 8 OUTPut:RECorder[1]|2:STATe This command enables or disables the specified recorder output. Syntax OUTP :REC :STAT 1 Space 0|OFF 1|ON 2 ? Example OUTP:REC1:STAT 1 This command enables the specified recorder output. Reset Condition On reset, the recorder output is OFF. Query OUTPut:RECorder[1]|2:STATe? The query command enters a 1 or 0 into the output buffer indicating whether or not the specified recorder is switched on.
8 OUTPut Subsystem Query Example OUTP:REC2:STAT? 300 This command queries the status of the recorder output.
OUTPut Subsystem 8 OUTPut:ROSCillator[:STATe] This command enables or disables the POWER REF output. Syntax OUTP :ROSC Space :STAT 0|OFF 1|ON ? Example OUTP:ROSC:STAT 1 This command enables the POWER REF output. Reset Condition On reset, the POWER REF output is disabled. Query OUTPut:ROSCillator[:STATe]? The query command enters a 1 or 0 into the output buffer indicating whether or not the POWER REF is enabled.
8 OUTPut Subsystem Query Example OUTP:ROSC? 302 This command queries the status of the POWER REF output.
OUTPut Subsystem 8 OUTPut:TRIGger[:STATe] This command enables or disables the trigger output signal. When sensor is in triggered average measurement mode, the trigger output signal will only be asserted after the measurement has settled. NOTE This command is also applicable when used with 8480, N8480, E4410, E9300 or E9320 sensor (Average mode only). Syntax OUTP :TRIG Space :STAT 0|OFF 1|ON ? Example OUTP:TRIG:STAT 1 This command enables the trigger output signal.
8 OUTPut Subsystem Query OUTPut:TRIGger[:STATe]? The query command enters a 1 or 0 into the output buffer indicating whether or not the trigger output signal is enabled or disabled. • 1 is returned when the trigger output signal is enabled • 0 is returned when the trigger output signal is disabled Query Example OUTP:TRIG:STAT? This command queries the status of the trigger output signal.
N1911A/1912A P-Series Power Meters Programming Guide 9 PSTatistic Subsystem PSTatistic Subsystem 307 PSTatistic:CCDF:GAUSsian[:STATe] 309 PSTatistic:CCDF:GAUSsian:MARKer[1]|2[:SET] 311 PSTatistic:CCDF:MARKer:DELta? 313 PSTatistic:CCDF:MARKer[1]|2:DATa? 315 PSTatistic:CCDF:MARKer[1]|2:X 317 PSTatistic:CCDF:MARKer[1]|2:Y 319 PSTatistic:CCDF:REFerence:DATa? 321 PSTatistic:CCDF:REFerence[:STATe] 323 PSTatistic:CCDF:REFerence:MARKer[1]|2[:SET] 325 PSTatistic:C
9 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.
PSTatistic Subsystem 9 PSTatistic Subsystem The PSTatistic subsystem is used to configure the settings of Complementary Cumulative Distribution Function (CCDF), both in table and trace format.
9 PSTatistic Subsystem Keyword Parameter Form :DATa? :MAX Notes Page [query only] page 334 page 336 :POWer? [query only] page 338 :PROBability? [query only] page 340 :STORe page 342 :REFerence [query only] :TABle? page 344 :TRACe [:STATe] page 347 :MARKer[1]|2 page 349 [:SET] :POWer 308 :AVERage? [query only] page 351 :PEAK? [query only] page 353 :PTAVerage? [query only] page 355 N1911A/1912A P-Series Power Meters
PSTatistic Subsystem 9 PSTatistic:CCDF:GAUSsian[:STATe] This command is used to turn on or off the Gaussian trace and it is independent of the channels attached.
9 PSTatistic Subsystem Query PSTatistic:CCDF:GAUSsian[:STATe]? The query enters a 1 or 0 into the output buffer indicating the status of Gaussian trace. • 1 is returned when the Gaussian trace is turned on • 0 is returned when the Gaussian trace is turned off Query Example PST:CCDF:GAUS? This command queries the state of the Gaussian trace. Error Messages • If command is executed in other window besides expanded CCDF window, error –221 "Settings conflict: Requires CCDF expanded window" occurs.
PSTatistic Subsystem 9 PSTatistic:CCDF:GAUSsian:MARKer[1]|2[:SET] This command is used to set the markers on Gaussian trace. The markers will be set only if the trace is present and visible. According to the selections made, the markers will become active on the screen.
9 PSTatistic Subsystem Error Messages • If command is executed in other window besides expanded CCDF window, error –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. Check with the command PST:CCDF:GAUS? to check if the trace is enabled.
PSTatistic Subsystem 9 PSTatistic:CCDF:MARKer:DELta? This command is used to retrieve power and probability difference between marker 2 and marker 1 at any trace the marker is positioned.
9 PSTatistic Subsystem Example PST:CCDF:MARK:DEL? This command returns the power and probability difference between marker 2 and marker 1. Reset Condition 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.
PSTatistic Subsystem 9 PSTatistic:CCDF:MARKer[1]|2:DATa? This command is used to retrieve the power and probability values at the current marker position at any trace the marker is positioned.
9 PSTatistic Subsystem Error Messages • If command is executed in other window besides CCDF window, error –221 “Settings conflict: Requires CCDF window” occurs.
PSTatistic Subsystem 9 PSTatistic:CCDF:MARKer[1]|2:X This command is used to set the current marker X- axis position at the selected trace.
9 PSTatistic Subsystem Example PST:CCDF:MARK1:X 20 This command sets marker 1 to the position where the X- axis is 20 dB. Reset Condition 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. • If the requested X position is more than max dB then error –220 "Parameter error" occurs.
PSTatistic Subsystem 9 PSTatistic:CCDF:MARKer[1]|2:Y This command is used to set the current marker Y- axis position at the selected trace.
9 PSTatistic Subsystem Example PST:CCDF:MARK1:Y 20 This command sets marker 1 to the position where the Y- axis is 20 %. Reset Condition 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. • If the requested Y position is more than 100 or less than 0 then error –220 "Parameter error" occurs.
PSTatistic Subsystem 9 PSTatistic:CCDF:REFerence:DATa? This command is used to retrieve the reference trace data and it is independent of the channel attached. The reference trace data will be returned only if there is a reference trace saved.
9 PSTatistic Subsystem Error Messages • If command is executed in other window besides CCDF window, error –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?.
PSTatistic Subsystem 9 PSTatistic:CCDF:REFerence[:STATe] This command is used to turn on or off the reference trace and it is independent of the channel attached.
9 PSTatistic Subsystem Query PSTatistic:CCDF:REFerence[:STATe]? The query enters a 1 or 0 into the output buffer indicating the status of the reference trace stored. • 1 is returned when the previously stored reference trace is turned on • 0 is returned when the previously stored reference trace is turned off Query Example PST:CCDF:REF? This command queries whether the reference trace is turned on or off.
PSTatistic Subsystem 9 PSTatistic:CCDF:REFerence:MARKer[1]|2[:SET] This command is used to set the marker on the reference trace. The markers will be set only if the trace is present and visible. According to the selections made, the markers will become active on the screen.
9 PSTatistic Subsystem Error Messages • If command is executed in other window besides expanded CCDF window, error –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. Check with the command 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.
PSTatistic Subsystem 9 PSTatistic:CCDF:REFerence:POWer:AVERage? This command is used to retrieve average power data of the saved reference trace. NOTE This command is only applicable when P-Series sensors are present and the following conditions are met: • Free-run acquisition mode is selected • NORMal or DOUBle measurement speed setting is chosen Syntax PST :CCDF :POW :REF :AVER ? Example PST:CCDF:REF:POW:AVER? This command returns the average power value of the reference trace.
9 PSTatistic Subsystem PSTatistic:CCDF:REFerence:POWer:PEAK? This command is used to retrieve the peak power data of the saved reference trace. NOTE This command is only applicable when P-Series sensors are present and the following conditions are met: • Free-run acquisition mode is selected • NORMal or DOUBle measurement speed setting is chosen Syntax PST :CCDF :REF :POW :PEAK ? Example PST:CCDF:REF:POW:PEAK? This command returns the peak power value of the saved reference trace.
PSTatistic Subsystem 9 PSTatistic:CCDF:REFerence:POWer:PTAVerage? This command is used to retrieve peak to average data of the saved reference trace. NOTE This command is only applicable when P-Series sensors are present and the following conditions are met: • Free-run acquisition mode is selected • NORMal or DOUBle measurement speed setting is chosen Syntax PST :CCDF :POW :REF :PTAV ? Example PST:CCDF:REF:POW:PTAV? This command returns the peak to average power of the saved reference trace.
9 PSTatistic Subsystem PSTatistic[1]|2:CCDF:CONTinuous This command is used to turn on or off the CCDF Continuous Refresh mode for Channel A or Channel B. NOTE This command is only applicable when P-Series sensor is present and free-run acquisition mode is selected. If P-Series sensor is used by the adjacent channel in a dual channel setup, the same setting will be applied for free-run acquisition mode.
PSTatistic Subsystem 9 Query PStatistic[1]|2:CCDF CONTinuous? The query enters 1 or 0 into the output buffer indicating the status of the CCDF Continuous Refresh mode. • 1 is returned when the CCDF Continuous Refresh mode is enabled • 0 is returned when the CCDF Continuous Refresh mode is disabled (or CCDF Single Refresh mode is enabled) Query Example PST1:CCDF:CONT? This command queries whether the CCDF Continuous Refresh mode is on or off for Channel A.
9 PSTatistic Subsystem PSTatistic[1]|2:CCDF:COUNt This command is used to set CCDF cummulative counts for Channel A or Channel B. The increment step for the cummulative counts is 100 M. NOTE This command is only applicable when P-Series sensor is present and free-run acquisition mode is selected. If P-Series sensor is used by the adjacent channel in a dual channel setup, the same setting will be applied for free-run acquisition mode.
PSTatistic Subsystem 9 Reset Condition On reset, the CCDF cummulative counts will be set to the default value, 100 M samples. Query PSTatistic[1]|2:CCDF:COUNt? The query returns the current numeric value of the CCDF cummulative count for the respective channel selected. Query Example PST1:CCDF:COUN? This command queries the numeric value of CCDF cummulative counts for Channel A. Error Messages • If no sensor or wrong sensor is connected to the channel, error –241 "Hardware missing" occurs.
9 PSTatistic Subsystem PSTatistic[1]|2:CCDF:DATa? This command is used to return 501 probability values in % at different power level within certain range, starts from 0 dB till the predefined maximum power level. NOTE The maximum power level can be set by using this command: PSTatistic[1]|2:CCDF:DATa:MAX By default, the maximum value is 50 dB. The power interval between each reading (probability value) is determined by the defined maximum power level divided by 500.
PSTatistic Subsystem 9 Error Messages • If no power sensor is connected, error –241 "Hardware missing" occurs. • If sensor/s connected are not P- Series sensors, error –241 "Hardware missing" occurs. • 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.
9 PSTatistic Subsystem PSTatistic[1]|2:CCDF:DATa:MAX This command is used to set the maximum value of X- axis CCDF trace. Syntax PST 1 :CCDF :DAT :MAX 2 numeric_value ? Parameters Item Description/Default Range of Values numeric_value X-axis CCDF trace maximum value in dB. 5.00 to 50.00 • Minimum value: 5.00 dB • Maximum value: 50.00 dB Example PST1:CCDF:DAT:MAX 10 This command sets the maximum value of X- axis CCDF trace to 10 dB.
PSTatistic Subsystem 9 Query PSTatistic[1]|2:CCDF:DATa:MAX? The query returns the X- axis CCDF trace maximum value. Query Example PST1:CCDF:DAT:MAX? This command queries the maximum value of X- axis CCDF trace for Channel A. Error Messages • 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.
9 PSTatistic Subsystem PSTatistic[1]|2:CCDF:POWer? This command is used to return the power level at the specified probability.
PSTatistic Subsystem 9 Error Messages • 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. • 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 "Setting conflict" occurs. • If the parameter specified is less than 0.0 or more than 100.
9 PSTatistic Subsystem PSTatistic[1]|2:CCDF:PROBability? This command is used to return the probability at the specified power level.
PSTatistic Subsystem 9 Example PST1:CCDF:PROB? 50 This command queries the probability at the power level of 50dB for Channel A. Error Messages • 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. • If measurement speed setting is FAST, error –221 "Settings conflict" occurs.
9 PSTatistic Subsystem PSTatistic[1]|2:CCDF:STORe:REFerence This command is used to store Channel A or Channel B as a reference trace for CCDF graph window. NOTE The trace will be saved as reference trace in volatile RAM.
PSTatistic Subsystem 9 Reset Condition On reset, the previously saved reference trace will be cleared. Query PSTatistic[1]|2:CCDF:STORe:REFerence? The query enters a 1 or 0 into the output buffer indicating the status of the CCDF reference. • 1 is returned when there is a saved reference trace • 0 is returned when there is no saved reference trace Query Eample PST:CCDF:STOR:REF? This command queries whether there is saved reference trace or not.
9 PSTatistic Subsystem PSTatistic[1]|2:CCDF:TABle? This command is used to return the data in CCDF table, average input power, probability at the average input power, peak to average power ratio and sample count.
PSTatistic Subsystem 9 Syntax PST 1 :CCDF :TAB ? 2 Example NOTE PST:CCDF:TAB? This command returns the data in CCDF table: average input power, probabilty at the average input power, power level at various predefined probability steps (10 %, 1 %, 0.1 %, 0.01 %, 0.001 % and 0.0001 %), peak to average power ratio and sample count for Channel A.
9 PSTatistic Subsystem Error Messages • 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. • 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.
PSTatistic Subsystem 9 PSTatistic[1]|2:CCDF:TRACe[:STATe] This command is used to turn on or off Channel A or Channel B trace.
9 PSTatistic Subsystem Query PSTatistic[1]|2:CCDF:TRACe:[:STATe]? The query enters a 1 or 0 into the output buffer indicating the status of the displayed CCDF trace. • 1 is returned when there is a trace displayed on the CCDF screen window • 0 is returned when there is no trace displayed on the CCDF screen window Query Example PST:CCDF:TRAC? This command queries whether there is a trace displayed or not on the CCDF screen window.
PSTatistic Subsystem 9 PSTatistic[1]|2:CCDF:TRACe:MARKer[1]|2[:SET] This command is used to set the marker on Channel A or Channel B trace. The markers will be set only if the trace is present and visible. According to the selections made, the markers will become active on the screen.
9 PSTatistic Subsystem Error Messages • If command is executed in other window besides expanded CCDF window, error –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.
PSTatistic Subsystem 9 PSTatistic[1]|2:CCDF:TRACe:POWer:AVERage? This command is used to retrieve average power value of Channel A or Channel B trace. NOTE This command is only applicable when P-Series sensors are present and the following conditions are met: • Free-run acquisition mode is selected • NORMal or DOUBle measurement speed setting is chosen Syntax PST 1 :CCDF :TRAC :POW :AVER ? 2 Example PST:CCDF:TRAC:POW:AVER? This command returns the average power value for Channel A trace.
9 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.
PSTatistic Subsystem 9 PSTatistic[1]|2:CCDF:TRACe:POWer:PEAK? This command is used to retrieve peak power value of Channel A or Channel B trace. NOTE This command is only applicable when P-Series sensors are present and the following conditions are met: • Free-run acquisition mode is selected • NORMal or DOUBle measurement speed setting is chosen Syntax PST 1 :CCDF :TRAC :POW :PEAK ? 2 Example PST:CCDF:TRAC:POW:PEAK? This command returns the peak power value of Channel A trace.
9 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.
PSTatistic Subsystem 9 PSTatistic[1]|2:CCDF:TRACe:POWer:PTAVerage? This command is used to retrieve peak to average power value of Channel A or Channel B trace.
9 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 10 SENSe Subsystem [SENSe] Subsystem 359 [SENSe[1]]|SENSe2:AVERage Commands 362 [SENSe[1]]|SENSe2:AVERage:COUNt 363 [SENSe[1]]|SENSe2:AVERage:COUNt:AUTO 366 [SENSe[1]]|SENSe2:AVERage:SDETect 369 [SENSe[1]]|SENSe2:AVERage[:STATe] 371 [SENSe[1]]|SENSe2:AVERage2 Commands 373 [SENSe[1]]|SENSe2:AVERage2:COUNt 374 [SENSe[1]]|SENSe2:AVERage2[:STATe] 376 [SENSe[1]]|SENSe2:BANDwidth|BWIDth:VI
10 SENSe Subsystem [SENSe[1]]|SENSe2:FREQuency[:CW|:FIXed] 412 [SENSe[1]]|SENSe2:FREQuency[:CW|:FIXed]:STARt 415 [SENSe[1]]|SENSe2:FREQuency[:CW|:FIXEd]:STEP 418 [SENSe[1]]|SENSe2:FREQuency[:CW|:FIXed]:STOP 422 [SENSe[1]]|SENSe2:MRATe 425 [SENSe[1]]|SENSe2:POWer:AC:RANGe 428 [SENSe[1]]|SENSe2:POWer:AC:RANGe:AUTO 430 [SENSe[1]]|SENSe2:SWEep[1]|2|3|4 Commands 432 [SENSe[1]]|SENSe2:SWEep[1]|2|3|4:AUTO <
SENSe Subsystem 10 [SENSe] Subsystem The SENSe command subsystem directly affects device specific settings used to make measurements. The SENSe subsystem is optional since this is the primary function of the power meter. The high level command CONFigure uses the SENSe commands to prepare the p ower meter for making measurements.
10 SENSe Subsystem Keyword Parameter Form Notes Page :BUFFer :COUNt page 381 :CORRection [non-SCPI] :CFACtor|GAIN[1] [:INPut] page 388 [:SELect] page 392 :STATe [:MAGNitude] :CSET[1]|CSET2 page 395 [non-SCPI] :DCYCle|GAIN3 [:INPut] [:MAGNitude] :STATe page 398 page 401 :FDOFfset|GAIN4 [:INPut] [query only] [:MAGNitude] page 403 :GAIN2 :STATe page 405 page 407
SENSe Subsystem Keyword Parameter Form Notes Page [non-SCPI] page 428 10 :POWer :AC :RANGe :AUTO page 430 page 433 page 436 page 438 page 440 :SWEep[1]|2|3|4 :Auto :Auto :REF1|REF2 :OFFSet :TIME :TIME [query only] :TEMPerature? page 442 :TRACe :OFFSet :TIME :TIME :UNIT page 445 page 447 page 449 :V2P ATYPe|DTYPe [non-SCPI] page 451 SENS
10 SENSe Subsystem [SENSe[1]]|SENSe2:AVERage Commands These commands control the measurement averaging which is used to improve measurement accuracy. They combine successive measurements to produce a new composite result.
SENSe Subsystem 10 [SENSe[1]]|SENSe2:AVERage:COUNt This command is used to enter a value for the filter length. If [SENSe[1]]|SENSe2:AVERage:COUNt:AUTO is set to ON then entering a value for the filter length automatically sets it to OFF. Increasing the value of filter length increases measurement accuracy but also increases the time taken to make a power measurement. Entering a value using this command automatically turns the [SENSe[1]]|SENSe2:AVERage:STATe command to ON.
10 SENSe Subsystem Syntax SENS 1 : AVER :COUN Space numeric_value DEF SENS2 MIN MAX ? Space MIN MAX Parameters Item Description/Default Range of Values numeric_value A numeric value defining the filter length. 1 to 1024 DEF MIN MAX DEF: the default value is 4 MIN: 1 MAX: 1024 Example AVER:COUN 400 This command enters a filter length of 400 for Channel A. Reset Condition On reset, the filter length is set to 4.
SENSe Subsystem 10 Query AVERage:COUNt? [MIN|MAX] The query returns the current setting of the filter length or the values associated with MIN and MAX. The format of the response is . Query Example AVER:COUN? This command queries the filter length for Channel A. Error Messages 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.
10 SENSe Subsystem [SENSe[1]]|SENSe2:AVERage:COUNt:AUTO This command enables and disables automatic averaging. ONCE has no affect on the power meter. When the auto filter mode is enabled, the power meter automatically sets the number of readings averaged together to satisfy the averaging requirements for most power measurements. The number of readings averaged together depends on the resolution and the power level in which the power meter is currently operating.
SENSe Subsystem 10 CONFigure:POWer:AC? commands. For most applications, automatic filter length selection ([SENSe[1]]|SENSe2:AVERage:COUNt:AUTO ON) is the best mode of operation. However, manual filter length selection ([SENSe[1]]|SENSe2:AVERage:COUNt ) 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.
10 SENSe Subsystem The query enters a 1 or 0 into the output buffer indicating whether automatic filter length is enabled or disabled. • 1 is returned when automatic filter length is enabled • 0 is returned when automatic filter length is disabled Query Example AVER:COUN:AUTO? This command queries whether automatic filter length selection is on or off for Channel A.
SENSe Subsystem 10 [SENSe[1]]|SENSe2:AVERage:SDETect This command enables and disables step detection. In AUTO filter mode, the average of the last four values entered into the filter is compared to the average of the entire filter. If the difference between the two averages is greater than 12.5%, the digital filter is cleared. The filter then starts storing new measurement values. This feature shortens the filter time when the input power changes substantially.
10 SENSe Subsystem Example SENS:AVER:SDET OFF This command disables step detection. Reset Condition On reset, step detection is enabled. Query [SENSe[1]]|SENSe2:AVERage:SDETect? 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 SENS:AVER:SDET? 370 This command queries whether step detection is on or off.
SENSe Subsystem 10 [SENSe[1]]|SENSe2:AVERage[:STATe] This command is used to enable and disable averaging. Syntax SENS 1 : :STAT AVER Space 0|OFF 1|ON SENS2 ? Example AVER 1 This command enables averaging on Channel A. Reset Condition On reset, averaging is ON. Query [SENSe[1]]|SENSe2:AVERage[:STATe]? The query enters a 1 or 0 into the output buffer indicating the status of averaging.
10 SENSe Subsystem Query Example SENS2:AVER? This command queries whether averaging is on or off for Channel B. Error Messages • If [SENSe[1]]|SENSe2:AVERage:STATe is set to ON while [SENSe[1]]|SENSe2:SPEed is set to 200, the error –221, “Settings Conflict” occurs. • 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.
SENSe Subsystem 10 [SENSe[1]]|SENSe2:AVERage2 Commands These commands control video averaging, which is used to improve measurement accuracy, for the P- Series and E- Series E9320 power sensor. They combine successive measurements to produce a new composite result. NOTE If the command is used when a sensor other than a P-Series or E9320 power sensor is connected, error –241, “Hardware missing” occurs.
10 SENSe Subsystem [SENSe[1]]|SENSe2:AVERage2:COUNt This command is used to enter the video filter length for the P- Series and E9320 sensor. Video filtering is applied to the traces. Successive traces are combined to reduce noise without affecting the dynamic characteristic of the signal. Syntax SENS 1 : AVER2 :COUN Space numeric_value DEF SENS2 ? Parameters Item Description/Default Range of Values numeric_value A numeric value defining the filter length.
SENSe Subsystem 10 Reset Condition On reset, the filter length is set to 4. Query AVERage2:COUNt? The query returns the current setting of the video filter length. The format of the response is . Query Example AVER2:COUN? This command queries the video filter length for Channel A.
10 SENSe Subsystem [SENSe[1]]|SENSe2:AVERage2[:STATe] This command is used to enable and disable video averaging for the P- Series or E9320 sensor. Syntax SENS 1 : AVER2 :STAT Space 0|OFF 1|ON SENS2 ? Example This command enables video averaging on Channel A. AVER2 1 Reset Condition On reset, averaging is enabled. 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.
SENSe Subsystem 10 Query Example SENS2:AVER2? This command queries whether averaging is on or off for Channel B. Error Messages • If the command is used when a sensor other than a P- Series or E9320 power sensor is connected, error –241, “Hardware missing” occurs • If the command is used when an E9320 sensor is connected and set to AVERage mode rather than NORMal mode, the error –221, “Settings Conflict” occurs.
10 SENSe Subsystem [SENSe[1]]|SENSe2:BANDwidth|BWIDth:VIDeo This command sets the sensor bandwidth on a P- Series or an E9320 Series sensor. Syntax SENS 1 : BAND :VID Space character_data BWID SENS2 ? Parameters Item Description/Default Range of Values character_data Defines the sensor bandwidth.
SENSe Subsystem 10 Video Bandwidth Settings Sensor LOW MEDium HIGH OFF N1920A N1921A 5 MHz 15 MHz 30 MHz 30 MHz 1 At 3.0 dB roll off point. Example SENSe1:BAND:VID HIGH This command sets sensor bandwidth to high for Channel A. 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 SENS2:BAND:VID? This command queries the current sensor bandwidth setting for Channel B.
10 SENSe Subsystem Error Messages • If the command is used when a sensor other than a P- Series or E9320 power sensor is connected, error –241, “Hardware missing” occurs • NOTE 380 If the command is used when a P- Series or an E9320 sensor is connected and set to AVERage mode rather than NORMal mode, the error –221, “Settings Conflict” occurs.
SENSe Subsystem 10 [SENSe[1]]|SENSe2:BUFFer:COUNt This command sets the buffer size for average or peak measurement. It must be used in conjunction with external trigger. It can only be set when frequency sweep is disabled (FREQ:STEP 0). Otherwise, this parameter will be automatically overwritten by frequency sweep step. If trace display is turned on, the measurement window will be restored to single numeric or analog depends on the number of measurement channel.
10 SENSe Subsystem Example This command sets the average or peak measurement buffer size to 100 for Channel A. BUFF:COUN 100 Query [SENSe[1]]|SENSe2:BUFFer:COUNt? This query is used to retrieve the average or peak measurement buffer size. Query Example This query returns the average or peak measurement buffer size for Channel A. BUFF:COUN? On Reset On *RST, the value is set to 1. Error Messages • If no sensor or wrong sensor is connected to the channel, error –241, “Hardware missing” occurs.
SENSe Subsystem 10 • 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.
10 SENSe Subsystem [SENSe[1]]|SENSe2:BUFFer:MTYPe This command sets the measurement type to be returned from the buffer. It can only be used in conjunction with external trigger. NOTE This command is only applicable when connecting E9320 or N1920 sensor in peak mode.
SENSe Subsystem 10 Example BUFF:MTYP AVER This command sets the measurement type to average for Channel A. Query [SENSe[1]]|SENSe2:BUFFer:MTYP? This query is used to retrieve measurement type settings. Query Example BUFF:MTYP? This query returns the measurement type to average for Channel A. On Reset On *RST, the value is set to AVER Error Messages • If no sensor or wrong sensor is connected to the channel, error –241, “Hardware missing” occurs.
10 SENSe Subsystem • If parameter set is a string but it is invalid, error- 224 “Illegal parameter value” occurs.
SENSe Subsystem 10 [SENSe[1]]|SENSe2:CORRection Commands These commands provide for changes to be applied to the measurement result. They are used to enter duty cycle values, calibration factors and other external gains and losses.
10 SENSe Subsystem [SENSe[1]]|SENSe2:CORRection:CFACtor|GAIN[1][:INPut][:M AGNitude] This command is used to enter a gain correction value for the calibration factor. The power meter corrects every measurement by this factor to compensate for the gain. 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.
SENSe Subsystem 10 Parameters Item Description/Default Range of Values numeric_value (for CFACtor and GAIN1) A numeric value. 1 to 150 PCT1 • DEF: the default value is 100 % • MIN: 1 % DEF MIN MAX • MAX: 150 % 1 For example, a gain of 60 % corresponds to a multiplier of 0.6 and a gain of 150 % corresponds to a multiplier of 1.5. Example SENS2:CORR:GAIN1 This command sets a gain correction of 100% for Channel B. Reset Condition On reset, CFACtor|GAIN1 is set to 100 %.
10 SENSe Subsystem Query Example CORR:GAIN1? This command queries the current calibration factor setting for Channel A. Error Messages 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.
SENSe Subsystem 10 [SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2 Commands These commands are used to select the active sensor calibration table (using CSET1) and the active frequency dependent offset table (using CSET2). NOTE If any of the CSET1 commands are used when a P-Series, N8480 Series (excluding Option CFT) or E-Series power sensor is connected, the error –241, “Hardware missing” occurs.
10 SENSe Subsystem [SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2[:SELect] This command enters the name of the sensor calibration table or frequency dependent offset table which is to be used. The CSET1 command selects the sensor calibration table and the CSET2 command selects the frequency dependent offset table. The calibration factor is interpolated from the table using the setting for [SENSe[1]]|SENSe2:FREQuency.
SENSe Subsystem 10 Example CORR:CSET1 ‘PW1’ This command enters the name of the sensor calibration table which is to be used on Channel A. Reset Condition On reset the selected table is not affected. Query [SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2:[SELect]? The name of the selected table is returned as a quoted string. If no table is selected an empty string is returned. Query Example CORR:CSET1? This command queries the sensor calibration table currently used for Channel A.
10 SENSe Subsystem offset table is selected, the power meter verifies that the number of offset points defined is equal to the number of frequency points defined. 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.
SENSe Subsystem 10 [SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2:STATe This command is to enable and disable the use of the currently active sensor calibration table (CSET1) or frequency dependent offset table (CSET2). When a table has been selected and enabled, the calibration factors/offsets stored in it can be used by specifying the required frequency using the [SENSe[1]]|SENSe2:FREQuency command.
10 SENSe Subsystem Query [SENSe[1]]|SENSe2:CORRection:CSET[1]|CSET2:STATe? The query returns a 1 or 0 into the output buffer indicating whether a table is enabled or disabled. • 1 is returned when the table is enabled • 0 is returned when the table is disabled Query Example SENS2:CORR:CSET1:STAT? This command queries whether there is currently an active sensor calibration table for Channel B.
SENSe Subsystem 10 [SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3 Commands These commands control the pulse power measurement feature of the power meter. The following commands are detailed in this section: [SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3[:INPut] [:MAGNitude] [SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3:STATe NOTE You can use either DCYCLe or GAIN3 in these commands, both do the same.
10 SENSe Subsystem [SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3[:INPut] [:MAGNitude] This command is used to set the duty cycle for the pulse power measurement feature of the power meter. Pulse power measurements average out any deviations in the pulse, such as, overshoot or ringing. The result returned for a pulse power measurement is a mathematical representation of the pulse power rather than an actual measurement.
SENSe Subsystem 10 Syntax SENS 1 : CORR :DCYC :INP :MAGN :GAIN3 SENS2 Space numeric_value DEF MIN MAX ? Space MIN MAX Parameters Item Description/Default Range of Values numeric_value A numeric value for the duty cycle. 0.001 to 99.999 PCT DEF MIN MAX • DEF: the default value is 1 % • MIN: 0.001 % • MAX: 99.999 % The units are PCT, and are optional. Example CORR:DCYC 90PCT This command sets a duty cycle of 90 % for Channel A.
10 SENSe Subsystem Reset Condition On reset, the duty cycle is set to 1 % (DEF). Query [SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3[:INPut] [:MAGNitude]? [MIN|MAX] The query returns the current setting of the duty cycle or the values associated with MIN and MAX. Query Example CORR:GAIN3? This command queries the current setting of the duty cycle for Channel A.
SENSe Subsystem 10 [SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3:STATe This command is used to enable and disable the pulse power measurement feature. The [SENSe[1]]|SENSe2:CORRection:DCYCle|GAIN3 command should be used to enter the duty cycle of the signal you want to measure. Syntax SENS 1 : CORR :DCYC :STAT Space :GAIN3 0|OFF 1|ON SENS2 ? Example CORR:DCYC:STAT 1 This command enables the pulse measurement feature on Channel A.
10 SENSe Subsystem • 1 is returned when the pulse power measurement feature is enabled • 0 is returned when the pulse power measurement feature is disabled Query Example CORR:GAIN3:STAT? This command queries whether the pulse measurement feature is on or off. Error Messages • If [SENSe[1]]|SENSe2:CORRection:DCYCle:STATus is set to ON while [SENSe[1]]|SENSe2:SPEed is set to 200, the error –221, “Settings Conflict” occurs.
SENSe Subsystem 10 [SENSe[1]]|SENSe2:CORRection:FDOFfset|GAIN4[:INPut][:MA GNitude]? This command is used to return the frequency dependent offset currently being applied. Syntax SENS 1 : CORR :GAIN4 :INP :MAG ? :FDOFfset SENS2 Example CORR:GAIN4? This command queries the current frequency dependent offset being applied to Channel A. Reset Condition On reset, the frequency dependent offset is not affected.
10 SENSe Subsystem [SENSe[1]]|SENSe2:CORRection:GAIN2 Commands These commands provide a simple correction to a measurement for an external gain/loss.
SENSe Subsystem 10 [SENSe[1]]|SENSe2:CORRection:GAIN2:STATe This command is used to enable/disable a channel offset for the power meter setup. The [SENSe[1]]|SENSe2:CORRection:GAIN2[:INPut] [:MAGNitude] command is used to enter the loss/gain value. Syntax SENS 1 : CORR :GAIN2 :STAT Space 0|OFF 1|ON SENS2 ? Example CORR:GAIN2:STAT ON This command enables a channel offset on Channel A. Reset Condition On reset, channel offsets are disabled.
10 SENSe Subsystem Query [SENSe[1]]|SENSe2:CORRection:GAIN2:STATe? The query enters 1 or 0 into the output buffer indicating the status of the channel offsets. • 1 is returned if a channel offset is enabled • 0 is returned if a channel offset is disabled Query Example CORR:GAIN2:STAT? This command queries whether or not there is a channel offset applied to Channel A.
SENSe Subsystem 10 [SENSe[1]]|SENSe2:CORRection:GAIN2[:INPut] [:MAGNitude] This command is used to enter a channel offset value for the power meter setup, for example cable loss. The power meter then corrects every measurement by this factor to compensate for the gain/loss. Entering a value for GAIN2 using this command automatically turns the [SENSe[1]]|SENSe2:CORRection:GAIN2:STATe command to ON.
10 SENSe Subsystem Parameters Item Description/Default Range of Values numeric_value A numeric value: –100 to +100 dB DEF MIN MAX • DEF: the default is 0.00 dB • MIN: –100 dB • MAX: +100 dB Example CORR:GAIN2 50 This command sets a channel offset of 50 dB for Channel A. Reset Condition On reset, GAIN2 is set to 0.00 dB.
SENSe Subsystem 10 Query Example CORR:GAIN2? This command queries the current setting of the channel offset on Channel A. Error Messages • If a loss/gain correction value is entered using [SENSe[1]]|SENSe2:CORRection:GAIN2[:INPut][:MAGNitude] while [SENSe[1]]|SENSe2:SPEed is set to 200, the error –221, “Settings Conflict” occurs. However, the correction value is set but the [SENSe[1]]|SENSe2:CORRection:GAIN2:STATe command is not automatically set ON.
10 SENSe Subsystem [SENSe[1]]|SENSe2:DETector:FUNCtion This command sets the measurement mode for the E9320 and N1920 sensor either to average or peak sensor mode. Syntax SENS 1 : DET :FUNC Space SENS2 character_data ? Parameters Item Description/Default Range of Values character_data Defines the measurement mode: AVERage1 • AVERage: sets the E9320 and P-Series sensor to average only mode. NORMal2 • NORMal: sets the E9320 and P-Series sensor to normal mode.
SENSe Subsystem 10 Example SENS1:DET:FUNC NORM This command sets the sensor to peak mode for Channel A. Reset Condition On reset, the mode is set to NORMal. Query [SENSe[1]]|SENSe2:DETector:FUNCtion? The query returns the current sensor mode setting. Query Example SENS:DET:FUNC? This command queries the current sensor 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.
10 SENSe Subsystem [SENSe[1]]|SENSe2:FREQuency[:CW|:FIXed] This command is used to enter a frequency. If the frequency does not correspond directly to a frequency in the sensor calibration table, the power meter calculates the calibration factor using linear interpolation. For 8480 Series power sensor the power meter uses linear interpolation to calculate the calibration factor for the frequency entered if [SENSe[1]]|SENSe2:CORRection:CSET:STATe is ON.
SENSe Subsystem 10 Parameters Item Description/Default Range of Values numeric_value A numeric value for the frequency: 1 kHz to 1000.0 Ghz1 • DEF: the default value is 50 MHz DEF • MIN: 1 kHz MIN • MAX: 1000.0 GHz MAX The default units are Hz. 1 The following measurement units can be used: • • • • Hz kHz (103) MHz (106) GHz (109) Example FREQ 500kHz This command enters a Channel A frequency of 500 kHz. Reset Condition On reset, the frequency is set to 50 MHz (DEF).
10 SENSe Subsystem Query Example SENS2:FREQ? 414 This command queries the Channel B frequency setting.
SENSe Subsystem 10 [SENSe[1]]|SENSe2:FREQuency[:CW|:FIXed]:STARt This command sets the start frequency of average or peak frequency sweep. It must be used in conjunction with external trigger. If frequency sweep is disabled (frequency sweep step set to 0), start frequency will be set but will not take effect. NOTE This command is only applicable when used with E4410, N8480 (excluding Option CFT), E9300. E9320 or N1920 sensor.
10 SENSe Subsystem Syntax SENS 1 : :CW FREQ :STAR Space numeric_value DEF :FIX SENS2 MIN MAX ? Space MIN MAX Parameters Item Description Range of Values numeric_value A numeric value for the start frequency: 1 kHz to 1000.0 Ghz1 • DEF: the default value is 50 MHz DEF • MIN: 1 kHz MIN • MAX: 1000.0 GHz MAX The default units are Hz.
SENSe Subsystem 10 Example FREQ:STAR 1 MHz This command sets frequency sweep to start at 1 MHz for Channel A. Query [SENSe[1]]|SENSe2:FREQuency[:CW|:FIXed]:STARt? This query is used to retrieve start frequency (average or peak). Frequency returned is in Hz. Query Example FREQ:STAR? This query returns the start frequency of frequency sweep in Hz for Channel A. On Reset On *RST, the value is set to 50 MHz.
10 SENSe Subsystem [SENSe[1]]|SENSe2:FREQuency[:CW|:FIXEd]:STEP This command sets the number of steps in average or peak frequency sweep. It must be used in conjunction with external trigger. The frequency sweep range will be equally divided by the frequency step. If trace display is turned on, the measurement window will be restored to single numeric or analog depends on the number of measurement channel.
SENSe Subsystem 10 NOTE This command is only applicable when used with E4410, N8480 (excluding Option CFT), E9300, E9320 or N1920 sensor. NOTE SENS:FREQ:STAR, SENS:FREQ:STOP and SENS:FREQ:STEP are allowed to be set in any desirable sequence. Frequency step size calculated will be rounded to the nearest kHz with the minimum size of 1 kHz. When frequency range is less than frequency sweep step, the remaining steps will be repeated with the last frequency point.
10 SENSe Subsystem Example This command sets frequency sweep with 10 steps for Channel A. FREQ:STEP 10 Query [SENSe[1]]|SENSe2:FREQuency[:CW|:FIXed]:STEP? This query is used to retrieve the number of steps in average or peak frequency sweep. Query Example This query returns the number of steps in frequency sweep for Channel A. FREQ:STEP? On Reset On *RST, the value is set to 0. Error Messages • If no sensor or wrong sensor is connected to the channel, error –241, “Hardware missing” occurs.
SENSe Subsystem 10 • If parameter set is higher than 2048, error –222, “Data out of range; value clipped to upper limit” occurs.
10 SENSe Subsystem [SENSe[1]]|SENSe2:FREQuency[:CW|:FIXed]:STOP This command sets the stop frequency of average or peak frequency sweep. It must be used in conjunction with external trigger. If frequency sweep is disabled (frequency sweep step set to 0), stop frequency will be set but will not take effect. NOTE This command is only applicable when used with E4410, N8480 (exclduing Option CFT), E9300, E9320 or N1920 sensor.
SENSe Subsystem 10 Syntax SENS 1 : :CW FREQ :STOP Space numeric_value DEF :FIX SENS2 MIN MAX ? Space MIN MAX Parameters Item Description Range of Values numeric_value A numeric value for stop frequency: 1 kHz to 1000.0 GHz1 • DEF: the default value is 50 MHz DEF • MIN: 1 kHz MIN • MAX: 1000.0 GHz MAX The default units are Hz.
10 SENSe Subsystem Example FREQ:STOP 1MHz This command sets frequency sweep to stop at 1 MHz for Channel A. Query [SENSe[1]]|SENSe2:FREQuency[:CW|:FIXed]:STOP? This query is used to retrieve stop frequency of the average or peak frequency sweep. Frequency returned is in Hz. Query Example FREQ:STOP? This query returns the stop frequency of frequency sweep in Hz for Channel A. On Reset On *RST, the value is set to 50 MHz.
SENSe Subsystem 10 [SENSe[1]]|SENSe2:MRATe This command sets the measurement speed on the selected channel.
10 SENSe Subsystem Syntax SENS : 1 Space MRAT numeric_value ? SENS2 Parameters Item Description/Default Range of Values character_data A numeric value for the measurement speed: NORMal1 DOUBle1 FAST • NORMal: 20 readings/second • DOUBle: 40 readings/second • FAST: up to 1000 readings/second The default is NORMal. 1 When a channel is set to NORMal or DOUBle, TRIG:COUNt is set automatically to 1. Example MRAT DOUBle This command sets the Channel A speed to 40 readings/second.
SENSe Subsystem 10 Query [SENSe[1]]|SENSe2:MRAT? The query returns the current speed setting, either NORMal, DOUBle or FAST. Query Example MRAT? This command queries the current speed setting for Channel A. Error Messages • If 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 is set to FAST, error –241 “Hardware missing” occurs.
10 SENSe Subsystem [SENSe[1]]|SENSe2:POWer:AC:RANGe This command is only valid when used with an E- Series power sensor. Its purpose is to select one of two power ranges. • If 0 is selected, the power sensor’s lower range is selected • If 1 is selected, the power sensor’s upper range is selected Setting a range with this command automatically switches [SENSe[1]]|SENSe2:POWer:AC:RANGe:AUTO to OFF.
SENSe Subsystem 10 • 1 is returned when the upper range is selected • 0 is returned when the lower range is selected Query Example POW:AC:RANG? This command queries the current setting of the power sensor range. Error Messages This command is used with the E- Series power sensor. If one is not connected the error –241, “Hardware missing” occurs. NOTE For E-Series power sensor (E9320), the auto ranging feature will be disabled when normal and trigger modes are selected.
10 SENSe Subsystem [SENSe[1]]|SENSe2:POWer:AC:RANGe:AUTO This command is only valid when used with an E- Series power sensor or N8480 Series power sensor (excluding Option CFT). Its purpose is to enable and disable autoranging. When autoranging is ON, the power meter selects the best measuring range for the measurement. When autoranging is set to OFF, the power meter remains in the currently set range. The [SENSe[1]]|SENSe2:POWer:AC:RANGe command disables autoranging.
SENSe Subsystem 10 Reset Condition On reset, autoranging is enabled. Query [SENSe[1]]|SENSe2:POWer:AC:RANGe:AUTO? The query enters a 1 or 0 into the output buffer indicating the status of autoranging. • 1 is returned when autoranging is enabled • 0 is returned when autoranging is disabled Query Example POW:AC:RANG:AUTO? This command queries whether auto ranging is on or off.
10 SENSe Subsystem [SENSe[1]]|SENSe2:SWEep[1]|2|3|4 Commands These commands set offset time and time gate length as illustrated in the following diagram: Post-Trigger PreTrigger With no trace: internally calculated time With no trace: internally calculated time Time gate length: SENSe:SWEep:TIME Incoming signal from sensor Trigger Delay TRIG:DEL Delayed Trigger Trigger Point Point Defined using: TRIG:LEVel TRIG:SLOPe TRIG:HYSTeresis Offset time: SENSe:SWEep:OFFSet:TIME Data Collection Time Offset
SENSe Subsystem 10 [SENSe[1]]|SENSe2:SWEep[1]|2|3|4:AUTO This command is used to trigger Auto Gating and turning on or off the Perpetual Gating for the selected gate. This command is only applicable when N192x or E932x sensor is present and trigger acquisition mode is selected. NOTE Syntax SENS 1 : SWE 1 :AUTO Space OFF ON 2 SENS2 3 ONCE ? 4 Parameters Item Description/Default Range of Values character_data The status of Auto Gating and Perpetual Gating.
10 SENSe Subsystem Example SENS:SWE2:AUTO ON This command turns on Channel A Gate 2 Perpetual Gating. SENS2:SWE3:AUTO OFF This command turns off Channel B Gate 3 Perpetual Gating. SENS2:SWE4:AUTO ONCE This command triggers Auto Gating for Channel B Gate 4. Reset Condition On reset, Perpetual Gating will be disabled. Query [SENSe[1]]|SENSe2:SWEep[1]|2|3|4:AUTO? The query returns the current setting of perpetual gating(0 or 1).
SENSe Subsystem 10 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. • If Auto Gate fails, error –221 "Settings conflict; Auto Once failed" occurs.
10 SENSe Subsystem [SENSe[1]]|SENSe2:SWEep[1]|2|3|4:AUTO:REF1|REF2 This command is used to set the Reference 1 and 2 of the selected gate for Auto Gating Marker. This command is only applicable when N192x or E932x sensor is present and trigger acquisition mode is selected.
SENSe Subsystem 10 Example SENS1:SWE1:AUTO:REF1 10.0 This command sets the Channel A Auto Gating Marker Reference 1 to 10 % for Gate 1. SENS2:SWE2:AUTO:REF2 40.0 This command sets the Channel B Auto Gating Marker Reference 2 to 40% for Gate 2. Query [SENSe[1]]|SENSe2:SWEep[1]|2|3|4:AUTO:REF1|REF2? The query returns the current setting of Auto Gating Marker Reference 1 or 2 for the selected gate in numerical value.
10 SENSe Subsystem [SENSe[1]]|SENSe2:SWEep[1]|2|3|4:OFFSet:TIME This command sets the delay between the delayed trigger point and the start of the time- gated period (the offset time) for a P- Series sensor or a E9320 sensors set to NORMal mode. To set an E9320 sensor to NORMal mode, refer to the command “[SENSe[1]]|SENSe2:DETector:FUNCtion ” on page 410.
SENSe Subsystem 10 Example SENS2:SWE3:OFFS:TIME 0.001 This command sets the delay to 0.001 seconds. Reset Condition On reset, the value is set to 0 seconds. Query SENSe[1]]|SENSe2:SWEep[1]|2|3|4:OFFSet:TIME? The query returns the current delay between the trigger point and the start of the time- gated period. Query Example SENS2:SWE2:OFFS:TIME? The query returns the current delay between the trigger point and the start of the time- gated period for Channel B and gate 2.
10 SENSe Subsystem [SENSe[1]]|SENSe2:SWEep[1]|2|3|4:TIME This command sets the length of the time- gated period (time- gate length) for time- gated measurements for the P- Series and E9320 sensors which are set to NORMal mode. To set an E9320 sensor to NORMal mode, refer to the command “[SENSe[1]]|SENSe2:DETector:FUNCtion ” on page 410.
SENSe Subsystem 10 Reset Condition On reset, gate 1 is set to 100 µs and other gates to 0 s. Query SENSe[1]]|SENSe2:SWEep[1]|2|3|4:TIME? The query returns the current length of the time- gated period. Query Example SENS2:SWE2:TIME? This command queries the length of the time- gated period for Channel B and gate 2.
10 SENSe Subsystem [SENSe[1]]|SENSe2:TEMPerature? This this command to returns the P- Series power sensor's temperature in degrees Celsius. Syntax SENS 1 : :TEMP ? SENS2 Parameters Item Description/Default Range of Values numeric_value A numeric value defining sensor's temperature in degrees Celsius. –50 to 100 Example SENS2:TEMP? This command returns the current sensor temperature found on Channel B. Reset Condition On reset, this parameter is not affected.
SENSe Subsystem 10 Error Messages • If a P- Series sensor is not connected, error –241, “Hardware missing” occurs.
10 SENSe Subsystem [SENSe[1]]|SENSe2:TRACe Commands These commands are used to set: • The upper and lower limits for the trace display • The delay between the delayed trigger point and the start of the trace • The duration of the trace • NOTE The trace units. These commands can only be used with P-Series and E9320 sensors. The E9320 sensor must be set to NORMal mode.
SENSe Subsystem 10 [SENSe[1]]|SENSe2:TRACe:OFFSet:TIME This command sets the delay between the delayed trigger point and the start of the trace for P- Series or E9320 sensors are set to NORMal mode. To set an E9320 sensor to NORMal mode, refer to the command “[SENSe[1]]|SENSe2:DETector:FUNCtion ” on page 410.
10 SENSe Subsystem Reset Condition On reset, the delay is set to 0 seconds. Query SENSe[1]]|SENSe2:TRACe:OFFSet:TIME? The query returns the current delay between the delayed trigger point and the start of the trace. Query Example SENS:TRAC:OFFS:TIME? This command queries the current delay between the delayed trigger point and the start of the trace for Channel A.
SENSe Subsystem 10 [SENSe[1]]|SENSe2:TRACe:TIME This command sets the duration of the trace for a P- Series sensor and a E9320 sensors set to NORMal mode. To set the E9320 sensor to NORMal mode, refer to the command “[SENSe[1]]|SENSe2:DETector:FUNCtion ” on page 410. Syntax SENS : 1 :TIME TRAC Space numeric_value DEF SENS2 ? Parameters Item Description/Default Range of Values numeric_value The duration of the trace in seconds.
10 SENSe Subsystem Reset Condition On reset, the duration is set to 100 µs. Query SENSe[1]]|SENSe2:TRACe:TIME? The query returns the current duration of the trace. Query Example SENS2:TRAC:TIME? This command queries the current duration of the trace.
SENSe Subsystem 10 [SENSe[1]]|SENSe2:TRACe:UNIT This command sets the units for the trace for the specified channel. Syntax SENS 1 :UNIT :TRAC Space character_data 2 ? Parameters Item Description/Default Range of Values character_data • DBM: dBm • W: Watts DBM W Example SENS2:TRAC:UNIT W This command sets the trace units for Channel B to Watts. Reset Condition On reset the units are set to dBm.
10 SENSe Subsystem Query [SENSe[1]]|SENSe2:TRACe:UNIT? The query command returns the current value of character_data. Query Example SENS2:TRAC:UNIT? 450 This command queries the current trace units for Channel B.
SENSe Subsystem 10 [SENSe[1]]|SENSe2:V2P ATYPe|DTYPe This command is used to select the type of linearity correction that is applied to the channel sensors being used. For most 8480 Series sensors, the correct (A type or D type) linearity correction table is automatically selected. However, for the V8486A and W8486A sensors, D type (diode) correction is selected and the automatic selection must be overridden. NOTE This command is only applicable for V8486A and W8486A sensors.
10 SENSe Subsystem Query [SENSe[1]]|SENSe2:V2P? The query returns the current type of linearity correction being displayed on the screen. Query Example SENS:V2P? This command queries which linearity 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.
SENSe Subsystem 10 SENSe[1]|2:TRACe:AUToscale This command will automatically scale the trace capture to between 50 % to 100 % of the Y scale (power axis) and between 20 % to 50 % of the X scale (time axis) with the triggering edge aligned to the center of the trace. NOTE This feature will only work with modulated signal exceeding –15 dBm in amplitude. Most of the pulse and amplitude modulated signals are autoscalable.
10 SENSe Subsystem Example SENS:TRAC:AUT This command triggers the Auto Scaling for Channel A. SENS2:TRAC:AUT This command triggers the Auto Scaling for Channel B. Reset Condition 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.
SENSe Subsystem 10 SENSe[1]|2:TRACe:LIMit:LOWer This command sets the lower scale limit of the trace for the specified channel. The units used are dependent on the current setting of SENS:TRAC:UNIT as shown in Table 10- 23. Table 10-23Measurement Units NOTE Units: SENS:TRAC:UNIT Units: SENS:TRAC:LIM:LOW dBm dBm W W The trace lower scale limit is maintained at a lower power than the upper scale limit which is adjusted to be slightly greater than the lower scale limit if necessary.
10 SENSe Subsystem Parameters Item Description/Default Range of Values numeric_value A numeric value for the trace lower scale limit. –150 to 230 dBm DEF MIN MAX • DEF: the default is 20 dBm • MIN: –150 dBm • MAX: 230 dBm Example SENS2:TRAC:LIM:LOW 10 This command sets the trace lower scale limit to 10 dBm for Channel B. Reset Condition On reset, the value is set to –50 dBm.
SENSe Subsystem 10 Query Example SENSe:TRAC:LIM:LOW? This command queries the trace lower scale limit of Channel A.
10 SENSe Subsystem SENSe[1]|2:TRACe:LIMit:UPPer This command sets the upper scale limit of the trace for the specified channel. The units used are dependent on the current setting of SENS:TRAC:UNIT as shown in Table 10- 24. Table 10-24Measurement Units NOTE Units: SENS:TRAC:UNIT Units: SENS:TRAC:LIM:UPP dBm dBm W W The trace lower scale limit is maintained at a lower power than the upper scale limit which is adjusted to be slightly greater than the lower scale limit if necessary.
SENSe Subsystem 10 Parameters Item Description/Default Range of Values numeric_value A numeric value for the trace lower scale limit. –150 to 230 dBm DEF MIN MAX • DEF: the default is 20 dBm • MIN: –150 dBm • MAX: 230 dBm Example SENS:TRAC:LIM:UPP 100 This command sets the trace upper scale limit to 100 dBm for Channel A. Reset Condition On reset, the value is set to DEF.
10 SENSe Subsystem Query Example SENS:TRAC:LIM:UPP? 460 This command queries the trace upper scale limit of Channel A.
SENSe Subsystem 10 SENSe[1]|2:TRACe:X:SCALe:PDIV This command is used to set the X Scale value (per division) for the selected trace. NOTE This command is only applicable when N192x or E932x sensor is present and trigger acquisition mode is selected. Syntax SENS :TRAC 1 :X :PDIV :SCAL Space numeric_value ? 2 Parameters Item Description/Default Range of Values numeric_value The numeric value for X-axis scale. 2 ns to 0.1 s Example SENS:TRAC:X:SCAL:PDIV 0.
10 SENSe Subsystem Reset Condition On reset, X Start = 0 s; X Scale = 10 µs. Query SENSe[1]|2:TRACe:X:SCALe:PDIV? The query returns the current scale setting of X- axis in numerical value. Query Example SENS:TRAC:X:SCAL:PDIV? This command queries the Channel A current X- axis scale setting in numerical value. Error Messages • If no sensor or wrong sensor is connected to the channel, error –241 "Hardware missing" occurs.
SENSe Subsystem 10 SENSe[1]|2:TRACe:Y:SCALe:PDIV This command is used to set the Y Scale value (per division) for the selected trace. The Y Scale value set by this SCPI command is dependant on the current Y- axis unit, which can be set using SENS:TRAC:UNIT command. NOTE This command is only applicable when N192x or E932x sensor is present and trigger acquisition mode is selected.
10 SENSe Subsystem Example SENS:TRAC:Y:SCAL:PDIV 0.002 This command sets the Channel A Y Scale value to 0.002 step. SENS2:TRAC:Y:SCAL:PDIV 0.05 This command sets the Channel B Y Scale value to 0.05 step. Reset Condition On reset, Y Max = 20 dBm; Y Scale = 7 dB. Query SENSe[1]|2:TRACe:Y:SCALe:PDIV? The query returns the current scale setting of Y- axis in numerical value. Query Example SENS:TRAC:Y:SCAL:PDIV? This command queries the Channel A current Y- axis scale setting in numerical value.
N1911A/1912A P-Series Power Meters Programming Guide 11 STATus Subsystem STATus Subsystem 466 Status Register Set Commands 468 Device Status Register Sets 473 Operation Register Sets 475 STATus:OPERation 476 STATus:OPERation:CALibrating[:SUMMary] 477 STATus:OPERation:LLFail[:SUMMary] 478 STATus:OPERation:MEASuring[:SUMMary] 479 STATus:OPERation:SENSe[:SUMMary] 480 STATus:OPERation:TRIGger[:SUMMary] 481 STATus:OPERation:ULFail[:SUMMary] 482 STATus:PRESet 483 Questionable Register Sets 484 STATus:QUEStionabl
11 STATus Subsystem STATus Subsystem The STATus command subsystem enables you to examine the status of the power meter by monitoring the following status registers: • Device status register • Operation status register • Questionable status register The contents of these and other registers in the power meter are determined by one or more status registers.
STATus Subsystem 11 STATus:DEVice (page 473) STATus:OPERation (page 476) STATus:OPERation:CALibrating[:SUMMary] (page 477) STATus:OPERation:LLFail[:SUMMary] (page 478) STATus:OPERation:MEASuring[:SUMMary] (page 479) STATus:OPERation:SENSe[:SUMMary] (page 480) STATus:OPERation:TRIGger[:SUMMary] (page 481) STATus:OPERation:ULFail[:SUMMary] (page 482) STATus:PRESet (page 483) STATus:QUEStionable (page 485) STATus:QUEStionable:CALibration[:SUMMary] (page 486) STATus:QUEStionable:POWer[:SUMMary] (page 487) Ex
11 STATus Subsystem Status Register Set Commands This section describes the five status register set commands. Each can be used to examine all of the eleven status registers listed on page 467. To apply a command to a specific register, prefix the command with the name of the appropriate register.
STATus Subsystem 11 [:EVENt]? This query returns a 16 bit decimal- weighted number representing the bits set in the Event Register of the SCPI Register Set you require to control. The format of the return is in the range of 0 to 32767 (215–1). This query clears all bits in the register to 0. NOTE The [:EVENt]? is the default command if the STATus SCPI are not accompanied by any of the Status Register Set commands (:COND, :ENAB, :NTR and :PTR).
11 STATus Subsystem Parameters Type Description Range of Values NRf The value used to set the Enable Register. 0 to 216–1 non-decimal numeric Query :ENABle? The query returns a 15 bit decimal- weighted number representing the contents of the Enable Register of the SCPI Register Set being queried. The format of the return is in the range of 0 to 32767 (215–1).
STATus Subsystem 11 Syntax :NTR space NRf non-decimal numeric ? Parameters Type Description Range of Values NRf The value used to set the NTR Register. 0 to 216–1 non-decimal numeric Query :NTRansition? The query returns a 15 bit decimal- weighted number representing the contents of the Negative Transition Register of the SCPI register set being queried. The format of the return is in the range of 0 to 32767 (215–1).
11 STATus Subsystem Syntax :PTR space NRf non-decimal numeric ? Parameters Type Description Range of Values NRf The value used to set the PTR Register. 0 to 216–1 non-decimal numeric Query :PTRansition? 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 in the range of 0 to 32767 (215–1).
STATus Subsystem 11 Device Status Register Sets The status registers contain information which give device status information. The contents of the individual registers of these register sets may be accessed by appending the commands listed in “Status Register Set Commands”. The following command descriptions detail the SCPI register you require to control but do not detail the register set commands.
11 STATus Subsystem set when a power sensor is disconnected. • STATus:DEVice:PTRansition is 1, then STATus:DEVice:EVENt? is set when a power sensor is connected. NOTE Querying STATus:DEVice:EVENt? clears the STATus:DEVice:EVENt? register. The Channel A and B sensor error bits (3 and 4) are set to: • 1, if the P- Series, N8480 Series or E- Series power sensor EEPROM has failed or if there are power sensors connected to both the rear and front panel connectors. • 0, for every other condition.
STATus Subsystem 11 Operation Register Sets The following registers contain information which is part of the power meter’s normal operation. The contents of the individual registers of these register sets may be accessed by appending the commands listed in “Status Register Set Commands”. The following command descriptions detail the SCPI register you require to control but do not detail the Register Set commands.
11 STATus Subsystem STATus:OPERation The operation status register set contains conditions which are a part of the operation of the power meter as a whole.
STATus Subsystem 11 STATus:OPERation:CALibrating[:SUMMary] The operation status calibrating summary register set contains information on the calibrating status of the power meter.
11 STATus Subsystem STATus:OPERation:LLFail[:SUMMary] The operation status lower limit fail summary register set contains information on the lower limit fail status of the power meter.
STATus Subsystem 11 STATus:OPERation:MEASuring[:SUMMary] The operation status measuring summary register set contains information on the measuring status of the power meter. The following bits in these registers are used by the power meter: Bit Number Decimal Weight Definition 0 - Not used 1 2 Channel A MEASuring Status 2 4 Channel B MEASuring Status (N1912A only) 3-15 - Not used These bits are set when the power meter is taking a measurement.
11 STATus Subsystem STATus:OPERation:SENSe[:SUMMary] The operation status sense summary register set contains information on the status of the power sensors. The following bits in these registers are used by the power meter: Bit Number Decimal Weight Definition 0 - Not used 1 2 Channel A SENSe Status 2 4 Channel B SENSe Status (N1912A only) 3-15 - Not used These bits are set when the power meter is reading data from the E- Series power sensor or N8480 Series power sensor EEPROM.
STATus Subsystem 11 STATus:OPERation:TRIGger[:SUMMary] The operation status trigger summary register set contains information on the trigger status of the power meter.
11 STATus Subsystem STATus:OPERation:ULFail[:SUMMary] The operation status upper limit fail summary register set contains information on the upper limit fail status of the power meter.
STATus Subsystem 11 STATus:PRESet PRESet sets a number of the status registers to their preset values as shown below - all other registers are unaffected. Bit 15 is always 0.
11 STATus Subsystem Questionable Register Sets The questionable register sets contain information which gives an indication of the quality of the data produced by the power meter. The contents of the individual registers in these register sets may be accessed by appending the commands listed in “Status Register Set Commands”. The following command descriptions detail the SCPI register you require to control but do not detail the register set commands.
STATus Subsystem 11 STATus:QUEStionable The questionable register set contains bits that indicate the quality of various aspects of signals processed by the power meter.
11 STATus Subsystem STATus:QUEStionable:CALibration[:SUMMary] The questionable calibration summary register set contains bits which give an indication of the quality of the data produced by the power meter due to its calibration status.
STATus Subsystem 11 STATus:QUEStionable:POWer[:SUMMary] The questionable power summary register set contain bits that indicate the quality of the power data being acquired by the power meter.
11 STATus Subsystem • Channel A requires zeroing Bit 6 is set when the following condition occurs (N1912A only): • Channel B requires zeroing These bits are cleared when no errors or events are detected by the power meter during a measurement covering the causes given for it to set.
Logical OR Logical OR N1911A/1912A P-Series Power Meters Programming Guide 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 STAT:OPER:SENS:SUMM Operation SENSe Summary Logical OR Logical OR Logical OR 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Logical OR STAT:OPER:LLF:SUMM LLF LLF LLF LLF STAT:DEV Serial Poll, *SRE (bit 6 RQS) 0 1 2 3 4 5 6 7 Status Byte Logical OR Status Block Diagram STAT:OPER:ULF:SUMM 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Logical OR Upper Window, Upper Measurement Lower Window, Upper
11 STATus Subsystem THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK.
N1911A/1912A P-Series Power Meters Programming Guide 12 SYSTem Subsystem SYSTem Subsystem 492 SYSTem:COMMunicate:GPIB[:SELF]:ADDRess 494 SYSTem:COMMunicate:LAN:AIP[:STATe] 496 SYSTem:COMMunicate:LAN:CURRent:ADDRess? 497 SYSTem:COMMunicate:LAN:CURRent:DGATeway? 498 SYSTem:COMMunicate:LAN:CURRent:DNAMe? 499 SYSTem:COMMunicate:LAN:CURRent:SMASk? 500 SYSTem:COMMunicate:LAN:ADDRess 501 SYSTem:COMMunicate:LAN:DGATeway 503 SYSTem:COMMunicate:LAN:DHCP[:ST
12 SYSTem Subsystem SYSTem Subsystem The SYStem command subsystem is used to: • Return error numbers and messages from the power meter • Preset the power meter • Set the GPIB address • Set the LAN address • Set the command language • Query the SCPI version Keyword Parameter Form Notes Page SYSTem :COMMunicate :GPIB [:SELF] :ADDRess page 494 page 496 :LAN :AIP [:STATe] :CURRent :ADDRess? [query only] page 497 :DGATeway? [query only] page 498 :DNAMe? [query only] p
SYSTem Subsystem Keyword Parameter Form :RESTart :SMASk Notes Page [no query] page 511 12 page 512 :DISPLAY [query only] :BMP? page 514 page 515 :ERRor :HELP [query only] :HEADers? page 525 :LOCal :PRESet page 523 character_data [event; no query] page 526 :REMote page 605 :RWLock page 606 :VERSion? N1911A/1912A P-Series Power Meters Programming Guide [query only] page 607 493
12 SYSTem Subsystem SYSTem:COMMunicate:GPIB[:SELF]:ADDRess This command sets the GPIB address of the power meter. Syntax SYST :COMM :SELF :GPIB :ADDR Space numeric_value DEF MIN MAX ? Space MIN MAX Parameters Item Description/Default Range of Values numeric_value A numeric value for the address. 0 to 30 DEF MIN MAX • DEF: the default value is 13 • MIN: 0 • MAX: 30 Example SYST:COMM:GPIB:ADDR 13 494 This command sets the GPIB address to 13.
SYSTem Subsystem 12 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 SYST:COMM:GPIB:ADDR? This command queries the setting of the GPIB address.
12 SYSTem Subsystem SYSTem:COMMunicate:LAN:AIP[:STATe] This command enables the AutoIP protocol to dynamically assign the IP address when connecting to the power meter in an isolated (non- site) LAN network (for example, laptop to power meter).
SYSTem Subsystem 12 SYSTem:COMMunicate:LAN:CURRent:ADDRess? This command returns the current setting of the IP address in use by the power meter. NOTE If DHCP or AutoIP are enabled and successful, then one of these IP address modes assigns the IP address, otherwise it is the static IP address. Syntax SYST :COMM :LAN :CURR :ADDR ? Example SYST:COMM:LAN:CURR:ADDR? This command queries the current setting of the IP address.
12 SYSTem Subsystem SYSTem:COMMunicate:LAN:CURRent:DGATeway? This command returns the current setting of the LAN IP router/gateway address in use by the power meter.
SYSTem Subsystem 12 SYSTem:COMMunicate:LAN:CURRent:DNAMe? This command returns the current setting of the LAN domain name in use by the power meter. NOTE If DHCP or AutoIP are successfully enabled, then one of these IP address modes assign the LAN domain name, otherwise it is the static LAN domain name. Syntax SYST :COMM :LAN :CURR :DNAM ? Example SYST:COMM:LAN:CURR:DNAM? This command queries the current setting of the LAN domain name.
12 SYSTem Subsystem SYSTem:COMMunicate:LAN:CURRent:SMASk? This command returns the current setting of the LAN subnet mask in use by the power meter. NOTE If DHCP or AutoIP are successfully enabled, then one of these IP address modes assign the LAN subnet mask, otherwise it is the static LAN subnet mask. Syntax SYST :COMM :LAN :CURR :SMAS ? Example SYST:COMM:LAN:CURR:SMAS? 500 This command queries the current setting of the LAN subnet mask.
SYSTem Subsystem 12 SYSTem:COMMunicate:LAN:ADDRess This command sets the LAN (IP) address of the power meter. Syntax SYST :COMM :LAN :ADDR Space character_data ? Parameters Item Description Range of Values character_data Numeric character values for the address. Up to 15 characters, formatted as follows: A.B.C.D where A, B, C, D = 0 to 255 0 to 255 (no embedded spaces) Example SYST:COMM:LAN:ADDR ‘130.015.156.255’ This command sets the LAN IP address to 130.015.156.255.
12 SYSTem Subsystem Query Example SYST:COMM:LAN:ADDR? This command queries the setting of the LAN IP address. Remark If the paramater value is more than 255, error –232 “Invalid format" occurs.
SYSTem Subsystem 12 SYSTem:COMMunicate:LAN:DGATeway This command sets the LAN IP router/gateway address for the power meter. Syntax SYST :COMM :LAN :DGAT Space character_data ? Parameters Item Description Range of Values character_data Numeric character values for the address. Up to 15 characters, formatted as follows: A.B.C.D where A, B, C, D = 0 to 255 0 to 255 (no embedded spaces) Example SYST:COMM:LAN:DGAT ‘130.2.6.200’ This command sets the gateway address to 130.2.6.
12 SYSTem Subsystem Query Example SYST:COMM:LAN:DGAT? This command queries the setting of the gateway address. Remark If the paramater value is more than 255, error –232 “Invalid format" occurs.
SYSTem:COMMunicate:LAN:DHCP[:STATe] This command enables the dynamic host configuration protocol. Syntax SYST :COMM :LAN :DHCP :STAT Space 0|OFF 1|ON ? Example SYST:COMM:LAN:DHCP ON This command enables the DHCP. Query SYSTem:COMMunicate:LAN:DHCP? • 1 is returned if DHCP is enabled • 0 is returned if DHCP is disabled Query Example SYST:COMM:LAN:DHCP? This command queries the state of the DHCP.
12 SYSTem Subsystem SYSTem:COMMunicate:LAN:DNAMe This command sets the domain name for the power meter. Syntax SYST :COMM :LAN :DNAM Space character_data ? Parameters Item Description Range of Values character_data Character values of up to 16 characters Maximum of 16 characters Example SYST:COMM:LAN:DNAM ‘myco.com’ This command sets the hostname to myco.com. Query SYSTem:COMMunicate:LAN:DNAM? The query returns the current setting of the LAN domain name.
SYSTem Subsystem 12 Query Example SYST:COMM:LAN:DNAM? This command queries the setting of the domain name.
12 SYSTem Subsystem SYSTem:COMMunicate:LAN:HNAMe This command sets the hostname for the power meter.
SYSTem Subsystem 12 Query Example SYST:COMM:LAN:HNAM? This command queries the setting of the hostname.
12 SYSTem Subsystem SYSTem:COMMunicate:LAN:MAC? This query returns the LAN MAC address. Syntax SYST :COMM :LAN :MAC ? Example SYST:COMM:LAN:MAC? 510 This command queries the current MAC address.
SYSTem Subsystem 12 SYSTem:COMMunicate:LAN:RESTart This command restarts the power meter's network stack; any LAN configuration changes can only take effect after this is performed. Syntax SYST :COMM :LAN :REST Example SYST:COMM:LAN:REST This command restarts the LAN network with new configuration.
12 SYSTem Subsystem SYSTem:COMMunicate:LAN:SMASk This command sets the subnet mask of the power meter. Syntax SYST :COMM :LAN :SMAS Space character_data ? Parameters Item Description Range of Values character_data Numeric character values for the address. Up to 15 characters, formatted as follows: A.B.C.D where A, B, C, D = 0 to 255 0 to 255 (no embedded spaces) Example SYST:COMM:LAN:SMAS ‘255.255.248.0’ This command sets the subnet mask to 255.255.248.0.
SYSTem Subsystem 12 Query Example SYST:COMM:LAN:SMAS? This command queries the setting of the LAN subnet mask. Remark If the paramater value is more than 255, error –232 “Invalid format" occurs.
12 SYSTem Subsystem SYSTem:DISPlay:BMP This command returns the display image in bitmap format. This command is limited to a maximum of five image returns per second. NOTE It is not recommended to use this command in Fast Mode, as it slows down the measurement rate. Syntax SYST :DISP :BMP ? Example SYST:DISP:BMP? 514 This command returns the display image in bitmap format.
SYSTem Subsystem 12 SYSTem:ERRor? This query returns error numbers and messages from the power meter’s error queue. When an error is generated by the power meter, it stores an error number and corresponding message in the error queue. One error is removed from the error queue each time this command is executed. The errors are cleared in the order of first- in first- out, this is the oldest erros are cleared first. To clear all the errors from the error queue, execute *CLS command.
12 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.
SYSTem Subsystem 12 Error Message List –101 Invalid character An invalid character was found in the command string. You may have inserted a character such as #, $, or % in the command header or within a parameter. For example, LIM:LOW O#. –102 Syntax error Invalid syntax was found in the command string. For example, LIM:CLE:AUTO, 1 or LIM:CLE: AUTO 1. –103 Invalid separator An invalid separator was found in the command string.
12 SYSTem Subsystem –121 Invalid character in number An invalid character was found in the number specified for a parameter value. For example, SENS:AVER:COUN 128#H. –123 Exponent too large A numeric parameter was found whose exponent was larger than 32,000. For example, SENS:COUN 1E34000. –124 Too many digits A numeric parameter was found whose mantissa contained more than 255 digits, excluding leading zeros.
SYSTem Subsystem –168 12 Block data not allowed A legal block data element was encountered but not allowed by the power meter at this point. For example SYST:LANG #15FETC?. –178 Expression data not allowed A legal expression data was encountered but not allowed by the power meter at this point. For example SYST:LANG (5+2).
12 520 SYSTem Subsystem –226 Lists not same length This occurs when SENSe:CORRection:CSET[1]|CSET2:STATe is set to ON and the frequency and calibration/offset lists do not correspond in length. –230 Data corrupt or stale;Please calibrate Channel B When CAL[1|2]:RCAL is set to ON and the sensor currently connected to Channel B has not been calibrated, then any command which would normally return a measurement result (for example FETC?, READ?, or MEAS?) will generate this error message.
SYSTem Subsystem 12 –241 Hardware missing The power meter is unable to execute the command because either no power sensor is connected or it expects an E-Series or N8480 Series power sensor and one is not connected. –310 System error;Dty Cyc may impair accuracy with ECP sensor This indicates that the sensor connected is for use with CW signals only. –310 System error;Ch A Dty Cyc may impair accuracy with ECP sensor This indicates that the sensor connected to Channel A is for use with CW signals only.
12 522 SYSTem Subsystem –330 Self-test Failed;Measurement Channel Fault –330 Self-test Failed;Measurement Channel A Fault –330 Self-test Failed;Measurement Channel B Fault –330 Self-test Failed;Calibrator Fault Refer to “Calibrator” on page 104 if you require a description of the calibrator test. –330 Self-test Failed;ROM Check Failed –330 Self-test Failed;RAM Check Failed –330 Self-test Failed;Display Assy.
SYSTem Subsystem 12 SYSTem:HELP:HEADers? This query returns a list of all SCPI commands supported by the instrument. Data is returned in IEEE 488.2 arbitrary block program data format as shown in Figure 12- 21 below. #xyyy..yddd................ddd The number of data bytes (d) contained in the block. Line feed character signifies the end of the block The number of y digits Data bytes Signifies the start of the block Example: if there are 12435 data bytes, y = 12435 and x = 5 Figure 12-21IEEE 488.
12 SYSTem Subsystem Example SYST:HELP:HEAD? 524 This command returns the SCPI commands supported by the instrument.
SYSTem Subsystem 12 SYSTem:LOCal This command unlocks the front panel keypad and enables the power meter to be controlled from the front panel. The power meter display status reporting line shows “LCL”. Syntax SYST :LOC Example SYST:LOC This command unlocks the power meter front panel keypad and enables local front panel control.
12 SYSTem Subsystem SYSTem:PRESet This command presets the power meter to values appropriate for measuring the communications format specified by . The power meter is preset to default values if no value or the value DEFault is supplied. NOTE DEFault settings apply to both *RST and to SYSTem:PREset DEFault unless stated otherwise. For further information on preset configurations, refer to Table 12- 26 through to Table 12- 83.
SYSTem Subsystem 12 Syntax SYST :PRES Space character_data Parameters Item Description Range of Values character_data A communications format which determines the preset values. Refer to Table 12-26 through to Table 12-74 for the preset values for each format.
12 SYSTem Subsystem Example SYST:PRES DEF This command presets the power meter with default values. The same default values are set when the parameter is omitted. Error messages • If a non- E- Series power sensor or N8480 Series power sensor with Option CFT is connected, the command can be used to set the power meter to Default settings.
SYSTem Subsystem 12 Preset Values DEFault Table 12- 26 shows the power meter presets when is set to DEFault or omitted. Values are shown for all SCPI commands: Table 12-26DEFault: Power Meter Presets Command Setting Comments CALC[1]|2|3|4:FEED[1]|2 “POW:AVER” Select average measurement type CALC[1]|2|3|4:GAIN[:MAGN] 0.
12 SYSTem Subsystem Command Setting Comments DISP[:WIND[1]|2]:FORM Agilent N1911A: Upper - digital Lower - analog Display format Agilent N1912A: Upper - digital Lower - digital DISP[:WIND[1]|2]:MET:LOW –70.000 dBm Analog meter lower limit DISP[:WIND[1]|2]:MET:UPP +20.
SYSTem Subsystem 12 Command Setting Comments [SENS[1]]|SENS2:CORR:CSET[1]| CSET2[:SEL] not affected Selected sensor calibration table [SENS[1]]|SENS2:CORR:CSET[1]| CSET2:STAT not affected Sensor calibration table disabled [SENS[1]]|SENS2:CORR:DCYC|GAIN3 [:INP][:MAGN] 1.
12 SYSTem Subsystem Command Setting Comments TRIG[:SEQ]:DEL 0 Delay between recognition of trigger event and start of a measurement TRIG[:SEQ]:HOLD 1 µs Trigger holdoff TRIG[:SEQ]:HYST 0 dB Fall/rise below/above TRIG:LEV TRIG[:SEQ]:LEV 0 dB Power level TRIG[:SEQ]:LEV:AUTO ON Enable automatic setting of trigger level TRIG[:SEQ]:SLOP POS Trigger event recognized on rising edge TRIG[:SEQ[1]|2]:COUN 1 Trigger events for measurement cycle TRIG[:SEQ[1]|2]:DEL:AUTO ON Enable settling ti
SYSTem Subsystem 12 GSM900 Table 12- 27 shows the power meter presets when is set to GSM900. The GSM900 set- up provides the following: • Average power measurement in one GSM timeslot • Trace display showing “on” timeslot A GSM900 measurement is started by detecting the rising edge of a GSM RF burst—for example the burst emitted by a GSM mobile—using the internal RF level trigger. The trigger level is set to –20 dBm.
12 SYSTem Subsystem Command Setting Comments TRIG[:SEQ]:LEV:AUTO OFF Disable automatic setting of the trigger level TRIG[:SEQ]:LEV –15 dBm Power level TRIG[:SEQ]:SLOP POS Trigger event recognized on the rising edge of a signal TRIG[:SEQ]:DEL 20 µs Delay between recognition of trigger event and start of a measurement TRIG[:SEQ]:HOLD 4275 µs Trigger holdoff [SENS[1]]|SENS2:POW:AC:RANG:AUTO OFF Auto range off [sens[1]]|SENS2:POWER:AC:RANG UPPER Range set to upper 1 Step detection ena
SYSTem Subsystem Function 12 Setting Single Channel Dual Channel Feed N/A N/A Measurement N/A N/A Feed N/A N/A Measurement N/A N/A Feed Gate 1 Channel A Gate 1 primary channel* Measurement Avg Avg Feed DEF See Table 12-29 Measurement DEF See Table 12-29 Window/measurement setup Upper window/upper measurement (UU) Upper window/lower measurement (UL) Lower window/upper measurement (LU) Lower window/lower measurement (LL) * For further information refer to “Primary and Secondar
12 SYSTem Subsystem EDGE EDGE (Enhanced Data for Global Evolution or Enhanced Data for GSM Evolution) is an enhancement of the GSM standard. Whereas the GSM modulation scheme is GMSK which has constant amplitude, the EDGE modulation scheme is 8PSK which has variable amplitude. The EDGE set- up provides: • Average power measurement in an EDGE burst. • Peak- to- average ratio in an EDGE burst.
SYSTem Subsystem 12 Command Setting Comments [SENS[1]]|SENS2:SWE[1]|2|3|4 :TIME Gate 1: 520 µs Gates 2 - 4: 0 Length of time gated period for time gated measurements.
12 SYSTem Subsystem Table 12-31EDGE: Power Meter Presets: Window/Measurement Settings Function Setting Single Channel Dual Channel Upper window Channel A trace Primary channel* trace Lower window Dual numeric See Table 12-32 Feed N/A N/A Measurement N/A N/A Feed N/A N/A Measurement N/A N/A Feed Gate 1 Channel A Gate 1 primary channel* Measurement Avg Avg Feed Gate 1 Channel A See Table 12-32 Measurement Pk-to-Avg See Table 12-32 Display setup Window/measurement setup Uppe
SYSTem Subsystem Function 12 Secondary Channel Sensor No Sensor Non P-Series or E9320 Sensor P-Series and E9320 Sensor Feed Gate 1 primary channel* Secondary channel* Gate1 secondary channel* (Channel B) Measurement Pk-to-Avg Avg Avg * For further information refer to “Primary and Secondary Channels” on page 526.
12 SYSTem Subsystem CDMAone The cdmaOne set- up provides: • Average power in an IS- 95 cdmaOne signal (bandwidth is less than 1.5 MHz). • Peak power and peak- to- average ratio of the signal over a defined, statistically valid number of samples. The reading is continuously refreshed. This gives an indication of how cdmaOne channel loading affects peak power and power distribution. The measurement is a continuously gated measurement on a cdmaOne signal.
SYSTem Subsystem 12 Command Setting Comments [SENS[1]]|SENS2:SWE[1]|2|3|4 :OFF:TIME Gate 1: 0 s Gates 2 - 4: 0 Delay between trigger point and time gated period. [SENS[1]]|SENS2:SWE[1]|2|3|4 :TIME Gate 1: 10 ms Gates 2 - 4: 0 Length of time gated period for time gated measurements.
12 SYSTem Subsystem Function Setting Single Channel Dual Channel Feed Gate 1 Channel A Gate 1 primary channel* Measurement Avg Avg Feed DEF See Table 12-35 Measurement DEF See Table 12-35 Window/measurement setup Upper window/upper measurement (UU) Upper window/lower measurement (UL) Lower window/upper measurement (LU) Feed Gate 1 Channel A See Table 12-35 Measurement Peak See Table 12-35 Feed Gate 1 Channel A See Table 12-35 Measurement Pk-to-Avg See Table 12-35 Lower window/
SYSTem Subsystem Function 12 Secondary Channel Sensor No Sensor Non P-Series or E9320 Sensor P-Series and E9320 Sensor Feed Gate 1 primary channel* Gate 1 primary channel* Gate 1 secondary channel* (Channel B) Measurement Peak Pk-to-Avg Avg Lower window/lower measurement (LL) Feed Gate 1 primary channel* Secondary channel* Gate 1 secondary channel* (Channel B) Measurement Pk-to-Avg Avg Pk-to-Avg * For further information refer to “Primary and Secondary Channels” on page 526.
12 SYSTem Subsystem CDMA2000 The cdma2000 set- up provides: • Average power in a cdma2000 signal (bandwidth <=5 MHz). • Peak power and peak- to- average ratio of the signal over a defined, statistically valid number of samples. The reading is continuously refreshed. This indicates how cdma2000 channel loading affects peak power and power distribution. The measurement is a continuously gated measurement on a 3 GPP cdma2000 signal. Its aim is to measure the peak and average power corresponding to a <0.
SYSTem Subsystem 12 Command Setting Comments [SENS[1]]|SENS2:SWE[1]|2|3|4 :TIME Gate 1: 10 ms Gates 2 - 4: 0 Length of time gated period for time gated measurements.
12 SYSTem Subsystem Function Setting Single Channel Dual Channel Feed Gate 1 Channel A Gate 1 primary channel* Measurement Avg Avg Upper window/upper measurement (UU) Upper window/lower measurement (UL) Feed DEF DEF Measurement DEF DEF Feed Gate 1 Channel A Gate 1 primary channel* Measurement Peak Peak Feed Gate 1 Channel A See Table 12-38 Measurement Pk-to-Avg See Table 12-38 Lower window/upper measurement (LU) Lower window/lower measurement (LL) * For further information re
SYSTem Subsystem Function 12 Secondary Channel Sensor No Sensor Non P-series or E9320 Sensor P-series and E9320 Sensor Feed Gate 1 primary channel* Gate 1 primary channel* Gate1 secondary channel* (channel B) Measurement Peak Pk-to-Avg Avg Lower window/lower measurement (LL) Feed Gate 1 primary channel* Secondary channel* Gate1 secondary channel* (channel B) Measurement Pk-to-Avg Avg Pk-to-Avg * For further information refer to “Primary and Secondary Channels” on page 526.
12 SYSTem Subsystem W-CDMA The W- CDMA set- up provides: • Average power in a W- CDMA signal (bandwidth <=5 MHz) • Peak power and peak- to- average ratio of the signal over a defined, statistically valid number of samples. The reading is continuously refreshed. This indicates how W- CDMA channel loading affects peak power and power distribution. The measurement is a continuously gated measurement on a 3GPP W- CDMA signal. Its aim is to measure the peak and average power corresponding to a <0.
SYSTem Subsystem 12 Command Setting Comments [SENS[1]]|SENS2:SWE[1]|2|3|4 :TIME Gate 1: 10 ms Gates 2 - 4: 0 Length of time gated period for time gated measurements.
12 SYSTem Subsystem Function Setting Single Channel Dual Channel Feed Gate 1 Channel A Gate 1 primary channel* Measurement Avg Avg Feed DEF See Table 12-41 Measurement DEF See Table 12-41 Feed Gate 1 Channel A See Table 12-41 Measurement Peak See Table 12-41 Feed Gate 1 Channel A See Table 12-41 Measurement Pk-to-Avg See Table 12-41 Upper window/upper measurement (UU) Upper window/lower measurement (UL) Lower window/upper measurement (LU) Lower window/lower measurement (LL)
SYSTem Subsystem Function Measurement 12 Secondary Channel Sensor No Sensor Non P-Series or E9320 Sensor P-Series and E9320 Sensor Peak Pk-to-Avg Avg Lower window/lower measurement (LL) Feed Gate 1 primary channel* Secondary channel* Gate 1 secondary channel* (Channel B) Measurement Pk-to-Avg Avg Pk-to-Avg * For further information refer to “Primary and Secondary Channels” on page 526.
12 SYSTem Subsystem BLUetooth The Bluetooth set- up provides: • Average power in a Bluetooth DH1 data burst. • Peak power in the same burst • Display of RF pulse in one timeslot The measurement is started by detecting the Bluetooth RF burst using the internal RF level trigger. The internal trigger is set to –20 dBm. Time- gating is used to measure the peak and average power in a single Bluetooth DHI data burst which lasts for 366 us.
SYSTem Subsystem 12 Command Setting Comments TRIG[:SEQ]:LEV:AUTO OFF Disable automatic setting of the trigger level TRIG[:SEQ]:LEV –15 dBm Power level TRIG[:SEQ]:SLOP POS Trigger event recognized on the rising edge of a signal TRIG[:SEQ]:DEL 0s Delay between recognition of trigger event and start of a measurement TRIG[:SEQ]:HOLD 650 µs Trigger holdoff [SENS[1]]|SENS2:POW:AC:RANG:AUTO OFF Auto range off [SENS[1]]|SENS2:POW:AC:RANG UPPER Range set to upper 1 Step detection enabled
12 SYSTem Subsystem Function Setting Single Channel Dual Channel Feed N/A N/A Measurement N/A N/A Feed N/A N/A Measurement N/A N/A Feed Gate 1 Channel A Gate 1 primary channel* Measurement Avg Avg Feed Gate 1 Channel A See Table 12-44 Measurement Peak See Table 12-44 Window/measurement setup Upper window/upper measurement (UU) Upper window/lower measurement (UL) Lower window/upper measurement (LU) Lower window/lower measurement (LL) * For further information refer to “Primar
SYSTem Subsystem 12 MCPA The following table shows the power meter presets when is set to MCPa. Commands not listed are preset according to their DEFault values (for further information refer to Table 12- 26). Table 12-45 MPCA: Power Meter Presets Command Setting Comments +1900.
12 SYSTem Subsystem Command Setting Comments [SENS[1]]|SENS2:POW:AC:RANG UPPER Range set to upper 0 Step detection disabled Step detection [SENSe[1]]|SENS2:AVER:SDET 1 The Range setting in Table 12-45 is only applicable for E-Series power sensor and N8480 Series power sensor (excluding Option CFT).
SYSTem Subsystem 12 Table 12-47 MCPA: Power Meter Presets For Secondary Channel Sensors Function Secondary Channel Sensor No Sensor Non P-Series or E9320 Sensor P-Series and E9320 Sensor Upper window UU single numeric Dual numeric Dual numeric Lower window Dual numeric Dual numeric Dual numeric Display setup Upper window/lower measurement (UL) Feed DEF Gate 1 primary channel* Gate 1 primary channel* (Channel A) Measurement DEF Peak Peak Lower window/upper measurement (LU) Feed Gate 1
12 SYSTem Subsystem RADAR The following table shows the power meter presets when is set to RADar. Commands not listed are preset according to their DEFault values (for further information refer to Table 12- 26). Table 12-48 RADAR: Power Meter Presets Command Setting Comments +10.
SYSTem Subsystem Command Setting Comments TRIG[:SEQ]:HOLD MIN Trigger holdoff [SENS[1]]|SENS2:POW:AC:RANG:AUTO OFF Auto range off [SENS[1]]|SENS2:POW:AC:RANG UPPER Range set to upper 0 Step detection disabled [SENS[1]]|SENS2:TRAC:OFFS :TIME –250 ns Delay between delayed trigger point and the start of the trace [SENS[1]]|SENS2:TRAC:TIME 1.
12 SYSTem Subsystem Function Setting Single Channel Dual Channel Feed Gate 1 Channel A See Table 12-50 Measurement Peak See Table 12-50 Feed Gate 1 Channel A See Table 12-50 Measurement Avg See Table 12-50 Lower window/upper measurement (LU) Lower window/lower measurement (LL) Table 12-50 RADAR: Power Meter Presets For Secondary Channel Sensors Function Secondary Channel Sensor No Sensor Non P-Series or E9320 Sensor P-Series and E9320 Sensor Upper window Primary Channel Trace Dual n
SYSTem Subsystem Function 12 Secondary Channel Sensor No Sensor Non P-Series or E9320 Sensor P-Series and E9320 Sensor Feed Gate 1 primary channel* Secondary channel* Gate1 secondary channel*(Channel B) Measurement Avg Avg Avg * For further information refer to “Primary and Secondary Channels” on page 526.
12 SYSTem Subsystem 802.11a and HiperLan2 The following table shows the power meter presets when is set to 802DOT11A and HIPERLAN2. Commands not listed are preset according to their DEFault values (for further information refer to Table 12- 26). Table 12-51 802.11a and HiperLan2: Power Meter Presets Command Setting Comments +5200.
SYSTem Subsystem Command Setting Comments [SENS[1]]|SENS2:POW:AC:RANG:AUTO OFF Auto range off [SENS[1]]|SENS2:POW:AC:RANG UPPER Range set to upper 0 Step detection disabled 12 Step detection [SENSe[1]]|SENS2:AVER:SDET 1 The Range setting in Table 12-51 is only applicable for E-Series power sensor and N8480 Series power sensor (excluding Option CFT). Table 12-52 802.
12 SYSTem Subsystem Table 12-53 802.
SYSTem Subsystem 12 892.11b/g The following table shows the power meter presets when is set to 802DOT11B. Commands not listed are preset according to their DEFault values (for further information refer to Table 12- 26). Table 12-54 802.11b/g: Power Meter Presets Command Setting Comments +2.
12 SYSTem Subsystem Command Setting Comments [SENS[1]]|SENS2:POW:AC:RANG UPPER Range set to upper 0 Step detection disabled Step detection [SENSe[1]]|SENS2:AVER:SDET 1 The Range setting in Table 12-54 is only applicable for E-Series power sensor and N8480 Series power sensor (excluding Option CFT). Table 12-55 802.
SYSTem Subsystem 12 Table 12-56 802.
12 SYSTem Subsystem 1xeV-DO The following table shows the power meter presets when is set to XEVDO. Commands not listed are preset according to their DEFault values (for further information refer to Table 12- 26). Table 12-57 1xeV-DO: Power Meter Presets Command Setting Comments +1900.
SYSTem Subsystem Command Setting Comments [SENS[1]]|SENS2:POW:AC:RANG UPPER Range set to upper 0 Step detection disabled [SENS[1]]|SENS2:TRAC:OFFS :TIME –40 µs Delay between delayed trigger point and the start of the trace [SENS[1]]|SENS2:TRAC:TIME 1 ms Length of the trace 12 Step detection [SENSe[1]]|SENS2:AVER:SDET Trace setup 1 The Range setting in Table 12-57 is only applicable for E-Series power sensor and N8480 Series power sensor (excluding Option CFT
12 SYSTem Subsystem Function Setting Single Channel Dual Channel Feed Gate 1 Channel A See Table 12-59 Measurement Pk-to-Avg See Table 12-59 * For further information refer to “Primary and Secondary Channels” on page 526.
SYSTem Subsystem 12 1xeV-DV The following table shows the power meter presets when is set to XEVDV. Commands not listed are preset according to their DEFault values (for further information refer to Table 12- 26). Table 12-60 1exV-DV: Power Meter Presets Command Setting Comments +1900.
12 SYSTem Subsystem Command Setting Comments [SENS[1]]|SENS2:POW:AC:RANG UPPER Range set to upper 0 Step detection disabled [SENS[1]]|SENS2:TRAC:OFFS :TIME –40 µs Delay between delayed trigger point and the start of the trace [SENS[1]]|SENS2:TRAC:TIME 1 ms Length of the trace Step detection [SENSe[1]]|SENS2:AVER:SDET Trace setup 1 The Range setting in Table 12-60 is only applicable for E-Series power sensor and N8480 Series power sensor (excluding Option CFT)
SYSTem Subsystem Function 12 Setting Single Channel Dual Channel Feed Gate 1 Channel A See Table 12-62 Measurement Pk-to-Avg See Table 12-62 * For further information refer to “Primary and Secondary Channels” on page 526.
12 SYSTem Subsystem TD-SCDMA The following table shows the power meter presets when is set to TDSCdma. Commands not listed are preset according to their DEFault values (for further information refer to Table 12- 26). Table 12-63 TD-SCDMA: Power Meter Presets Command Setting Comments +1900.
SYSTem Subsystem Command Setting Comments [SENS[1]]|SENS2:POW:AC:RANG UPPER Range set to upper 0 Step detection disabled [SENS[1]]|SENS2:TRAC:OFFS :TIME –40 µs Delay between delayed trigger point and the start of the trace [SENS[1]]|SENS2:TRAC:TIME 1 ms Length of the trace 12 Step detection [SENSe[1]]|SENS2:AVER:SDET Trace setup 1 The Range setting in Table 12-63 is only applicable for E-Series power sensor and N8480 Series power sensor (excluding Option CFT
12 SYSTem Subsystem Function Setting Single Channel Dual Channel Feed Gate 1 Channel A See Table 12-65 Measurement Pk-to-Avg See Table 12-65 * For further information refer to “Primary and Secondary Channels” on page 526.
SYSTem Subsystem 12 NADC The NADC set- up provides: • Average power measurement of both active timeslots in NADC or IS- 136 “full rate” transmission. This assumes that there are two timeslots to be measured in each frame as for example with timeslots 0 in the following diagram: IS-136 full rate frame 0 1 2 0 1 2 Figure 12-22A Trace Display Of The Active Timeslots • A trace display of the active timeslots.
12 SYSTem Subsystem Command Setting Comments [SENS[1]]|SENS2:BAND|BWID:VID E9321A/25A: OFF E9322A/26A: OFF E9323A/27A: OFF N1921/2A: OFF Sensor video bandwidth [SENS[1]]|SENS2:SWE[1]|2|3|4 :OFF:TIME Gate 1: 123.5 µs Gate 2: 20.123 ms Gates 3 - 4: 0 Delay between trigger point and time gated period. [SENS[1]]|SENS2:SWE[1]|2|3|4 :TIME Gate 1: 6.46 ms Gate 2: 6.46 ms Gates 3 - 4: 0 Length of time gated period for time gated measurements.
SYSTem Subsystem 12 1 The Range setting in Table 12-66 is only applicable for E-Series power sensor and N8480 Series power sensor (excluding Option CFT).
12 SYSTem Subsystem Function Lower window Secondary Channel Sensor No Sensor Non P-Series or E9320 Sensor P-Series and E9320 Sensor Dual numeric Dual numeric Dual numeric Lower window/lower measurement (LL) Feed Gate 2 primary channel* Secondary channel* Gate1 secondary channel* (Channel B) Measurement Avg Avg Avg * For further information refer to “Primary and Secondary Channels” on page 526.
SYSTem Subsystem 12 iDEN The iDEN set- up provides: • Average power in one iDEN training and data pulse • Peak- to- average one iDEN training and data pulse • Average power in a 90ms iDEN frame The measurement is started by detecting the iDEN training burst—for example the burst emitted by a mobile—using the internal RF level trigger. Time gating is used to measure the average power in the following 15 ms (data pulse). Gate 1 is used to measure this data pulse.
12 SYSTem Subsystem Command Setting Comments [SENS[1]]|SENS2:SWE[1]|2|3|4 :TIME Gate 1: 15 ms Gate 2: 90 ms Gate 3: 160 µs Gate 4: 0 Length of time gated period for time gated measurements.
SYSTem Subsystem 12 Table 12-70 iDEN: Power Meter Presets: Window/Measurement Settings Function Setting Single Channel Dual Channel Upper window UU single numeric See Table 12-71 Lower window Dual numeric See Table 12-71 Feed Gate 1 Channel A Gate 1 primary channel* Measurement Avg Avg Feed DEF See Table 12-71 Measurement DEF See Table 12-71 Feed Gate 1 Channel A See Table 12-71 Measurement Peak See Table 12-71 Feed Gate 1 Channel A See Table 12-71 Measurement Pk-to-Avg See
12 SYSTem Subsystem Function Lower window Secondary Channel Sensor No Sensor Non P-Series or E9320 Sensor P-Series and E9320 Sensor Dual numeric Dual numeric Dual numeric Upper window/lower measurement (UL) Feed DEF Gate 1 primary channel* Gate 1 primary channel* (Channel A) Measurement DEF Peak Peak Lower window/upper measurement (LU) Feed Gate 1 primary channel* Gate 1 primary channel* Gate1 secondary channel* (Channel B) Measurement Peak Pk-to-Avg Avg Lower window/lower measurem
SYSTem Subsystem 12 DVB The following table shows the power meter presets when is set to DVB. Commands not listed are preset according to their DEFault values (for further information refer to Table 12- 26). Table 12-72 DVB: Power Meter Presets Command Setting Comments +660.
12 SYSTem Subsystem Command Setting Comments TRIG[:SEQ]:HOLD 20 ms Trigger holdoff [SENS[1]]|SENS2:POW:AC:RANG:AUTO OFF Auto range off [SENS[1]]|SENS2:POW:AC:RANG UPPER Range set to upper 1 Step detection enabled Range1 Step detection [SENSe[1]]|SENS2:AVER:SDET 1 The Range setting in Table 12-72 is only applicable for E-Series power sensor and N8480 Series power sensor (excluding Option CFT).
SYSTem Subsystem 12 * For further information refer to “Primary and Secondary Channels” on page 526.
12 SYSTem Subsystem WiMAX The following table shows the power meter presets when is set to WIMAX. Commands not listed are preset according to their DEFault values (for further information refer to Table 12- 26). Table 12-75 WiMAX: Power Meter Presets Command Setting Comments +3.
SYSTem Subsystem Command Setting Comments TRIG[:SEQ]:HOLD 4 ms Trigger holdoff [SENS[1]]|SENS2:POW:AC:RANG:AUTO OFF Auto range off [SENS[1]]|SENS2:POW:AC:RANG UPPER Range set to upper 0 Step detection disabled [SENS[1]]|SENS2:TRAC:OFFS :TIME -0.
12 SYSTem Subsystem Function Setting Single Channel Dual Channel Avg See Table 12-77 Feed Gate 2 Channel A See Table 12-77 Measurement Pk-to-Avg See Table 12-77 Measurement Lower window/lower measurement (LL) * For further information refer to “Primary and Secondary Channels” on page 526.
SYSTem Subsystem 12 DME The following table shows the power meter presets when is set to DME. Commands not listed are preset according to their DEFault values (for further information refer to Table 12- 26). Table 12-78 DME: Power Meter Presets Command Setting Comments +1.
12 SYSTem Subsystem Command Setting Comments TRIG[:SEQ]:HOLD 50 μs Trigger holdoff [SENS[1]]|SENS2:POW:AC:RANG:AUTO OFF Auto range off [SENS[1]]|SENS2:POW:AC:RANG UPPER Range set to upper [SENS[1]]|SENS2:AVER2[:STAT] 1 Video averaging is enabled [SENS[1]]|SENS2:AVER2:COUN 32 Length of video filter 1 Step detection enabled SENS[1]|2:TRAC:LIM:UPP +20 dBm Maximum power SENS[1]|2:TRAC:LIM:LOW -30 dBm Minimum power [SENS[1]]|SENS2:TRAC:OFFS :TIME -3 μs Delay between
SYSTem Subsystem Function 12 Setting Single Channel Dual Channel Feed Gate 1 Channel A See Table 12-80 Measurement Avg See Table 12-80 Feed Gate 2 Channel A See Table 12-80 Measurement Avg See Table 12-80 Window/measurement setup Upper window/upper measurement (UU) Upper window/lower measurement (UL) Lower window/upper measurement (LU) Feed Gate 1 Channel A See Table 12-80 Measurement Peak See Table 12-80 Feed Gate 2 Channel A See Table 12-80 Measurement Peak See Table 12-80 L
12 SYSTem Subsystem Function Secondary Channel Sensor No Sensor Non P-Series or E9320 Sensor P-Series and E9320 Sensor Feed Gate 1 primary channel* Secondary channel* Gate 1 secondary channel* (Channel B) Measurement Peak Avg Peak Lower window/lower measurement (LL) Feed Gate 2 primary channel* Gate 1 primary channel* Gate 2 secondary channel* (Channel B) Measurement Peak Avg Peak * For further information refer to “Primary and Secondary Channels” on page 526.
SYSTem Subsystem 12 DME-PRT The following table shows the power meter presets when is set to DME-PRT. Commands not listed are preset according to their DEFault values (for further information refer to Table 12- 26). Table 12-81 DME-PRT: Power Meter Presets Command Setting Comments +1.
12 SYSTem Subsystem Command Setting Comments TRIG[:SEQ]:HOLD 50 µs Trigger holdoff [SENS[1]]|SENS2:POW:AC:RANG:AUTO OFF Auto range off [SENS[1]]|SENS2:POW:AC:RANG UPPER Range set to upper [SENS[1]]|SENS2:AVER2[:STAT] 1 Video averaging is enabled [SENS[1]]|SENS2:AVER2:COUN 32 Length of video filter 0 Step detection disabled SENS[1]|2:TRAC:LIM:UPP +20 dBm Maximum power SENS[1]|2:TRAC:LIM:LOW -30 dBm Minimum power [SENS[1]]|SENS2:TRAC:OFFS :TIME -2 µs Delay between
SYSTem Subsystem Function 12 Setting Single Channel Dual Channel Feed Gate 1 Channel A See Table 12-83 Measurement Avg See Table 12-83 Feed Gate 2 Channel A See Table 12-83 Measurement Avg See Table 12-83 Window/measurement setup Upper window/upper measurement (UU) Upper window/lower measurement (UL) Lower window/upper measurement (LU) Feed Gate 1 Channel A See Table 12-83 Measurement Peak See Table 12-83 Feed Gate 2 Channel A See Table 12-83 Measurement Peak See Table 12-83 L
12 SYSTem Subsystem Function Secondary Channel Sensor No Sensor Non P-Series or E9320 Sensor P-Series and E9320 Sensor Feed Gate 1 primary channel* Secondary channel* Gate 1 secondary channel* (Channel B) Measurement Peak Avg Peak Lower window/lower measurement (LL) Feed Gate 2 primary channel* Gate 1 primary channel* Gate 2 secondary channel* (Channel B) Measurement Peak Avg Peak * For further information refer to “Primary and Secondary Channels” on page 526.
SYSTem Subsystem 12 HSDPA The following table shows the power meter presets when is set to HSDPA. Commands not listed are preset according to their DEFault values (for further information refer to Table 12- 26): Table 12-84 HSPDA: Power Meter Presets Command Setting Comments +1900.
12 SYSTem Subsystem Command Setting Comments [SENS[1]]|SENS2:POW:AC:RANG:AUTO OFF Auto range off [SENS[1]]|SENS2:POW:AC:RANG UPPER Range set to upper 0 Step detection disabled Step detection [SENSe[1]]|SENS2:AVER:SDET 1 The Range setting in Table 12-84 is only applicable for E-Series power sensor and N8480 Series power sensor (excluding Option CFT).
SYSTem Subsystem 12 Table 12-86 HSDPA: Power Meter Presets For Secondary Channel Sensors Function Secondary Channel Sensor No Sensor Non P-Series or E9320 Sensor P-Series and E9320 Sensor Upper window UU single numeric Dual numeric Dual numeric Lower window Dual numeric Dual numeric Dual numeric Display setup Upper window/lower measurement (UL) Feed DEF Gate 1 primary channel* Gate 1 primary channel* (Channel A) Measurement DEF Peak Peak Lower window/upper measurement (LU) Feed Gate
12 SYSTem Subsystem LTE The following table shows the power meter presets when is set to LTE. Commands not listed are preset according to their DEFault values (for further information refer to Table 12- 26). Table 12-87LTE: Power Meter Presets Command Setting Comments +2.
SYSTem Subsystem Command Setting Comments [SENS[1]]|SENS2:POW:AC:RANG:AUTO OFF Auto range off [SENS[1]]|SENS2:POW:AC:RANG UPPER Range set to upper 0 Step detection is disabled [SENS[1]]|SENS2:TRAC:OFFS :TIME –0.2 ms Delay between delayed trigger point and the start of the trace [SENS[1]]|SENS2:TRAC:TIME 11.
12 SYSTem Subsystem Function Setting Single Channel Dual Channel Feed Gate 1 Channel A See Table 12-89 Measurement Pk-to-Avg See Table 12-89 Table 12-89 LTE: Power Meter Presets For Secondary Channel Sensors Function Secondary Channel Sensor No Sensor Non P-Series or E9320 Sensor P-Series and E9320 Sensor Dual numeric Dual numeric Dual numeric Display setup Lower window Lower window/upper measurement (LU) Feed Gate 1 primary channel* Gate 1 primary channel* Gate 1 primary channel* Mea
SYSTem Subsystem 12 SYSTem:REMote This command locks the power meter front panel keypad excepting the Local key. The power meter display status reporting line shows “RMT”. Local front panel operation of the power meter is inhibited but can be enabled by pressing the Local key. Syntax SYST :REM Example SYST:REM N1911A/1912A P-Series Power Meters Programming Guide This command locks the power meter front panel keypad excepting the Local key.
12 SYSTem Subsystem SYSTem:RWLock This command locks out the front panel keypad - including the front panel Local key. The power meter display status reporting line shows “RMT”. In this state the power meter cannot be returned to manual control from the front panel. Syntax SYST :RWL Example SYST:RWL 606 This command locks the power meter front panel keypad - including the Local key.
SYSTem Subsystem 12 SYSTem:VERSion? This query returns the version of SCPI used in the power meter. The response is in the form of XXXX.Y, where XXXX is the year and Y is the version number. Syntax SYST :VERS ? Example SYST:VERS? This command queries which version of SCPI is used in the power meter.
12 SYSTem Subsystem THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK.
N1911A/1912A P-Series Power Meters Programming Guide 13 TRACe Subsystem TRACe Subsystem 610 TRACe[1]|2[:DATA]? 612 TRACe[1]|2:DEFine:DURation:REFerence 614 TRACe[1]|2:DEFine:TRANsition:REFerence , 616 TRACe[1]|2:MEASurement:INSTant:REFerence? 618 TRACe[1]|2:MEASurement:PULSe[1]|...|10:DCYCle? 620 TRACe[1]|2:MEASurement:PULSe[1]|...|10:DURation? 622 TRACe[1]|2:MEASurement:PULSe[1]|...
13 TRACe Subsystem TRACe Subsystem This command can only be used with P-Series and E9320 sensors. The E9320 sensor must be set to NORMal mode. NOTE The TRACe subsystem is used to: • Specify the type of trace to be captured. • Enable/disable trace capture. • Specify the trace units.
TRACe Subsystem Keyword Parameter Form Notes Page [query only] page 626 :DURation? [query only] page 628 :OCCurrence? [query only] page 630 :DURation? [query only] page 632 :OCCurrence? [query only] page 634 [query only] page 636 :SEParation? 13 :TRANsition[1]|...
13 TRACe Subsystem TRACe[1]|2[:DATA]? This query returns trace data from the specified channel. The trace resolution is determined by . Data is returned in IEEE 488.2 arbitrary block program data format as follows: #xyyy..yddd................ddd The number of data bytes (d) contained in the block.
TRACe Subsystem 13 Parameters Item Description/Default Range of Values character_data • HRESolution: high resolution. The complete capture buffer at the internal sample rate. The number of points in this trace is not fixed, as it is affected by the SENS:TRACe:TIMe setting. HRES MRES LRES • MRESolution: medium resolution. A subset of the capture buffer - the buffer contents are decimated1 to 1000 data points. • LRESolution: low resolution.
13 TRACe Subsystem TRACe[1]|2:DEFine:DURation:REFerence This command defines the reference levels to be used in the calculation of pulse durations. This allows pulse duration measurements between non- standard reference levels. This is a configuration command independent of the sensors.
TRACe Subsystem 13 Example TRAC1:DEF:DUR:REF 25 This command sets trace 1 pulse duration measurements to look for the 25 % reference levels. TRAC1:DEF:DUR:REF DEF This command sets trace 1 pulse duration measurements to look for the 50 % reference levels. Reset condition On reset, the reference level will become 50 %, which is the default value (DEF). Query TRACe[1]|2:DEFine:DURation:REFerence? The query returns the numeric value of the reference level used in the pulse duration calculation.
13 TRACe Subsystem TRACe[1]|2:DEFine:TRANsition:REFerence , This command defines the reference levels to be used in the calculation of transition durations and occurrences. This allows transition measurements between non- standard reference levels and it is a configuration command that independent of sensors.
TRACe Subsystem 13 Example TRAC1:DEF:TRAN:REF 1,18 This command sets trace 1 transition measurements to look for the 1 % and 81 % reference levels. TRAC1:DEF:TRAN:REF DEF,DEF This command sets trace 1 transition measuremetns to look for the 10 % and 90 % reference levels. Reset Condition On reset, the reference level will set to 10 % and 90 % respectively. Query TRACe[1]|2:DEFine:TRANsition:REFerence? The query returns trace 1 reference levels used in the transition occurences calculation.
13 TRACe Subsystem TRACe[1]|2:MEASurement:INSTant:REFerence? This command returns the time instant at which the power waveform intersects the reference level supplied as the command parameter. This allows the time instant used to calculate the pulse parameters to be found. It also allows calculation of transition between non- standard reference levels. NOTE This command is only applicable when P-Series power sensors are used with single or continuous triggered acquisition is selected.
TRACe Subsystem 13 Example TRAC1:MEAS:INST:REF? 25 This command return the time instant 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.
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. Syntax TRAC 1 :MEAS 2 :PULS 1 :DCYC ? 2|...
TRACe Subsystem 13 present, otherwise Error –241, "Hardware Missing" is generated. • If free run acquisition is selected or sensor average mode selected, Error –221 "Settings Conflict" occurs. NOTE If you attempt to measure a pulse out of the range of the capture, for example, measure the 5th pulse and there are only 4 pulses displayed, the power meter returns #0##9.91E37 as the result.
13 TRACe Subsystem TRACe[1]|2:MEASurement:PULSe[1]|...|10:DURation? This command returns the difference between a pulse and next transition occurrence instants. As power pulses are by definition positive pulses, the pulse duration is the time difference between positive and negative transitions of one pulse.
TRACe Subsystem 13 Error Messages • 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. NOTE TIf you attempt to measure a pulse out of the range of the capture, for example, measure the 5th pulse and there are only 4 pulses displayed, the power meter returns #0##9.91E37 as the result.
13 TRACe Subsystem TRACe[1]|2:MEASurement:PULSe[1]|...|10:PERiod? This command returns the pulse period. This is the time difference between two consecutive transition occurrences of the same polarity. The period is equal to the sum of the pulse separation and the pulse duration.
TRACe Subsystem 13 Error Messages • 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. NOTE TIf you attempt to measure a pulse out of the range of the capture, for example, measure the 5th pulse and there are only 4 pulses displayed, the power meter returns #0##9.91E37 as the result.
13 TRACe Subsystem TRACe[1]|2:MEASurement:PULSe[1]|...|10:SEParation? This command returns the time difference of the nth and (n+1)th pulses found on a trace. As power pulses are by definition positive pulses, the pulse separation is the time difference between negative transition of one pulse and the positive transition of the next pulse.
TRACe Subsystem 13 Error Messages • 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. NOTE TIf you attempt to measure a pulse out of the range of the capture, for example, measure the 5th pulse and there are only 4 pulses displayed, the power meter returns #0##9.91E37 as the result.
13 TRACe Subsystem TRACe[1]|2:MEASurement:TRANsition[1]|...|10:NEGative:DUR ation? This command returns the nth negative transition duration found on a trace. Syntax TRAC 1 :MEAS :TRAN 2 1 :NEG :DUR ? 2|...|10 Reset Condition On reset, this parameter is not affected. Example TRAC:MEAS:TRAN8:NEG:DUR? This command returns the 8th negative transition duration found on trace 1. Error Messages • If a P- Series sensor is not connected, error –241, “Hardware missing” occurs.
TRACe Subsystem NOTE 13 If you attempt to measure a pulse out of the range of the capture, for example, measure the 5th pulse and there are only 4 pulses displayed, the power meter returns #0#0#0 as the result.
13 TRACe Subsystem TRACe[1]|2:MEASurement:TRANsition[1]|...|10:NEGative:OCC urrence? This command returns the position, relative to the trigger instant, of the nth occurrence of a negative transition found on a trace. Syntax TRAC 1 :MEAS 2 :TRAN 1 :NEG :OCC ? 2|...|10 Reset Condition On reset, this parameter is not affected. Example TRAC2:MEAS:TRAN7:NEG:OCC? This command returns the position, relative to the trigger instant, of the 7th occurrence of a negative transition found on trace 2.
TRACe Subsystem NOTE 13 If you attempt to measure a pulse out of the range of the capture, for example, measure the 5th pulse and there are only 4 pulses displayed, the power meter returns #0#0#0 as the result.
13 TRACe Subsystem TRACe[1]|2:MEASurement:TRANsition[1]|...|10:POSitive:DURa tion? This command returns the nth positive transition duration found on a trace. Syntax TRAC 1 :MEAS 2 :TRAN 1 :POS :DUR ? 2|...|10 Reset Condition On reset, this parameter is not affected. Example TRAC:MEAS:TRAN10:POS:DUR? This command returns the 10th positive transition duration found on trace 1. Error Messages • If a P- Series sensor is not connected, error –241, “Hardware missing” occurs.
TRACe Subsystem NOTE 13 If you attempt to measure a pulse out of the range of the capture, for example, measure the 5th pulse and there are only 4 pulses displayed, the power meter returns #0#0#0 as the result.
13 TRACe Subsystem TRACe[1]|2:MEASurement:TRANsition[1]|...|10:POSitive:OCCu rrence? This command returns the position, relative to the trigger instant, of the nth occurrence of a positive transition found on a trace. Syntax TRAC 1 :MEAS :TRAN 2 1 :POS :OCC ? 2|...|10 Reset Condition On reset, this parameter is not affected. Example TRAC2:MEAS:TRAN:POS:OCC? This command returns the position, relative to the trigger instant, of the 1st occurrence of a positive transition found on trace 2.
TRACe Subsystem NOTE 13 TIf you attempt to measure a pulse out of the range of the capture, for example, measure the 5th pulse and there are only 4 pulses displayed, the power meter returns #0#0#0 as the result.
13 TRACe Subsystem TRACe[1]|2:MEASurement:REFerence? This command is used to find the reference power level. This provides the reference power level to calculate the pulse parameters. Commonly used reference levels are 0 %, 10 %, 50 %, 90 %, and 100 %. You can set the reference level to measure overshoot at 125 % and undershoot at –25 %.
TRACe Subsystem 13 Example TRAC2:MEAS:REF? 100 This command returns the high state power for trace 2. Error Messages • 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.
13 TRACe Subsystem TRACe[1]|2:STATe This command enables or disables trace capture for the specified channel. NOTE This command does not allow the setting set to ON when either measurement channel (for dual channel) is configured to initiate trigger buffering. Syntax TRAC 1 :STAT Space 0|OFF 1|ON 2 ? Example TRAC2:STAT 1 This command enables trace capture for Channel B. Reset Condition On reset trace capture is set to OFF.
TRACe Subsystem 13 • 1 is returned when trace capture is enabled • 0 is returned when trace capture is disabled Query Example TRAC1:STAT? This command queries the current state of trace capture for Channel A. Error Messages • If a P- Series or E- Series E9320 sensor is not connected, error –241, “Hardware missing” occurs. • If an E- Series E9320 sensor is connected and set to AVERage mode rather than NORMal mode, error –221, “Settings conflict” occurs.
13 TRACe Subsystem TRACe[1]|2:UNIT This command sets the units for the trace for the specified channel NOTE This command is included for compatibility purposes only. It has the same purpose as [SENSe[1]]|SENSe2:TRACe:UNIT , which should be the preferred command.
TRACe Subsystem 13 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 TRAC2:UNIT? N1911A/1912A P-Series Power Meters Programming Guide This command queries the current trace units for Channel B.
13 TRACe Subsystem THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK.
N1911A/1912A P-Series Power Meters Programming Guide 14 TRIGger Subsystem TRIGger Subsystem 644 ABORt[1]|2] 646 INITiate Commands 647 INITiate[1]|2:CONTinuous 648 INITiate[1]|2[:IMMediate] 651 INITiate:CONTinuous:ALL 652 INITiate:CONTinuous:SEQuence[1]|2 654 INITiate[:IMMediate]:ALL 656 INITiate[:IMMediate]:SEQuence[1]|2 657 TRIGger Commands 658 TRIGger[1]|2:DELay:AUTO 659 TRIGger[1]|2[:IMMediate] 661 TRIGger[1]|2:SOURce BUS|EXTernal|HOLD|IMMediate|INTernal[[1]|2] 66
14 TRIGger Subsystem TRIGger Subsystem The TRIGger subsystem is used to synchronize device actions with events. It includes the ABORt, INITiate and TRIGger commands. These are all at the root level in the command hierarchy but they are grouped here because of their close functional relationship.
TRIGger Subsystem Keyword Parameter Form :AUTO :SLOPe Notes 14 Page page 673 page 675 page 677 page 680 [:SEQuence[1]|2] :COUNt :DELay :AUTO [no query] :IMMediate :SOURce BUS|EXTernal|HOLD| IMMediate|INTernal[[1]|2] page 682 page 683 Many of the above commands contain a numeric which represents a channel number. For example TRIGger1 and TRIGger2 represent Channel A and Channel B respectively.
14 TRIGger Subsystem ABORt[1]|2] This command removes the specified channel from the wait for trigger state and places it in the idle state. It does not affect any other settings of the trigger system. When the INITiate command is sent, the trigger system responds as it did before ABORt was executed. If INITiate:CONTinuous is ON, then after ABORt the specified channel immediately goes into the wait for trigger state. Syntax ABOR 1 2 Example ABOR 646 This command places Channel A in the idle state.
TRIGger Subsystem 14 INITiate Commands Initiate commands allow you to place the power meter in the wait for trigger state. The INITiate commands are overlapped, that is, the power meter can continue parsing and executing subsequent commands while initiated. Note that the pending operation flag is set, when the power meter enters an idle state and the flag is cleared when it re- enters the idle state.
14 TRIGger Subsystem INITiate[1]|2:CONTinuous This command sets the power meter for either a single trigger cycle or continuous trigger cycles. A trigger cycle means that the power meter exits the wait for trigger state and starts a measurement. 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.
TRIGger Subsystem 14 Syntax INIT 1 :CONT Space 0|OFF 1|ON 2 ? Example INIT2:CONT ON This command places Channel B in the wait for trigger state. Reset Condition 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.
14 TRIGger Subsystem Query Example INIT2:CONT? 650 This command queries whether Channel B is set for single or continuous triggering.
TRIGger Subsystem 14 INITiate[1]|2[:IMMediate] This command sets the power meter in the wait for trigger state. When a trigger is received, the measurement is taken and the result placed in the power meter memory. If TRIGger:SOURce is set to IMMediate the measurement begins as soon as INITiate:IMMediate is executed. Use FETCh? to transfer a measurement from memory to the output buffer. Refer to “FETCh[1]|2|3|4 Queries” on page 110 for further details.
14 TRIGger Subsystem INITiate:CONTinuous:ALL Sets all trigger sequences to be continuously initiated. If INITiate:CONTinuous:ALL is set to: • ON, trigger sequences are set to be continuously initiated • OFF, trigger sequences are not set to be continuously initiated Syntax INIT :CONT :ALL Space 0|OFF 1|ON ? Example INIT:CONT:ALL ON This command sets all trigger sequences to be continuously initiated. Reset Condition On reset (*RST), this command is set to OFF.
TRIGger Subsystem 14 Query INITiate:CONTinuous:ALL? The query enters a 1 or 0 into the output buffer. • 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 INIT:CONT:ALL? This command queries whether both channels are in a wait for trigger state.
14 TRIGger Subsystem INITiate:CONTinuous:SEQuence[1]|2 This command sets the power meter for either a single trigger cycle or continuous trigger cycles. A trigger cycle means that the power meter exits the wait for trigger state and starts a measurement. When entering local mode, INITiate:CONTinuous is set to ON. If INITiate:CONTinuous:SEQuence[1|2] is set to: • OFF, the trigger system remains in the idle state until it is set to ON, or INITiate:IMMediate is received.
TRIGger Subsystem 14 Reset Condition On reset (*RST), this command is disabled. On preset (SYSTem:PRESet) and instrument power- up, this command is enabled. Query INITiate[1]|2:CONTinuous:SEQuence? 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 Query Example INIT2:CONT:SEQ? This command queries whether Channel B is set for single or continuous triggering.
14 TRIGger Subsystem INITiate[:IMMediate]:ALL This command initiates all trigger sequences. Syntax INIT :IMM :ALL Example INIT:IMM:ALL This command initiates all trigger sequences. Error Messages If the power meter is not in the idle state or INITiate:CONTinuous is ON, error –213, “INIT ignored” occurs.
TRIGger Subsystem 14 INITiate[:IMMediate]:SEQuence[1]|2 This command sets the power meter in the wait for trigger state. When a trigger is received, the measurement is taken and the result placed in the power meter memory. If TRIGger:SOURce is set to IMMediate the measurement begins as soon as INITiate:IMMediate is executed. Use FETCh? to transfer a measurement from memory to the output buffer. Refer to “FETCh[1]|2|3|4 Queries” on page 110 for further information.
14 TRIGger Subsystem TRIGger Commands TRIGger commands control the behavior of the trigger system.
TRIGger Subsystem 14 TRIGger[1]|2:DELay:AUTO This command is used to determine whether or not there is a settling- time delay before a measurement is made. When this command is set to: • ON, the power meter inserts a settling- time delay before taking the requested measurement. This settling time allows the internal digital filter to be updated with new values to produce valid, accurate measurement results.
14 TRIGger Subsystem Example This command enables a delay on Channel A. TRIG:DEL:AUTO ON Reset Condition On reset, TRIGger:DELay:AUTO is set to ON. Query TRIGger:DELay:AUTO? The query enters a 1 or 0 into the output buffer indicating the status of TRIGger:DELay:AUTO.
TRIGger Subsystem 14 TRIGger[1]|2[:IMMediate] This command causes a trigger to occur immediately, provided the specified channel is in the wait for trigger state. When this command is executed, the measurement result is stored in the power meter’s memory. Use FETCh? to place the measurement result in the output buffer. TRIGger[1]|2:DELay:AUTO is ignored if TRIGger[1]|2[:IMMediate] is set to ON. NOTE This command performs the same function as INITiate[1]|2:[IMMediate].
14 TRIGger Subsystem TRIGger[1]|2:SOURce BUS|EXTernal|HOLD|IMMediate|INTernal[[1]|2] This command configures the trigger system to respond to the specified source. This command only selects the trigger source. Use the INITiate command to place the power meter in the wait for trigger state. NOTE • This command has been included for compatibility purposes. It has the same purpose as TRIGger[:SEQuence[1]|2]:SOURce BUS|EXTernal|HOLD|IMMediate|INTernal[[1]|2] which should be used in preference.
TRIGger Subsystem 14 Parameters Item Description/Default Range of Values source Available trigger sources: BUS EXTernal HOLDIMMediate INTernal[[1]|2] • BUS: the trigger source is the group execute trigger bus command, a *TRG common command or the TRIGGER:IMMediate SCPI command. • EXTernal: the trigger source is the trigger input in the back panel. • HOLD: triggering is suspended. The only way to trigger the power meter is to use TRIGger:IMMediate.
14 TRIGger Subsystem Query TRIGger:SOURce? The query returns the current trigger source, either IMM, BUS or HOLD. Query Example TRIG:SOUR? This command queries Channel A’s trigger source. Error Messages • For dual channel power meters: if the master is changed to IMM, BUS or HOLD, error –221 “Settings Conflict” occurs. In such situations the slave’s TRIG:SOUR must be changed so that it is no longer a slave.
TRIGger Subsystem 14 TRIGger[:SEQuence]:DELay This command sets the delay between the recognition of a trigger event and the start of a measurement. Syntax TRIG :DEL :SEQ Space numeric_value DEF ? Parameters Item Description/Default Range of Values numeric_value The delay between the recognition of a trigger event and the start of the measurement. –1 to 1 second DEF • DEF: the default value is 0 seconds Units are resolved to 1.25 ns.
14 TRIGger Subsystem Example This command sets a delay of 1 ms for Channel A. TRIG:SEQ:DEL 0.001 Reset Condition On reset, the trigger delay is set to 0 seconds. Query TRIGger[:SEQuence]:DELay? The query returns the current setting of the trigger delay. Query Example TRIG:SEQ:DEL? This command queries the trigger delay of Channel A. Reset Condition On reset, trigger delay is set to 0 seconds.
TRIGger Subsystem 14 TRIGger[:SEQuence]:HOLDoff This command sets the trigger holdoff in seconds. Syntax TRIG :HOLD :SEQ Space numeric_value DEF MIN MAX ? Parameters Item Description/Default Range of Values numeric_value The trigger holdoff in seconds. 1 µs to 0.4 seconds DEF MIN MAX • DEF: the default value is 1 µs • MIN: 1 µs • MAX: 400 ms Units are resolved to 1 ns.
14 TRIGger Subsystem Example This command sets the trigger holdoff to 100 ms for Channel A. TRIG:SEQ1:HOLD 0.1 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 TRIG:SEQ:HOLD? 668 This command queries the trigger holdoff setting for Channel A.
TRIGger Subsystem 14 TRIGger[:SEQuence]:HYSTeresis This command sets: • How far a signal must fall below TRIG:LEVel before a rising edge can be detected. • How far a signal must rise above TRIG:LEVel before a falling edge can be detected. Syntax TRIG :SEQ :HYST Space numeric_value DEF ? Parameters Item Description/Default Range of Values numeric_value How far a signal must fall/rise before a rising or falling edge can be detected.
14 TRIGger Subsystem Example TRIG:SEQ:HYST 0.1 This command sets the value to 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 TRIG:SEQ:HYST? 670 This command queries the value for Channel A.
TRIGger Subsystem 14 TRIGger[:SEQuence]:LEVel This command sets the power level at which a trigger event is recognized. Syntax TRIG :SEQ :LEV Space numeric_value DEF ? Parameters Item Description/Default Range of Values1 numeric_value The power level at which a trigger event is recognized. –40 to 20 dBm DEF • DEF: the default value is 0 dBm Units are resolved to 0.1 dBm. 1 If a channel offset has been previously set, a higher numeric value is permitted.
14 TRIGger Subsystem Example This command sets the power level for a trigger event to 10 dBm. TRIG:SEQ:LEV 10 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 TRIG:SEQ1:LEV? 672 This command queries the power level setting for Channel A.
TRIGger Subsystem 14 TRIGger[:SEQuence]:LEVel:AUTO This command enables/disables automatic setting of the trigger level. When this command is set to: • ON, automatic setting of the trigger level is enabled. • OFF, automatic setting of the trigger level is disabled. • ONCE, automatic setting of the trigger level is enabled for one trigger event only. The value is then set to OFF.
14 TRIGger Subsystem Query TRIGger[:SEQuence]:LEVel:AUTO? 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 TRIG:SEQ:LEV:AUTO? 674 This command queries the setting for Channel A.
TRIGger Subsystem 14 TRIGger[:SEQuence]:SLOPe This command specifies whether a trigger event is recognized on the rising or falling edge of a signal. NOTE This command is also applicable for external triggered average measurement when used with 8480, N8480, E4410, E9300 or E9320 sensor (Average mode only).
14 TRIGger Subsystem Example This command sets the trigger event to be recognized on the falling edge of the triggering signal. TRIG:SEQ:SLOP NEG Reset Condition On reset the value is set to POSitive. Query TRIGger[:SEQuence]:SLOPe? The query returns the current value of . Query Example TRIG:SEQ:SLOP? This command queries the current value of for Channel A.
TRIGger Subsystem 14 TRIGger[:SEQuence[1]|2]:COUNt This command controls the path of the trigger subsystem in the upward traverse of the wait for trigger state. COUNt loops through the event detection/measurement cycle are performed. That is, COUNt measurements are performed in response to COUNt trigger events. COUNt can be set to a value >1 only when: • [SENSe[1]]|SENSe2:MRATe is set to FAST • TRIGger[1]|2:SOURce set to BUS, IMMediate or HOLD.
14 TRIGger Subsystem Parameters Item Description/Default Range of Values numeric_value The number of triggered events for the measurement cycle. 1 to 50 DEF • DEF: the default value is 1 Example This command sets the number of triggered events to 10 for the Channel A measurement cycle. TRIG:SEQ1:COUN 10 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.
TRIGger Subsystem 14 Query Example TRIG:SEQ2:COUN? This command queries the number of triggered events for the Channel B measurement cycle. Error Messages If COUNt >1 when [SENSe[1]]|SENSe2:MRATe is set to NORMal or DOUBle, error –221, “Settings Conflict” occurs.
14 TRIGger Subsystem TRIGger[:SEQuence[1]|2]:DELay:AUTO This command is used to determine whether or not there is a settling- time delay before a measurement is made. When this command is set to: • ON, the power meter inserts a settling- time delay before taking the requested measurement and for subsequent measurements. This settling time allows the internal digital filter to be updated with new values to produce valid, accurate measurement results.
TRIGger Subsystem 14 Example TRIG:SEQ:DEL:AUTO ON This command enables a delay on Channel A. Reset Condition On reset, TRIGger:DELay:AUTO is set to ON. 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 Query Example TRIG:SEQ2:DEL:AUTO? This command queries the settling- time delay of Channel B.
14 TRIGger Subsystem TRIGger[:SEQuence[1]|2]:IMMediate This command provides a one time over- ride of the normal process of the downward path through the wait for trigger state. It causes the immediate exit of the event detection layer if the trigger system is in this layer when the command is received. In other words, the instrument stops waiting for a trigger and takes a measurement ignoring any delay set by TRIG:DELay.
TRIGger Subsystem 14 TRIGger[:SEQuence[1]|2]:SOURce BUS|EXTernal|HOLD|IMMediate|INTernal[[1]|2] This command configures the trigger system to respond to the specified source. This command only selects the trigger source. Use the INITiate command to place the power meter in the wait for trigger state. NOTE This command has the same purpose as TRIGger[1]|2:SOURce BUS|EXTernal|HOLD|IMMediate|INTernal[[1]|2].
14 TRIGger Subsystem Parameters NOTE Item Description/Default Range of Values source Available trigger sources: BUS EXTernal HOLD IMMediate INTernal[[1]|2] • BUS: the trigger source is the group execute trigger bus command, a *TRG common command or the TRIGGER:IMMediate SCPI command. • EXTernal: the trigger source is the trigger input in the back panel. • HOLD: triggering is suspended. The only way to trigger the power meter is to use TRIGger:IMMediate.
TRIGger Subsystem 14 Reset Condition On reset, the trigger source is set to IMMediate. Query TRIGger[:SEQuence[1]|2]:SOURce? The query returns the current trigger source. Query Example TRIG:SEQ1:SOUR? This command queries the current trigger source for Channel A. Error Messages • For dual channel power meters: if the master is changed to IMM, BUS or HOLD, error –221 “Settings Conflict” occurs. In such situations the slave’s TRIG:SOUR must be changed so that it is no longer a slave.
14 TRIGger Subsystem THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK.
N1911A/1912A P-Series Power Meters Programming Guide 15 UNIT Subsystem UNIT Subsystem 688 UNIT[1]|2|3|4:POWer 689 UNIT[1]|2|3|4:POWer:RATio 691 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).
15 UNIT Subsystem UNIT Subsystem The UNIT command subsystem: • Sets power measurement units to dBm or Watts. • Sets measurement ratio units to dB or % (linear).
UNIT Subsystem 15 UNIT[1]|2|3|4:POWer This command sets the power measurement units for a specified window/measurement. The power suffix set by UNIT:POWer is used for any command which accepts a numeric value in more than one unit For the N1911A: • UNIT1:POWer sets the power measurement units for the upper window/upper measurement. • UNIT2:POWer sets the power measurement units for the lower window/upper measurement.
15 UNIT Subsystem Parameters Item Description/Default Range of Values amplitude_unit The measurement unit. W DBM • The default unit is dBm Example UNIT1:POW DBM This command sets the power measurement units for the upper window/upper measurement. Reset Condition 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.
UNIT Subsystem 15 UNIT[1]|2|3|4:POWer:RATio This command sets the window/measurement ratio units. • UNIT1:POWer:RATio sets the ratio measurement units for the upper window/upper measurement. • UNIT2:POWer:RATio sets the ratio measurement units for the lower window/upper measurement. • UNIT3:POWer:RATio sets the ratio measurement units for the upper window/lower measurement. • UNIT4:POWer:RATio sets the ratio measurement units for the lower window/lower measurement.
15 UNIT Subsystem Example This command sets the ratio measurement units for the upper window/upper measurement. UNIT1:POW:RAT DB Reset Condition 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 UNIT2:POW:RAT? 692 This command queries which ratio measurement units are being used on the lower window/upper measurement.
N1911A/1912A P-Series Power Meters Programming Guide 16 SERVice Subsystem SERVice Subsystem 695 SERVice:BIST:CALibrator 697 SERVice:BIST:CW[1]|2:LINearity 699 SERVice:BIST:CW[1]|2:LINearity:PERRor? 700 SERVice:BIST:CW[1]|2:ZSET:NUMber? 701 SERVice:BIST:PEAK[1]|2:LINearity 702 SERVice:BIST:PEAK[1]|2:LINearity:PERRor? 703 SERVice:BIST:PEAK[1]|2:ZSET 704 SERVice:BIST:PEAK[1]|2:ZSET:NUMber? 705 SERVice:BIST:TBASe:STATe 706 SERVice:BIST:TBASe:STATe 707 SERVice:BIST:TRIGger:TE
16 SERVice Subsystem SERVice:SENSor[1]|2:RADC? 730 SERVice:SENSor[1]|2:SNUMber? 731 SERVice:SENSor[1]|2:TNUMber? 732 SERVice:SENSor[1]|2:TYPE? 733 SERVice:SNUMber 734 SERVice:VERSion:PROCessor 735 SERVice:VERSion:SYSTem 736 This chapter explains how the SERVice command subsystem is used to obtain and set information useful for servicing the power meter.
SERVice Subsystem 16 SERVice Subsystem The SERVice command subsystem is used to load information such as the power meter processor board revision version and obtain information such as the serial number of the current sensor(s) being used.
16 SERVice Subsystem Keyword Parameter Form Notes Page :SECure page 715 :ERASe :SENSor[1]|2 :CALFactor page 716 [query only] :CDATe? page 718 :CORRections :STATe page 719 [query only] page 721 :MAXimum? [query only] page 722 :MINimum? [query only] page 723 :CPLace? :FREQuency :PCALfactor page 724 :POWer :AVERage [query only] page 726 [query only] page 727 :MAXimum? [query only] page 728 :MINimum? [query only] page 729 :MAXimum
SERVice Subsystem 16 SERVice:BIST:CALibrator This command enables/disables the calibrator self- test during power- up. It can be used to disable the self- test if it incorrectly indicates a failure. If a load, for example, a sensor, is connected to the calibrator port this could cause the self- test to fail. Also, if it fails the self- test, a Pop- up is displayed for 5 seconds, stating - If Ref Calibrator test fails disconnect any load attached to it and re- try test.
16 SERVice Subsystem Query Example SERV:BIST:CAL? 698 This command queries whether the self- test is enabled or disabled.
SERVice Subsystem 16 SERVice:BIST:CW[1]|2:LINearity This command initiates the CW linearity test. Syntax SERV :BIST :CW 1 :LIN 2 Example SERV:BIST:CW:LIN This command enables the CW linearity test.
16 SERVice Subsystem SERVice:BIST:CW[1]|2:LINearity:PERRor? This command returns the worst case error in the CW linearity test. Syntax SERV :BIST :CW 1 :LIN :PERR 2 Example SERV:BIST:CW:LIN:PERR? 700 This command queries the worst case error in the CW linearity test.
SERVice Subsystem 16 SERVice:BIST:CW[1]|2:ZSET:NUMber? This command returns the worst case error in the CW Zero test invoked by "SERVice:BIST:PEAK[1 2]:Z SET" Syntax SERV :BIST :CW 1 :ZSET :NUM ? 2 Example SERV:BIST:CW:ZSET:NUM? This command queries the worst case error in the CW zero test.
16 SERVice Subsystem SERVice:BIST:PEAK[1]|2:LINearity This command initiates the PEAK linearity test. Syntax SERV :BIST :PEAK 1 :LIN Space numeric_value DEF 2 ? Parameters Item Description/Default Range of Values Numeric_value Define the number of samples taken for results, default:0 0 to 8000 Example SERV:BIST:PEAK:LIN 8000 702 This command sets the number of samples of the PEAK linearity test to be 8000.
SERVice Subsystem 16 SERVice:BIST:PEAK[1]|2:LINearity:PERRor? This command returns the PEAK linearity worst case error. Syntax SERV :BIST :PEAK 1 :LIN :PERR 2 Example SERV:BIST:PEAK:LIN PERR? This commands queries the PEAK linearity worst case error.
16 SERVice Subsystem SERVice:BIST:PEAK[1]|2:ZSET This command initiates the zero set and noise test for both peak and CW for a channel. Syntax SERV :BIST :PEAK 1 :ZSET 2 Example SERV:BIST:PEAK1:ZSET 704 This command enables the zero set and noise test for Channel A.
SERVice Subsystem 16 SERVice:BIST:PEAK[1]|2:ZSET:NUMber? This command returns the worst case error in the PEAK zero test invoked by "SERVice:BIST:PEAK[1 2]:ZSET" Syntax SERV :BIST :PEAK 1 :ZSET :NUM ? 2 Example SERV:BIST:PEAK:ZSET:NUM? This command queries the worst case error in the PEAK zero test.
16 SERVice Subsystem SERVice:BIST:TBASe:STATe This command toggles the 10 MHz timebase out of the trigger outport. Syntax SERV :BIST :TBAS :STAT Example SERV:BIST:TBAS:STAT 706 This command toggles the timebase out of the trigger outport.
SERVice Subsystem 16 SERVice:BIST:TBASe:STATe This command sends a 10 MHz time base signal to the rear panel trig out for testing purposes. NOTE This command overrides the OUTPut:TRIGger[:STATe] command. For example, if OUTPut:TRIGger[:STATe] is ON and the command SERV:BIST:TBAS ON is sent, this command overrides the Trigger state and sets it to OFF. However, the 10 MHz remains out the Trig out port.
16 SERVice Subsystem Reset Condition On reset, the signal is disabled. Query SERVice:BIST:TBASe:STAT? The query enters a 1 or 0 into the output buffer indicating the status of the 10 MHz time base testing. • 1 is returned when the signal is enabled • 0 is returned when the signal is disabled Query Example SERV:BIST:TBASe:STAT? 708 This command queries whether the test is enabled or disabled.
SERVice Subsystem 16 SERVice:BIST:TRIGger:TEST? This command queries trigger in and out. • 1 is returned if the test passes • 0 is returned if the test fails NOTE Before running this command, the read panel trigger out must be jumpered to the rear panel trigger in. Syntax SERV :BIST :TRIG :TEST ? Example SERV:BIST:TRIG:TEST? This command queries trigger in and out.
16 SERVice Subsystem SERVice:CALibrator:ADJ:COUR This command adjust the 1 mW calibrator output in coarse scale. Syntax SERV :CAL :ADJ :COUR Space numeric_value DEF ? Parameters Item Description/Default Range of Values Numeric_value Adjust the 1 mW Power Reference Level Increment Coarse by 1. 0 to 1023 (Unsigned Int 16) Query SERV:CAL:ADJ:COUR? 710 The query returns the Reference Calibrator power level in unsigned Int 16.
SERVice Subsystem 16 SERVice:CALibrator:ADJ:FINE This command adjust the 1 mW calibrator output in fine scale. Syntax SERV :ADJ :CAL :FINE space numeric_value DEF ? Parameters Item Description/Default Range of Values Numeric_value Adjust the 1 mW Power Reference Level Increment Fine by 1. 0 to 1023 (Unsigned Int 16) Query SERV:CAL:ADJ:FINE? The query returns the Reference Calibrator power level in unsigned Int 16.
16 SERVice Subsystem SERVice:LAN:PHOStname This command preset the LAN hostname to its default value. It requires the serial number to be set- up. Syntax SERV :LAN :PHOS Example SERV:LAN:PHOS 712 The command presets the LAN hostname to its default value.
SERVice Subsystem 16 SERVice:OPTion This command loads the power meter memory with the options fitted. The query form of the command can be used to determine which options are fitted to the unit. Syntax SERV :OPT Space character_data ? Parameters Item Description/Default Range of Values character_data Details the option number in a comma separated list. A maximum of 30 characters can be used.
16 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.
SERVice Subsystem 16 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. Syntax SERV :SEC :ERAS Example SERV:SEC:ERAS The command erases the P- Series power meter’s memory.
16 SERVice Subsystem SERVice:SENSor[1]|2:CALFactor This command writes calibration factor data to, or reads calibration factor data from, the currently connected sensor. The whole calibration factor block must be written at once as a checksum is generated. The new block must not be larger than the existing block.
SERVice Subsystem 16 Query SERVice:SENSor[1]|2:CALFactor? The query returns the current calibration factor block. Query Example SERV:SENS:CALF? This command returns the calibration factor block for Channel A. Error Messages • If no power sensor is connected, error –241 “Hardware missing” occurs. • If a a sensor other than a N8480 Series (excluding Option CFT) or E- Series power sensor is connected, error –241 “Hardware missing” occurs.
16 SERVice Subsystem SERVice:SENSor[1]|2:CDATe? This query returns the calibration date in P- Series, E- Series sensors and N8480 Series sensors. Calibration date information is stored in the sensor’s EEPROM. Syntax SERV :SENS 1 :CDAT ? 2 Example SERV:SENS2:CDATe? This query returns the calibration date of the P- Series sensor, E- Series sensor or N8480 Series sensor connected to Channel B. Error Messages • If no power sensor is connected, error –241 “Hardware missing” occurs.
SERVice Subsystem 16 SERVice:SENSor[1]|2:CORRections:STATe This command enables/disables the voltage to corrected power conversion. It applies to E9320 Series and P- Series power sensors only. NOTE Before setting this command to OFF, you must set the INIT:CONT command to OFF. After setting this command to OFF, you must only run commands relating to the gathering of ADC values—for example, the SERV:SENS:RADC command.
16 SERVice Subsystem Query SERVice:SENSor[1]|2:CORRections:STATe? The query enters a 1 or 0 into the output buffer indicating the status of the voltage to corrected power conversion. • 1 is returned when voltage to corrected power conversion is enabled • 0 is returned when voltage to corrected power conversion is disabled Query Example SERV:SENS:CORR:STAT? This command queries whether voltage to corrected power conversion is enabled for Channel A.
SERVice Subsystem 16 SERVice:SENSor[1]|2:CPLace? This query returns the calibration place in P- Series, E- Series sensors and N8480 Series sensors. Calibration place information is stored in the sensor’s EEPROM. Syntax SERV :SENS 1 :CPL ? 2 Example SERV:SENS2:CPL? This query returns the place of calibration of the P- Series, E- Series sensor or N8480 Series sensor connected to Channel B. Error Messages • If no power sensor is connected, error –241 “Hardware missing” occurs.
16 SERVice Subsystem SERVice:SENSor[1]|2:FREQuency:MAXimum? This query returns the maximum frequency that can be measured by the currently connected sensor. It is applicable to E- Series sensors only. Maximum frequency information is stored in the sensor’s EEPROM. Syntax SERV :SENS 1 :FREQ :MAX ? 2 Example SERV:SENS2:FREQ:MAX? This query returns the maximum frequency that can be measured by the E- Series sensor currently connected to Channel B.
SERVice Subsystem 16 SERVice:SENSor[1]|2:FREQuency:MINimum? This query returns the minimum frequency that can be measured by the currently connected sensor. It is applicable to E- Series sensors only. Minimum frequency information is stored in the sensor’s EEPROM. Syntax SERV :SENS 1 :FREQ :MIN ? 2 Example SERV:SENS1:FREQ:MIN? This query returns the minimum frequency that can be measured by the E- Series sensor currently connected to Channel A.
16 SERVice Subsystem SERVice:SENSor[1]|2:PCALfactor This command writes calibration factor data to, or reads calibration factor data from, the currently connected sensor. The whole calibration factor block must be written at once as a checksum is generated. The new block must not be larger than the existing block. This command applies to E9320 Series sensors for peak path data only.
SERVice Subsystem 16 Query Example SERV:SENS:PCAL? This command returns the peak path calibration factor block for Channel A. Error Messages • 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.
16 SERVice Subsystem SERVice:SENSor[1]|2:POWer:AVERage:MAXimum? This query returns the maximum average power that can be measured by the currently connected sensor. It is applicable to E- Series sensors only. Maximum average power information is stored in the sensor’s EEPROM. Syntax SERV :SENS :POW 1 :AVER :MAX ? 2 Example SERV:SENS:POW:AVER:MAX? This query returns the maximum average power that can be measured by the E- Series sensor currently connected to Channel A.
SERVice Subsystem 16 SERVice:SENSor[1]|2:POWer:PEAK:MAXimum? This query returns the maximum peak power that can be measured by the currently connected sensor. It is applicable to E- Series sensors only. Maximum peak power information is stored in the sensor’s EEPROM. Syntax SERV :SENS 1 :POW :PEAK :MAX ? 2 Example SERV:SENS2:POW:PEAK:MAX? This query returns the maximum peak power that can be measured by the E- Series sensor currently connected to Channel B.
16 SERVice Subsystem SERVice:SENSor[1]|2:POWer:USABle:MAXimum? This query returns the maximum power that can be accurately measured by the currently connected sensor. It is applicable to E- Series sensors only. Maximum power information is stored in the sensor’s EEPROM. Syntax SERV :SENS 1 :POW :USAB :MAX ? 2 Example SERV:SENS1:POW:USAB:MAX? This query returns the maximum power that can be accurately measured by the E- Series sensor currently connected to Channel A.
SERVice Subsystem 16 SERVice:SENSor[1]|2:POWer:USABle:MINimum? This query returns the minimum power that can be accurately measured by the currently connected sensor. It is applicable to E- Series sensors only. Maximum power information is stored in the sensor’s EEPROM. Syntax SERV :SENS :POW 1 :USAB :MIN ? 2 Example SERV:SENS:POW:USAB:MIN? This query returns the minimum power that can be accurately measured by the E- Series sensor currently connected to Channel A.
16 SERVice Subsystem SERVice:SENSor[1]|2:RADC? This query returns a new raw uncorrected measurement in volts, as a 32 bit signed integer. NOTE For E9320 Series and P-Series sensors: Before running this query, the voltage to corrected power conversion must be disabled using the SERVice:SENSor[1]|2:CORRections:STATe command. Syntax SERV :SENS 1 :RADC ? 2 Example SERV:SENS2:RADC? This query returns a new raw uncorrected measurement for the sensor connected to Channel B.
SERVice Subsystem 16 SERVice:SENSor[1]|2:SNUMber? This query returns the serial number for P- Series, E- Series sensors and N8480 Series sensors. Serial number information is stored in the sensor’s EEPROM. Syntax SERV :SENS 1 :SNUM ? 2 Example SERV:SENS2:SNUM? This query returns the serial number of the P- Series, E- Series sensor or N8480 Series sensor connected to Channel B. Error Messages • If no sensor is connected, error –241, “Hardware missing” occurs.
16 SERVice Subsystem SERVice:SENSor[1]|2:TNUMber? This query returns the tracking number for P- Series and E- Series sensors. Tracking number information is stored in the sensor’s EEPROM. Syntax SERV :SENS 1 :TNUM ? 2 Example SERV:SENS2:TNUM? This query returns the serial number of the E- Series sensor connected to Channel B. Error Messages • If no sensor is connected, error –241, “Hardware missing” occurs.
SERVice Subsystem 16 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.
16 SERVice Subsystem SERVice:SNUMber This command loads the power meter with a serial number in the form GB12345678 or US12345678. Syntax SERV :SNUM Space character_data ? Parameters Item Description/Default Range of Values character_data Details the power meter serial number in the form GB12345678 or US12345678. A maximum of 30 characters can be used.
SERVice Subsystem 16 SERVice:VERSion:PROCessor This command loads the power meter with the processor board revision version. Syntax SERV :VERS Space :PROC character_data ? Parameters Item Description/Default Range of Values character_data Details the processor board revision version. A maximum of 20 characters can be used.
16 SERVice Subsystem SERVice:VERSion:SYSTem This command loads the power meter with the system version number. Syntax SERV :VERS :SYST Space character_data ? Parameters Item Description/Default Range of Values character_data Details the system version number. A maximum of 20 characters can be used. A to Z (uppercase) a to z (lowercase) 0-9 _ (underscore) Example This command loads the power meter with system version number 1.
N1911A/1912A P-Series Power Meters Programming Guide 17 IEEE 488.2 Command Reference SCPI Compliance Information 738 *CLS 739 *DDT | 740 *ESE 742 *ESR? 744 *IDN? 745 *OPC 746 *OPT? 747 *RCL 748 *RST 749 *SAV 750 *SRE 751 *STB? 753 *TRG 755 *TST? 756 *WAI 757 GPIB Universal Commands 758 This chapter contains information about the IEEE 488.2 Common Commands that the power meter supports.
17 IEEE 488.2 Command Reference SCPI Compliance Information This chapter contains information about the SCPI Common (*) Commands that the power meter supports. It also describes the GPIB Universal Command statements which form the nucleus of GPIB programming; they are understood by all instruments in the network. When combined with programming language codes, they provide all management and data communication instructions for the system. The IEEE- 488.
IEEE 488.2 Command Reference 17 *CLS 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.
17 IEEE 488.2 Command Reference *DDT | The *DDT (Define Device Trigger) command determines the power meter’s response to a GET (Group Execute Trigger) message or *TRG common command. This command effectively turns GET and *TRG into queries, with the measured power being returned.
IEEE 488.2 Command Reference 17 Examples of parameters are: • #15FETC? and #206FETCh? Examples of are: • "FETCh1?", "FETCh?" and "TRIG1;FETC1" Reset Condition On reset, the field of *DDT is set to *TRG. Query *DDT? The query returns the action which is performed on receipt of a GET or *TRG. This is returned as a value which is in the form of #nN as described on page 715.
17 IEEE 488.2 Command Reference *ESE The *ESE (Event Status Enable) command sets the Standard Event Status Enable Register. This register contains a mask value for the bits to be enabled in the Standard Event Status Register. A 1 in the Enable Register enables the corresponding bit in the Status Register, a 0 disables the bit. The parameter value, when rounded to an integer and expressed in base 2, represents the bit values of the Standard Event Status Enable Register.
IEEE 488.2 Command Reference 17 Parameters Type Description/Default Range of Values NRf A value used to set the Standard Event Status Enable Register. 0 - 255 Query *ESE? The query returns the current contents of the Standard Event Status Enable Register. The format of the return is in the range of 0 to 255.
17 IEEE 488.2 Command Reference *ESR? The *ESR? query returns the contents of the Standard Event Status Register then clears it. The format of the return is in the range of 0 to 255. Table 17- 91 shows the contents of this register.
IEEE 488.2 Command Reference 17 *IDN? The *IDN? query allows the power meter to identify itself. The string returned is either: Agilent Technologies,N1911A,,A1.XX.YY Agilent Technologies,N1912A,,A2.XX.YY where: • 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.
17 IEEE 488.2 Command Reference *OPC The *OPC (OPeration Complete) command causes the power meter to set the operation complete bit in the 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.
IEEE 488.2 Command Reference 17 *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.
17 IEEE 488.2 Command Reference *RCL The *RCL (ReCaLl) command restores the state of the power meter from the specified save/recall register. An instrument setup must have been stored previously in the specified register. Syntax *RCL Space NRf Parameters Type Description/Default Range of Values NRf 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.
IEEE 488.2 Command Reference 17 *RST The *RST (ReSeT) command places the power meter in a known state. Refer to “SYSTem:PRESet ” on page 526 for information on reset values.
17 IEEE 488.2 Command Reference *SAV The *SAV (SAVe) command stores the current state of the power meter in the specified register. Syntax *SAV Space NRf Parameters 750 Item Description/Default Range of Values NRf The number of the register that the current state of the power meter is to be saved to.
IEEE 488.2 Command Reference 17 *SRE The *SRE command sets the Service Request Enable register bits. This register contains a mask value for the bits to be enabled in the Status Byte Register. A 1 in the Enable Register enables the corresponding bit in the Status Byte Register; a 0 disables the bit. The parameter value, when rounded to an integer and expressed in base 2, represents the bits 0 to 5 and bit 7 of the Service Request Enable Register. Bit 6 is always 0.
17 IEEE 488.2 Command Reference Parameters Type Description/Default Range of Values NRf A value used to set the Service Request Enable Register. 0 - 255 Query *SRE? 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 in the ranges of 0 to 63 or 128 to 191 (that is, bit 6 is always 0).
IEEE 488.2 Command Reference 17 *STB? The *STB? (STatus Byte) query returns bit 0 to 5 and bit 7 of the power meter’s status byte and returns the Master Summary Status (MSS) as bit 6. The MSS is the inclusive OR of the bitwise combination (excluding bit 6) of the Status Byte and the Service Request Enable registers. The format of the return is in the ranges of 0 to 255. Table 17- 93 shows the contents of this register.
17 IEEE 488.
IEEE 488.2 Command Reference 17 *TRG The *TRG (TRiGger) command triggers all channels that are in the wait for trigger state. It has the same effect as Group Execute Trigger (GET). Using the *DDT command may change the function of the *TRG command. Syntax *TRG Error Message • If TRIGger:SOURce is not set to BUS, error –211, “Trigger ignored” occurs. • If the power meter is not in the wait- for- trigger state, error –211, “Trigger ignored” occurs.
17 IEEE 488.2 Command Reference *TST? 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.
IEEE 488.2 Command Reference 17 *WAI 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.
17 IEEE 488.2 Command Reference GPIB Universal Commands DCL The DCL (Device Clear) command causes all GPIB instruments to assume a cleared condition. The definition of device clear is unique for each instrument. For the power meter: • All pending operations are halted, that is, *OPC? and *WAI. • The parser (the software that interprets the programming codes) is reset and now expects to receive the first character of a programming code. • The output buffer is cleared.
IEEE 488.2 Command Reference 17 LLO The LLO (Local Lock Out) command can be used to disable the front panel local key. With this key disabled, only the controller (or a hard reset by the line power switch) can restore local control. PPC When addressed to listen, the PPC (Parallel Poll Configure) command causes the power meter to be configured according to the parallel poll enable secondary command which should follow this command.
17 IEEE 488.2 Command Reference PPE Once the power meter has received a PPC command, the PPE (Parallel Poll Enable) secondary command configures the power meter to respond to a parallel poll on a particular data line with a particular level.
IEEE 488.2 Command Reference 17 SDC The SDC (Selected Device Clear) command causes instruments using GPIB in the listen state, to assume a cleared condition. The definition of a selected device clear is unique for each instrument. For the power meter: • All pending operations are halted, that is, *OPC? and *WAI. • The parser (the software that interprets the programming codes) is reset and now expects to receive the first character of a programming code. • The output buffer is cleared.
17 IEEE 488.2 Command Reference THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK.
N1911A/1912A P-Series Power Meters Programming Guide A 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.
A Calibration Factor Block Layout Calibration Factor Block Layout The following tables provide information on the calibration factor block layout for E4410 Series, E9300 Serie, E9320 Series and N8480 Series sensors (excluding Option CFT). The information relates to service commands is described in Chapter 16. Table A-96 Calibration Factor Block Layout: E4410 Series Sensors E4410 Series Sensors: Calibration Factor Block Layout No.
Calibration Factor Block Layout E4410 Series Sensors: Calibration Factor Block Layout No. Bytes Contents Data Format Data Range Units Notes A These table entries are repeated as shown for each frequency point Frequency (point ‘N’) 4 - 32 bit fixed 0 to Fhpb* (2^32) None Fhbp = Freq Hz per bit Cal factor (low power)1 2 - 2.14 0.25 to 3 None Power (in watts) is divided by this value. Cal factor (high power)1 2 - 2.14 0.25 to 3 None Power (in watts) is divided by this value.
A Calibration Factor Block Layout E9300 Series Sensors: Calibration Factor Block Layout No. Bytes Header Total: 6 Contents Data Format Data Range Units Notes For Each Table (tables are in the order of lower to upper): Power, low 2 - 7.8 (signed) –127.9 to +127.9 dBm Power for low power flatness. Power, high 2 - 7.8 (signed) –127.9 to +127.9 dBm Power for high power flatness.
Calibration Factor Block Layout E9320 Series Sensors: Calibration Factor Block Layout No. Bytes Contents Data Format Data Range Units Notes Number of tables 1 1 - - None Number of cal factor tables. This is currently unused but has been set to a default value of 1. Number of frequency points 2 - 16 bit integer - None Bytes per frequency point 1 - - - None Number of bytes in cal factor value at each frequency. Frequency LSB weight 2 1000 - Hertz Fhbp (Freq. Hz per bit).
A Calibration Factor Block Layout Table A-99 Calibration Factor Block Layout: N8480 Series Sensors N8480 Series Sensors: Calibration Factor Block Layout No. Bytes Contents Data Format Data Range Units Notes Power, low 2 - 7.8 (signed) –127.9 to +127.9 dBm Power for low power flatness. Power, high 2 - 7.8 (signed) –127.9 to +127.9 dBm Power for high power flatness.
Calibration Factor Block Layout N8480 Series Sensors: Calibration Factor Block Layout No. Bytes Contents Table Size: - See note1 Data Format Data Range Units A Notes The table size is dependent on the number of frequency points. 1 Corrections are applied in power for E4410 Series, E9300 Series and N8480 Series sensors (excluding Option CFT). 2 Corrections are applied in voltage versus ADC reading for E9320 Series sensors.
A Calibration Factor Block Layout THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK.
N1911A/1912A P-Series Power Meters Programming Guide B Measurement Polling Example Measurement Polling Example using VEE program B-772 This chapter contains an example of VEE program in measurement polling.
B Measurement Polling Example Measurement Polling Example using VEE program 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.
Measurement Polling Example B Example 2: Figure B-16 Example of VEE program used in measurement polling N1911A/1912A P-Series Power Meters Programming Guide B-773
B Measurement Polling Example THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK.
www.agilent.