background image

prog.book : ch10stat.fm    23  Mon Feb 15 09:24:37 1999

STATus Subsystem

STATus:QUEStionable:POWer[:SUMMary]

HP E4418B/E4419B Programming Guide

10-23

Channel A requires zeroing

Bis 6 is set when the following condition occurs (HP E4419B only):

Channel B requires zeroing

These bits are cleared when no errors or events are detected by the power
meter during a measurement covering the causes given for it to set.

Syntax

STAT

:QUES

:POW

:SUMM

Summary of Contents for E4418B

Page 1: ...prog book title fm i Mon Feb 15 09 24 37 1999 HP Part no E4418 90029 December 1998 Programming Guide HP E4418B E4419B Power Meters ...

Page 2: ...1999 ii HP E4418B E4419B Programming Guide Copyright Hewlett Packard Company All rights reserved Reproduction adaptation or translation without prior written permission is prohibited except as allowed under the copyright laws Printed in the UK ...

Page 3: ... that its calibration measurements are traceable to the United States National Institute of Standards and Technology to the extent allowed by the Institute s calibration facility and to the calibration facilities of other International Standards Organization members Warranty This Hewlett Packard instrument product is warranted against defects in material and workmanship for a period of one year fr...

Page 4: ... misuse operation outside of the environmental specifications for the product or improper site preparation or maintenance NO OTHER WARRANTY IS EXPRESSED OR IMPLIED HP SPECIFICALLY DISCLAIMS THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE Exclusive Remedies THE REMEDIES PROVIDED HEREIN ARE BUYER S SOLE AND EXCLUSIVE REMEDIES HP SHALL NOT BE LIABLE FOR ANY DIRECT INDIR...

Page 5: ...met Personal Safety Considerations WARNING This is a Safety Class I product provided with a protective earthing ground incorporated in the power cord The mains plug shall only be inserted in a socket outlet provided with a protective earth contact Any interruption of the protective conductor inside or outside the instrument is likely to make the instrument dangerous Intentional interruption is pro...

Page 6: ...protective covers removed should be performed only by trained service personnel Markings The CE mark shows that the product complies with all the relevant European legal Directives if accompanied by a year it signifies when the design was proven This is the symbol of an Industrial Scientific and Medical Group 1 Class A product The CSA mark is a registered trademark of the Canadian Standards Associ...

Page 7: ... of Compliance This product has been designed and tested for compliance with IEC 60529 1989 Degrees of Protection Provided by Enclosures IP Code Level IPx4 is attained if and only if the carry case part number HP 34141A is fitted User Environment This product is designed for use in a sheltered environment avoiding extreme weather conditions in accordance with Pollution Degree 3 defined in IEC 6066...

Page 8: ...uisition data processing Chapter 4 CALibration Subsystem This chapter explains how to use the CALibration command subsystem to zero and calibrate the power meter Chapter 5 DISPlay Subsystem This chapter explains how the DISPlay subsystem is used to control the the selection and presentation of the windows used on the power meter s display Chapter 6 FORMat Subsystem This chapter explains how the FO...

Page 9: ...nd subsystem to return error numbers and messages from the power meter preset the power meter set the GPIB address set the command language and query the SCPI version Chapter 12 TRIGger Subsystem This chapter explains how the TRIGger command subsystem is used synchronize device actions with events Chapter 13 UNIT Subsystem This chapter explains how to use the UNIT command subsystem to set the powe...

Page 10: ...Option ABF Italian Language User s Guide Option ABZ Japanese Language User s Guide Option ABJ HP E4418B E4419B Service Guide is available by ordering Option 915 HP E4418B E4419B CLIPs Component Location and Information Pack is available by ordering E4418 90031 Useful information on SCPI Standard Commands for Programmable Instruments can be found in A Beginner s Guide to SCPI which is available by ...

Page 11: ...uctions vii About this Guide viii List of Related Publications x Power Meter Remote Operation 1 1 Introduction 1 2 Configuring the Remote Interface 1 3 Interface Selection 1 3 HP IB Address 1 3 RS232 RS422 Configuration 1 4 Programming Language Selection 1 4 Zeroing and Calibrating the Power Meter 1 11 Zeroing 1 11 Calibration 1 11 Setting the Reference Calibration Factor 1 13 Making Measurements ...

Page 12: ...ffsets 1 51 Example 1 52 Setting Measurement Limits 1 53 Setting Window Limits 1 55 Checking for Limit Failures 1 55 Example 1 57 Measuring Pulsed Signals 1 58 Making the Measurement 1 58 Triggering the Power Meter 1 61 Idle State 1 63 Initiate State 1 64 Event Detection State 1 64 Trigger Delay 1 65 Getting the Best Speed Performance 1 66 Speed 1 66 Trigger Mode 1 66 Output Format 1 68 Units 1 68...

Page 13: ... 110 SCPI Compliance Information 1 111 MEASurement Instructions 2 1 MEASurement Instructions 2 2 CONFigure 1 2 2 6 CONFigure 1 2 Commands 2 8 CONFigure 1 2 SCALar POWer AC expected_value resolution source list 2 9 CONFigure 1 2 SCALar POWer AC RELative expected_value resolution source list 2 11 CONFigure 1 2 SCALar POWer AC DIFFerence expected_value resolution source list 2 13 CONFigure 1 2 SCALar...

Page 14: ...AC DIFFerence expected_value resolution source list 2 41 READ 1 2 SCALar POWer AC DIFFerence RELative expected_value resolution source list 2 43 READ 1 2 SCALar POWer AC RATio expected_value resolution source list 2 45 READ 1 2 SCALar POWer AC RATio RELative expected_value resolution source list 2 47 MEASure 1 2 Commands 2 49 MEASure 1 2 SCALar POWer AC expected_value resolution source list 2 50 M...

Page 15: ...Talog 3 24 The CALCulate 1 2 RELative Node 3 25 CALCulate 1 2 RELative MAGNitude AUTO Boolean ONCE 3 26 CALCulate 1 2 RELative STATe Boolean 3 28 CALibration Subsystem 4 1 CALibration Subsystem 4 2 CALibration 1 2 ALL 4 3 CALibration 1 2 ALL 4 5 CALibration 1 2 AUTO Boolean ONCE 4 7 CALibration 1 2 ECONtrol STATe Boolean 4 9 CALibration 1 2 RCALibration Boolean 4 10 CALibration 1 2 RCFactor numeri...

Page 16: ...2 MEMory FREE ALL 7 13 MEMory FREE STATe 7 14 MEMory FREE TABLe 7 15 MEMory NSTates 7 16 The MEMory STATe Node 7 17 MEMory STATe CATalog 7 18 MEMory STATe DEFine string numeric_value 7 19 MEMory TABLe Node 7 21 MEMory TABLe FREQuency numeric_value numeric_value 7 22 MEMory TABLe FREQuency POINts 7 25 MEMory TABLe GAIN MAGNitude numeric_value numeric_value 7 26 MEMory TABLe GAIN MAGNitude POINts 7 ...

Page 17: ...2 CORRection GAIN 1 2 Node 9 25 SENSe 1 SENSe2 CORRection CFACtor GAIN 1 2 INPut MAGNitude numeric_value 9 26 SENSe 1 SENSe2 CORRection GAIN2 STATe Boolean 9 29 SENSe 1 SENSe2 CORRection FDOFfset GAIN4 INPut MAGNitude 9 31 SENSe 1 SENSe2 CORRection LOSS2 Node 9 32 SENSe 1 SENSe2 CORRection LOSS2 INPut MAGNitude numeric_value 9 33 SENSe 1 SENSe2 CORRection LOSS2 STATe Boolean 9 35 SENSe 1 SENSe2 FR...

Page 18: ...ry 10 21 STATus QUEStionable POWer SUMMary 10 22 SYSTem Subsystem 11 1 SYSTem Subsystem 11 2 SYSTem COMMunicate GPIB SELF ADDRess numeric_value 11 3 SYStem COMMunicate Serial Node 11 4 SYSTem COMMunicate SERial CONTrol DTR ON OFF IBFull 11 5 SYSTem COMMunicate SERial CONTrol RTS ON OFF IBFull 11 6 SYSTem COMMunicate SERial RECeive BAUD numeric_value 11 7 SYSTem COMMunicate SERial RECeive BITs nume...

Page 19: ...1 35 TRIGger Subsystem 12 1 TRIGger Subsystem 12 2 ABORt 1 2 12 3 INITiate Node 12 4 INITiate 1 2 CONTinuous Boolean 12 5 INITiate 1 2 IMMediate 12 7 TRIGger Node 12 8 TRIGger 1 2 DELay AUTO Boolean 12 9 TRIGger 1 2 IMMediate 12 11 TRIGger 1 2 SOURce BUS IMMediate HOLD 12 12 UNIT Subsystem 13 1 UNIT Subsystem 13 2 UNIT 1 2 POWer amplitude_unit 13 3 UNIT 1 2 POWer RATio ratio_unit 13 6 SERVice Subs...

Page 20: ...Information 15 2 Universal Commands 15 3 DCL 15 3 GET 15 3 GTL 15 3 LLO 15 4 PPC 15 4 PPD 15 4 PPE 15 4 PPU 15 5 SDC 15 5 SPD 15 6 SPE 15 6 CLS 15 7 DDT arbitrary block program data string program data 15 8 ESE NRf 15 10 ESR 15 11 IDN 15 12 OPC 15 13 OPT 15 14 RCL NRf 15 15 RST 15 16 SAV NRf 15 17 SRE NRf 15 18 STB 15 20 TRG 15 22 TST 15 23 WAI 15 24 ...

Page 21: ...s 1 41 1 3 Averaged Readings 1 49 1 4 Averaging Range Hysteresis 1 49 1 5 Limits Checking Application 1 53 1 6 Limits Checking Results 1 54 1 7 Pulsed Signal 1 58 1 8 Trigger System 1 63 1 9 How Measurements are Calculated 1 70 1 10 Generalized Status Register Model 1 72 1 11 Typical Status Register Bit Changes 1 73 1 12 Status System 1 79 3 1 CALCulate Block 3 3 9 1 Averaged Readings 9 7 ...

Page 22: ...prog book progLOF doc 12 Mon Feb 15 09 24 37 1999 Contents 12 HP E4418B E4419B Programming Guide ...

Page 23: ...14 1 4 Range of Values for Window Limits 1 55 1 5 Bit Definitions Status Byte Register 1 80 1 6 Bit Definitions Standard Event Register 1 82 3 1 Measurement Units 3 15 3 2 Measurement Units 3 19 5 1 Measurement Units 5 10 5 2 Measurement Units 5 12 10 1 Status Data Structure 10 2 11 1 Preset Settings 11 29 15 1 PPD Mapping 4 15 2 PPE Mapping 5 15 3 ESE Mapping 10 15 4 ESR Mapping 11 15 5 SRE Mappi...

Page 24: ...prog book progLOT doc 14 Mon Feb 15 09 24 37 1999 Contents 14 HP E4418B E4419B Programming Guide ...

Page 25: ...prog book chapter1 fm 1 Mon Feb 15 09 24 37 1999 1 Power Meter Remote Operation ...

Page 26: ...r Calibration Tables on page 1 30 Using Frequency Dependent Offset Tables on page 1 40 Setting the Range Resolution and Averaging on page 1 47 Setting Offsets on page 1 51 Setting Measurement Limits on page 1 53 Measuring Pulsed Signals on page 1 58 Triggering the Power Meter on page 1 61 Getting the Best Speed Performance on page 1 66 How Measurements are Calculated on page 1 70 Status Reporting ...

Page 27: ...ommand HP IB Address Each device on the HP IB IEEE 488 interface must have a unique address You can set the power meter s address to any value between 0 and 30 The address is set to 13 when the power meter is shipped from the factory The address is stored in non volatile memory and does not change when the power meter is switched off or after a remote interface reset Your HP IB bus controller has ...

Page 28: ...Tem COMMunicate SERial RECeive PARity TYPE SYSTem COMMunicate SERial RECeive SBIT SYSTem COMMunicate SERial TRANsmit BAUD SYSTem COMMunicate SERial TRANsmit BIT SYSTem COMMunicate SERial TRANsmit ECHO SYSTem COMMunicate SERial TRANsmit PACE SYSTem COMMunicate SERial TRANsmit PARity TYPE SYSTem COMMunicate SERial TRANsmit SBIT Programming Language Selection You can select one of two languages to pr...

Page 29: ...iled description of these commands refer to the HP 437B Power Meter Operating Manual E4418B users or the HP 438A Operating and Service Manual E4419B users In addition the SYST LANG SCPI command allows you to return to using the SCPI programming language when in the HP 437B or HP 438A mode Note that the 437B commands only operate on the upper window of the E4418B 437B 438A Error Codes If an overrun...

Page 30: ...ble DE Display enable DF Display enable DN1 Down arrow key DU1 Display user message DY Enter duty cycle EN Enter ERR Device error query ESR Event status register query ESE Set event status register mask ESE Event status register mask query ET Edit sensor table EX Exit FA Automatic filter selection FH Filter hold FM Manual filter selection FR Enter measurement frequency GT0 Ignore GET bus command G...

Page 31: ...or off OC1 Reference oscillator on OD Output display OF0 Offset off OF1 Offset on OS Enter offset value PCT Percent PR Preset RA Auto range RC Recall instrument configuration RE Set display resolution RF Enter sensor table reference calibration factor RH Range hold RL0 Exit from relative mode RL1 Enter relative mode take new reference RL2 Enter relative mode use last reference RM Set measurement r...

Page 32: ...llowing a language switch 4 This command is not an original HP 437B command However it can be used to allow the last measurement result to be transmitted This is equivalent to sending the power meter talk address in HP IB mode to fetch the last reading provided no query is pending 5 Always returns 0000 in HP 437B language SP 1 Special SPD 20 402 20 or 40 readings sec SRE Set the service request ma...

Page 33: ...asurement CL Calibrate CS Clear the status byte DA 1 All display segments on DD Display disable DE Display enable DO Display offset EN Enter FA Automatic filter selection FH Filter hold FM Manual filter selection FR Enter measurement frequency GT0 Ignore GET bus command GT1 Trigger immediate response to GET GT2 Trigger with delay response to GET KB Enter measurement cal factor LG Log units dBm dB ...

Page 34: ... is not an original HP 437B command However it can be used to allow the last measurement result to be transmitted This is equivalent to sending the power meter talk address in HP IB mode to fetch the last reading provided no query is pending OC1 Reference oscillator on OS Enter offset value PR Preset RA Auto range RC Recall instrument configuration RH Range hold RL0 Exit from relative mode RL1 Ent...

Page 35: ... zeroing returns the power reference oscillator to the same state it was in prior to the command being received Zeroing takes approximately 10 seconds depending on the type of power sensor being used When to Zero Zeroing of the power meter is recommended when a 50 C change in temperature occurs when you change the power sensor every 24 hours prior to measuring low level signals For example 10 dB a...

Page 36: ...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 The calibration sequence consists of Zeroing the power meter CALibration 1 2 ZERO AUTO ONCE and calibrating the power meter CALibration 1 2 ...

Page 37: ...Using Sensor Calibration Tables on page 1 30 for further information Examples a To enter a reference calibration factor of 98 7 for channel A you should use the following command CAL RCF 98 7PCT This overides any RCF previously set by selecting a sensor calibration table b To automatically set the reference calibration factor you have to use a sensor calibration table as described in Using Sensor ...

Page 38: ...values as shown in Table 1 3 Table 1 3 MEASure and CONFigure Preset States An alternative method to program the power meter is to use the lower level commands The advantage of using the lower level commands over the CONFigure command is that they give you more precise control of the power meter As shown in Table 1 3 the CONFigure command presets various states in the power meter It may be likely t...

Page 39: ...a CONFigure followed by a READ MEASure Examples The following commands show a few examples of how to use the MEASure query to make a measurement It is advisable to read through these examples in order as they become increasingly more detailed These examples configure the power meter for a measurement as described in each individual example automatically place the power meter in the wait for trigge...

Page 40: ...hannel is available Example 3 Specifying the Expected Power Parameter The previous example details the three optional parameters which can be used with the MEASure command The first optional parameter is used to enter an expected power value Entering this parameter is only relevant if you are using an HP E series power sensor The value entered determines which of the power sensor s two ranges is u...

Page 41: ...ing of 3 This setting represents 3 significant digits if the measurement suffix is W or and 0 01 dB if the suffix is dB or dBm for further details on the resolution parameter refer to the commands in Chapter 2 MEASurement Instructions Also in this example the expected power and source list parameters are defaulted The expected power value will be left unchanged at its current setting The source li...

Page 42: ...tion of the MEASure command when the source list parameter is defaulted depends on the current setup of the window concerned for example A B A B A B etc and on the particular command used for example MEAS POW AC and MEAS POW AC RAT etc This means that when the source list parameter is defaulted there are a number of possibilities Command Current Window Setup Measurement MEAS1 POW AC Upper Window A...

Page 43: ...aking Measurements HP E4418B E4419B Programming Guide 1 19 MEAS2 POW AC RAT Lower Window A B A B B A B A Any Other A B MEAS1 POW AC DIFF Upper Window A B A B B A B A Any Other A B MEAS2 POW AC DIFF Lower Window A B A B B A B A Any Other A B Command Current Window Setup Measurement ...

Page 44: ...se the READ query The READ query takes the measurement using the parameters set by the CONFigure command then sends the reading to the output buffer Using the READ query will obtain new data Using INITiate and FETCh CONFigure does not take the measurement One method of obtaining the result is to use the INITiate and FETCh commands The INITiate command causes the measurement to be taken The FETCh q...

Page 45: ...defaults to channel A HP E4418B Channel B HP E4419B measurement READ2 Take lower window measurement channel A on HP E4418B B on HP E4419B Using INITiate and FETCh RST Reset instrument CONF1 Configure upper window defaults to a channel A measurement INIT1 Causes channel A to make a measurement FETC1 Retrieves the upper window s measurement For the HP E4418B only RST Reset instrument CONF2 Configure...

Page 46: ...he measurement is carried out on the upper window Although the READ and FETCh queries have three optional parameters it is not necessary to define them as shown in these examples If they are defined they must be identical to those defined in the CONFigure command otherwise an error occurs Note For the HP E4418B it is not necessary to specify a channel as only one channel is available Using READ Us...

Page 47: ...n to obtain a result The following example uses the expected value parameter to specify a value of 50 dBm This selects the power meter s lower range refer to Range on page 1 47 for details of the range breaks The resolution parameter is defaulted leaving it at its current setting The source list parameter specifies a channel B measurement The measurement is carried out on the upper window Using RE...

Page 48: ...nds For example in the above program segment some fine tuning can be carried out by setting the filter length to 1024 and the trigger delay off ABOR2 CONF1 50 DEF 2 SENS2 AVER COUN 1024 TRIG2 DEL AUTO OFF INIT2 FETC1 ABOR2 Aborts channel B CONF1 50 DEF 2 Configures the upperwindow to make a channel B measurement using an expected power of 50 dBm and the current resolution setting INIT2 Causes chan...

Page 49: ...ignificant digits if the measurement suffix is W or and 0 01 dB if the suffix is dB or dBm for further details on the resolution parameter refer to the commands in Chapter 2 MEASurement Instructions Also in this example the expected power and source list parameters are defaulted The expected power value will be left unchanged at its current setting The source list parameter will be defaulted as de...

Page 50: ...dow Some fine tuning of the above program segment can be carried out for example by setting the trigger delay off ABOR1 CONF1 DEF 3 TRIG1 DEL AUTO OFF INIT1 IMM FETC1 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 INIT1 Causes channel A to make a measurement FETC1 Ret...

Page 51: ...t is carried out by setting the averaging and the trigger delay to off Using READ ABOR1 ABOR2 CONF2 POW AC DIFF DEF DEF 1 2 SENS1 AVER COUN 1024 SENS2 AVER COUN 1024 TRIG1 DEL AUTO OFF TRIG2 DEL AUTO OFF READ2 POW AC DIFF READ2 POW AC DIFF DEF DEF 2 1 A second READ query is sent to make a channel B channel A measurement using fresh measurement data Using INITiate and FETCh ABOR1 ABOR2 CONF2 POW AC...

Page 52: ...t settings Some fine tuning of the measurement is carried out by setting the averaging Using READ ABOR1 ABOR2 CONF2 POW AC RAT DEF DEF 1 2 SENS1 AVER COUN 512 SENS2 AVER COUN 256 READ2 POW AC RAT READ2 POW AC RAT DEF DEF 2 1 A second READ query is sent to make a channel B channel A ratio measurement using fresh measurement data Using INITiate and FETCh ABOR1 ABOR2 CONF2 POW AC RAT DEF DEF 1 2 SENS...

Page 53: ...lower level commands over the CONFigure command is that they give you more precise control of the power meter As shown in Table 1 3 on page 1 14 the CONFigure command presets various states in the power meter It may be likely that you do not want to preset these states Example The following example sets the expected power value to 50 dBm and the resolution setting to 3 using the lower level comman...

Page 54: ...g correction data to the power meter depending on the setting of the SENSe 1 SENSe2 CORRection CSET1 STATe command If SENSe 1 SENSe2 CORRection CSET1 STATe is OFF the sensor calibration tables are not used To make a calibrated power measurement when SENSe 1 SENSe2 CORRection CSET1 STATe is OFF perform the following steps 1 Zero and calibrate the power meter Before carrying out the calibration set ...

Page 55: ...EQ 2 80 CFAC CFAC 1 80 TABLE 1 FREQ FREQ 1 FREQ 2 80 CFAC CFAC 1 CFAC 2 80 TABLE 20 FREQ FREQ 1 FREQ 2 80 CFAC CFAC 1 CFAC 2 80 CFAC Calibration Factor RCF Reference Calibration Factor FREQ FREQ 1 FREQ 2 80 CFAC CFAC 1 CFAC 2 80 Frequency of the signal you want to measure Calibration Factor used TABLE SELECTED to make Measurement Calculated by the Power Meter using linear interpolation RCF RCF RCF...

Page 56: ...ssary 2 Select the sensor calibration table 3 Enable the sensor calibration table 4 Zero and calibrate the power meter The reference calibration factor used during the calibration is automatically set by the power meter from the sensor calibration table 5 Specify the frequency of the signal you want to measure The calibration factor is automatically set by the power meter from the sensor calibrati...

Page 57: ...able Names on page 1 34 2 Enter the frequency data using MEMory TABle FREQuency numeric_value numeric_value 3 Enter the calibration factors using MEMory TABle GAIN numeric_value numeric_value The first parameter you enter should be the reference calibration factor each subsequent parameter is a calibration factor in the sensor calibration table This means that entries in the frequency list corresp...

Page 58: ...ver the frequency range of the signals you want to measure If you measure a signal with a frequency outside the frequency range defined in the sensor calibration table then the power meter uses the highest or lowest frequency point in the sensor calibration table to calculate the calibration factor To make subsequent editing of a sensor calibration table simpler it is recommended that you retain a...

Page 59: ...ed sensor calibration tables The data in these sensor calibration tables is based on statistical averages for a range of Hewlett Packard Power Sensors see Chapter 2 Editing Sensor Calibration Tables in the User s Guide These power sensors are DEFAULT1 HP 8481A HP 8482A2 HP 8483A HP 8481D HP 8485A R8486A Q8486A R8486D HP 8487A For further information on naming sensor calibration tables see Naming S...

Page 60: ...able use MEMory TABLe MOVE string string The first string parameter identifies the existing table name and the second identifies the new table name The following rules apply to sensor calibration table names a The sensor calibration table must consist of no more than 12 characters b All characters must be upper or lower case alphabetic characters or numeric 0 9 or an underscore _ c No spaces are a...

Page 61: ...s stored in the sensor calibration table in Hz MEMory TABLe GAIN MAGNitude POINTs Query command which returns the number of calibration factor points stored in the sensor calibration table MEMory TABLe GAIN MAGNitude Query command which returns the calibration factors stored in the sensor calibration table The first point returned is the reference calibration factor Modifying Data If you need to m...

Page 62: ... the number of calibration factor points defined in the sensor calibration table is one parameter greater than the number of frequency points If this is not the case an error occurs To find out which sensor calibration table is currently selected use the query SENSe 1 SENSe2 CORRection CSET1 SELect Enabling the Sensor Calibration Table System To enable the sensor calibration table use the followin...

Page 63: ...Rt1 CONFigure1 POWer AC DEF 2 1 SENS1 CORR CSET1 SEL HP8481A SENS1 CORR CSET1 STAT ON SENSe1 FREQuency 500KHZ READ1 Note If the measurement frequency does not correspond directly to a frequency in the sensor calibration table the power meter calculates the calibration factor using linear interpolation If you enter a frequency outside the frequency range defined in the sensor calibration table then...

Page 64: ... test setup over a range of frequencies Note that when selected frequency dependent offset correction is IN ADDITION to any correction applied for sensor frequency response The power meter is capable of storing 10 frequency dependent offset tables of 80 frequency points each To use frequency dependent offset tables you 1 Edit a frequency dependent offset table if necessary 2 Select the frequency d...

Page 65: ...Dependent Offset Tables TABLE N FREQ FREQ 1 FREQ 2 80 OFFSET OFFSET 1 80 TABLE 1 FREQ FREQ 1 FREQ 2 80 OFFSET OFFSET 1 2 80 TABLE 10 FREQ FREQ 1 FREQ 2 80 OFFSET OFFSET 1 OFFSET 2 80 OFFSET Frequency Dependent Offset FREQ FREQ 1 FREQ 2 80 OFFSET OFFSET 1 OFFSET 2 80 Frequency of the signal you want to measure TABLE SELECTED OFFSET 2 OFFSET Frequency dependent offset used to make Measurement Calcul...

Page 66: ...offset tables see Naming Frequency Dependent Offset Tables on page 1 44 For information on the current names which you can select refer to Listing the Frequency Dependent Offset Table Names on page 1 43 2 Enter the frequency data using MEMory TABle FREQuency numeric_value numeric_value 3 Enter the offset factors as shown in the table below using MEMory TABle GAIN numeric_value numeric_value 4 If r...

Page 67: ...uency range of the signals you want to measure If you measure a signal with a frequency outside the frequency range defined in the frequency dependent offset table then the power meter uses the highest or lowest frequency point in the table to calculate the offset To make subsequent editing of a frequency dependent offset table simpler it is recommended that you retain a copy of your data in a pro...

Page 68: ...eter identifies the existing table name and the second identifies the new table name The following rules apply to frequency dependent offset table names a Table names use a maximum of 12 characters b All characters must be upper or lower case alphabetic characters or numeric 0 9 or an underscore _ c No spaces are allowed in the name Reviewing Table Data To review the data stored in a frequency dep...

Page 69: ...ned the original data in a program edit the program and resend the data 2 Use the query commands shown in Reviewing Table Data on page 1 37 to enter the data into your computer Edit this data then resend it Selecting a Frequency Dependent Offset Table After you have created the frequency dependent offset table you can select it using the following command SENSe 1 SENSe2 CORRection CSET2 SELect str...

Page 70: ... 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 If you enter a frequency outsi...

Page 71: ...or manually Use autoranging when you are not sure of the power level you will be measuring Setting the Range To set the range manually use the following command SENSe 1 SENSe2 POWer AC RANGe numeric_value If the numeric_value is set to 0 the sensor s lower range is selected For example this range is 70 to 13 5 dBm for the HP ECP 18A power sensor 1 the sensor s upper range is selected For example t...

Page 72: ...noise obtain the desired resolution and to reduce the jitter in the measurement results However the time to take the measurement is increased You can select the filter length or you can set the power meter to auto filter mode To enable and disable averaging use the following command SENSe 1 SENSe2 AVERage STATe Boolean Note If you are using the HP 437B remote programming language you cannot enter ...

Page 73: ...adings Figure 1 4 illustrates part of the power sensor dynamic range hysteresis Figure 1 4 Averaging Range Hysteresis 10 dB 10 dB Minimum Sensor Power Maximum Sensor Power Power Sensor Dynamic Range 10 dB 10 dB 1 2 3 4 8 8 128 128 Resolution Setting Number of Averages 1 1 16 256 1 1 2 32 1 1 1 16 1 1 1 8 Minimum Sensor Power Minimum Sensor Power 10 dB Range Hysteresis 10 5 dB 9 5 dB ...

Page 74: ...de Filter Length You specify the filter length using the following command SENSe 1 SENSe2 AVERage COUNt numeric_value The range of values for the filter length is 1 to 1024 Specifying this command disables automatic filter length selection Increasing the value of the filter length reduces measurement noise However the time to take the measurement is increased ...

Page 75: ... value the state is automatically enabled However it can be enabled and disabled using either the SENSe 1 SENSe2 CORRection GAIN2 STATe or SENSe 1 SENSe2 CORRection LOSS2 STATe commands LOSS2 is coupled to GAIN2 by the equation when the default unit is linear and when the default is logarithmic Note You can only use LOSS2 and GAIN2 for external losses and gains LOSS1 and GAIN1 are specifically for...

Page 76: ...ts to dBm 100 OUTPUT POWER UNIT POW DBM 110 Set the power meter for channel offsets of 10 dB 120 OUTPUT POWER SENS1 CORR GAIN2 10 130 OUTPUT POWER SENS2 CORR GAIN2 10 140 Enable the gain correction 150 OUTPUT POWER SENS CORR GAIN2 STATe ON 160 OUTPUT POWER SENS2 CORR GAIN2 STATe ON 170 Set the power meter for a display offset of 20 dB 180 OUTPUT POWER CALC1 GAIN 20 DB 190 PRINT MAKING THE MEASUREM...

Page 77: ...ifference measurements In addition the window based limits can be set to output a TTL logic level at the rear panel Rmt I O port when the predefined limits are exceeded Note Only one set of limits can be on at a time that is Channel OR Window Setting Channel 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 tha...

Page 78: ...ing The following example program in HP Basic shows how to set the limits to 4 dBm and 10 dBm 10 Create I O path name 20 ASSIGN Power to 713 30 Clear the Power Meter s Interface 40 CLEAR Power 50 Set the Power Meter to a known state 60 OUTPUT Power RST 70 Set the measurement units to dBm 80 OUTPUT Power UNIT POWer DBM 90 Set the upper limit to 10 dBm 100 OUTPUT Power SENSe LIMit UPPer 10 110 Set t...

Page 79: ...s are exceeded You can switch the rear panel TTL outputs on or off set the TTL output level to active high or low and determine whether the TTL output represents an over limit condition under limit condition or both Refer to Chapter 8 OUTput Subsystem for TTL output programming commands and to the HP E4418B E4419B User s Guide for connector and pin out information Use the programming example for c...

Page 80: ...r to page 9 43 page 9 44 page 3 12 and page 3 13 for further information on using these commands Using STATus 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 Refer to Status Reporting on page 1 71 and...

Page 81: ...t the measurement has already been set up in the upper window window 1 CALC1 LIM LOW 30 Sets the lower limit for the upper window to 30 dBm CALC1 LIM UPP 10 Sets the upper limit for the upper window to 10 dBm CALC1 LIM STAT ON Turns the limits on OUTP TTL1 FEED CALC1 LIM LOW CALC1 LIM UPP Specifies that TTL output 1 should be asserted when the upper or lower limit fails on the upper window OUTP TT...

Page 82: ...duty cycle value to obtain the pulse power reading The allowable range of values is 0 001 to 99 999 The default is 1 000 A duty cycle value can be set using the following command SENSe 1 SENSe2 CORRection DCYCle GAIN3 numeric_value Note Pulse measurements are not recommended using HP ECP series power sensors Making the Measurement An example of a pulsed signal is shown in Figure 1 7 Figure 1 7 Pul...

Page 83: ...ING THE POWER METER 140 Verify the outcome 150 ENTER Power Success 160 IF Success 0 THEN 170 Calibration cycle was successful 180 190 Set the measurement units to Watts 200 OUTPUT Power UNIT POW WATT 210 220 Set the measurement calibration factor for the sensor 230 OUTPUT Power SENS CORR CFAC 97 5PCT 240 Set the power meter for a duty cycle of 16PCT 250 OUTPUT Power SENS1 CORR DCYC 16PCT 260 270 E...

Page 84: ... in the pulse such as overshooting or ringing For this reason it is called pulse power and not peak power or peak pulse power In order to ensure accurate pulse power readings the input signal must be pulsed with a rectangular pulse Other pulse shapes such as triangle chirp or Gaussian will cause erroneous results The pulse power on off ratio must be much greater than the duty cycle ratio ...

Page 85: ...updated until a trigger command is received In this mode the power meter is either waiting to be initiated or waiting for a trigger See Trigger System on page 63 b Free run mode is the preset mode of operation and is identical to local operation The measurement result data available to the remote interface is continuously updated as rapidly as the power meter makes measurements Entry into local mo...

Page 86: ...gh the event detection state See Event Detection State on page 1 64 for details 2 Make sure that the power meter is ready to accept a trigger This is called the wait for trigger state Sending a device clear a RST or an ABORt forces the trigger system into the idle state The trigger system remains in the idle state until it is moved into the wait for trigger state by executing an INITiate command T...

Page 87: ...e trigger system remains in the IDLE state until it is initiated by INITiate CONTinuous ON or INITiate IMMediate Once one of these conditions is satisfied the trigger system moves to the initiate state ABORt Idle State RST Is INIT CONT ON INIT IMM or INIT CONT ON NO YES Wait for trigger state Wait TRIG DEL TRIGGERED Power Meter Measurement Actions TRIG SOURce TRIG SOUR IMM TRIG SOUR BUS TRIG SOUR ...

Page 88: ... upwards to the idle state Event Detection State The trigger source specifies which event causes the trigger system to travel through the event detection state The trigger source is set with the following command TRIGger SOURce There are three possible trigger sources BUS The trigger source is the HP IB group execute trigger GET a TRG command or the TRIGger IMMediate command HOLD Triggering is sus...

Page 89: ...ter and depends on the current filter length The delay ensures that the analog circuitry and the digital filters in the power meter have settled It does not allow time for power sensor delay To enable the delay use the following command TRIGger DELay AUTO ON To disable the delay use the following command TRIGger DELay AUTO OFF Note MEASure and CONFigure automatically enable the delay Also when the...

Page 90: ...e described in 200 Readings Sec on page 1 68 The following paragraphs give a brief description of the above factors and how they are controlled from SCPI Speed There are three possible speed settings 20 40 and 200 readings sec These are set using the SENSe SPEed command and can be applied to each channel independently HP E4419B only The speed setting controls the cycle time of the measurement i e ...

Page 91: ...th delay This can be achieved using the same sequences above apart from the second with TRIG DEL AUTO set to ON Also the MEAS command operates in trigger with delay mode In trigger with delay mode a measurement is not completed until the power meter filter is full In this way the reading returned is guaranteed to be settled In all other modes the result returned is simply the current result from t...

Page 92: ...ffic Units The power meter can output results in either linear or log units The internal units are linear and therefore optimal performance will be acheived when the results output are also in linear units since the overhead of performing a log function is removed Command Used In free run trigger mode FETC must be used to retrieve a result In other trigger modes there are a number of commands whic...

Page 93: ...ltaneously and 40 readings sec simultaneously but 200 readings sec is not achievable on both channels at the same time If only single channel measurements are required then the other channel should be set to standby mode and not triggered The throughput for a channel set in the 200 readings sec mode will be affected by the speed mode of the other channel However in a situation where fast measureme...

Page 94: ...ve diagram refer to the HP E4419B only The MEAS 1 2 POW AC and MEAS 1 2 POW AC REL are the only commands relevant to the HP E4418B HPIB HP IB Sensor B Sensor B Sensor A Sensor A SENSe1 AVER1 GAIN1 GAIN3 GAIN2 Upper Measurement Window Upper Measurement Window Upper Measurement Window A B A B B A A B B A MATH GAIN REL FORMat MEAS1 POW AC UNIT1 POW UNIT1 POW RAT MEAS1 POW AC DIFF MEAS1 POW AC REL CAL...

Page 95: ...ters The power meter has the following main registers Status Register Standard Event Register Operation Status Register Questionable Status Register Device Status Register There are a number of other registers behind these These are described later The Status and Standard Event registers are read using the IEEE 488 2 common commands These are the most commonly used registers and are described in d...

Page 96: ...updated in real time Condition registers are read only Transition Filter The transition filter specifies which types of bit state changes in the condition registers will set corresponding bits in the event register Transition filter bits may be set for positive transitions PTR negative transitions NTR or both Transition filters are read write They are unaffected by CLS or queries After STATus PRES...

Page 97: ...esponse of a single bit position in a typical status group for various settings The changing state of the condition in question is shown at the bottom of the figure A small binary table shows the state of the chosen bit in each status register at the selected times T1 to T5 Figure 1 11 Typical Status Register Bit Changes 0 0 0 1 1 1 0 0 1 1 0 1 0 0 0 0 0 0 0 1 1 1 0 1 1 0 1 0 0 0 1 1 0 0 1 0 1 0 0...

Page 98: ...Q method 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 are monitoring more than one device which supports SRQ interrupts need to have the controller do something e...

Page 99: ... register contains the bit that monitors the condition 2 Send the unique HP IB query that reads that register 3 Examine the bit to see if the condition has changed The polling method works well if you do not need to know about the changes the moment they occur The SRQ method is more effective if you must know immediately when a condition changes Detecting an immediate change in a condition using t...

Page 100: ...n the output queue Status Register bit 4 decimal weight 16 To enable bit 4 to assert SRQ you use the following command SRE 16 Note You can determine which bits are enabled in the Status Register using SRE This command returns the decimal weighted sum of all the bits Procedure Send a bus device clear message Clear the event registers with the CLS clear status command Set the ESE standard event regi...

Page 101: ...owing routine will service it 230 240 Srq_i 250 St SPOLL Pm Serial Poll reads status byte 260 IF BIT St 1 1 THEN Device status reg bit set 270 OUTPUT Pm STAT DEV EVEN Yes read register 280 ENTER Pm Event this also clears it 290 OUTPUT Pm STAT DEV COND 300 ENTER Pm Cond 310 IF Cond 0 THEN 320 PRINT Sensor disconnected 330 ELSE 340 PRINT Sensor connected 350 END IF 360 END IF 370 GOTO 170 Return to ...

Page 102: ...60 OUTPUT Pm STAT OPER ENAB 4096 170 OUTPUT Pm SRE 128 180 190 ENABLE INTR 7 2 Enable an SRQ to cause an interrupt 200 LOOP Idle loop 210 Forever 220 END LOOP 230 240 When a SRQ is detected the following routine will service it 250 260 Srq_i 270 St SPOLL Pm Serial Poll reads status byte 280 IF BIT St 7 1 THEN Operation status bit set 290 OUTPUT Pm STAT OPER Yes read register 300 ENTER Pm Oper this...

Page 103: ... 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 Figure 1 12 Status System Questionable Status Logical OR Condition Event Enable Operation Status Logical OR Condition Event Enable Standard Event Logical OR Event Enable ESR ESE Status Byte Logical OR STB SRE MAV 0 1 2 QUE ESB RQS MSS OPR MAV 0 1 2 QUE ...

Page 104: ...te Register Bit Number Decimal Weight Definition 0 1 Not Used Always set to 0 1 2 Device Status Register summary bit One or more bits are set in the Device Status Register bits must be enabled in enable register 2 4 Error Event Queue 3 8 Questionable Status Register summary bit One or more bits are set in the Questionable Status Register bits must be enabled in enable register 4 16 Message Availab...

Page 105: ... 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 The STB command is not handled automatically by the IEEE 488 bus interface hardware and the command will be executed only after previous commands have completed Using the STB command does not clear the status byte summary register The Standard Event Register The standa...

Page 106: ...e Definition 0 1 Operation Complete All overlapped commands following an OPC command have been completed 1 2 Not Used Always set to 0 2 4 Query Error A query error occurred refer to error numbers 410 to 440 in the User s Guide 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 mumbers 211 to...

Page 107: ...ns can be reported in the questionable data summary bit through the enable register You must write a value using the STATus QUEStionable ENABle command to set the enable register mask The questionable status model is shown in the pullout at the end of this chapter The following bits in these registers are used by the power meter Bit Number Decimal Weight Definition 0 to 2 Not used 3 8 POWer Summar...

Page 108: ...ower window log error 1 Error 231 Data questionable Upper window log error 1 CLEARED When no errors are detected by the power meter during a measurement covering the causes given for it to set 8 CALibration Summary This is a summary bit for the Questionable CALibration Register SET These may be caused by CALibration 1 2 ZERO AUTO ONCE or CALibration 1 2 AUTO ONCE or CALibration 1 2 ALL or CALibrat...

Page 109: ...tions Bit Number Decimal Weight Definition 0 1 CALibrating Summary 1 3 Not used 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 Bit Number Meaning EVENts Causing Bit Changes 0 CALibrating This is a summary bit for the Operation CALibrating Register SET...

Page 110: ...ation SENSe Register SET When the power meter is reading data from the HP E series power sensor EEPROM CLEARED When the power meter is not reading data from the HP E series power sensor EEPROM 11 Lower Limit Fail This is a summary bit for the Lower Limit Fail Register 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 l...

Page 111: ...ins bits which give device dependent information The following bits in these registers are used by the power meter 1 HP E4419B only Bit Number Decimal Weight Definition 0 Not used 1 2 Channel A sensor connected 2 4 Channel B sensor connected1 3 8 Channel A sensor error 4 16 Channel B sensor error1 5 32 Channel A sensor Front Rear 6 64 Channel B sensor Front Rear1 14 16384 Front Panel key press ...

Page 112: ...re are power sensors connected to both the rear and front panel Channel A connectors CLEARED In every other condition 4 Channel B error SET If the power sensor EEPROM on Channel B has failed or if there are power sensors connected to both the rear and front panel Channel B connectors CLEARED In every other condition 5 Channel A Front Rear SET If a power sensor is connected to the Channel A rear pa...

Page 113: ...ndard Event Status Register when all pending power meter operations are complete By enabling this bit to be reflected in the Status Register you can ensure synchronization using the HP IB serial poll Procedure Send a device clear message to clear the power meter s output buffer Clear the event registers with the CLS clear status command Enable operation complete using the ESE 1 command standard ev...

Page 114: ... 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 10 ASSIGN Power TO 713 20 OUTPUT Power CLS 30 OUTPUT Power ESE 1 40 OUTPUT Power CAL AUTO ONCE OPC 50 WHILE NOT BIT SPOLL Power 5 60 Computer ca...

Page 115: ...nformation are not stored How to Save and Recall a Configuration Power meter configurations are saved and recalled with the following commands SAV NRf RCL NRf The range of values for NRf in the above commands is 1 to 10 Example Program 10 ASSIGN POWER TO 713 20 Configure the power meter 30 OUTPUT POWER UNIT POW W 40 OUTPUT POWER SENS CORR LOSS2 10 50 OUTPUT POWER SENS CORR LOSS2 STAT ON 60 Save th...

Page 116: ...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 All measurements in progress are aborted The power meter returns to the trigger idle state The power m...

Page 117: ... Each keyword has both a long and a short form A standard notation is used to differentiate the short form keyword from the long form keyword The long form of the keyword is shown with the short form portion shown in uppercase characters and the rest of the keyword shown in lowercase characters For example the short form of TRIGger is TRIG Using a Colon When a colon is the first character of a com...

Page 118: ... Using Commands The bus controller may send commands at any time but a SCPI instrument may only send responses when specifically instructed to do so Only query commands commands that end with a will instruct the instrument to send a response message Queries return either measured values or internal instrument settings Note If you send two query commands without reading the response from the first ...

Page 119: ...cs The command mnemonic must be entered exactly as shown Dotted lines indicate an optional path for bypassing 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...

Page 120: ...mming Guide character response data Definition Throughout this chapter character_data is used to represent character data that is A Z a z 0 9 and _ underscore For example START and R6_5F The format is defined as NAN Definition Not a number NAN is represented as 9 91 E37 Not a number is defined in IEEE 754 digit upper case alpha upper case alpha ...

Page 121: ...oughout this chapter non decimal numeric is used to represent numeric information in bases other than ten that is hexadecimal octal and binary The following syntax diagram shows the standard for these three data structures For example HA2F ha4e Q62 q15 B01011 Refer to section 7 7 4 1 of IEEE 488 2 for further details A a B b C c D d E e F f digit H h 1 2 3 4 5 6 0 7 Q q 0 1 B b ...

Page 122: ...esentation For example 200 56 9 9E36 Refer to section 7 7 2 1 of IEEE 488 2 for further details NR1 Definition Throughout this chapter NR1 numeric response data is defined as For example 146 146 12345 Refer to section 8 7 2 of IEEE 488 2 for further details NR2 Definition Throughout this chapter NR2 numeric response data is defined as For example 12 3 1 2345 0 123 Refer to section 8 7 3 of IEEE 48...

Page 123: ...efinition Throughout this chapter NR3 numeric response data is defined as For example 1 23E 6 123 4E 54 1234 567E 90 Refer to section 8 7 4 of IEEE 488 2 for further details numeric_value Definition Throughout this chapter the decimal numeric element is abbreviated to numeric_value For example NRf MINimum MAXimum DEFault or Not A Number NAN digit digit digit E ...

Page 124: ...o the SCPI Language 1 100 HP E4418B E4419B Programming Guide string Definition Throughout this chapter string is used to represent 7 bit ASCII characters The format is defined as inserted non double quote char inserted non double quote char inserted non single quote char Program Data Response Data ...

Page 125: ... a newline character The IEEE 488 EOI end or identify signal is interpreted as a newline character and may also be used to terminate a message in place of the newline character A carriage return followed by a newline is also accepted Many programming languages allow you to specify a message terminator character or EOI state to be automatically sent with each bus transaction Message termination alw...

Page 126: ...s available to program the power meter All the commands listed also have queries unless otherwise stated in the Notes column Refer to later chapters for more details on each command In different subsystems the numeric suffix of program mnemonics can represent either a channel selection or a window selection Refer to the appropriate command description to verify the meaning of the numeric suffix Wi...

Page 127: ...lution source list query only page 2 22 RELative expected_value resolution source list query only page 2 24 DIFFerence expected_value resolution source list query only page 2 27 RELative expected_value resolution source list query only page 2 29 RATio expected_value resolution source list query only page 2 31 RELative expected_value resolution source list query only page 2 33 READ 1 2 SCALar POWer...

Page 128: ...lution source list query only page 2 58 RELative expected_value resolution source list query only page 2 60 Keyword Parameter Form Notes Page CALCulate 1 2 GAIN MAGNitude numeric_value page 3 5 STATe Boolean page 3 7 LIMit CLEar AUTO Boolean ONCE page 3 9 IMMediate page 3 11 FAIL query only page 3 12 FCOunt query only page 3 13 LOWer DATA numeric_value page 3 15 STATe Boolean page 3 17 UPPer DATA ...

Page 129: ...ean page 4 9 RCALibration Boolean page 4 10 RCFactor numeric_value non SCPI page 4 12 ZERO AUTO Boolean ONCE page 4 14 Keyword Parameter Form Notes Page DISPlay CONTrast numeric_value page 5 3 ENABle Boolean page 5 5 WINDow 1 2 FORMat character_data non SCPI page 5 7 METer LOWer numeric_value non SCPI page 5 10 UPPer numeric_value non SCPI page 5 12 RESolution numeric_value non SCPI page 5 14 SELe...

Page 130: ...page 7 13 STATe query only page 7 14 TABLe query only page 7 15 NSTates query only page 7 16 STATe CATalog query only page 7 18 DEFine string numeric_value non SCPI page 7 19 TABLe FREQuency numeric_value numeric_value page 7 22 POINts query only page 7 25 GAIN MAGNitude numeric_value numeric_value non SCPI page 7 26 POINts query only non SCPI page 7 28 MOVE string string no query non SCPI page 7 ...

Page 131: ...non SCPI INPut MAGNitude numeric_value page 9 20 STATe Boolean page 9 23 FDOFfset GAIN4 INPut MAGNitude query only page 9 31 GAIN2 INPut MAGNitude numeric_value page 9 26 STATe Boolean page 9 29 LOSS2 INPut MAGNitude numeric_value page 9 33 STATe Boolean page 9 35 FREQuency CW FIXed numeric_value page 9 37 LIMit CLEar AUTO Boolean ONCE page 9 40 IMMediate no query page 9 42 FAIL query only page 9 ...

Page 132: ...STATus OPERation MEAsuring SUMMary STATus OPERation SENSe SUMMary STATus OPERation TRIGger SUMMary STATus OPERation ULFail SUMMary STATus QUEStionable STATus QUEStionable CALibration SUMMary STATus QUEStionable POWer SUMMary The following five commands operate on each of these registers However to avoid duplication they are only listed once Keyword Parameter Form Notes Page CONDition query only pa...

Page 133: ...numeric_value page 11 14 TRANsmit AUTO query only page 11 15 BAUD numeric_value page 11 16 BITs numeric_value page 11 18 ECHO ON OFF page 11 19 PACE XON NONE page 11 21 PARity TYPE EVEN ODD ZERO ONE NONE page 11 22 SBITs numeric_value page 11 24 ERRor query only page 11 26 LANGuage character_data page 11 27 LOCal page 11 28 PRESet event no query page 11 29 REMote page 11 32 RINTerface page 11 33 R...

Page 134: ...Parameter Form Notes Page UNIT 1 2 POWer amplitude unit page 13 3 RATio ratio_unit non SCPI page 13 6 Keyword Parameter Form Notes Page SERVice OPTion string page 14 3 SENSor 1 2 CDATE query only page 14 4 CPLace query only page 14 5 SNUMber query only page 14 6 TYPE query only page 14 7 SNUMber alpha_numeric page 14 8 VERSion PROCessor string page 14 9 SYSTem string page 14 10 ...

Page 135: ...the SCPI format in mind and they follow all of the syntax rules of the standard CALibration 1 2 ECONtrol STATe CALibration 1 2 RCALibration CALibration 1 2 RCFactor DISPlay WINDow 1 2 FORMat DISPlay WINDow 1 2 METer LOWer DISPlay WINDow 1 2 METer UPPer DISPlay WINDow 1 2 RESolution DISPlay WINDow 1 2 SELect MEMory CLEar NAME MEMory TABLe SELect MEMory STATe DEFine MEMory TABLe GAIN MAGNitude MEMor...

Page 136: ...prog book chapter1 fm 112 Mon Feb 15 09 24 37 1999 Power Meter Remote Operation SCPI Compliance Information 1 112 HP E4418B E4419B Programming Guide SYSTem RWLock TRANsmit ECHO UNIT 1 2 POWer RATio ...

Page 137: ...R 1 2 3 4 14 15 Channel A MEASuring Channel B MEASuring Operation MEASuring Summary STAT OPER MEAS SUMM 0 logical OR 1 2 3 4 14 15 Channel A Sensor Reading from EEPROM Channel B Sensor Reading from EEPROM Operation SENSe Summary STAT OPER SENS SUMM 0 logical OR 1 2 3 4 14 15 Channel A waiting for TRIGger Channel B waiting for TRIGger Operation TRIGger Summary STAT OPER TRIG SUMM 0 logical OR 1 2 3...

Page 138: ...prog book ch2meas fm 1 Mon Feb 15 09 24 37 1999 2 MEASurement Instructions ...

Page 139: ...AD performs the data acquisition postprocessing and data output portions of the measurement This allows you to perform a generic configuration of the measurement through CONFigure and then customize the measurement by changing particular power meter functions The READ then completes the measurement process READ in turn is broken down into two additional commands INITiate IMMediate and FETCh INITia...

Page 140: ...on parameter is used to set the resolution of the specified window This parameter does not affect the resolution of the HP IB data however it does affect the auto averaging setting refer to Figure 1 3 on page 1 49 In the case where a channel is set up in both the upper and lower window and the resolution parameter settings for these windows are different the highest resolution setting is taken to ...

Page 141: ...ry page 2 19 FETCh 1 2 SCALar POWer AC expected_value resolution source list query only page 2 22 RELative expected_value resolution source list query only page 2 24 DIFFerence expected_value resolution source list query only page 2 27 RELative expected_value resolution source list query only page 2 29 RATio expected_value resolution source list query only page 2 31 RELative expected_value resolut...

Page 142: ... list query only page 2 50 RELative expected_value resolution source list query only page 2 52 DIFFerence expected_value resolution source list query only page 2 54 RELative expected_value resolution source list query only page 2 56 RATio expected_value resolution source list query only page 2 58 RELative expected_value resolution source list query only page 2 60 Keyword Parameter Form Notes Page ...

Page 143: ...d or 20 dBm by default Note that when the display is showing dual windows this value is meaningless The resolution returned is the same as the value returned by DISPlay WINDow RESolution The format of the return is NR1 in the range 1 through 4 1 HP E4419B only CALCulate MATH CALCulate RELative STATe Function source list SENSe1 OFF POW AC 1 SENSe2 1 OFF POW AC 2 SENSe1 ON POW AC REL 1 SENSe2 1 ON P...

Page 144: ... On reset the command function is set to POWer AC the expected power level is set to 20 dBm the resolution is set to 3 the source list on the HP E4418B is set to channel A on both windows on the HP E4419B is set to channel A on the upper window and channel B on the lower window CONF2 This command queries the current configuration of the lower window ...

Page 145: ...tion Use READ or alternatively use INITiate followed by a FETCh to make the measurement The CONFigure command also does the following to the channel s which are in the specified window the channel s in the window are specified in the source list parameter INITiate CONTinuous OFF Sets the power meter to make one trigger cycle when INITiate is sent TRIGger SOURce IMMediate Sets the power meter to ma...

Page 146: ...19B Programming Guide 2 9 CONFigure 1 2 SCALar POWer AC expected_value resolution source list This command is used on the specified window to set the expected power level value of the measurement the resolution of the window the channel on which the measurement is to be made Syntax Space expected_value DEF CONF 1 2 resolution POW AC SCAL DEF source list ...

Page 147: ...its When the measurement result is logarithmic 1 to 4 represents a resolution of 1 0 1 0 01 and 0 001 respectively Item Description Default Range of Values expected_value for the expected power level A numeric value for the expected power level The units of measurement are dBm and W The default units are defined by UNIT POWer sensor dependent DEF1 resolution A numeric value for the resolution If u...

Page 148: ...relative value used is that set by the CALCulate RELative MAGNitude AUTO command Syntax Parameters Refer to The Optional Parameters on page 2 3 for additional details on the parameters in this command Item Description Default Range of Values expected_value for the expected power level A numeric value for the expected power level The units of measurement are dBm and W The default units are defined ...

Page 149: ...changed 2 When the measurement result is linear this parameter represents the number of significant digits When the measurement result is logarithmic 1 to 4 represents a resolution of 1 0 1 0 01 and 0 001 respectively source list This is the channel on which the command is implemented If unspecified the current window setup is used However on the HP E4419B if the window shows a ratio or difference...

Page 150: ...indow It sets the measurement function to difference with relative mode off Syntax Parameters Refer to The Optional Parameters on page 2 3 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 depend...

Page 151: ...ameter value unchanged 2 When the measurement result is linear this parameter represents the number of significant digits When the measurement result is logarithmic 1 to 4 represents a resolution of 1 0 1 0 01 and 0 001 respectively source list This channel list specifies between which channels the difference is calculated If unspecified and the current window setup is a difference measurement the...

Page 152: ...nction to difference with relative mode on The relative value used is that set by the CALCulate RELative MAGNitude AUTO command Syntax Parameters Refer to The Optional Parameters on page 2 3 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...

Page 153: ...alue unchanged 2 When the measurement result is linear this parameter represents the number of significant digits When the measurement result is logarithmic 1 to 4 represents a resolution of 1 0 1 0 01 and 0 001 respectively 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 d...

Page 154: ...window It sets the measurement function to ratio with relative mode off Syntax Parameters Refer to The Optional Parameters on page 2 3 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 ...

Page 155: ...arameter value unchanged 2 When the measurement result is linear this parameter represents the number of significant digits When the measurement result is logarithmic 1 to 4 represents a resolution of 1 0 1 0 01 and 0 001 respectively source list This channel list specifies between which channels the ratio is calculated If unspecified and the current window setup is a ratio measurement then this r...

Page 156: ...tion to ratio with relative mode on The relative value used is that set by the CALCulate RELative MAGNitude AUTO command Syntax Parameters Refer to The Optional Parameters on page 2 3 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 va...

Page 157: ...value unchanged 2 When the measurement result is linear this parameter represents the number of significant digits When the measurement result is logarithmic 1 to 4 represents a resolution of 1 0 1 0 01 and 0 001 respectively source list This channel list specifies between which channels the ratio is calculated If unspecified and the current window setup is a ratio measurement then this ratio setu...

Page 158: ...es invalid under the following conditions When RST is executed Whenever a measurement is initiated When any SENSe parameter such as frequency is changed If data is invalid the FETCh query is not completed until all data is valid The exceptions to this are if the power meter is in the idle state and the data is invalid or the power meter has been reconfigured as defined above and no new measurement...

Page 159: ...ameters on page 2 3 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 The units of measurement are dBm and W The default units are defined by ...

Page 160: ...he DEFault parameter used in the command sub systems The parameters must be entered in the specified order If parameters are omitted they will default from the right The parameter DEFault is used as a place holder Specifying DEF leaves the parameter value unchanged 2 When the measurement result is linear this parameter represents the number of significant digits When the measurement result is loga...

Page 161: ...defined by UNIT 1 2 POWer RATio The relative value used is that set by the CALCulate RELative MAGNitude AUTO command Syntax Parameters Refer to The Optional Parameters on page 2 3 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 v...

Page 162: ...s When the measurement result is logarithmic 1 to 4 represents a resolution of 1 0 1 0 01 and 0 001 respectively 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 4 2 1 0 0 1 0 01 0 001 DEF1 source list This is the channel on which the ...

Page 163: ...he last measurement is not valid error 230 Data corrupt or stale occurs A measurement is valid after it has been initiated It becomes invalid when either a reset occurs or any measurement parameter for example frequency is changed 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 conflic...

Page 164: ... measurement and is expressed in the units defined by UNIT 1 2 POWer Syntax Parameters Refer to The Optional Parameters on page 2 3 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 DEF...

Page 165: ...ivalent to the DEFault parameter used in the command sub systems The parameters must be entered in the specified order If parameters are omitted they will default from the right The parameter DEFault is used as a place holder Specifying DEF leaves the parameter value unchanged 2 When the measurement result is linear this parameter represents the number of significant digits When the measurement re...

Page 166: ...its defined by UNIT 1 2 POWer RATio The relative value used is that set by the CALCulate RELative MAGNitude AUTO command Syntax Parameters Refer to The Optional Parameters on page 2 3 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 va...

Page 167: ...b systems The parameters must be entered in the specified order If parameters are omitted they will default from the right The parameter DEFault is used as a place holder Specifying DEF leaves the parameter value unchanged 2 When the measurement result is linear this parameter represents the number of significant digits When the measurement result is logarithmic 1 to 4 represents a resolution of 1...

Page 168: ...nt and is expressed in the units defined by UNIT 1 2 POWer RATio Syntax Parameters Refer to The Optional Parameters on page 2 3 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 re...

Page 169: ...e command sub systems The parameters must be entered in the specified order If parameters are omitted they will default from the right The parameter DEFault is used as a place holder Specifying DEF leaves the parameter value unchanged 2 When the measurement result is linear this parameter represents the number of significant digits When the measurement result is logarithmic 1 to 4 represents a res...

Page 170: ...ined by UNIT 1 2 POWer RATio The relative value used is that set by the CALCulate RELative MAGNitude AUTO command Syntax Parameters Refer to The Optional Parameters on page 2 3 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 ent...

Page 171: ...not equivalent to the DEFault parameter used in the command sub systems The parameters must be entered in the specified order If parameters are omitted they will default from the right The parameter DEFault is used as a place holder Specifying DEF leaves the parameter value unchanged 2 When the measurement result is linear this parameter represents the number of significant digits When the measure...

Page 172: ...3 for example 6 98970004E 001 For the HP E4418B the READ query is equivalent to ABORt INITiate FETCh For the HP E4419B carrying out a single channel measurement the READ queries are equivalent to ABORt1 INITiate1 FETCh1 or ABORt2 INITiate2 FETCh2 For the HP E4419B carrying out a difference measurement the READ DIFFerence queries are equivalent to ABORt1and ABORt2 INITiate1 INITiate2 FETCh DIFFeren...

Page 173: ...measurement and is expressed in the units defined by UNIT 1 2 POWer Note INITiate CONTinuous must be set to OFF otherwise error 213 INIT ignored occurs If TRIGger SOURce is set to BUS error 214 Trigger deadlock occurs Syntax Parameters Refer to The Optional Parameters on page 2 3 for additional details on the parameters in this command Item Description Default Range of Values expected_value for th...

Page 174: ... right The parameter DEFault is used as a place holder Specifying DEF leaves the parameter value unchanged 2 When the measurement result is linear this parameter represents the number of significant digits When the measurement result is logarithmic 1 to 4 represents a resolution of 1 0 1 0 01 and 0 001 respectively resolution A numeric value for the resolution If it is unspecified the current reso...

Page 175: ...ts defined by UNIT 1 2 POWer RATio The relative value used is that set by the CALCulate RELative MAGNitude AUTO command Note INITiate CONTinuous must be set to OFF otherwise error 213 INIT ignored occurs If TRIGger SOURce is set to BUS error 214 Trigger deadlock occurs Syntax Parameters Refer to The Optional Parameters on page 2 3 for additional details on the parameters in this command Item Descr...

Page 176: ...en the measurement result is logarithmic 1 to 4 represents a resolution of 1 0 1 0 01 and 0 001 respectively 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 4 2 1 0 0 1 0 01 0 001 DEF1 source list This is the channel on which the comm...

Page 177: ...9B Programming Guide 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 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 ...

Page 178: ...places the result on the bus The result is a power based measurement and is expressed in the units defined by UNIT 1 2 POWer Note INITiate CONTinuous must be set to OFF on both channels otherwise error 213 INIT ignored occurs If TRIGger SOURce is set to BUS on either channel error 214 Trigger deadlock occurs Syntax Parameters Refer to The Optional Parameters on page 2 3 for additional details on t...

Page 179: ...ll default from the right The parameter DEFault is used as a place holder Specifying DEF leaves the parameter value unchanged 2 When the measurement result is linear this parameter represents the number of significant digits When the measurement result is logarithmic 1 to 4 represents a resolution of 1 0 1 0 01 and 0 001 respectively resolution A numeric value for the resolution If it is unspecifi...

Page 180: ... is a ratio based measurement and is expressed in the units defined by UNIT 1 2 POWer RATio The relative value used is that set by the CALCulate RELative MAGNitude AUTO command Note INITiate CONTinuous must be set to OFF on both channels otherwise error 213 INIT ignored occurs If TRIGger SOURce is set to BUS on either channel error 214 Trigger deadlock occurs Syntax Parameters Refer to The Optiona...

Page 181: ...s a place holder Specifying DEF leaves the parameter value unchanged 2 When the measurement result is linear this parameter represents the number of significant digits When the measurement result is logarithmic 1 to 4 represents a resolution of 1 0 1 0 01 and 0 001 respectively resolution A numeric value for the resolution If it is unspecified the current resolution setting is used If a value is e...

Page 182: ...sult on the bus The result is a ratio based measurement and is expressed in the units defined by UNIT 1 2 POWer RATio Note INITiate CONTinuous must be set to OFF on both channels otherwise error 213 INIT ignored occurs If TRIGger SOURce is set to BUS on either channel error 214 Trigger deadlock occurs Syntax Parameters Refer to The Optional Parameters on page 2 3 for additional details on the para...

Page 183: ...lt is used as a place holder Specifying DEF leaves the parameter value unchanged 2 When the measurement result is linear this parameter represents the number of significant digits When the measurement result is logarithmic 1 to 4 represents a resolution of 1 0 1 0 01 and 0 001 respectively resolution A numeric value for the resolution If it is unspecified the current resolution setting is used If ...

Page 184: ...ult is a ratio based measurement and is expressed in the units defined by UNIT 1 2 POWer RATio The relative value used is that set by the CALCulate RELative MAGNitude AUTO command Note INITiate CONTinuous must be set to OFF on both channels otherwise error 213 INIT ignored occurs If TRIGger SOURce is set to BUS on either channel error 214 Trigger deadlock occurs Syntax Parameters Refer to The Opti...

Page 185: ...ey will default from the right The parameter DEFault is used as a place holder Specifying DEF leaves the parameter value unchanged 2 When the measurement result is linear this parameter represents the number of significant digits When the measurement result is logarithmic 1 to 4 represents a resolution of 1 0 1 0 01 and 0 001 respectively resolution A numeric value for the resolution If it is unsp...

Page 186: ...mple 6 98970004E 001 MEASure is a compound command which is equivalent to For the HP E4418B the MEASure query is equivalent to ABORt CONFigure READ For the HP E4419B carrying out a single channel measurement the MEASure queries are equivalent to ABORt1 CONFigure READ1 or ABORt2 CONFigure READ2 For the HP E4419B carrying out a difference measurement the READ DIFFerence queries are equivalent to ABO...

Page 187: ...s the measurement result and places the result on the bus Syntax Parameters Refer to The Optional Parameters on page 2 3 for additional details on the parameters in this command Item Description Default Range of Values expected_value for the expected power level A numeric value for the expected power level The units of measurement are dBm and W The default units are defined by UNIT POWer sensor de...

Page 188: ...unchanged 2 When the measurement result is linear this parameter represents the number of significant digits When the measurement result is logarithmic 1 to 4 represents a resolution of 1 0 1 0 01 and 0 001 respectively source list This is the channel on which the command is implemented If unspecified the current window setup is used However on the HP E4419B if the window shows a ratio or differen...

Page 189: ...surement and is expressed in the units defined by UNIT 1 2 POWer RATio The relative value used is that set by the CALCulate RELative MAGNitude AUTO command Syntax Parameters Refer to The Optional Parameters on page 2 3 for additional details on the parameters in this command Item Description Default Range of Values expected_value for the expected power level A numeric value for the expected power ...

Page 190: ...e unchanged 2 When the measurement result is linear this parameter represents the number of significant digits When the measurement result is logarithmic 1 to 4 represents a resolution of 1 0 1 0 01 and 0 001 respectively source list This is the channel on which the command is implemented If unspecified the current window setup is used However on the HP E4419B if the window shows a ratio or differ...

Page 191: ...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 POWer Syntax Parameters Refer to The Optional Parameters on page 2 3 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 ...

Page 192: ...s used as a place holder Specifying DEF leaves the parameter value unchanged 2 When the measurement result is linear this parameter represents the number of significant digits When the measurement result is logarithmic 1 to 4 represents a resolution of 1 0 1 0 01 and 0 001 respectively source list This channel list specifies between which channels the difference is calculated If unspecified and th...

Page 193: ...s the result on the bus The result is a ratio based measurement and is expressed in the units defined by UNIT 1 2 POWer RATio The relative value used is that set by the CALCulate RELative MAGNitude AUTO command Syntax Parameters Refer to The Optional Parameters on page 2 3 for additional details on the parameters in this command Item Description Default Range of Values expected_value for the expec...

Page 194: ...meter value unchanged 2 When the measurement result is linear this parameter represents the number of significant digits When the measurement result is logarithmic 1 to 4 represents a resolution of 1 0 1 0 01 and 0 001 respectively 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...

Page 195: ...easurement 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 POWer RATio Syntax Parameters Refer to The Optional Parameters on page 2 3 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 ...

Page 196: ...es the parameter value unchanged 2 When the measurement result is linear this parameter represents the number of significant digits When the measurement result is logarithmic 1 to 4 represents a resolution of 1 0 1 0 01 and 0 001 respectively source list This channel list specifies between which channels the ratio is calculated If unspecified and the current window setup is a ratio measurement the...

Page 197: ...on the bus The result is a ratio based measurement and is expressed in the units defined by UNIT 1 2 POWer RATio The relative value used is that set by the CALCulate RELative MAGNitude AUTO command Syntax Parameters Refer to The Optional Parameters on page 2 3 for additional details on the parameters in this command Item Description Default Range of Values expected_value for the expected power lev...

Page 198: ...ault is used as a place holder Specifying DEF leaves the parameter value unchanged 2 When the measurement result is linear this parameter represents the number of significant digits When the measurement result is logarithmic 1 to 4 represents a resolution of 1 0 1 0 01 and 0 001 respectively source list This channel list specifies between which channels the ratio is calculated If unspecified and t...

Page 199: ...prog book ch2meas fm 62 Mon Feb 15 09 24 37 1999 MEASurement Instructions MEASure 1 2 SCALar POWer AC RATio RELative expected_value resolution source list 2 62 HP E4418B E4419B Programming Guide ...

Page 200: ...prog book ch3calc fm 1 Mon Feb 15 09 24 37 1999 3 CALCulate Subsystem ...

Page 201: ...lower windows respectively In the power meter there are two independent CALCulate blocks one for each window Data from both SENSe blocks may feed either or both CALCulate blocks via the MATH command Figure 3 1 details where the commands are applied within the CALCulate block Keyword Parameter Form Notes Page CALCulate 1 2 GAIN MAGNitude numeric_value page 3 5 STATe Boolean page 3 7 LIMit CLEar AUT...

Page 202: ...5 09 24 37 1999 CALCulate Subsystem CALCulate Subsystem HP E4418B E4419B Programming Guide 3 3 Figure 3 1 CALCulate Block A B A B B A A B B A MATH GAIN REL CALCulate Block Input from SENSe1 Block Input from SENSe2 Block HP E419B only ...

Page 203: ...ramming Guide The CALCulate 1 2 GAIN Node This node is used to enter and enable a display offset on the specified window The display offset is applied to the measurement signal after any math calculation The commands associated with this block are CALCulate 1 2 GAIN MAGNitude numeric value CALCulate 1 2 GAIN STATe Boolean ...

Page 204: ...ath calculation Entering a value using this command automatically turns the CALCulate 1 2 GAIN STATe command to ON Syntax Parameters Example Reset Condition On reset the display offset is set to 0 dB DEF Item Description Default Range of Values numeric_value A numeric value The default value DEF is 0 dB The value for MIN is 100 000 dB The value for MAX is 100 000 dB 100 000 to 100 000 dB DEF MIN M...

Page 205: ... 1 2 GAIN MAGNitude MIN MAX The query returns the current setting of the display offset or the value associated with MIN and MAX Query Example Error Message If CALCulate 1 2 GAIN MAGNitude is set to ON while SENSe SPEed is set to 200 the error 221 Settings Conflict occurs CALC1 GAIN This command queries the current setting of the display offset on the upper window ...

Page 206: ...ate 1 2 GAIN STATe The query enters a 1 or 0 into the output buffer indicating the status of the display offset 1 is returned when the display offset feature is enabled 0 is returned when the display offset feature is disabled Query Example Error Message If CALCulate 1 2 GAIN STATe is set to ON while SENSe SPEed is set to 200 the error 221 Settings Conflict occurs CALC2 GAIN STAT 1 This command en...

Page 207: ...ar panel TTL Input Output connector pins 3 upper window and pin 4 lower window The commands included in this section allow you to set upper and lower level limits query if there has been a failure count the number of failures and clear the counter The commands asociated with this node are CALCulate 1 2 LIMit CLEar Auto CALCulate 1 2 LIMit CLEar IMMediate CALCulate 1 2 LIMit FAIL CALCulate 1 2 LIMi...

Page 208: ... ON is specified the FCO is set to 0 each time a measurement is initiated using INITiate IMMediate is initiated using INITiate CONTinuous ON is measured using MEASure is read using READ If OFF is specified the FCO is not cleared by the above commands If ONCE is specified the FCO is cleared only after the first initialization then starts accumulating any limit failures Syntax Example Reset Conditio...

Page 209: ... the specified window 1 is entered into the output buffer when limit failures are cleared automatically when a new measurement is initiated 0 is entered into the output buffer when limit failures are not cleared automatically when a new measurement is initiated In the case where limit failures are cleared once when a query occurs a 1 is entered into the output buffer if no measurement is initiated...

Page 210: ...3 11 CALCulate 1 2 Limit CLEar IMMediate This command is used to immediately clear 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 LIMit FAIL query Syntax Example CALC2 LIM CLE IMM This command clears the FCO for the lower window CALC 1 2 LIM CLE IMM ...

Page 211: ...r the specified window A limit failure is defined as CALC 1 2 LIMit FCO being non zero The FCO fail counter can be zeroed using the CALC 1 2 LIMit CLEar command 1 is returned when one or more limit failures have occurred 0 is returned when no limit failures have occurred Syntax Example Reset Condition On reset the buffer is set to zero for both windows CALC1 LIM FAIL This command queries if there ...

Page 212: ... this is a limit pass The counter is reset to zero by any of the following commands RST CALCulate 1 2 LIMit CLEar IMMediate CALCulate 1 2 LIMit CLEar AUTO ON When CALCulate 1 2 LIMit CLEar AUTO is set to ON the counter is set to zero each time a measurement is measured using MEASure is read using READ is initiated using INITiate IMMediate or INITiate CONTinuous ON When CALCulate 1 2 LIMit CLEar AU...

Page 213: ...Subsystem CALCulate 1 2 LIMit FCOunt 3 14 HP E4418B E4419B Programming Guide Syntax Example Reset Condition On reset the counter is set to zero on both windows CALC1 LIM FCO This command queries the number of limit failures on the upper window CALC 1 2 LIM FCO ...

Page 214: ...ependent on the current setting of UNIT POWer and CALCulate RELative STATe as shown in Table 3 1 When the measured value is less than the value specified in CALCulate 1 2 LIMit LOWer DATA CALCulate 1 2 LIMit FAIL reports a fail When the measured value is greater than or equal to the limit a fail is not reported Table 3 1 Measurement Units Syntax Measurement Mode CALC REL STAT OFF CALC REL STAT ON ...

Page 215: ... the values associated with MIN and MAX for the specified window Query Example Item Description Default Range of Values numeric_value A numeric value The default value DEF is 90 00 dBm or 90 db The value for MIN is 150 dBm or 180 dB The value for MAX is 230 dBm or 200 dB 150 to 230 dBm or 180 to 200 dB DEF MIN MAX CALC2 LIM LOW DATA 0 1 This command enters a lower limit for the lower window depend...

Page 216: ...checking is disabled Query CALCulate 1 2 LIMit STATe The query enters 1 or 0 into the output buffer indicating the status of the limits testing feature for the specified window 1 is returned when limits testing is enabled 0 is returned when limits testing is disabled Query Example CALC2 LIM STAT 1 This command enables the limit checking function for the lower window CALC1 LIM STAT This command que...

Page 217: ...24 37 1999 CALCulate Subsystem CALCulate 1 2 LIMit STATe Boolean 3 18 HP E4418B E4419B Programming Guide Error Message If CALCulate 1 2 LIMit STATe is set to ON while SENSe 1 SENSe2 SPEed is set to 200 the error 221 Settings Conflict occurs ...

Page 218: ...ependent on the current setting of UNIT POWer and CALCulate RELative STATe as shown in Table 3 2 When the measured power is greater than the value specified in CALCulate 1 2 LIMit UPPer DATA CALCulate 1 2 LIMit FAIL reports a fail When the measured level is less than or equal to the limit a fail is not reported Table 3 2 Measurement Units Syntax Measurement Mode CALC REL STAT OFF CALC REL STAT ON ...

Page 219: ... the values associated with MIN and MAX for the specified window Query Example Item Description Default Range of Values numeric_value A numeric value The default value DEF is 90 00 dBm or 90 dB The value for MIN is 150 dBm or 180 db The value for MAX is 230 dBm or 200 dB 150 to 230 dBm or 180 to 200 dB DEF MIN MAX CALC2 LIM UPP DATA 5 This command enters an upper limit for the lower window dependi...

Page 220: ...ode is a generic SCPI calculate sub block which can be specified to define and carry out mathematical transformation on SENSe data In the power meter a windows math block is used to set whether the window is measuring in single channel difference or ratio modes The commands associated with this node are CALCulate 1 2 MATH EXPRession CALCulate 1 2 MATH EXPRession CATalog ...

Page 221: ...er window is set to channel A SENS1 and the lower window to channel B SENS2 1 Either single or double quotes may be used However quotes are mandatory 2 HP E4419B only Item Description Default Range of Values string A single string value detailing the measurement type For the HP E4418B the default is SENS1 For the HP E4419B the default is SENS1 if the upper window is selected or SENS2 if the lower ...

Page 222: ...g on the specified window Query Example Error Messages For the HP E4419B if CALCulate1 MATH is set to anything other than SENS1 while SENSe SPEed is set to 200 the error 221 Settings Conflict occurs For the HP E4419B if CALCulate2 MATH is set to anything other than SENS2 while SENSe SPEed is set to 200 the error 221 Settings Conflict occurs CALC1 MATH This command queries the current setting of th...

Page 223: ...on CATalog This query lists all the defined expressions The response is a list of comma separated strings Each string contains an expression For the HP E4418B the string is SENS1 For the HP E4419B the string is SENS1 SENS2 SENS1 SENS2 SENS2 SENS1 SENS1 SENS2 SENS2 SENS1 Syntax Example CALC1 MATH CAT This command lists all the defined math expressions CALC 1 2 EXPR MATH CAT ...

Page 224: ...is node contains commands which allow you to compare the measurement signal to a reference value Within the CALCulate block the relative value is applied to the measurement signal after any math calculations and display offsets have been applied The commands associated with this node are CALCulate 1 2 RELative MAGNitude AUTO Boolean ONCE CALCulate 1 2 RELative STATe Boolean ...

Page 225: ...ng ONCE sets the reference value to being that of the measurement signal after any math calculations and display offsets have been applied After the reference value has been set the command returns to OFF Setting this command to ONCE turns the CALCulate 1 2 RELative STATe command to ON If 0 OFF is selected no reference value is applied to the measurement signal There is no situation in which you w...

Page 226: ...P E4418B E4419B Programming Guide 3 27 Query CALCulate 1 2 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 the error 221 Settings Conflict occurs If this command is set to ON the error 224 Illegal parameter value occurs ...

Page 227: ...ed to the measurement signal Syntax Example Reset Condition On reset relative mode is disabled Query CALCulate 1 2 RELative STATe The query returns a 1 or 0 into the output buffer 1 is returned when relative mode is enabled 0 is returned when relative mode is disabled Query Example Error Message If CALCulate RELative STATe is set to ON while SENSe SPEed is set to 200 the error 221 Settings Conflic...

Page 228: ...prog book ch4cal fm 1 Mon Feb 15 09 24 37 1999 4 CALibration Subsystem ...

Page 229: ...rror Header suffix out of range Zeroing and calibration of the power meter is recommended when a 5 C change in temperature occurs when you change the power sensor every 24 hours prior to measuring low level signals For example 10 dB above the lowest specified power for your sensor The CALibration commands with the exception of RCFactor are all overlapped commands that is the power meter can contin...

Page 230: ...s the reference calibration factor used during this calibration can be derived from either an active sensor calibration table or the value entered using CALibration RCFactor The actual value used is the one which was most recently set That is a value entered using CALibration RCFactor is overridden if a sensor calibration table is subsequently selected and enabled Conversely CALibration RCFactor o...

Page 231: ...ot carried out successfully the error 231 Data Questionable CAL ERROR occurs If you are using the HP E4419B the error message specifies on which channel the calibration failed If zeroing was not carried out successfully the error 231 Data Questionable ZERO ERROR occurs If you are using the HP E4419B the error message specifies on which channel the calibration failed ...

Page 232: ...ndicate if the sequence was successful If the result is 0 the calibration has passed 1 the calibration has failed For the HP 8480 series power sensors the reference calibration factor used during this calibration can be derived from either an active sensor calibration table or the value entered using CALibration RCFactor The actual value used is the one which was most recently set That is a value ...

Page 233: ...estionable CAL ERROR occurs If you are using the HP E4419B the error message specifies on which channel the calibration failed If zeroing was not carried out successfully the error 231 Data Questionable ZERO ERROR occurs If you are using the HP E4419B the error message specifies on which channel the calibration failed CAL1 ALL This command causes the power meter to perform a calibration sequence o...

Page 234: ...Libration RCFactor The actual value used is the one which was most recently set That is a value entered using CALibration RCFactor is overridden if a sensor calibration table is subsequently selected and enabled Conversely CALibration RCFactor overrides any reference calibration factor previously set from a sensor calibration table To determine the currently set reference calibration factor use CA...

Page 235: ...y CALibration 1 2 AUTO The query always returns a value of 0 Error Message If the calibration was not carried out successfully the error 231 Data Questionable CAL ERROR occurs If you are using the HP E4419B the error message specifies on which channel the calibration failed If this command is set to ON the error 224 Illegal parameter value occurs ...

Page 236: ... On reset the TTL zero cal inputs are disabled Query CALibration 1 2 ECONtrol STATe The query enters a 1 or 0 into the output buffer indicating whether the TTL inputs are enabled or disabled 1 is returned if the TTL inputs are enabled 0 is returned if the TTL inputs are disabled Query Example CAL1 ECON STAT 1 This command enables the rear panel TTL inputs Note that enabling the TTL inputs is not c...

Page 237: ...been zeroed and calibrated Syntax Example Reset Condition On reset the state of the zero cal lockout is unaffected Query CALibration 1 2 RCALibration The query enters a 1 or 0 into the output buffer indicating whether zero cal lockout is enabled or disabled 1 is returned if zero cal lockout is enabled 0 is returned if zero cal lockout is disabled Query Example CAL1 RCAL 1 This command enables the ...

Page 238: ...rrently 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 will not return a result but will generate the error 230 Data corrupt or stale Please zero and Cal Once the sensor has been zeroed and calibrated the commands which return measurement results will function norma...

Page 239: ...rs can also be set using sensor calibration tables The power meter uses the most recently set reference calibration factor Syntax Parameters Example Reset Condition On reset the reference calibration factor is set to 100 Item Description Default Range of Values numeric_value A numeric value The default value DEF is 100 The value for MIN is 1 The value for MAX is 150 1 0 to 150 0PCT DEF MIN MAX CAL...

Page 240: ...Libration 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 Error Message If this command is used when an HP E series power sensor is connected the error 241 Hardware missing occurs CAL2 RCF This command queries the reference calibration factor of channel B ...

Page 241: ...he command If 1 ON is selected it causes the error 224 Illegal parameter value to occur The command assumes that the power sensor is not connected to a power source Syntax Example Reset Condition On reset automatic zeroing is disabled Query CALibration 1 2 ZERO AUTO The query always returns a value of 0 Error Message If zeroing was not carried out successfully the error 231 Data Questionable ZERO ...

Page 242: ...prog book ch5disp fm 1 Mon Feb 15 09 24 37 1999 5 DISPlay Subsystem ...

Page 243: ...on and presentation of the windows used on the power meter s display Keyword Parameter Form Notes Page DISPlay CONTrast numeric_value page 5 3 ENABle Boolean page 5 5 WINDow 1 2 FORMat character_data non SCPI page 5 7 METer LOWer numeric_value non SCPI page 5 10 UPPer numeric_value non SCPI page 5 12 RESolution numeric_value non SCPI page 5 14 SELect non SCPI page 5 16 STATe Boolean page 5 17 ...

Page 244: ...s cycled off then on the contrast sets to the factory default for that particular power meter Syntax Parameters Example Reset Condition On reset the contrast is not affected Item Description Default Range of Values numeric_value A numeric value for the contrast level The default DEF is the factory default and can vary between power meters The value for MIN is 0 The value for MAX is 1 0 to 1 DEF MI...

Page 245: ...t numeric_value 5 4 HP E4418B E4419B Programming Guide Query DISPlay CONTrast MIN MAX The query returns the current setting of the contrast or the values associated with MIN and MAX The response format is NR3 Query Example DISP CONT This command queries the current contrast setting ...

Page 246: ... power up the display is always enabled Syntax Example Reset Condition On reset the display is enabled Query DISPlay ENABle The query returns a 1 or 0 into the output buffer 1 is returned when the display is enabled 0 is returned when the display is disabled Query Example DISP ENAB 0 This command disables the display DISP ENAB This command queries whether the display is on or off DISP ENAB 0 OFF 1...

Page 247: ...ic suffix of the WINDow program mnemonic in the DISPlay commands refers to a window that is WINDow1 and WINDow2 represent the upper and lower windows respectively The commands associated with this node are DISPlay WINDow 1 2 FORMat character_data DISPlay WINDow 1 2 METer LOWer numeric_value DISPlay WINDow 1 2 METer UPPer numeric_value DISPlay WINDow 1 2 RESolution numeric_value DISPlay WINDow 1 2 ...

Page 248: ...ALog For the HP E4419B the defaults for the upper and lower windows are DIGital Query DISPlay WINDow 1 2 FORMat The query returns the current format of the selected window either ANAL or DIG Item Description Default Range of Values character_data Character data for the window format For the HP E4418B the default for the upper window is DIGital and ANALog for the lower window For the HP E4419B the ...

Page 249: ...isp fm 8 Mon Feb 15 09 24 37 1999 DISPlay Subsystem DISPlay WINDow 1 2 FORMat character_data 5 8 HP E4418B E4419B Programming Guide Query Example DISP FORM This command queries the current format of the upper window ...

Page 250: ...de HP E4418B E4419B Programming Guide 5 9 DISPlay WINDow 1 2 METer Node This command node is used to control the upper and lower scale limits of the analog meter The commands associated with this node are DISPlay WINDow 1 2 METer LOWer numeric_value DISPlay WINDow 1 2 METer UPPer numeric_value ...

Page 251: ...hown in Table 5 1 Table 5 1 Measurement Units Syntax Parameters Measurement Mode CALC REL STAT OFF CALC REL STAT ON Linear Log Linear Log Single Channel Watt dBm dB Ratio dB dB Difference Watt dBm dB Item Description Default Range of Values numeric_value A numeric value for the analog meter lower scale limit The default DEF is 70 dBm The value for MIN is 150 dBm The value for MAX is 230 dBm The de...

Page 252: ...urns 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 NR3 The units in which the results are returned is dependent on the current setting of UNIT POWer and CALCulate RELative STATe as shown in Table 5 1 Query Example DISP WIND2 MET LOW 10 This command sets the lower window s analog meter lower scale limit DISP MET LO...

Page 253: ...e 5 2 Measurement Units Syntax Parameters Measurement Mode CALC REL STAT OFF CALC REL STAT ON Linear Log Linear Log Single Channel Watt dBm dB Ratio dB dB Difference Watt dBm dB Item Description Default Range of Values numeric_value A numeric value for the analog meter upper scale limit The default DEF is 20 dBm The value for MIN is 150 dBm The value for MAX is 230 dBm The default units are define...

Page 254: ...s 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 NR3 The units in which the results are returned is dependent on the current setting of UNIT POWer and CALCulate RELative STATe as shown in Table 5 1 Query Example DISP WIND2 MET UPP 20 This command sets the lower window s analog meter upper scale limit DISP WIND2 MET...

Page 255: ...veraging in the SENSe subsystem when auto averaging is selected Also as a measurement from a selected channel may be displayed in more that one window either directly as a single channel measurement or with a ratio or difference measurement HP E4419B only there is a defined relationship between the window resolution and the resolution used to determine the auto averaging level The resolution level...

Page 256: ...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 NR1 Query Example DISP WIND2 RES 4 This command sets the lower window s resolution to 4 significant digits if the measurement result is linear or 0 001 if the measurement result is logarithmic DISP RES This command queries the resolut...

Page 257: ...ondition On reset the upper window is selected Query DISPlay WINDow 1 2 SELect The query enters a 1 or 0 into the output buffer indicating whether the window specified is currently selected 1 is returned if the specified window is selected 0 is returned if the specified window is not selected Query Example DISP WIND2 SEL This command selects the lower window DISP SEL This command queries whether o...

Page 258: ...ndow then the other window is automatically enabled and becomes the currently active window Syntax Example Reset Condition On reset both windows are enabled Query DISPlay WINDow 1 2 STATe The query enters a 1 or 0 into the output buffer indicating the state of the selected window 1 is returned if the window is enabled 0 is returned if the window is disabled Query Example DISP WIND1 STAT 1 DISP WIN...

Page 259: ...prog book ch5disp fm 18 Mon Feb 15 09 24 37 1999 DISPlay Subsystem DISPlay WINDow 1 2 STATe Boolean 5 18 HP E4418B E4419B Programming Guide ...

Page 260: ...prog book ch6form fm 1 Mon Feb 15 09 24 37 1999 6 FORMat Subsystem ...

Page 261: ...signated to be affected by the FORMat subsystem For the HP E4419B the same FORMat is used on both channels The queries that are affected are FETCh READ MEASure When the format type is ASCII numeric data is output as ASCII bytes in the NR3 format When the format type is real numeric data is output as a definite length block as IEEE 754 64 bit floating point numbers The result is an 8 byte block per...

Page 262: ...in normal or swapped Byte ORDer It is only used when FORMat READings DATA is set to REAL Syntax Example Reset Condition On reset this value is set to NORMal Query FORMat READings BORDer The query returns the current setting of the byte order The format of the response is character_data Query Example FORM BORD SWAP This command sets the byte order to swapped FORM BORD This command queries the curre...

Page 263: ...AL Syntax Parameters Example Reset Condition On reset the format is set to ASCii Query FORMat READings DATA The query returns the current setting of format The format of the response is character_data Query Example Item Description Default Range of Values Type Character data not string ASCii REAL FORM REAL This command sets the format to real FORM This command queries the current format setting FO...

Page 264: ...prog book ch7mem fm 1 Mon Feb 15 09 24 37 1999 7 MEMory Subsystem ...

Page 265: ...The power meter automatically downloads the HP E series power sensors calibration tables These tables cannot be reviewed or edited This subsystem is also used to create and review save recall registers Keyword Parameter Form Notes Page MEMory CATalog ALL query only page 7 4 STATe query only page 7 6 TABLe query only page 7 7 CLEar NAME string no query non SCPI page 7 10 TABLe no query page 7 11 FR...

Page 266: ...mming Guide 7 3 MEMory CATalog Node This node is used to query information on the current contents of the power meter s sensor calibration tables frequency dependent offset tables and save recall registers The commands associated with this node are MEMory CATalog ALL MEMory CATalog STATe MEMory CATalog TABLe ...

Page 267: ...emory in bytes used for the storage of tables and registers The second numeric parameter indicates the memory in bytes available for the storage of tables and registers Each string parameter returned indicates the name type and size of a stored table or save recall register string type size string indicates the name of the table or save recall register type indicates TABL for sensor calibration an...

Page 268: ...M_9 and ten frequency dependent offset tables named CUSTOM _A through CUSTOM _J which do not contain any data when the power meter is shipped from the factory Syntax Example 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 Table Power Sensor T...

Page 269: ...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 Each string parameter returned indicates the name type and size of a save recall register string type size string indicates the name of the save recall register type indicates STAT for save recall register size indicates the size of the save reca...

Page 270: ...numeric_value numeric_value string The first numeric parameter indicates the amount of memory in bytes used for the storage of tables The second parameter indicates the memory in bytes available for the storage of tables Each string parameter returned indicates the name type and size of a stored table string type size string indicates the name of the table type indicates TABL for a table size indi...

Page 271: ...gh CUSTOM_9 and ten frequency dependent offset tables named CUSTOM_A through CUSTOM_J which do not contain any data when the power meter is shipped from the factory Syntax Example 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 Table Power Se...

Page 272: ...ents stored in the sensor calibration tables 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 The commands associated with this node are MEMory CLEar NAME string MEMory CLEar TABLe Note The contents cleared using these commands are non recoverable ...

Page 273: ...or calibration tables and frequency dependent offset tables this command is an alternative form of the MEMory CLEar TABLE command the only difference being the method in which the table is selected Note The contents cleared using this command are non recoverable Syntax Parameters Example Error Messages If the table or save recall register name does not exist error 224 Illegal parameter value occur...

Page 274: ...a MEMory TABLe FREQuency GAIN POINts query returns a 0 as there are no contents in the table This command is an alternative form of the MEMory CLEar NAME command the only difference being the method in which the table is selected Note The contents cleared using this command are non recoverable Syntax Example Error Message If no table is selected error 221 Settings conflict occurs MEM CLE TABL This...

Page 275: ... Programming Guide The MEMory FREE Node This node is used to return information on the amount of free memory space available for sensor calibration tables frequency dependent offset tables and save recall registers The commands associated with this node are MEMory FREE ALL MEMory FREE STATe MEMory FREE TABLe ...

Page 276: ...uide 7 13 MEMory FREE ALL This query returns the amount of memory free for sensor calibration tables frequency dependent offset tables and save recall registers The format of the response is bytes_available bytes_in_use Syntax Example MEM FREE This command queries the amount of free memory in total MEM FREE ALL ...

Page 277: ...4418B E4419B Programming Guide MEMory FREE STATe This query returns the amount of memory free for save recall registers The format of the response is bytes_available bytes_in_use Syntax Example MEM FREE STAT This command queries the amount of free memory for save recall registers MEM FREE STAT ...

Page 278: ...mming Guide 7 15 MEMory FREE TABLe This query returns the amount of memory free for sensor calibration tables and frequency dependent offset tables The format of the response is bytes_available bytes_in_use Syntax Example MEM FREE TABL This command queries the amount of free memory for tables MEM FREE TABL ...

Page 279: ...HP E4418B E4419B Programming Guide 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 Example MEM NST This command queries the number of registers available for save recall MEM NST ...

Page 280: ... 1999 MEMory Subsystem The MEMory STATe Node HP E4418B E4419B Programming Guide 7 17 The MEMory STATe Node This node is used to query and define register names The commands associated with this node are MEMory STATe CATalog MEMory STATe DEFine ...

Page 281: ... 18 HP E4418B E4419B Programming Guide MEMory STATe CATalog This query returns a list of the save recall register names in ascending order of register number The format of the response is string string string Syntax Example MEM STAT CAT This command queries the register names MEM STAT CAT ...

Page 282: ...ine string The query returns the register number for the given register name Query Example Item Description Default Range of Values string A string detailing 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 NRf for the register number 0 to 9 MEM STAT DEF SETUP1 4 This command names register 4 SETUP1 MEM STAT D...

Page 283: ...0 HP E4418B E4419B Programming Guide 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 ...

Page 284: ...ensor calibration table or a frequency dependent offset table and to write to and read data from it The commands associated with this node are MEMory TABLe FREQuency numeric_value numeric_value MEMory TABLe FREQuency POINts MEMory TABLe GAIN MAGNitude numeric_value numeric_value MEMory TABLe GAIN MAGNitude POINts MEMory TABLe MOVE string string MEMory TABLe SELect string ...

Page 285: ...ables the number of frequency points must be one less than the number of calibration factor points This is verified when the sensor calibration table is selected using SENSe CORRection CSET SELect string Ensure that the frequency points you use cover the frequency range of the signals that you want to measure If you measure a signal with a frequency outside the frequency range defined in the table...

Page 286: ...re returned in Hz Query Example 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 Item Description Default Range of Values numeric_value A numeric value for the frequency The default units are Hz 1 kHz to 999 9 GHz1 2 MEM TABL FREQ 200kHz 600kHz This command enters frequencies of 200 kHz and 600 kHz into the currently se...

Page 287: ...or 108 Parameter not allowed occurs If the frequencies are not entered in ascending order error 220 Parameter error Frequency list must be in ascending order occurs If a table has not been specified using the MEMory TABLe SELect command the data cannot be entered into the table and error 221 Settings conflict occurs If a frequency is sent which is outwith the allowed frequency range error 222 Data...

Page 288: ...ncy POINts This query returns the number of frequency points for the table currently selected The response format is NRf If no frequency values have been set this command returns 0 If no table is selected this command returns NAN Syntax Example MEM TABL FREQ POIN This command queries the number of frequency points in the current table MEM TABL POIN FREQ ...

Page 289: ... frequency dependent offset tables can be sent with this command For sensor calibration tables only the first parameter is the reference calibration factor each subsequent parameter is a calibration factor point in the sensor calibration table Entries in the frequency lists correspond as shown with entries in the calibration offset factor lists For sensor calibration tables the number of frequency...

Page 290: ...r 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 If any of the calibration offset factors are outwith the allowed range error 222 Data out of range occurs Item Description Default Range of Values numeric_value A numeric value for the calibration offset factors The units are PCT 1 0...

Page 291: ...ber of calibration factor offset points for the currently selected table If the currently selected table is a sensor calibration table the reference calibration factor will be included If no values have been set 0 is returned If no table is selected NAN is returned Syntax Example MEM TABL GAIN POIN This command queries the number of calibration factor offset points in the current table MEM TABL GA...

Page 292: ... 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 Item Description Default Range of Values string 1st parameter A string containing the existing table name existing table name string 2nd parameter A string detailing the new table name A maximum o...

Page 293: ...e A table must be activated before any operation can be performed on it Syntax Parameters Example Query MEMory TABLe SELect The query returns the name of the currently selected table Item Description Default Range of Values string A string detailing the table name A maximum of 12 characters can be used A to Z uppercase a to z lowercase 0 9 _ underscore MEM TABL SEL Sensor1 This command selects a s...

Page 294: ...prog book ch8out fm 1 Mon Feb 15 09 24 37 1999 8 OUTput Subsystem ...

Page 295: ...ubsystem is used to switch on and off the POWER REF output and control the rear panel TTL outputs The TTL Outputs can be used to determine when a predefined limit in either or both windows has been exceeded Keyword Parameter Form Notes Page OUTPut ROSCillator STATe Boolean page 8 3 TTL 1 2 ACTive HIGH LOW page 8 4 FEED String page 8 5 STATe Boolean page 8 7 ...

Page 296: ...set the POWER REF output is switched off Query OUTPut ROSCillator STATe The query command enters a 1 or 0 into the output buffer indicating whether or not the POWER REF is switched on 1 is returned when the POWER REF output is switched ON 0 is returned when the POWER REF output is switched OFF Query Example OUTP ROSC STAT 1 This command switches on the POWER REF output OUTP ROSC This command queri...

Page 297: ...ndow limits fail will drive the TTL Output low Query OUTPut TTL 1 2 ACT The query command enters either HIGH or LOW into the output buffer indicating which TTL state is active for a window limit fail HIGH is returned if the TTL output is active high for a window limit fail LOW is returned if the TTL output is active low for a window limit fail Query Example OUTP TTL1 ACT HIGH This command sets TTL...

Page 298: ...er window CALC1 LIM UPP TTL Output 1 asserted indicates an upper limit fail on the upper window CALC1 LIM LOW CALC1 LIM UPP TTL Output 1 asserted indicates that either the lower or upper limit failed on the upper window 2 CALC2 LIM LOW TTL Output 2 asserted indicates a lower limit fail on the lower window CALC2 LIM UPP TTL Output 2 asserted indicates an upper limit fail on the lower window CALC2 L...

Page 299: ...e strings shown in the table above indicating whether the asserted state of the TTL Output represents a fail in the lower limit upper limit or either limit for the selected window Query Example OUTP TTL1 FEED CALC1 LIM UPP This command asserts TTL Output 1 whenever there is an upper limit fail in the upper window OUTP TTL1 FEED This command queries whether the asserted state for the upper window T...

Page 300: ... limit is exceeded Syntax Example Reset Condition On reset the TTL outputs are disabled Query OUTPut TTL 1 2 STATe The query command enters a 1 or 0 into the output buffer indicating whether or not the TTL output is enabled 1 is returned when the TTL output is enabled 0 is returned when the TTL output is disabled Query Example OUTP TTL1 STAT 1 This command enables the rear panel upper window TTL o...

Page 301: ...prog book ch8out fm 8 Mon Feb 15 09 24 37 1999 OUTput Subsystem OUTPut TTL 1 2 STATe Boolean 8 8 HP E4418B E4419B Programming Guide ...

Page 302: ...prog book ch9sens fm 1 Mon Feb 15 09 24 37 1999 9 SENSe Subsystem ...

Page 303: ...t DCYCle duty cycle and AVERage without completely re configuring the power meter The SENSe command subsystem also provides a limit checking function This function allows you to set the power meter s upper and lower measurement limits The power meter monitors the power level and indicates when these limits are exceeded The SENSe command subsystem also allows you to select the measurement speed a s...

Page 304: ... MAGNitude numeric_value page 9 20 STATe Boolean page 9 23 FDOFfset GAIN4 INPut MAGNitude query only page 9 31 GAIN2 INPut MAGNitude numeric_value page 9 26 STATe Boolean page 9 29 LOSS2 INPut MAGNitude numeric_value page 9 33 STATe Boolean page 9 35 FREQuency CW FIXed numeric_value page 9 37 LIMit CLEar AUTO Boolean ONCE page 9 40 IMMediate no query page 9 42 FAIL query only page 9 43 FCOunt quer...

Page 305: ... AVERage Node This node controls averaging which is used to improve the measurement accuracy The AVERage subsystem combines successive measurements to produce a new composite result The commands associated with this node are SENSe 1 SENSe2 AVERage COUNt numeric_value SENSe 1 SENSe2 AVERage COUNt AUTO Boolean SENSe 1 SENSe2 AVERage STATe Boolean ...

Page 306: ... 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 Note 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 SENSe...

Page 307: ...r Message If a filter length value is entered using SENSe 1 SENSe2 AVERage COUNt while SENSe 1 SENSe2 SPEed is set to 200 the error 221 Settings Conflict occurs However the filter length value is set but the SENSe 1 SENSe2 AVERage STATe command is not automatically set ON Item Description Default Range of Values numeric_value A numeric value defining the filter length The default value DEF is 4 Th...

Page 308: ...which the power meter is currently operating Figure 9 1 lists the number of readings averaged for each range and resolution when the power meter is in auto filter mode Setting this command to ON automatically sets the SENSe 1 SENSe2 AVERage STATe command to ON Figure 9 1 Averaged Readings If SENSe 1 SENSe2 AVERage COUNt AUTO is set to OFF the filter length is set by the SENSe 1 SENSe2 AVERage COUN...

Page 309: ...on or fast settling times Syntax Example Reset Condition On reset automatic averaging is enabled Query SENSe 1 SENSe2 AVERage COUNt AUTO 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 OFF This c...

Page 310: ...ean ONCE HP E4418B E4419B Programming Guide 9 9 Error Message If SENSe 1 SENSe2 AVERage COUNt AUTO is set to ON while SENSe 1 SENSe2 SPEed is set to 200 the error 221 Settings Conflict occurs However automatic averaging is enabled but the SENSe 1 SENSe2 AVERage STATe command is not automatically set ON ...

Page 311: ...known as step detection and shortens the settling time of the filter when the input power changes substantially Note Step detection is automatically disabled under the following circumstances TRIG DEL AUTO is ON and the trigger mode is set to free run or Auto averaging is disabled Under the above circumstances the value of SENS AVER SDET is ignored Note also that SENS AVER SDET is not set by the i...

Page 312: ...rogramming Guide 9 11 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 This command queries whether step detection is on or off ...

Page 313: ... SENSe2 AVERage STATe The query enters a 1 or 0 into the output buffer indicating the status of averaging 1 is returned when averaging is enabled 0 is returned when averaging is disabled Query Example Error Message If SENSe 1 SENSe2 AVERage STATe is set to ON while SENSe 1 SENSe2 SPEed is set to 200 the error 221 Settings Conflict occurs AVER 1 This command enables averaging on channel A SENS2 AVE...

Page 314: ...ciated with this node are SENSe 1 SENSe2 CORRection CSET 1 CSET2 SELect string SENSe 1 SENSe2 CORRection CSET 1 CSET2 STATe Boolean SENSe 1 SENSe2 CORRection DCYCle GAIN3 INPut MAGNitude numeric_value SENSe 1 SENSe2 CORRection DCYCle GAIN3 STATe Boolean SENSe 1 SENSe2 CORRection CFACtor GAIN 1 2 INPut MAGNitude numeric_value SENSe 1 SENSe2 CORRection GAIN2 STATe Boolean SENSe 1 SENSe2 CORRection F...

Page 315: ...ode This node is used to select the active sensor calibration table and the active frequency dependent offset table Note If any of the CSET1 commands are used when an HP E series power sensor is connected the error 241 Hardware missing occurs The commands associated with this node are SENSe 1 SENSe2 CORRection CSET 1 CSET2 SELect string SENSe 1 SENSe2 CORRection CSET 1 CSET2 STATe Boolean ...

Page 316: ... is interpolated from the table using the setting for SENSe 1 SENSe2 FREQuency Note If SENSe 1 SENSe2 CORRection CSET 1 CSET2 STATe is set to OFF the selected sensor calibration table or frequency offset table is not being used Syntax Parameters Example Reset Condition On reset the selected table is not affected Item Description Default Range of Values string String data representing a sensor cali...

Page 317: ...exist error 256 File name not found occurs When a sensor calibration table is selected the power meter verifies that the number of calibration points defined is one more than the number of frequency points defined When a frequency dependent 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 th...

Page 318: ...the SENSe 1 SENSe2 FREQuency command When the CSET1 command is set to ON the reference calibration factor is taken from the sensor calibration table and is used during calibration Syntax Example Reset Condition On reset the sensor calibration table and frequency dependent offset table are not affected Query SENSe 1 SENSe2 CORRection CSET 1 CSET2 STATe The query returns a 1 or 0 into the output buf...

Page 319: ...e Error Message If you attempt to set this command to ON and no table has been selected using the SENSe 1 SENSe2 CORRection CSET 1 CSET2 SELect command then error 221 Settings conflict occurs and SENSe 1 SENSe2 CORRection CSET 1 CSET2 STATe remains OFF SENS2 CORR CSET1 STAT This command queries whether there is currently an active sensor calibration table for channel B ...

Page 320: ...ntrols the pulse power measurement feature of the power meter The commands associated with this node are SENSe 1 SENSe2 CORRection DCYCle GAIN3 INPut MAGNitude numeric_value SENSe 1 SENSe2 CORRection DCYCle GAIN3 STATe Boolean Note You can use either DCYCLe or GAIN3 in these commands both do the same Using GAIN3 complies with the SCPI standard whereas DCYCle does not but may make your program more...

Page 321: ...es the average power in the pulsed input signal and then divides the result by the duty cycle value to obtain a pulse power reading Entering a value using this command automatically turns the SENSe 1 SENSe2 CORRection DCYCle GAIN3 STATe command to ON Note Pulse measurements are not recommended using HP E series power sensors at power levels above 20 dBm Pulse power averages out any aberrations in ...

Page 322: ...tude MIN MAX The query returns the current setting of the duty cycle or the values associated with MIN and MAX Item Description Default Range of Values numeric_value A numeric value for the duty cycle The default value DEF is 1 The value for MIN is 0 001 The value for MAX is 99 999 The units are PCT and are optional 0 001 to 99 999PCT DEF MIN MAX CORR DCYC 90PCT This command sets a duty cycle of 9...

Page 323: ...2 SPEed is set to 200 the error 221 Settings Conflict occurs However the duty cycle value is set but the SENSe 1 SENSe2 CORRection DCYCle GAIN3 STATe command is not automatically set ON If this command is used when an HP E series power sensor is connected the error 310 System error Dty Cyc may impair accuracy with ECP sensor occurs If you are using the HP E4419B the error message specifies the cha...

Page 324: ...r the duty cycle of the signal you want to measure Syntax Example Reset Condition On reset the pulse power measurement feature is disabled Query SENSe 1 SENSe2 CORRection DCYCle GAIN3 STATe The query enters a 1 or 0 into the output buffer indicating the status of the pulse power measurement feature 1 is returned when the pulse power measurement feature is enabled 0 is returned when the pulse power...

Page 325: ...n DCYCle STATus is set to ON while SENSe 1 SENSe2 SPEed is set to 200 the error 221 Settings Conflict occurs If this command is used when an HP E series power sensor is connected the error 310 System error Dty Cyc may impair accuracy with ECP sensor occurs If you are using the HP E4419B the error message specifies the channel CORR GAIN3 STAT This command queries whether the pulse measurement featu...

Page 326: ...be used for the HP 8480 series power sensors when no sensor calibration table has been set up If a sensor calibration table is selected the error 221 Settings Conflict occurs 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 LOSS2 is coupled to GAIN2 by the equation when the defa...

Page 327: ...ctor You can use either CFACtor or GAIN1 in this command both do the same Using GAIN1 complies with the SCPI standard whereas CFACtor does not but may make your program more understandable GAIN2 is used to enter an offset value to compensate for the power meter setup Entering a value for GAIN2 using this command automatically turns the SENSe 1 SENSe2 CORRection GAIN2 STATe command to ON Gain and l...

Page 328: ...rresponds to a multiplier of 1 5 Item Description Default Range of Values numeric_value for CFACtor and GAIN1 A numeric value The default value DEF is 100 The value for MIN is 1 The value for MAX is 150 1 to 150PCT1 DEF MIN MAX numeric_value for GAIN2 A numeric value The default value DEF is 0 00 dB The value for MIN is 100 dB The value for MAX is 100 dB 100 to 100 dB DEF MIN MAX SENS2 CORR GAIN2 ...

Page 329: ...the default unit is logarithmic Query Example Error Messages If a channel offset value is entered using SENSe 1 SENSe2 CORRection GAIN2 while SENSe 1 SENSe2 SPEed is set to 200 the error 221 Settings Conflict occurs However the channel offset value is set but the SENSe 1 SENSe2 CORRection GAIN2 STATe command is not automatically set ON The SENSe 1 SENSe2 CORRection CFACtor GAIN1 command can be use...

Page 330: ...NSe 1 SENSe2 CORRection GAIN2 command should be used to enter the gain value Syntax Example Reset Condition On reset channel offsets are disabled 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 ST...

Page 331: ... SENSe Subsystem SENSe 1 SENSe2 CORRection GAIN2 STATe Boolean 9 30 HP E4418B E4419B Programming Guide Error Message If SENSe 1 SENSe2 CORRection GAIN2 STATe is set to ON while SENSe 1 SENSe2 SPEed is set to 200 the error 221 Settings Conflict occurs ...

Page 332: ...NSe 1 SENSe2 CORRection FDOFfset GAIN4 INPut MAGNitude This command is used to return the frequency dependent offset currently being applied Syntax Example Reset Condition On reset the frequency dependent offset is not affected CORR GAIN4 This command queries the current frequency dependent offset being applied to channel A SENS 1 GAIN4 CORR SENS2 FDOFfset INP MAG ...

Page 333: ...ernal loss Loss and gain correction are a coupled system This means that a loss set by SENSe 1 SENSe2 CORRection LOSS2 is represented in SENSe 1 SENSe2 CORRection GAIN2 command LOSS2 is coupled to GAIN2 by the equation when the default unit is linear and when the default is logarithmic The commands associated with this node are SENSe 1 SENSe2 CORRection LOSS2 INPut MAGNitude numeric_value SENSe 1 ...

Page 334: ...mmand automatically turns the SENSe 1 SENSe2 CORRection LOSS2 STATe command to ON Loss and gain correction are a coupled system This means that a loss set by SENSe 1 SENSe2 CORRection LOSS2 is represented in SENSe 1 SENSe2 CORRection GAIN2 command LOSS2 is coupled to GAIN2 by the equation when the default unit is linear and when the default is logarithmic Syntax Parameters Item Description Default...

Page 335: ...he default is logarithmic Query Example Error Message If a loss correction value is entered using SENSe 1 SENSe2 CORRection LOSS2 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 LOSS2 STATe command is not automatically set ON The SENSe 1 SENSe2 CORRection LOSS2 command can be used for the HP 8480 ...

Page 336: ...N2 STATe The SENSe 1 SENSe2 CORRection LOSS2 command should be used to enter the loss value Syntax Example Reset Condition On reset loss correction is disabled Query SENSe 1 SENSe2 CORRection LOSS2 STATe The query enters 1 or 0 into the output buffer indicating the status of the loss correction 1 is returned if loss correction is enabled 0 is returned if loss correction is disabled Query Example S...

Page 337: ... SENSe Subsystem SENSe 1 SENSe2 CORRection LOSS2 STATe Boolean 9 36 HP E4418B E4419B Programming Guide Error Message If SENSe 1 SENSe2 CORRection LOSS2 STATe is set to ON while SENSe 1 SENSe2 SPEed is set to 200 the error 221 Settings Conflict occurs ...

Page 338: ...uses linear interpolation to calculate the calibration factor for the frequency entered if SENSe 1 SENSe2 CORRection CSET STATe is ON For HP E series power sensors the calibration factor is calculated using the sensor s calibration factor data held in its EEPROM Syntax Parameters 1 The following measurement units can be used Hz kHz 103 MHz 106 GHz 109 Item Description Default Range of Values numer...

Page 339: ...n On reset the frequency is set to 50 MHz DEF Query SENSe 1 SENSe2 FREQuency CW FIXed MIN MAX The query returns the current frequency setting or the values associated with MIN and MAX The units in which the results are returned are Hz Query Example FREQ 500kHz This command enters a channel A frequency of 500 kHz SENS2 FREQ This command queries the channel B frequency setting ...

Page 340: ...it CLEar Node HP E4418B E4419B Programming Guide 9 39 The SENSe 1 SENSe2 LIMit CLEar Node This node contains the commands that are used to clear any limit failures The commands associated with this node are SENSe 1 SENSe2 LIMit CLEar AUTO Boolean ONCE SENSe 1 SENSe2 LIMit CLEar IMMediate ...

Page 341: ...f ON is specified the FCO is set to 0 each time a measurement is initiated using INITiate IMMediate is initiated using INITiate CONTinuous ON is measured using MEASure is read using READ If OFF is specified the FCO is not cleared by the above commands If ONCE is specified the FCO is cleared only after the first initialization then starts accumulating any limit failures Syntax Example Reset Conditi...

Page 342: ...on the specified channel 1 is entered into the output buffer when limit failures are cleared automatically when a new measurement is initiated 0 is entered into the output buffer when limit failures are not cleared automatically when a new measurement is initiated In the case where limit failures are cleared once when a query occurs a 1 is entered into the output buffer if no measurement is initia...

Page 343: ...ide SENSe 1 SENSe2 LIMit CLEar IMMediate This command is used to immediately clear the FCO fail counter of any limit failures for the specified channel The FCO is used to determine the results returned by the SENSe 1 SENSe2 LIMit FAIL query Syntax Example SENS2 LIM CLE IMM This command clears the FCO for channel B IMM LIM CLE SENS 1 SENS2 ...

Page 344: ...specified channel A limit failure is defined as SENSe 1 SENSe2 LIMit FCO being non zero The FCO fail counter can be zeroed using the SENSe 1 SENSe2 LIMit CLEar command 1 is returned when one or more limit failures have occurred 0 is returned when no limit failures have occurred Syntax Example Reset Condition On reset the buffer is set to zero for both channels SENS1 LIM FAIL This command queries i...

Page 345: ...his is a limit pass The counter is reset to zero by any of the following commands RST SENSe 1 SENSe2 LIMit CLEar IMMediate SENSe 1 SENSe2 LIMit CLEar AUTO ON When SENSe 1 SENSe2 LIMit CLEar AUTO is set to ON the counter is set to zero each time a measurement is measured using MEASure is read using READ is initiated using INITiate IMMediate or INITiate CONTinuous ON When SENSe 1 SENSe2 LIMit CLEar ...

Page 346: ...ubsystem SENSe 1 SENSe2 LIMit FCOunt HP E4418B E4419B Programming Guide 9 45 Syntax Example Reset Condition On reset the counter is set to zero on both channels SENS1 LIM FCO This command queries the number of limit failures on channel A LIM FCO SENS 1 SENS2 ...

Page 347: ...ed power is less than the value specified in SENSe 1 SENSe2 LIMit LOWer DATA SENSe 1 SENSe2 LIMit FAIL reports a fail When the measured power is greater than or equal to the limit a fail is not reported Syntax Parameters Example Item Description Default Range of Values numeric_value A numeric value The default value DEF is 90 00 dBm The value for MIN is 150 dBm The value for MAX is 230 dBm 150 to ...

Page 348: ...ing Guide 9 47 Reset Condition On reset both channels are set to 90 00 dBm DEF Query SENSe 1 SENSe2 LIMit LOWer DATA MIN MAX The query returns the current setting of the lower limit or the values associated with MIN and MAX for the specified channel Query Example SENS2 LIM LOW DATA This command queries the lower limit set for channel B ...

Page 349: ...ers 1 or 0 into the output buffer indicating the status of the limits testing feature for the specified channel 1 is returned when limits testing is enabled 0 is returned when limits testing is disabled Query Example Error Message If SENSe 1 SENSe2 LIMit STATe is set to ON while SENSe 1 SENSe2 SPEed is set to 200 the error 221 Settings Conflict occurs SENS2 LIM STAT 1 This command enables the limi...

Page 350: ...e specified in SENSe 1 SENSe2 LIMit UPPer DATA SENSe 1 SENSe2 LIMit FAIL reports a fail When the measured power is less than or equal to the limit a fail is not reported Syntax Parameters Example Reset Condition On reset both channels are set to 90 00 dBm DEF Item Description Default Range of Values numeric_value A numeric value The default value DEF is 90 00 dBm The value for MIN is 150 dBm The v...

Page 351: ...e 9 50 HP E4418B E4419B Programming Guide Query SENSe 1 SENSe2 LIMit UPPer DATA MIN MAX The query returns the current setting of the upper limit or the values associated with MIN and MAX for the specified channel Query Example SENS2 LIM UPP DATA This command queries the setting of the upper limit for channel B ...

Page 352: ...SENSe2 POWer AC RANGe AUTO to OFF Syntax Example Reset Condition On reset the upper range is selected Query SENSe 1 SENSe2 POWer AC RANGe The query enters a 1 or 0 into the output buffer indicating the status of the power sensor s range 1 is returned when the upper range is selected 0 is returned when the lower range is selected Query Example Error Message This command is used with the HP E series...

Page 353: ...r AC RANGe command disables autoranging If INITiate CONTinuous is set to ON and TRIGger SOURce is set to IMMediate the range will track the input power if SENSe 1 SENSe2 POWer AC RANGe AUTO is ON If the power meter is not making measurements then autoranging only occurs when the power meter is triggered Syntax Example Reset Condition On reset autoranging is enabled Query SENSe 1 SENSe2 POWer AC RA...

Page 354: ... AC RANGe AUTO Boolean HP E4418B E4419B Programming Guide 9 53 Query Example Error Message If this command is set to OFF when there is not an HP E series power sensor connected the error 241 Hardware missing occurs POW AC RANG AUTO This command queries whether auto ranging is on or off ...

Page 355: ...pecified channel is changed from 200 readings second to either 20 or 40 readings second the settings that were in place when 200 readings second mode was entered are restored 2 This change occurs when either channel is set to 200 readings second When both channels are changed from 200 readings second to either 20 or 40 readings second the settings that were in place when 200 readings second mode w...

Page 356: ...0 40 or 200 Query Example Error Message If speed is not 20 40 or 200 error 224 Illegal parameter value occurs If an HP E series power sensor is not connected and the numeric_value is set to 200 readings second the error 241 Hardware missing occurs Item Description Default Range of Values numeric_value A numeric value for the measurement speed The default is 20 20 40 200 SPE 40 This command sets th...

Page 357: ...ensors the automatic selection must be overriden and the D type diode correction selected syntax Example Reset Condition On reset the linearity correction is set for A type Error Message If no sensor is connected or the sensor is not an A type the error 241 Hardware missing occurs Query SENSe 1 SENSe2 V2P The query returns the current type of linearity correction being used A type or D type Query ...

Page 358: ...57 Mon Feb 15 09 24 37 1999 SENSe Subsystem SENSe 1 SENSe2 V2P ATYPe DTYPe HP E4418B E4419B Programming Guide 9 57 Error Message If no sensor is connected or the sensor is not an A type the error 241 Hardware missing occurs ...

Page 359: ...prog book ch9sens fm 58 Mon Feb 15 09 24 37 1999 SENSe Subsystem SENSe 1 SENSe2 V2P ATYPe DTYPe 9 58 HP E4418B E4419B Programming Guide ...

Page 360: ...prog book ch10stat fm 1 Mon Feb 15 09 24 37 1999 10 STATus Subsystem ...

Page 361: ...e 10 1 summarizes the effects of various commands and events on the status data structures in the power meter Table 10 1 Status Data Structure Status Data Structure RST CLS Power On STATus PRESet SCPI Transition Filters none none preset preset SCPI Enable Registers none none preset preset SCPI Event Registers none clear clear none SCPI Error Event Queue enable none none preset preset SCPI Error Ev...

Page 362: ...ion ULFail SUMMary page 10 17 STATus QUEStionable page 10 20 STATus QUEStionable CALibration SUMMary page 10 21 STATus QUEStionable POWer SUMMary page 10 22 The following five commands operate on each of these registers However to avoid duplication they are only listed once For example to use the CONDition command on the STATus DEVice register use STATus DEVice CONDition To use the NTRansition com...

Page 363: ...mands are CONDition ENABle NRf non decimal numeric EVENt NTRansition NRf non decimal numeric PTRansition NRf non decimal numeric CONDition This query returns a 16 bit decimal weighted number representing the bits set in the Condition Register of the SCPI Register Set you require to control The format of the return is NR1 in the range of 0 to 32767 215 1 The contents of the Condition Register remai...

Page 364: ...pressed in base 2 has it s first 15 bits written into the Enable Register of the SCPI Register Set concerned The last bit bit 15 is always set to 0 Syntax Parameters 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 NR1 in the range of 0 to 32767 215 1 Type Description ...

Page 365: ... Negative Transition Register of the SCPI Register Set concerned The last bit bit 15 is always set to 0 Refer to Status Reporting on page 1 71 for a general description of the status register model Syntax Parameters 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 ...

Page 366: ...ister of the SCPI Register Set concerned The last bit bit 15 is always set to 0 Refer to Status Reporting on page 1 71 for a general description of the status register model Syntax Parameters 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 NR1 in the...

Page 367: ...The following command descriptions detail the SCPI register you require to control but do not detail the Register Set commands The one Device Status Register Set is STATus DEVice The following bits in these registers are used by the power meter Bit Number Decimal Weight Definition 0 Not used 1 2 Channel A sensor connected 2 4 Channel B sensor connected HP EPM 442A only 3 8 Channel A sensor error 4...

Page 368: ...g STATus DEVice EVENt clears the STATus DEVice EVENt register 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 HP E series power sensor EEPROM has failed or if there are power sensors connected to both the rear an...

Page 369: ...ers 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 The seven Operation Register Sets are STATUS OPERation STATus OPERation CALibrating SUMMary STATus OPERation LLFail SUMMary STATus OPERation MEASuring SUMMary STATus...

Page 370: ...ower meter as a whole The following bits in these registers are used by the power meter These bits are set and cleared under the conditions shown on page 1 85 Syntax Bit Number Decimal Weight Definition 0 1 CALibrating Summary 1 3 Not used 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 ...

Page 371: ... in these registers are used by the power meter These bits are set at the beginning of zeroing CALibration ZERO AUTO ONCE and at the beginning of calibration CALibration AUTO ONCE Also for the compound command query CALibration ALL this bit is set at the beginning of the calibration sequence These bits are cleared at the end of zeroing or calibration Syntax Bit Number Decimal Weight Definition 0 N...

Page 372: ... the power meter The following bits in these registers are used by the power meter The appropriate bits are set if a channel lower limit test fails or a window lower limit test fails These bits are cleared if a measurement is made and the test is enabled and passes Syntax Bit Number Decimal Weight Definition 0 Not used 1 2 Channel A LLFail Status 2 4 Channel B LLFail Status HP E4419B only 3 8 Uppe...

Page 373: ...ter set contains information on the measuring status of the power meter The following bits in these registers are used by the power meter These bits are set when the power meter is taking a measurement These bits are cleared when the measurement is finished Syntax Bit Number Decimal Weight Definition 0 Not used 1 2 Channel A MEASuring Status 2 4 Channel B MEASuring Status HP E4419B only 3 15 Not u...

Page 374: ...tus of the power sensors The following bits in these registers are used by the power meter These bits are set when the power meter is reading data from the HP E series power sensor EEPROM These bits are cleared when the power meter is not reading data from the HP E series power sensor EEPROM Syntax Bit Number Decimal Weight Definition 0 Not used 1 2 Channel A SENSe Status 2 4 Channel B SENSe Statu...

Page 375: ...power meter The following bits in these registers are used by the power meter These bits are set when the power meter enters the wait for trigger state Refer to Figure 1 8 Trigger System on page 1 63 These bits are cleared when the power meter enters the idle state Refer to Figure 1 8 Trigger System on page 1 63 Syntax Bit Number Decimal Weight Definition 0 Not used 1 2 Channel A TRIGger Status 2 ...

Page 376: ... the power meter The following bits in these registers are used by the power meter The appropriate bits are set if a channel upper limit test fails or a window upper limit test fails These bits are cleared if a measurement is made and the test is enabled and passes Syntax Bit Number Decimal Weight Definition 0 Not used 1 2 Channel A ULFail Status 2 4 Channel B ULFail Status HP E4419B only 3 8 Uppe...

Page 377: ...ts a number of the status registers to their preset values as shown below all other registers are unaffected Bit 15 is always 0 Syntax Register Filter Enable PRESet Value OPERational ENABle all zeros PTR all ones NTR all zeros QUEStionable ENABle all zeros PTR all ones NTR all zeros All Others ENABle all ones PTR all ones NTR all zeros STAT PRES ...

Page 378: ...lity 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 The three Questionable Register Sets are STATus QUEStionable STATus QUEStionable CA...

Page 379: ...following bits in these registers are used by the power meter Bit 3 is set by the logical OR outputs of the STATus QUEStionable POWer SUMMary register set Bit 8 is set by the logical OR outputs of the STATus QUEStionable CALibration SUMMary register set Bit 9 is set if power on self test fails and cleared if it passes Syntax Bit Number Decimal Weight Definition 0 to 2 Not used 3 8 POWer Summary 4 ...

Page 380: ...he following bits in these registers are used by the power meter These bits are set by the following Error 231 Data questionable CH A B ZERO ERROR Error 231 Data questionable CAL ERROR Error 231 Data questionable CAL ERROR ChA Error 231 Data questionable CAL ERROR ChB These bits are cleared when any of the three commands listed above succeed and no errors are placed on the error queue Syntax Bit N...

Page 381: ...nable Input Overload HP E4418B only Error 231 Data questionable Input Overload ChA HP E4419B only Bit 2 is set when any of the following errors occur Error 230 Data corrupt or stale Error 231 Data questionable Input Overload ChB HP E4419B only Bits 3 is set when the following error occurs Error 231 Data questionable Upper window log error Bit 4 is set when the following error occurs Error 231 Data...

Page 382: ...4419B Programming Guide 10 23 Channel A requires zeroing Bis 6 is set when the following condition occurs HP E4419B only Channel B requires zeroing These bits are cleared when no errors or events are detected by the power meter during a measurement covering the causes given for it to set Syntax STAT QUES POW SUMM ...

Page 383: ...prog book ch10stat fm 24 Mon Feb 15 09 24 37 1999 STATus Subsystem STATus QUEStionable POWer SUMMary 10 24 HP E4418B E4419B Programming Guide ...

Page 384: ...prog book ch11syst fm 1 Mon Feb 15 09 24 37 1999 11 SYSTem Subsystem ...

Page 385: ...al interface controls Keyword Parameter Form Notes Page SYSTem COMMunicate GPIB SELF ADDRess numeric_value page 11 3 SERial CONTrol DTR ON OFF IBFull page 11 5 RTS ON OFF IBFull page 11 6 RECeive BAUD numeric_value page 11 7 BITs numeric_value page 11 9 PACE XON NONE page 11 11 PARity TYPE EVEN ODD ZERO ONE NONE page 11 12 SBITs numeric_value page 11 14 TRANsmit AUTO query only page 11 15 BAUD num...

Page 386: ...LF ADDRess MIN MAX The query returns the current setting of the GPIB address or the values associated with MIN and MAX Query Example Item Description Default Range of Values numeric_value A numeric value for the address The default value DEF is 13 The value for MIN is 0 The value for MAX is 30 0 to 30 DEF MIN MAX SYST COMM GPIB ADDR 13 This command sets the GPIB address to 13 SYST COMM GPIB ADDR T...

Page 387: ...mit receive stop bits Enable disable XON XOFF software handshaking The commands accociated with this node are SYSTem COMMunicate SERial CONTrol DTR SYSTem COMMunicate SERial CONTrol RTS SYSTem COMMunicate SERial RECeive BAUD SYSTem COMMunicate SERial RECeive BITs SYSTem COMMunicate SERial RECeive PACE SYSTem COMMunicate SERial RECeive PARity TYPE SYSTem COMMunicate SERial RECeive SBITs SYSTem COMM...

Page 388: ...s ready to accept data and low when the receiver buffer is full not ready for data Also with DTR in IBFull mode the transmitter will be inhibited when DSR is low Syntax Example Reset Condition On reset the DTR signal line setting is unaffected Query SYSTem COMMunicate SERial CONTrol DTR The query returns the current DTR signal line setting ON OFF or IBFull Query Example Error message If the RS422 ...

Page 389: ... resulting in the line going high when the receiver is ready to accept data and low when the receiver buffer is full not ready for data Also with RTS in IBFull mode the transmitter will be inhibited when CTS is low Syntax Example Reset Condition On reset the condition of the RTS signal line is unaffected Query SYSTem COMMunicate SERial CONTrol RTS The query returns the current RTS signal line sett...

Page 390: ...y this command or the equivalent transmitter command TRANsmit BAUD Syntax Parameters Example Reset Condition On reset the baud rate is unaffected Item Description Default Range of Values numeric_value A numeric value for the baud rate The default value DEF is 9600 The value for MIN is 50 The value for MAX is 115200 50 75 110 150 300 1200 1800 2000 2400 3600 4800 7200 9600 19200 38400 57600 115200 ...

Page 391: ... RECeive BAUD MIN MAX The query returns the current setting of the receive transmit baud rate or the values associated with MIN and MAX Query Example Error Message If the baud rate is not in the range of values shown in the parameter table then the error message 224 Illegal parameter value will occur SYST COMM SER REC BAUD This command queries the setting of the receive transmit baud rate ...

Page 392: ...r are tied together and can either be set by this command or the equivalent transmitter command TRANsmit BITs Syntax Parameters Example Reset Condition On reset the word length is unaffected Query SYSTem COMMunicate SERial RECeive BITs The query returns the current setting of the receive transmit word length Item Description Default Range of Values numeric_value A numeric value for the word length...

Page 393: ...eric_value 11 10 HP E4418B E4419B Programming Guide Query Example Error Message If the word length is not in the range of values shown in the parameter table then the error message 224 Illegal parameter value will occur SYST COMM SER REC BIT This command queries the setting of the receive transmit word length ...

Page 394: ...pt data and an Xoff control character is transmitted when the receiver is unable to receive further data not ready for data Syntax Example Reset Condition On reset pacing is unaffected Query SYSTem COMMunicate SERial RECeive PACE The query returns XON if the handshake is enabled and NONE if the handshake is disabled Query Example SYST COMM SER REC PACE XON This command enables the receiver Xon Xof...

Page 395: ...st fails Transmitted data includes a parity bit set for even parity indication ODD The receiver expects a parity bit All data received is checked for odd parity An error is generated if this test fails Transmitted data includes a parity bit set for odd parity indication ZERO The receiver expects a parity bit All data received has the parity checked and if it is not a logic low an error will be gen...

Page 396: ...Rial RECeive PARity TYPE The query returns the current setting of the receive transmit parity type EVEN ODD ZERO ONE or NONE Query Example SYST COMM SER REC PAR ODD This command sets the transmitter to include an odd parity bit in the transmitted data and the receiver to check for odd parity in the received data SYST COMM SER REC PAR This command queries what type of parity has been set on the rec...

Page 397: ...d data Syntax Parameters Example Reset Condition On reset the number of stop bits is unaffected Query SYSTem COMMunicate SERial RECeive SBITs The query returns the current setting of the receive transmit stop bits Query Example Item Description Default Range of Values numeric_value A numeric value for the number of stop bits 1 or 2 SYST COMM SER REC SBIT 2 This command sets the number of stop bits...

Page 398: ...Nsmit AUTO This query always returns a 1 confirming that the transmitter parameter settings for baud rate word length stop bits and parity are coupled to the receiver values Syntax Example SYST COMM SER TRAN AUTO This command always returns a 1 to show that the transmitter and receiver settings for baud rate word length stop bits and parity are the same SYST COMM SER TRAN AUTO ...

Page 399: ...t by this command or the equivalent receiver command RECeive BAUD Syntax Parameters Example Reset Condition On reset the baud rate is unaffected Item Description Default Range of Values numeric_value A numeric value for the baud rate The default value DEF is 9600 The value for MIN is 50 The value for MAX is 115200 50 75 110 150 300 1200 1800 2000 2400 3600 4800 7200 9600 19200 38400 57600 115200 D...

Page 400: ...l TRANsmit BAUD MIN MAX The query returns the current setting of the transmit receive baud rate or the values associated with MIN and MAX Query Example Error Message If the baud rate is not in the range of values shown in the parameter table then the error message 224 Illegal parameter value will occur SYST COMM SER TRAN BAUD This command queries the setting of the transmit receive baud rate ...

Page 401: ...ommand or the equivalent receiver command RECeiver BITs Syntax Parameters Example Reset Condition On reset the word length is unaffected Query SYSTem COMMunicate SERial TRANsmit BITs The query returns the current setting of the transmit receive word length Query Example Item Description Default Range of Values numeric_value A numeric value for the word length 7 or 8 SYST COMM SER TRAN BIT 8 This c...

Page 402: ...f OFF is specified data received by the receiver is not transmitted back to the sender echo off Syntax Example Reset Condition On reset the echo selection is unaffected Query SYSTem COMMunicate SERial TRANsmit ECHO The query returns the current setting of the transmit receive word length ON is returned if the power meter is set to return received data back to the sender echo on OFF is returned if ...

Page 403: ... SYSTem Subsystem SYSTem COMMunicate SERial TRANsmit ECHO ON OFF 11 20 HP E4418B E4419B Programming Guide Query Example SYST COMM SER TRAN ECHO This command queries whether or not the power meter has been set to return received data back to the sender ...

Page 404: ...ransmitter will not transmit further characters until an Xon control character is detected by the receiver Syntax Example Reset Condition On reset pacing is unaffected Query SYSTem COMMunicate SERial TRANsmit PACE The query returns XON if the handshake is enabled and NONE if the handshake is disabled Query Example SYST COMM SER TRAN PACE XON This command enables the transmitter Xon Xoff software h...

Page 405: ...est fails Transmitted data includes a parity bit set for even parity indication ODD The receiver expects a parity bit All data received is checked for odd parity An error is generated if this test fails Transmitted data includes a parity bit set for odd parity indication ZERO The receiver expects a parity bit All data received has the parity checked and if it is not a logic low an error will be ge...

Page 406: ...Rial TRANsmit PARity TYPE The query returns the current setting of the transmit receive parity type EVEN ODD ZERO ONE or NONE Query Example SYST COMM SER TRAN PAR ODD This command sets the transmitter to include an odd parity bit in the transmitted data and the receiver to check for odd parity in the received data SYST COMM SER TRAN PAR This command queries what type of parity has been set on the ...

Page 407: ...stop bits included by the transmitter in transmitted data Syntax Parameters Example Reset Condition On reset the number of stop bits is unaffected Query SYSTem COMMunicate SERial TRANsmit SBITs The query returns the current setting of the transmit receive stop bits Item Description Default Range of Values numeric_value A numeric value for the number of stop bits 1 or 2 SYST COMM SER TRAN SBIT 2 Th...

Page 408: ...15 09 24 37 1999 SYSTem Subsystem SYSTem COMMunicate SERial TRANsmit SBITs numeric_value HP E4418B E4419B Programming Guide 11 25 Query Example SYST COMM SER TRAN SBIT This command queries the setting of the receive transmit stop bits ...

Page 409: ...ors are cleared first To clear all the errors from the error queue execute the CLS command When the error queue is empty subsequent SYSTem ERRor queries return a 0 No error message The error queue has a maximum capacity of 30 errors For further information on individual error messages refer to the User s Guide Syntax Example Reset Condition On reset the error queue is unaffected Error Messages The...

Page 410: ...wait 100 ms before sending any other commands When changing between languages the power meter is placed into local mode It is recommended that the instrument is preset following a language switch Syntax Parameters Example Query SYSTem LANGuage The query returns the current setting of the remote programming language Query Example Item Description Default Range of Values character_data Character dat...

Page 411: ...pad and enables the power meter to be controlled locally from the front panel The power meter display status reporting line will show LCL Syntax Example Error Message If this command is sent when the GPIB interface is selected the error 113 Undefined header occurs SYST LOC This command unlocks the power meter front panel keypad and enables local front panel control SYST LOC ...

Page 412: ...mmand presets the power meter Command Setting Comments CALC GAIN MAGN 0 000 dB Display offset value CALC GAIN STAT OFF Display offset disabled CALC LIM CLE AUTO ON Clear limit data at INIT CALC LIM FAIL OFF No failures CALC LIM FCO OFF Limit failure count is zero CALC LIM LOW DATA 90 dBM or 90 dB Lower limit CALC LIM STAT OFF Window limits checking disabled CALC LIM UPP DATA 90 dBM or 90 dB CALC M...

Page 413: ... READ BORD normal Binary order FORM READ DATA ascii Data format INIT CONT RST OFF SYS PRES ON Power Meter in idle state Power Meter in wait for trigger state MEM TABL SEL not affected Active sensor calibration table OUTP ROSC OFF 50 MHz reference disabled OUTP TTL 1 2 ACT LOW TTL output active low OUTP TTL 1 2 FEED CALC LIM UPP TTL output represents upper limit fail OUTP TTL 1 2 STAT OFF TTL outpu...

Page 414: ... COMM SER REC BITs not affected Word length SYST COMM SER REC PACE not affected Xon Xoff software handshake SYST COMM SER REC PAR TYPE not affected Parity setting SYST COMM SER REC SBIT not affected Number of stop bits SYST COMM SER TRAN BAUD not affected Baud rate SYST COMM SER TRAN BITs not affected Word length SYST COMM SER TRAN ECHO not affected Dumb terminal control SYST COMM SER TRAN PACE no...

Page 415: ...e Local key The power meter display status reporting line will show RMT Local front panel operation of the power meter is inhibited but can be enabled by pressing the Local key Syntax Example Error Message If this command is sent when the GPIB interface is selected the error 113 Undefined header occurs SYST REM This command locks the power meter front panel keypad except the Local key SYST REM ...

Page 416: ...mote control interface to be selected from GPIB RS232 and RS422 Syntax Example Query SYSTem RINTerface The query returns the current setting of the remote control interface GPIB RS232 or RS422 Query Example SYST RINT RS232 This command sets the power meter remote control interface to RS232 SYST RINT This command queries the current setting of the remote control interface SYST RINT Space GPIB RS232...

Page 417: ...he front panel Local key The power meter display status reporting line will show RMT In this state the power meter cannot be returned to manual control from the front panel Syntax Example Error Message If this command is sent when the GPIB interface is selected the error 113 Undefined header occurs SYST RWL This command locks the power meter front panel keypad including the Local key SYST RWL ...

Page 418: ...9B Programming Guide 11 35 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 Example SYST VERS This command queries which version of SCPI is used in the power meter SYST VERS ...

Page 419: ...prog book ch11syst fm 36 Mon Feb 15 09 24 37 1999 SYSTem Subsystem SYSTem VERSion 11 36 HP E4418B E4419B Programming Guide ...

Page 420: ...prog book ch12trig fm 1 Mon Feb 15 09 24 37 1999 12 TRIGger Subsystem ...

Page 421: ...mation on triggering is detailed in Triggering the Power Meter on page 1 61 The numeric suffix of the TRIGger program mnemonic in the TRIGger commands refers to a channel that is TRIGger1 and TRIGger2 represent channel A and channel B respectively If you are using the single channel HP E4418B power meter the TRIGger2 commands are irrelevant and cause the error Header suffix out of range Keyword Pa...

Page 422: ...rigger 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 Example ABOR This command places channel A in the idle state ABOR 1 2 ...

Page 423: ...The INITiate commands are overlapped that is the power meter can continue parsing and executing subsequent commands while initiated Refer to IEEE 488 2 section 12 for further details Note that the pending operation flag is set when the power meter moves out of the idle state and is cleared when it re enters the idle state The commands associated with this node are INITiate 1 2 IMMediate INITiate 1...

Page 424: ...to ON or INITiate IMMediate is received Once this trigger cycle is complete the trigger system returns to the idle state ON the trigger system is initiated and exits the idle state On completion of each trigger cycle the trigger system immediately commences another trigger cycle without entering the idle state Syntax Example Reset Condition On reset RST this command is disabled On preset SYSTem PR...

Page 425: ...6 Mon Feb 15 09 24 37 1999 TRIGger Subsystem INITiate 1 2 CONTinuous Boolean 12 6 HP E4418B E4419B Programming Guide Query Example INIT2 CONT This command queries whether channel B is set for single or continuous triggering ...

Page 426: ...e 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 Queries on page 2 21 for further details Syntax Example Error Messages If the power meter is not in the idle state or INITiate CONTinuous is ON error 213 INIT ignored ...

Page 427: ...bsystem TRIGger Node 12 8 HP E4418B E4419B Programming Guide TRIGger Node This node controls the behavior of the trigger system The commands associated with this node are TRIGger 1 2 DELay AUTO Boolean TRIGger 1 2 IMMediate TRIGger 1 2 SOURce BUS IMMediate HOLD ...

Page 428: ...alues to produce valid accurate measurement results The trigger with delay command allows settling time for the internal amplifiers and filters It does not allow time for power sensor delay In cases of large power changes the delay may not be sufficient for complete settling Accurate readings can be assured by taking two successive measurements for comparison OFF the power meter makes the measurem...

Page 429: ...r Subsystem TRIGger 1 2 DELay AUTO Boolean 12 10 HP E4418B E4419B Programming Guide 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 ...

Page 430: ...igger 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 Syntax Example Error Messages If the power meter is not in the wait for trigger state then TRIGger IMMediate causes error 211 Trigger ignored TRIG This command ca...

Page 431: ... TRG common command or the TRIGger IMMediate SCPI command HOLD Triggering is suspended The only way to trigger the power meter is to use the TRIGger IMMediate IMMediate The trigger system is always true If INITiate CONTinuous is ON the power meter is continuously triggering free run mode If an INITiate IMMediate command is sent a measurement is triggered then the power meter returns to the idle st...

Page 432: ...ogramming Guide 12 13 Example Reset Condition On reset the trigger source is set to IMMediate Query TRIGger SOURce The query returns the current trigger source either IMM BUS or HOLD Query Example TRIG SOUR IMM This command configures channel A for immediate triggering TRIG SOUR This command queries channel A s trigger source ...

Page 433: ...prog book ch12trig fm 14 Mon Feb 15 09 24 37 1999 TRIGger Subsystem TRIGger 1 2 SOURce BUS IMMediate HOLD 12 14 HP E4418B E4419B Programming Guide ...

Page 434: ...prog book ch13unit fm 1 Mon Feb 15 09 24 37 1999 13 UNIT Subsystem ...

Page 435: ...rithmic The numeric suffix of the UNIT program mnemonic in the UNIT commands refers to a window that is UNIT1 and UNIT2 represent the upper and lower windows respectively The UNIT POWer and UNIT POWer RATio commands are coupled that is if UNIT POWer is set to dBm then UNIT POWer RATio is dB UNIT POWer is set to W then UNIT POWer RATio is Keyword Parameter Form Notes Page UNIT 1 2 POWer amplitude u...

Page 436: ...e power suffix for any SENSe1 command that requires but omits the power suffix UNIT2 POWer sets the power measurement units for the lower window For the HP E4419B UNIT1 POWer sets the power measurement units for the upper window In addition it also sets the power suffix for any SENSe1 command that requires but omits the power suffix UNIT2 POWer sets the power measurement units for the lower window...

Page 437: ...ing Guide Parameters Example Reset Condition On reset both channels are set to dBm Item Description Default Range of Values amplitude_unit The measurement unit The default unit is dBm W DBM UNIT1 POW DBM This command sets the measurement units for the upper window and the default units for any relevant SENSe1 command to dBm ...

Page 438: ...ogramming Guide 13 5 Query UNIT 1 2 POWer The query returns the current setting of the measurement units Query Example UNIT2 POW This command queries which measurement units are being used on the lower window In addition for the HP E4419B this command also queries the default units for any relevant SENSe2 command ...

Page 439: ...r any SENSe1 command that requires but omits the ratio suffix UNIT2 POWer RATio sets the ratio measurement units for the lower window In addition it also sets the ratio suffix for any SENSe2 command that requires but omits the ratio suffix Syntax Parameters Example Reset Condition On reset the units are set to dB Item Description Default Range of Values ratio_unit The ratio measurement unit The de...

Page 440: ... POWer RATio The query returns the current setting of the ratio measurement units Query Example Error Message If this command is used with an HP E4418B error 113 Undefined header occurs UNIT2 POW RAT This command queries which ratio measurement units are being used on the lower window It also queries the default units for any relevant SENSe2 command ...

Page 441: ...prog book ch13unit fm 8 Mon Feb 15 09 24 37 1999 UNIT Subsystem UNIT 1 2 POWer RATio ratio_unit 13 8 HP E4418B E4419B Programming Guide ...

Page 442: ...prog book ch14serv fm 1 Mon Feb 15 09 24 37 1999 14 SERVice Subsystem ...

Page 443: ...d and obtain information such as the instrument serial numberfrom the power on the current sensor s being used Keyword Parameter Form Notes Page SERVice OPTion string page 14 3 SENSor 1 2 CDATE query only page 14 4 CPLace query only page 14 5 SNUMber query only page 14 6 TYPE query only page 14 7 SNUMber alpha_numeric page 14 8 VERSion PROCessor string page 14 9 SYSTem string page 14 10 ...

Page 444: ...OPTion The query returns the current option string For example if the string 001 003 is returned the power meter is fitted with the battery and the rear panel sensor inputs and Power Reference Calibrator Item Description Default Range of Values string A string detailing the option number in a commas seperated list A maximum of 30 characters can be used A to Z uppercase a to z lowercase 0 9 _ under...

Page 445: ...or 1 2 CDATE This query is used to return the date of calibration stored in EEPROM on E series sensors only Syntax Example Error Message If an HP E series power sensor is not connected the error 241 Hardware missing occurs SERV SENS2 CDATE This query returns the calibration date of the E series sensor connected to channel B SERV 1 2 CDATE SENS ...

Page 446: ...or 1 2 CPLace This query is used to return the place of calibration stored in EEPROM on E series sensors only Syntax Example Error Message If an HP E series power sensor is not connected the error 241 Hardware missing occurs SERV SENS2 CPL This query returns the place of calibration of the E series sensor connected to channel B SERV 1 2 CPL SENS ...

Page 447: ...e SENSor 1 2 SNUMber This query is used to return the serial number stored in EEPROM on E series sensors only Syntax Example Error Message If an HP E series power sensor is not connected the error 241 Hardware missing occurs SERV SENS2 SNUM This query returns the serial number of the E series sensor connected to channel B SERV 1 2 SNUM SENS ...

Page 448: ...channel s For HP 8480 series sensors either A B D or H is returned For E series sensors the model number stored in EEPROM is returned Syntax Example Error Message If a power sensor is not connected the error 241 Hardware missing occurs SERV SENS2 TYPE This query returns either A B D or H if an HP 8480 series sensor is connected to channel B or the sensor model number if an HP E series sensor is co...

Page 449: ...tax Parameters Example Query SERVice SNUMber The query returns the power meter serial number in the form GB12345678 or US12345678 Item Description Default Range of Values alpha_numeric An alpha_numeric detailing the power meter serial number in the form GB12345678 or US12345678 A maximum of 30 characters can be used A to Z uppercase a to z lowercase 0 9 SERV SNUM GB12345678 This command loads the ...

Page 450: ... version Syntax Parameters Example Query SERVice VERSion PROCessor The query returns the current processor board revision version Item Description Default Range of Values string A string detailing the processor board revision version A maximum of 20 characters can be used A to Z uppercase a to z lowercase 0 9 _ underscore SERV VERS PROC C This command loads the power meter with processor board rev...

Page 451: ...ersion number Syntax Parameters Example Query SERVice VERSion SYSTem The query returns the current power meter system version number Item Description Default Range of Values string A string detailing the system version number A maximum of 20 characters can be used A to Z uppercase a to z lowercase 0 9 _ underscore SERV VERS SYST 2 This command loads the power meter with system version number2 SERV...

Page 452: ...prog book ch15ieee fm 1 Mon Feb 15 09 24 37 1999 15 IEEE488 2 Command Reference ...

Page 453: ...ll management and data communication instructions for the system The command descriptions are in alphabetical order IEEE 488 2 Common Commands CLS Clear Status page 15 7 DDT Define Device Trigger page 15 8 DDT Define Device Trigger page 15 8 ESE Event Status Enable page 15 10 ESE Event Status Enable page 15 10 ESR Event Status Register page 15 11 IDN Identify page 15 12 OPC Operation Complete page...

Page 454: ...character of a programming code The output buffer is cleared For further information refer to Using Device Clear to Halt Measurements on page 1 92 GET The GET Group Execute Trigger command triggers all channels that are in the wait for trigger state Using the DDT command may change the function of the GET command Error Message If TRIGger SOURce is not set to BUS then error 211 Trigger ignored occu...

Page 455: ...nfigured according to the parallel poll enable secondary command which should follow this command PPD Sending the PPC command followed by the PPD Parallel Poll Disable command will disable the power meter from responding to a parallel poll This is effectively a selective disable Table 15 1 PPD Mapping PPE Once the power meter has received a PPC command the PPE Parallel Poll Enable secondary comman...

Page 456: ... 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 Bit Weight Meaning 0 1 Bit positions for response 000 bit 0 001 bit 1 010 bit 2 011 bit 3 100 bit 4 10...

Page 457: ...the serial poll mode for the power meter and returns it to its normal talker state where device dependent data is returned rather than the status byte SPE The SPE Serial Poll Enable command establishes the serial poll mode for the power meter When the power meter is addressed to talk a single eight bit status byte is returned refer to The Status Byte on page 1 80 for further information ...

Page 458: ...B E4419B Programming Guide 15 7 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 Syntax CLS ...

Page 459: ...ax Parameters Examples of arbitrary block program data parameters are 15FETC and 206FETCh Examples of string program data are FETCh1 FETCh and TRIG1 FETC1 Reset Condition On reset the action field of DDT is set to TRG 1 The action field of the parameter may contain FETC FETC1 FETC2 HP E4419B only TRG TRIG1 TRIG2 HP E4419B only 2 The first digit after the indicates the number of following digits Th...

Page 460: ... E4419B Programming Guide 15 9 Query DDT The query returns the action which is performed on receipt of a GET or TRG This is returned as a definite length arbitrary block response data value which is in the form of nN action as described on page 15 8 Error Message If an invalid parameter is received error 224 Illegal parameter value occurs ...

Page 461: ...o an integer and expressed in base 2 represents the bit values of the Standard Event Status Enable Register Table 15 3 shows the contents of this register Table 15 3 ESE Mapping Syntax Parameters Query ESE The query returns the current contents of the Standard Event Status Enable Register The format of the return is NR1 in the range of 0 to 255 Bit Weight Meaning 0 1 Operation Complete 1 2 Request...

Page 462: ...e Standard Event Status Register then clears it The format of the return is NR1 in the range of 0 to 255 Table 15 4 shows the contents of this register Table 15 4 ESR Mapping Syntax Bit Weight Meaning 0 1 Operation Complete 1 2 Request Control not used 2 4 Query Error 3 8 Device Dependent Error 4 16 Execution Error 5 32 Command Error 6 64 Not used 7 128 Power On ESR ...

Page 463: ...o identify itself The string returned will be either HEWLETT PACKARD EPM 441A serial number A1 XX YY HEWLETT PACKARD EPM 442A serial number A2 XX YY HEWLETT PACKARD 437B 2 0 where serial number uniquely identifies each power meter A1 XX YY and A2 XX YY represents the firmware revision with XX and YY representing the major and minor revisions respectively Syntax IDN ...

Page 464: ...uide 15 13 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 Query OPC The query places an ASCII 1 in the output queue when all pending device operations have completed OPC ...

Page 465: ...2 Command Reference OPT 15 14 HP E4418B E4419B Programming Guide OPT The OPT query reports the options installed in the power meter and returns empty string for a standard instrument 002 for an option 002 instrument 003 for an option 003 instrument Syntax OPT ...

Page 466: ...e state of the power meter from the specified save recall register An instrument setup must have been stored previously in the specified register Syntax Parameters Error Message If the register does not contain a saved state error 224 Illegal parameter value occurs Type Description Default Range of Values NRf The number of the register to be recalled 1 to 10 RCL NRf Space ...

Page 467: ... 09 24 37 1999 IEEE488 2 Command Reference RST 15 16 HP E4418B E4419B Programming Guide RST The RST ReSeT command places the power meter in a known state The power meter is reset to the state shown in Table 11 1 on page 11 29 Syntax RST ...

Page 468: ...9B Programming Guide 15 17 SAV NRf The SAV NRf SAVe command stores the current state of the power meter in the specified register Syntax Parameters 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 1 to 10 SAV NRf Space ...

Page 469: ...ue 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 Table 15 5 shows the contents of this register Refer to the pullout at the end of chapter 1 for further information Table 15 5 SRE Mapping Syntax Parameters Bit Weight Meaning 0 1 Not used 1 2 Not used 2 4 Device Dependent 3 8 QUEStionable Status Summa...

Page 470: ...mand Reference SRE NRf HP E4418B E4419B Programming Guide 15 19 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 NR1 in the ranges of 0 to 63 or 128 to 191 that is bit 6 is always 0 ...

Page 471: ...Table 15 6 STB Mapping Bit Weight Meaning 0 1 Not used 1 2 Device Dependent 0 No device status conditions have occurred 1 A device status condition has occurred 2 4 Error Event Queue 0 Queue empty 1 Queue not empty 3 8 Questionable Status Summary 0 No QUEStionable status conditions have occurred 1 A QUEStionable status condition has occurred 4 16 Message Available 0 no output messages are ready 1 ...

Page 472: ...prog book ch15ieee fm 21 Mon Feb 15 09 24 37 1999 IEEE488 2 Command Reference STB HP E4418B E4419B Programming Guide 15 21 Syntax STB ...

Page 473: ...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 Error Message If TRIGger SOURce is not set to BUS then error 211 Trigger ignored occurs If the power meter is not in the wait for trigger state then error 211 Trigger ignored occurs TRG ...

Page 474: ...e power meter to perform the HP IB self test which takes approximately 30 seconds The HP IB self test consists of the following tests ROM checksum RAM Battery Display Assembly Calibrator Measurement Assembly Communications Assembly Implicit The result of the test is placed in the output queue 0 is returned if the test passes 1 if the test fails Syntax TST ...

Page 475: ...erence WAI 15 24 HP E4418B E4419B Programming Guide 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 Syntax WAI ...

Page 476: ...on subsystem reference 1 105 calibration summary register 10 21 caution v channel offset enabling and disabling 9 29 channel offsets 1 51 character response data definition 1 96 clear status command 7 command set 1 4 condition register 1 72 configuration 1 3 2 2 contrast 5 3 D danger v data format 6 2 data types SCPI 1 95 define device trigger command 8 delay triggering 12 9 device status register...

Page 477: ...1 34 G gain 9 25 gain correction 9 26 enabling and disabling 9 29 general status register 1 72 GP IB 11 33 GPIB 11 3 GP IB address 1 3 H HP 437B command summary 1 6 HP 438A command summary 1 9 HP IB 11 3 HP IB address 1 3 I identification command 12 idle state 12 3 IEEE commands 1 initiate command 12 4 interface selection 1 3 introduction 1 93 L language 11 27 language selection 1 4 legal informat...

Page 478: ...em reference 1 106 overview viii P parity 11 12 11 22 pass limits 1 53 polling 1 75 power reference 8 3 power summary register 10 22 preset 11 29 preset values of status registers 10 18 programming language 11 27 programming language selection 1 4 pulse power 9 20 9 23 pulsed signals 1 58 Q questionable register set 10 19 questionable status register 1 83 R range 1 47 ranges auto 9 52 selecting 9 ...

Page 479: ...uest generation 1 81 single window 5 17 software handshake 11 11 11 21 speed 9 54 SRQ 1 76 standard event register 1 81 bit definitions 1 81 standard event status register 11 status byte 1 80 bit definitions 1 80 status byte query 20 status register 1 79 status register set 10 4 status reporting 1 71 status subsystem 10 2 STATus subsystem reference 1 108 stop bits 11 14 11 24 string definition 1 1...

Page 480: ...amming Guide Index 5 wait for trigger state 12 4 warning v warranty iii window selecting single or dual 5 17 window limits 1 55 TTL outputs 1 55 window resolution 5 14 window selection 5 16 word length 11 9 11 18 X x2 mode 1 66 Xon Xoff 11 11 11 21 Z zeroing 1 11 4 2 4 14 ...

Page 481: ...prog book progIX doc 6 Mon Feb 15 09 24 37 1999 Index 6 HP E4418B E4419B Programming Guide ...

Reviews: