Ceyear 2438 Programming Manual

Microwave power meter
Table of Contents

Advertisement

Quick Links

2438
Series Microwave Power Meter
Programming Manual
China Electronics Technology Instruments Co., Ltd

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 2438 and is the answer not in the manual?

Questions and answers

Summary of Contents for Ceyear 2438

  • Page 1 2438 Series Microwave Power Meter Programming Manual China Electronics Technology Instruments Co., Ltd...
  • Page 2 2348 Series Microwave Power Meter Options:  English options: English menu, English panel, etc. Version: A.1 November 2017, China Electronics Technology Instruments Co., Ltd (CETI) Address: No.98, Xiangjiang Road, Qingdao City,China Tel: +86-532-86896691 Website: www.ceyear.com E-mail: sales@ceyear.com Postal code: 266555...
  • Page 3 Foreword Manual Authorization Safety Precautions Thank you for choosing the 2348 series microwave power This manual may be subject to meter developed change without notice. CETI CAUTION manufactured China reserves all the rights to the Electronics Technology final explanation for all the CAUTION indicates Instruments Co., Ltd.
  • Page 5: Table Of Contents

    2438 Series Microwave Power Meter Table of Contents Table of Contents 1 About This Manual ....................1 1.1 About This Manual ........................1 1.2 Related Documents........................1 2 Remote Control ..................... 3 2.1 Remote control basis ........................ 3 2.1.1 Remote interface ........................... 3 2.1.2...
  • Page 6 2348 Series Microwave Power Meter Table of Contents 2.10 Setting of offset ........................33 2.10.1 Channel offset ........................... 34 2.10.2 Display offset ..........................34 2.10.3 Specific application ........................34 2.11 Setting of measurement limit ....................34 2.12 Status reporting........................35 2.13 Save recall ..........................
  • Page 7 2438 Series Microwave Power Meter Table of Contents 3.3.8 Statistic (PSTatistic) ........................74 3.3.9 Sense (SENSe) ........................... 84 3.3.10 Status (STATus) ........................98 3.3.11 System (SYSTem) ........................128 3.3.12 Trace (TRACe) ........................162 3.3.15. Trigger (INITiate/TRIGger) ....................166 3.3.16 Unit (UNIT) ..........................172 3.3.17 Service (SERVice) ........................
  • Page 9: About This Manual

    Related Documents......................1 1.1 About This Manual This manual introduces the remote control and the SCPI operation method of the 2438 series microwave power meter, as well as the programming examples and the basic concept of the I/O function library to facilitate the user to quickly master the programming method.
  • Page 10 1 About This Manual 1.2 Related Documents measurement with the aim of enabling users to quickly understand the features and operational procedures of the instrument. Main chapters included in this manual are as follows::  Preparation before Use  Typical Applications ...
  • Page 11: Remote Control

    This chapter introduces the remote control basis as well as the remote interface and its configuration method of the 2438 series microwave power meter, and also briefly describes the concept and classification of the I/O driver library so that the user can have a preliminary knowledge about the remote control of this instrument.
  • Page 12: Remote Interface  Lan Interface

    Remote Control 2.1 Remote control basis Table2.1 Type of the Remote Interface and VISA Addressing String Remote Interface VISA Addressing String Description VXI-11 protocol: Controller realizes remote control by connecting the instrument via the (Local Area Network) TCPIP::host_address[::LAN_de network port on the rear panel of the vice_name][::INSTR] instrument.
  • Page 13 Remote Control 2.1 Remote control basis TCPIP::host address[::LAN device name][::INSTR] or TCPIP::host address::port::SOCKET Where,  TCPIP - network protocol used;  host address - IP address or host name of the instrument, for identification and control of the controlled instrument; ...
  • Page 14: Message

    Remote Control 2.1 Remote control basis using the LAN socket, the socket port number of the microwave power meter shall be set in advance. The socket port number of the microwave power meter is 5000. 2.1.1.2 GPIB interface The GPIB interface is a widely-used instrument remote interface currently, which can be connected with different kinds of instruments through the GPIB cable and can establish the test system with the main control computer.
  • Page 15: Scpi

    Remote Control 2.1 Remote control basis Interface message During communication between the instrument and the main control computer, it is necessary to pull down the attention line and then the interface message can be transmitted to the instrument through the data line.
  • Page 16 Use with ANSI/IEEE Std488.1-2003. New York, NY, 1998 Standard Commands for Programmable Instruments(SCPI) VERSION 1999.0. For details about the SCPI set, classification and description of the 2438 series microwave power meter , please refer to: “3 SCPI” of this manual;...
  • Page 17 Remote Control 2.1 Remote control basis An event-type SCPI can't be queried. An event command generally has no corresponding key settings on front panel. Its function is to trigger an event at a particular moment. Query Query is a special command. When the controller is queried, it is necessary to return to the response message in conformity with syntax requirement of the controller.
  • Page 18 Remote Control 2.1 Remote control basis Table2.2 Special Characters in the Command Syntax Symbol Meaning Example [:SENSe]:BANDwidth|BWIDth HIGH|LOWer The vertical line between the keyword and the BANDwidth BWIDth parameter represents a variety of options. options, and HIGH and LOWer are options. Square brackets indicate that the included keywords or parameters are optional [:SENSe]:BANDwidth?
  • Page 19 Remote Control 2.1 Remote control basis i.e. :POWer:LEVel 6.2 The simplified syntax specification is as shown in Figure 2.2: Parameter Keyword Space Suffix Fig.2.2 SCPI type For example, the syntax expression of “[:SENSe[1]|2]:FREQuency[:CW|FIXed] <Numeric Data>” can be expressed as follows. Space Value SENS...
  • Page 20 Remote Control 2.1 Remote control basis The “1” and CW or FIX will be omitted. SENS:FREQ 5.0e+007 FREQ 5.0e+007 The SENS and CW or FIX will be omitted. For the frequency of channel B and channel 8, the SENS2 and the SENS8 can‟t be omitted. The MIN and the MAX can be used as parameters to set the command or to query the command.
  • Page 21 Remote Control 2.1 Remote control basis A software module in the instrument software——command interpreter is used for parsing each received SCPI. The command interpreter breaks up the command into individual command element using a series of rules for identifying the command tree path. After the current command is parsed, the current command path remains unchanged.
  • Page 22 Remote Control 2.1 Remote control basis -7.89E-01 exponent marker e may be upper or lower case +256 leading + allowed The decimal point can be prefixed Extended numeric parameter Most measurements related to Instrument-specific commands use extended numeric parameters to specify the physical quantities.
  • Page 23 Remote Control 2.1 Remote control basis Examples of string parameter: „This is Valid‟ “This is also Valid” „SO IS THIS‟ Real response data A large portion of measurement data are real. They are formatted as basic decimal notation or scientific notation.
  • Page 24: Command Sequence And Synchronization

    Remote Control 2.1 Remote control basis #nNNN...Nddd……ddd<LF> Data newline character, indicating the end of the data block. Data length (namely the number of bytes of d) Number of bits of data length (namely the number of bits of N) Beginning tag of the data block. For example: #42004…..<LF>, n = 4, N = 2,004.
  • Page 25 Remote Control 2.1 Remote control basis  Sequential commands are sequences of commands that are executed continuously. Generally, the execution of each command is faster;  Overlapped commands indicate that the previous command is not executed automatically before the next command is executed. Normally overlapped commands take longer to process and allows the program to process other events synchronously.
  • Page 26: Status Reporting System

    Remote Control 2.1 Remote control basis command before executing other commands. Send this command directly after the current command. until the value 1 is returned. The command is returned only when the operation completion bit in the ESR is set, which indicates that previous command processed.
  • Page 27 Remote Control 2.1 Remote control basis be queried through the remote interface.  Structure of status register ................... 19  Structure of SCPI status register ................. 19  Status register Description ................... 21  Application of status reporting system ................. 23 ...
  • Page 28 Remote Control 2.1 Remote control basis Fig.2.5 Structure of the status register The above Figure shows that the status register is composed of 5 parts, which are described as follows:  Condition register This part will be directly written by hardware or low-level register digit, which will reflect the current working status of the instrument.
  • Page 29 Remote Control 2.1 Remote control basis —Enable bit=1: The associated event bit acts on the data summary. This part is read-write, and no value will be cleared after reading.  Data bit summary The data summary bit of each register consists of event and enable parts. The result gets into the condition part of the high level register.
  • Page 30 Remote Control 2.1 Remote control basis IST mark and parallel query enable register (PPE) The IST identifies the combination of the overall status of the instrument with a separate data bit. This flag can be obtained by parallel query or by sending the command “*IST?”. The associated parallel query enable register (PPE) determines which data bits of the STB act on the IST mark.
  • Page 31 Remote Control 2.1 Remote control basis Calibration status of USB interface channel 4-14 Not used It is always 0 Status: Questionable register The register includes the status of the instrument not conforming to requirements of the specification. The value of the register can be queried through the command “STAT:QUES:COND” or “STAT:QUES:EVEN”.
  • Page 32 Remote Control 2.1 Remote control basis Example: Generate the SRQ signal with the command *OPC when scanning is completed. Call the write function InstrWrite and write command “*ESE 1”, and set the ESE bit 0 (operation is completed). Call the write function InstrWrite and write command “*ESE 32”, and set the SRE bit 5 (ESB).
  • Page 33: Programming Considerations

    Remote Control 2.1 Remote control basis Fig.2.6 Diagram of Relationship Between the Data Bit and Its Weight Error queue Each error status of the instrument corresponds to an entry in the error queue, including the specific error information text, which can be viewed through the error log or queried through the SCPI:SYSTem:ERRor[:NEXT]? or SYSTem:ERRor:ALL?.
  • Page 34: Remote Interface And Its Configuration

    USB 1.1 interface to upgrade the TSR software of the instrument and can be connected with the USB keyboard and mouse to control the microwave power meter in the 2438 series microwave power meter. It is not possible to remotely control the instrument via this port.
  • Page 35: Gpib

    255.255.255.0 inside the instrument. 2.2.2 GPIB  Connection ........................ Interface configuration ....................2.2.2.1 Connection Connect the 2438 microwave power meter with the external controller (computer) through the GPIB cable, as shown in Figure 2.9:...
  • Page 36: I/O Library

    Remote Control 2.3 I/O library GPIB address GP IB Fig.2.9 GPIB Interface Connection Diagram 2.2.2.2 Interface configuration The user may need to modify the GPIB address when building a system with a microwave power meter. The GPIB address of the machine is 19 by default. The method to change the GPIB address is as follows: Press down[System] [Remote Port Configuration>>][Local GPIB Address] to enter the interface as shown in Figure 2.8.
  • Page 37: Installation And Configuration Of I/O Library

    Remote Control 2.3 I/O library The detailed description is given as follows: Functional body. It is the main functional part of the instrument driver and can be understood as the framework program of the instrument driver. Interactive developer interface. For user's convenience, a graphical interactive developer interface is generally provided in the application development environment that supports the development of the instrument driver.
  • Page 38: Zeroing And Calibration Of Power Sensor

    For the 71710 series CW (continuous wave) power sensor, the overall gain of the channel and sensor of the power meter is calibrated with a 50MHz 1 mW (0 dBm) signal. The 2438 supports the newly developed 81702D/E/F/L and 81703D/E/F/L peak power sensors, which are calibrated with built-in DC voltage rather than 1 GHz power dynamic calibrator.
  • Page 39: Zero + Calibration

    Remote Control 2.5 Measurement 2.4.3 Zero + calibration It is equivalent to zero the power meter before calibration. Before operation of the 71710 series CW sensor, the power sensor shall be connected to the calibrator output end of the power meter. For the 81702 series peak sensor, it is unnecessary to connect the power sensor to the calibrator output end of the power meter.
  • Page 40: Selecting Fdo Table

    Remote Control 2.6 Use of FDO table For example, "User_3", "MyFdo0" List name of FDO table: MEMory: CATalog:TABLe?. For specific information, see description of the command. Rename of FDO table: MEMory:TABLe:MOVE <Former Name>, <Target Name>. Query data in FDO table. For example, query data in No. 3 FDO table. ...
  • Page 41: Setting Of Display Resolution

    Remote Control 2.7 Setting of display resolution recorded as Pwr, the Pwr=Pwr0/Gain/100 = 2.000 mW. 2.7 Setting of display resolution Relevant SCPIs: DISPlay[:WINDow[1]|2][:NUMeric[1]|2]:RESolution <Resolution> The range of the <Resolution> is 1 - 4. For linear power display, <Resolution> represents the effective number of the displayed bits; for logarithmic power display, <Resolution>...
  • Page 42: Channel Offset

    Remote Control 2.11 Setting of measurement limit  Display offset ........................  Specific application ...................... 2.10.1 Channel offset The power meter can compensate for signal attenuation or gain in the test device (such as compensating for 20 dB attenuator). The channel offset is added to the power measurement before its display.
  • Page 43: Status Reporting

    Remote Control 2.12 Status reporting :CALCulate[1]|2|3|4:LIMit:Status <Switch> Set the limit detection switch :CALCulate[1]|2|3|4:LIMit:FAIL? Query if it is out of the limit :CALCulate[1]|2|3|4:LIMit:FCOunt? Query if it is out of the number of limits (FCO) CALCulate[1]|2|3|4:LIMit:CLEar[:IMMediate] Reset failure count (FCO). 2.12 Status reporting The status report is used to detect power error information, operation status, questionable status, etc.
  • Page 44 Remote Control 2.13 Save recall *SAV <NRf> *RCL <NRf> The range of <NRf> is 1 - 10.
  • Page 45: Scpi

    Key path;  The model of similar instruments compatible to the command. If not indicated, it means that the current command is only applicable to the 2438 series;  Other descriptions. The command order items are listed in the common command and instrument subsystem command sections to facilitate the user‟s query and use.
  • Page 46: Cls

    3 SCPI 3.2 Common command (IEEE488.2)  *SRE ..........................41  *STB? ...........................  *TRG ........................... 42  *TST? ........................... 42  *WAI ..........................42 NOTE Use of commands: Unless otherwise specified, the commands can be used to set or query. If a command is only used for setting or query or it is only used to start an event, it will be separately described in the instructions of the command.
  • Page 47: Ese

    3 SCPI 3.2 Common command (IEEE488.2) *DDT "FETCh?" *DDT "TRIG1;FETC1" Error None information: Reset None status: *ESE Function: Query or set the standard event status enable register. 0 Disable, 1 Enable. Query: *ESE? Setting: *ESE <NRf> The NRf represents the value, a multiple of 2. The bit mapping is as shown in Table 3.2. Example: *ESE? Query current setting of the register.
  • Page 48: Opc

    3 SCPI 3.2 Common command (IEEE488.2) Reset None status: *OPC Function: When all pending operations are completed, set the operation end bit in the standard event status register. Query: *OPC? Setting: *OPC Example: *OPC? If the pending operation is completed, return 1; otherwise, wait.
  • Page 49: Sre

    3 SCPI 3.2 Common command (IEEE488.2) information: Reset None status: *SRE Function: Query or set the service request register. 0 Disable, 1 Enable. Query: *SRE? Setting: *SRE <NRf> The NRf represents the value, a multiple of 2. The bit mapping is as shown in Table 3.3. Example: *SRE? Query current setting of the register.
  • Page 50: Trg

    Error None information: Reset None status: 3.3 Instrument subsystem command This section describes the subsystem command of the 2438 series microwave power meter in detail.  Calculation (CALCulate) .................... Calibration (CALibration) ....................50  Measurement (CONFigure/FETCh/READ/MEASure) ..........51 ...
  • Page 51: Calculation (Calculate)

    3 SCPI 3.3 Instrument subsystem command  Memory (MEMory/MMEMory) ..................67  Output (OUTPut) ......................71  Statistic (PSTatistic) ..................... 74  Sense (SENSe) ......................84  Status (STATus) ......................98  System (SYSTem) ...................... 128  Trace (TRACe) ......................162 ...
  • Page 52 3 SCPI 3.3 Instrument subsystem command  :CALCulate[1]|2|3|4:LIMit:CLEar:AUTO ............... 45  :CALCulate[1]|2|3|4:LIMit:CLEar[:IMMediate] .............. 46  :CALCulate[1]|2|3|4:LIMit:FAIL? .................. 46  :CALCulate[1]|2|3|4:LIMit:FCOunt? ................46  :CALCulate[1]|2|3|4:LIMit:LOWer[:DATA] ..............46  :CALCulate[1]|2|3|4:LIMit:Status .................. 47  :CALCulate[1]|2|3|4:LIMit:UPPer[:DATA] ..............48  :CALCulate[1]|2|3|4:MATH[:EXPRession] ..............48  :CALCulate[1]|2|3|4:MATH[:EXPRession]:CATalogue? .............
  • Page 53: Instrument Subsystem Command  :Calculate[1]|2|3|4:Limit:clear:auto

    3 SCPI 3.3 Instrument subsystem command the display offset switch. Query: :CALCulate[1]|2|3|4:GAIN[:MAGNitude]? [MIN|MAX] Setting: :CALCulate[1]|2|3|4:GAIN[:MAGNitude] <Numeric Data> The form of <Numeric Data> includes: DEF, MIN, MAX, NRf, and DEF is used for setting only. The DEF represents 0 dB, MIN represents -100 dB, and MAX represents 100 dB Example: CALC:GAIN? Query...
  • Page 54: Calculate[1]|2|3|4:Limit:clear[:Immediate]

    3 SCPI 3.3 Instrument subsystem command For “OFF”, FCO will not be reset. For "ONCE" or 2, only reset it during the first initialization, and then add it up when the limit detection fails. Example: CALC1:LIM:CLE:AUTO? Query the measured FCO reset status of the upper measurement of the upper window.
  • Page 55: Calculate[1]|2|3|4:Limit:status

    3 SCPI 3.3 Instrument subsystem command display unit of the window: 0.2 dBm in case of dBm 200 mW in case of W 0.2 dB in case of dB 0.2% in case of %. Reset Set all the windows to -90 dBm or -90 dB status: Table3.5 Measurement Unit CALC:REL:STAT OFF...
  • Page 56: Calculate[1]|2|3|4:Limit:upper[:Data]

    3 SCPI 3.3 Instrument subsystem command :CALCulate[1]|2|3|4:LIMit:UPPer[:DATA] Function: Query or set the upper measurement limit of the specified window. Refer to CALCulate[1]|2|3|4:LIMit:LOWer[:DATA] Query: :CALCulate[1]|2|3|4:LIMit:UPPer[:DATA]? [MIN|MAX] Setting: :CALCulate[1]|2|3|4:LIMit:UPPer[:DATA] <Numeric Data> The form of <Numeric Data> includes: DEF, MIN, MAX, NRf, and DEF is used for setting only.
  • Page 57: Calculate[1]|2|3|4:Math[:Expression]:Catalogue

    3 SCPI 3.3 Instrument subsystem command CALC2:MATH "(SENS1/SENS2)" Set the expression of the upper measurement of upper window channel ratio measurement. Reset For the single channel power meter, set all the windows to channel A ("(SENS1)"). status: If the double-channel power meter is connected with sensors, the upper window and the lower window will be A and B respectively.
  • Page 58: Calibration (Calibration)

    3 SCPI 3.3 Instrument subsystem command Query: :CALCulate[1]|2|3|4:RELative:Status? Setting: :CALCulate[1]|2|3|4:RELative:Status <Boolean Data> Example: CALC:REL:STAT? When the relative measurement of the upper measurement of the upper window is enabled, return 1, otherwise, return 0. CALC2:REL:STAT ON Enable the relative measurement status of the upper measurement of the lower window.
  • Page 59: Measurement (Configure/Fetch/Read/Measure)

    3 SCPI 3.3 Instrument subsystem command Query: Not supported Setting: :CALibration[1]|2:AUTO ONCE Example: CAL1:AUTO ONCE Calibrate channel A of the power meter. If the specified channel is not connected with the sensor, it will prompt “-241,"Hardware Error Missing"”. information: In case of calibration error, it will prompt “-231,” Data Questionable; CAL ERROR””; :CALibration[1]|2:RCALibration Set the “Must Cal”...
  • Page 60 3 SCPI 3.3 Instrument subsystem command  :FETCh[1]|2:ARRay:AMEasure:POWer? .............. :FETCh[1]|2:ARRay:AMEasure:TIME? ................  :FETCh[1]|2:DROop? .................... :FETCh[1]|2|3|4[:SCALar][:POWer][:AC]? .............. :FETCh[1]|2|3|4[:SCALar][:POWer][:AC]:DIFFerence? .......... :FETCh[1]|2|3|4[:SCALar][:POWer][:AC]:DIFFerence:RELative? .......  :FETCh[1]|2|3|4[:SCALar][:POWer][:AC]:RATio? ............ :FETCh[1]|2|3|4[:SCALar][:POWer][:AC]:RATio:RELative? .........  :FETCh[1]|2|3|4[:SCALar][:POWer][:AC]:RELative? ...........  :MEASure[1]|2|3|4[:SCALar][:POWer][:AC]? ...............  :MEASure[1]|2|3|4[:SCALar][:POWer][:AC]:DIFFerence? ...........  :MEASure[1]|2|3|4[:SCALar][:POWer][:AC]:DIFFerence:RELative? ......
  • Page 61 3 SCPI 3.3 Instrument subsystem command :CONFigure[1]|2|3|4[:SCALar][:POWer][:AC]:DIFFerence Function: Set the power measurement mode of the specified window to the difference measurement, and disable relative measurement. Query: Not supported Setting: :CONFigure[1]|2|3|4[:SCALar][:POWer][:AC]:DIFFerence [<Expected Value>[, <Resolution>[, <Source Channel List>]]] Set it to the difference power measurement, the expected value and resolution can be expressed in DEF, indicating no change.
  • Page 62 3 SCPI 3.3 Instrument subsystem command expressed in DEF, indicating no change. The range of the resolution is 1 - 4; the form of the channel list is: (@1), (@2), indicating that channel B is divided by channel A. (@2), (@1), indicating that channel A is divided by channel B. (@1), (@1), indicating that channel A is divided by channel A.
  • Page 63: Instrument Subsystem Command  :Fetch[1]|2:Array:ameasure:power

    3 SCPI 3.3 Instrument subsystem command If the specified channel is not connected with the sensor, it will prompt “-241, “Hardware Error Missing"”. information: :FETCh[1]|2:ARRay:AMEasure:POWer? Function: Query the peak power, average pulse power, overshoot, top power, bottom power and pulse power measured by the given channel pulse, and the unit is the same as the channel trace display unit.
  • Page 64: Fetch[1]|2|3|4[:Scalar][:Power][:Ac]

    3 SCPI 3.3 Instrument subsystem command Pulse top line First transition amplitude Last transition amplitude Top fluctuation Pulse baseline Fig.3.3 Droop :FETCh[1]|2|3|4[:SCALar][:POWer][:AC]? Function: Set the specified window to the absolute power measurement, disable relative measurement, and return the measurement value displayed by the current window. The measurement unit will be specified by UNIT[1]|2|3|4:POWer.
  • Page 65: Fetch[1]|2|3|4[:Scalar][:Power][:Ac]:Difference:relative

    3 SCPI 3.3 Instrument subsystem command to the difference power measurement (channel B - channel A), set the resolution to 3, disable relative measurement, and return the power measurement value. If the specified channel is not connected with the sensor, it will prompt “-241, “Hardware Error Missing"”.
  • Page 66: Fetch[1]|2|3|4[:Scalar][:Power][:Ac]:Ratio:relative

    3 SCPI 3.3 Instrument subsystem command Return the measurement value. If the specified channel is not connected with the sensor, it will prompt “-241, “Hardware Error Missing"”. information: :FETCh[1]|2|3|4[:SCALar][:POWer][:AC]:RATio:RELative? Function: Set the power measurement mode of the specified window to the ratio measurement, enable relative measurement, and return the measurement value.
  • Page 67: Measure[1]|2|3|4[:Scalar][:Power][:Ac]:Difference

    3 SCPI 3.3 Instrument subsystem command measured value, rather than returning it after the measurement is completed. Please use MEASure command when establishing the test system. Query: :MEASure[1]|2|3|4[:SCALar][:POWer][:AC]? [<Expected Value>[, <Resolution>[, <Source Channel List>]]] Set it to the absolute power measurement, and disable relative measurement. The expected value and resolution can be expressed in DEF, indicating no change.
  • Page 68: Measure[1]|2|3|4[:Scalar][:Power][:Ac]:Ratio

    3 SCPI 3.3 Instrument subsystem command expected value and resolution can be expressed in DEF, indicating no change. The range of the resolution is 1 - 4; the form of the source channel list is (@1), (@2), indicating channel A - channel B. (@2), (@1), indicating channel B - channel A.
  • Page 69: Measure[1]|2|3|4[:Scalar][:Power][:Ac]:Relative

    3 SCPI 3.3 Instrument subsystem command Set it to the ratio power measurement, the expected value and resolution can be expressed in DEF, indicating no change. The range of the resolution is 1 - 4; the form of the channel list is: (@1), (@2), indicating that channel B is divided by channel A.
  • Page 70: Read[1]|2|3|4[:Scalar][:Power][:Ac]:Difference

    3 SCPI 3.3 Instrument subsystem command value. If the specified channel is not connected with the sensor, it will prompt “-241, “Hardware Error Missing"”. information: :READ[1]|2|3|4[:SCALar][:POWer][:AC]:DIFFerence? Function: Set the specified window to the difference power measurement, disable relative measurement, and return the measurement value. The measurement unit will be specified by UNIT[1]|2|3|4:POWer.
  • Page 71: Read[1]|2|3|4[:Scalar][:Power][:Ac]:Ratio:relative

    3 SCPI 3.3 Instrument subsystem command unit will be specified by UNIT[1]|2|3|4:POWer:RATio. Query: :READ[1]|2|3|4[:SCALar][:POWer][:AC]:RATio [<Expected Value>[, <Resolution>[, <Source Channel List>]]] Set it to the ratio power measurement, the expected value and resolution can be expressed in DEF, indicating no change. The range of the resolution is 1 - 4; the form of the channel list is: (@1), (@2), indicating that channel B is divided by channel A.
  • Page 72: Display (Display)

    3 SCPI 3.3 Instrument subsystem command Setting: Not supported Example: READ2:REL? Query the relative power measurement value of the upper measurement of the lower window. If the specified channel is not connected with the sensor, it will prompt “-241, “Hardware Error Missing"”.
  • Page 73 3 SCPI 3.3 Instrument subsystem command Query: :DISPlay[:WINDow[1]|2]:FORMat? Setting: :DISPlay[:WINDow[1]|2]:FORMat <Character Data> The valid character data includes: DIGital: Set the single digit displayed in the window SNUMeric: Set the single digit displayed in the window DNUMeric: Set the double-digit displayed in the window TRACe: Set the pulse trace displayed in the window CTRace: Set the statistical trace displayed in the window CTABle: Set the CCDF table displayed in the window.
  • Page 74: Format (Format)

    3 SCPI 3.3 Instrument subsystem command Limit: For an invisible window, there will be no operation after this command is sent. Reset Select the upper measurement of the upper window. status: :DISPlay[:WINDow[1]|2]:Status Function: Enable or disable the display in the specified window. Query: :DISPlay[:WINDow[1]|2]:Status? Setting:...
  • Page 75: Memory (Memory/Mmemory)

    3 SCPI 3.3 Instrument subsystem command Setting: :FORMat[:READings][:DATA] <Character Data> The valid value of <Character Data> is: 0 or ASCii, 1 or REAL ASCii: The transmission format of the numeric data is <NRf> form. REAL: The transmission format of the numeric data is IEEE 754 64, and each data has 8 bytes.
  • Page 76: Memory:catalog:status

    3 SCPI 3.3 Instrument subsystem command Reset None status: :MEMory:CATalog:Status? Function: List the save recall configuration in the microwave power meter. The data format is: <Value 1>, <Value 2>{, <String>} The <Value 1> represents the length of bytes used by the user in the configuration, and <Value 2>...
  • Page 77: Memory:clear:table[1]|2|3|4|5|6|7|8|9|10

    3 SCPI 3.3 Instrument subsystem command language switch of the interface, namely, the following two commands will be used to clear the Status 1 (English name is recommended): MEM:CLE "State1" MEM:CLE "State1" If there is no specified name, it will prompt “-224, "Invalid Parameter Value"” Error information: Reset...
  • Page 78: Memory:table[1]|2|3|4|5|6|7|8|9|10:Define

    3 SCPI 3.3 Instrument subsystem command Setting: Not supported Example: MEM:STAT:CAT? :MEMory:TABLe[1]|2|3|4|5|6|7|8|9|10:DEFine Function: Query or set name of the specified FDO table. Query: :MEMory:TABLe[1]|2|3|4|5|6|7|8|9|10:DEFine? Setting: :MEMory:TABLe[1]|2|3|4|5|6|7|8|9|10:DEFine <String> Example: MEM:TABL6:DEF? Query name of the 6 FDO table. MEM:TABL8:DEF "fdo0" Name the 8 FDO table as fdo0.
  • Page 79: Output (Output)

    3 SCPI 3.3 Instrument subsystem command Data n>} The number of the maximum gain point is 80. The unit is PCT, namely 100 represents 100% The amplitude gain range is 1.0e-009 - 1.0e+009, namely -90 dB - 90 dB. Example: MEM:TABL6:GAIN? Query the gain list of the 6 FDO table.
  • Page 80 Query the upper limit of the output power level of the calibrator. OUTP: LEV:POW DEF Set the output power level of the calibrator to 0 dBm. Limit: It is supported by 2436 but not supported by 2438. Reset Set it to 0 dBm status: :OUTPut:RECorder[1]|2:FEED Function: Query or set measurement input of the recorder, namely, which measurement will be sent to the recorder.
  • Page 81 -180 dB ~ 180 dB %: 0% ~ 100X% Example: OUTP:REC1:LIM:LOW? OUTP:REC1:LIM:LOW -90 Limit: It is supported by 2436 but not supported by 2438. Reset Set the lower limit of the recorder to -70 dBm status: :OUTPut:RECorder[1]|2:LIMit:UPPer Function: Query or set the upper limit power of the recorder. Its unit will be determined by the unit of the window specified by OUTPut:RECorder[1]|2:FEED.
  • Page 82: Statistic (Pstatistic)

    Query the upper limit of the output power level of the calibrator. OUTP:ROSC:LEV DEF Set the output power level of the calibrator to 0 dBm. Limit: It is supported by 2436 but not supported by 2438. Reset Set it to 0 dBm status: :OUTPut:ROSCillator[:Status] Function: Query or set the output status of the calibrator.
  • Page 83: Function (Ccdf) And Density Distribution Function(Pdf).  :Pstatistic:ccdf:count

    3 SCPI 3.3 Instrument subsystem command  :PSTatistic[1]|2:CCDF:TABLe? .................. :PSTatistic[1]|2:CCDF:TIME .................. :PSTatistic[1]|2:CCDF:TRACe:MARKer[1]|2[:SET] .............  :PSTatistic[1]|2:CCDF:TRACe:POWer:AVERage? ............ :PSTatistic[1]|2:CCDF:TRACe:POWer:PEAK? ............ :PSTatistic[1]|2:CCDF:TRACe:POWer:PTAVerage? ...........  :PSTatistic[1]|2:CCDF:TRACe[:Status] ................  :PSTatistic:CCDF:Y:MAX ..................... :PSTatistic[1]|2:CCDF:COUNt Function: Query or set the total number of statistical terminations, which can be in the form of 1.2 G. The total number of statistics of the two channels is shared, namely, once the total number of statistics of channel A is set, the statistics of channel B will be changed accordingly.
  • Page 84: Pstatistic[1]|2:Ccdf:data:max

    3 SCPI 3.3 Instrument subsystem command command and before reading the data. Firstly read the first two bytes (#n) to determine the length of the subsequent data block. After that, read n bytes, calculate number of subsequent bytes N, and finally read N bytes. N bytes are the real trace data. Error If the given channel is not connected with the sensor or it is connected with the CW sensor, it will prompt “-241, “Hardware Missing"”;...
  • Page 85: Pstatistic:ccdf:gaussian:marker[1]|2[:Set]

    3 SCPI 3.3 Instrument subsystem command Query: :PSTatistic[1]|2:CCDF:END:ACTion? Setting: :PSTatistic[1]|2:CCDF:END:ACTion <Character Data> The <Character Data> includes: STOP, FLUSh and DECimate Example: PST:CCDF:END:ACT? Query the statistical termination. Set the “STOP” statistical termination. PST:CCDF:END:ACT STOP Limit: It is only valid for the peak sensor (8170X). Reset Set the termination to STOP.
  • Page 86: Pstatistic:ccdf:marker:delta

    3 SCPI 3.3 Instrument subsystem command Example: PST:CCDF:MARK1:DATA? Query the power and probability of mark 1. Limit: It is only valid for the peak sensor (8170X). Error If the current display mode is not the statistical trace or statistical table, it will prompt “-221, “Settings Conflict"”.
  • Page 87: Pstatistic[1]|2:Ccdf:probability

    3 SCPI 3.3 Instrument subsystem command specified probability. Query: :PSTatistic[1]|2:CCDF:POWer? <NRf> The range of <NRf> is 0 - 100%. Setting: Not supported Example: PST2:CCDF:POW? 10 Query the power with 10% probability in channel Limit: It is only valid for the peak sensor (8170X). Error If no channel is connected with the sensor or it is only connected with the CW sensor, it will prompt “-241, “Hardware Missing"”;...
  • Page 88: Pstatistic:ccdf:reference:marker[1]|2[:Set]

    3 SCPI 3.3 Instrument subsystem command If the current display mode is not the statistical trace or statistical table, it will prompt “-221, “Settings Conflict"”. If there is no reference data, it will prompt “-221, "Settings Conflict"”. :PSTatistic:CCDF:REFerence:MARKer[1]|2[:SET] Function: Set the mark to the reference statistics curve. Relevant command: PSTatistic:CCDF:GAUSsian:MARKer[1]|2[:SET] PSTatistic:CCDF:TRACe:MARKer[1]|2[:SET]...
  • Page 89: Pstatistic:ccdf:reference[:Status]

    3 SCPI 3.3 Instrument subsystem command “-221, “Settings Conflict"”. information: If there is no reference data, it will prompt “-221, "Settings Conflict"”. :PSTatistic:CCDF:REFerence[:Status] Function: Query or set the display status of the reference statistics curve. Query: :PSTatistic:CCDF:REFerence[:Status]? Setting: :PSTatistic:CCDF:REFerence[:Status] <Boolean Data> The effective form of <Boolean Data>...
  • Page 90: Pstatistic[1]|2:Ccdf:trace:marker[1]|2[:Set]

    3 SCPI 3.3 Instrument subsystem command termination time of channel A is set, that of channel B will be changed accordingly. Relevant command: :PSTatistic[1]|2:CCDF:COUNt :PSTatistic[1]|2:CCDF:END:ACTion Query: :PSTatistic:CCDF:TIME? [MIN|MAX] Setting: :PSTatistic:CCDF:TIME <Numeric Data> The valid value of the numeric data includes: DEF, MIN, MAX and <NRf>, and DEF and <NRf>...
  • Page 91: Pstatistic[1]|2:Ccdf:trace:power:ptaverage

    3 SCPI 3.3 Instrument subsystem command Query: :PSTatistic[1]|2:CCDF:TRACe:POWer:PEAK? Setting: Not supported Example: PST:CCDF:TRAC:POW:PEAK? Limit: It is only valid for the peak sensor (8170X). Error If the given channel is not connected with the sensor or it is connected with the CW sensor, it will prompt “-241, “Hardware Missing"”;...
  • Page 92: Sense (Sense)

    3 SCPI 3.3 Instrument subsystem command status: Error information: 3.3.9 Sense (SENSe)  [:SENSe[1]|2]:ADJunct[:Status] ...................  [:SENSe[1]|2]:AVERage[1]|2:COUNt ................ [:SENSe[1]|2]:AVERage:COUNt:AUTO ...............  [:SENSe[1]|2]:AVERage:SDETect ................ [:SENSe[1]|2]:AVERage[1][:Status] ................ [:SENSe[1]|2]:CORRection:CSET2[:SELect]...............  [:SENSe[1]|2]:CORRection:CSET2:Status .............. [:SENSe[1]|2]:CORRection:FDOFfset[:INPut][:MAGNitude]? ........ [:SENSe[1]|2]:CORRection:GAIN[1]|2|3|4[:INPut][:MAGNitude] .........  [:SENSe[1]|2]:CORRection:GAIN[1]|2|3|4[:INPut]:Status .............
  • Page 93: [:Sense[1]|2]:Average[1]|2:Count

    Query the accessory compensation switch of channel A. SENS2:ADJ 0 Disable the accessory compensation of channel Limit: It is supported by 2436 but not supported by 2438. It is only valid for the peak sensor (8170X). Reset Set the accessory compensation to ON. status:...
  • Page 94: [:Sense[1]|2]:Average[1][:Status]

    3 SCPI 3.3 Instrument subsystem command is intended to shorten the filtering time when the power changes obviously. Query: [:SENSe[1]|2]:AVERage:SDETect? Setting: [:SENSe[1]|2]:AVERage:SDETect <Boolean Data> The effective form of <Boolean Data> includes 0, OFF, 1 and ON Example: SENS1:AVER:SDET? Query the step detection status of channel A. SENS2:AVER:SDET 1 Enable the step detection of channel B.
  • Page 95: [:Sense[1]|2]:Correction:fdoffset[:Input][:Magnitude]

    3 SCPI 3.3 Instrument subsystem command If the point of the currently selected FDO table is 0, it will prompt “-221, "Settings Conflict"”. Reset It will not affect the enable status of FDO table. status: [:SENSe[1]|2]:CORRection:FDOFfset[:INPut][:MAGNitude]? Function: Query the currently used FDO factor of the specified channel. The unit is PCT, namely 100 represents 100%.
  • Page 96: [:Sense[1]|2]:Frequency[:Cw|Fixed]

    3 SCPI 3.3 Instrument subsystem command The effective form of <Boolean Data> includes 0, OFF, 1 and ON Example: SENS2:CORR:GAIN2:STAT? Query the channel offset enable status of channel CORR:GAIN2:STAT 1 Enable the channel offset of channel A. [:SENSe[1]|2]:FREQuency[:CW|FIXed] Function: Query or set the frequency of the specified channel. Query: [:SENSe[1]|2]:FREQuency[:CW|FIXed]? [MIN|MAX] Setting:...
  • Page 97: [:Sense[1]|2]:Pulse:distal

    3 SCPI 3.3 Instrument subsystem command Limit: It is only valid for the CW sensor (7171X). Reset Set it to automatic range. status: [:SENSe[1]|2]:PULSe:DISTal Function: Query and set the Distal Line in the pulse measurement to calculate the pulse transition duration (rising time or falling time).
  • Page 98: [:Sense[1]|2]:Pulse:proximal

    3 SCPI 3.3 Instrument subsystem command The range of <NRf> is 0 - 100, The DEF is 50 The MIN is 0 The MAX is100。 Example: SENS2:PULS:MES? Query the pulse Mesial Line setting value of channel B. PULS:MES 25 Set the pulse Mesial Line of channel A to 25%. Limit: It is only valid for the peak sensor (8170X).
  • Page 99: [:Sense[1]|2]:Sweep[1]|2|3|4:Auto

    Example: ROSC:SOUR? Query the current calibrator. ROSC:SOUR 0 Select 50 MHz calibrator. Limit: It is supported by 2436 but not supported by 2438. Reset Select 50 M calibrator. status: [:SENSe[1]|2]:SWEep[1]|2|3|4:AUTO Function: Query or set the automatic gate status of the specified gate. It is only valid for the peak sensor.
  • Page 100: [:Sense[1]|2]:Sweep[1]|2|3|4:Offset:time

    3 SCPI 3.3 Instrument subsystem command Pulse duration (PD) Fig.3.4 Pulse Reference Ratio Query: [:SENSe[1]|2]:SWEep[1]|2|3|4:AUTO:REFernce[1]|2? Setting: [:SENSe[1]|2]:SWEep[1]|2|3|4:AUTO:REFernce[1]|2 <NRf> The range of <NRf> is 0 - 99.9, unit: PCT. The combination of REF1 and REF2 shall not be greater than 99.9 Example: SENS2:SWE2:AUTO:REF2? Query the reference ratio of the right mark of...
  • Page 101: [:Sense[1]|2]:Sweep[1]|2|3|4:Time

    3 SCPI 3.3 Instrument subsystem command SENS2:SWE2:OFFS:TIME 1e-6 Set the start time of the gate 2 of channel B to 1 μs. Limit: It is only valid for the peak sensor (8170X). Reset Set the start time of all the gates to 0. status: Error If the given channel is not connected with the sensor or it is connected with the CW...
  • Page 102: [:Sense[1]|2]:Trace:autoscale

    3 SCPI 3.3 Instrument subsystem command out of Range”. If the start time of the gate is 20 us; The horizontal scale is 10 us/Div; The trigger delay is 0; The horizontal start is “Left”. The range of the length of the gate will be 0 - 80 us. When MIN is made as the reference for query, 0 will be returned;...
  • Page 103: [:Sense[1]|2]:Trace:limit:upper

    3 SCPI 3.3 Instrument subsystem command Example: SENS2:TRAC:LIM:LOW? Query the lower power limit of the trace of channel SENS1:TRAC:LIM:LOW -20 Set the lower power limit of the trace of channel A to -20 dB. Limit: It is only valid for the peak sensor (8170X). Reset Set the lower power limit to -60 dBm status:...
  • Page 104: [:Sense[1]|2]:Trace:time

    For 2436, the horizontal parameters of the two channels are shared, namely, once the horizontal parameter of channel A is set, that of channel B will be changed accordingly. For 2438, the two channels are independently set. Error If the given channel is not connected with the sensor or it is connected with the CW sensor, it will prompt “-241, “Hardware Missing"”.
  • Page 105: [:Sense[1]|2]:Trace:x:scale:pdiv

    For 2436, the horizontal parameters of the two channels are shared, namely, once the horizontal parameter of channel A is set, that of channel B will be changed accordingly. For 2438, the two channels are independently set. Error If the given channel is not connected with the sensor or it is connected with the CW sensor, it will prompt “-241, “Hardware Missing"”.
  • Page 106: Status (Status)

    3 SCPI 3.3 Instrument subsystem command The range of <NRf> is 0.01 dB - 20 dB in case of logarithmic display The range of <NRf> is 1 nW - 10 MW in case of linear display. Example: SENS2:TRAC:Y:SCAL:PDIV? Query the vertical scale of channel B. TRAC:Y:SCAL:PDIV 10 Set the vertical scale of channel A to 10 (dB or W).
  • Page 107 3 SCPI 3.3 Instrument subsystem command  :Status:OPERation:TRIGger[:SUMMary]:NTRansition .......... :Status:OPERation:TRIGger[:SUMMary]:PTRansition .......... :Status:OPERation:ULFail[:SUMMary]:CONDition? .......... :Status:OPERation:ULFail[:SUMMary]:ENABle ............ :Status:OPERation:ULFail[:SUMMary][:EVENt]? ............ :Status:OPERation:ULFail[:SUMMary]:NTRansition .......... :Status:OPERation:ULFail[:SUMMary]:PTRansition .......... :Status:PRESet ...................... :Status:QUEStionable:CALibration[:SUMMary]:CONDition? ........ :Status:QUEStionable:CALibration[:SUMMary]:ENABle ...........  :Status:QUEStionable:CALibration[:SUMMary][:EVENt]? .........  :Status:QUEStionable:CALibration[:SUMMary]:NTRansition ........
  • Page 108: Command Set

    3 SCPI 3.3 Instrument subsystem command  Summary of device status register ................ Summary of operation status register…………………………………………………..  Summary of calibration operation status register ............  Summary of lower limit detection operation status register ........ Summary of Sense Operation Status register ...............
  • Page 109: Transition Filter

    3 SCPI 3.3 Instrument subsystem command The:ENABle used query calibrate operation register STATus:OPERation:CALibrating[:SUMMary] STATus:OPERation:CALibrating[:SUMMary]:ENABle 3.3.10.2 Transition filter For description of the transition filter, please refer to section 9.2 of SCPI-99. The brief introduction is given below. 1) Positive transition (PTR): When the condition is FALSE - TRUE, the event is set to TRUE. 2)...
  • Page 110 3 SCPI 3.3 Instrument subsystem command Not used Detection status of the sensor of channel Detection status of the sensor of channel Error status of the sensor of channel A Error status of the sensor of channel B Not used Not used Not used Not used...
  • Page 111 3 SCPI 3.3 Instrument subsystem command 13-14 Not used It is always 0 It includes 6 groups of operation registers:  Status:OPERation  Status:OPERation:CALibrating[:SUMMary]  Status:OPERation:LLFail[:SUMMary]  Status:OPERation:SENSe[:SUMMary]  Status:OPERation:TRIGger[:SUMMary]  Status:OPERation:ULFail[:SUMMary] Calibration summary Not used Not used Not used Not used Summary of waiting for trigger...
  • Page 112 3 SCPI 3.3 Instrument subsystem command 3.3.10.5 Summary calibration operation status register (Status:OPERation:CALibrating[:SUMMary]) Table3.13 Summary of Calibration Operation Status register Value Definition Not used Calibration status of channel A. Calibration status of channel B. 3-14 Not used It is always 0 The bit 1 and bit 2 represents the calibration status of channel A and channel B respectively.
  • Page 113 3 SCPI 3.3 Instrument subsystem command 3.3.10.6 Summary lower limit detection operation status register (Status:OPERation:LLFail[:SUMMary]) Table3.14 Summary of Lower Limit Detection Operation Status register Value Definition Not used Lower limit detection status of the upper measurement of the upper window Lower limit detection status of the upper measurement of the lower window Lower limit detection status of the lower measurement of the upper...
  • Page 114 3 SCPI 3.3 Instrument subsystem command Not used Not used Not used Lower limit detection status of the upper measurement of the upper window Lower limit detection status of the upper measurement of the lower window Lower limit detection status of the lower measurement of the upper window Lower limit detection status of the lower measurement of the lower window...
  • Page 115 3 SCPI 3.3 Instrument subsystem command Not used Reading sensor EEPROM status of channel A Reading sensor EEPROM status of channel Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used It is always 0...
  • Page 116 3 SCPI 3.3 Instrument subsystem command Not used Trigger status of channel A Trigger status of channel B Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used It is always 0 Trigger operation status...
  • Page 117 3 SCPI 3.3 Instrument subsystem command 7-14 Not used It is always 0 Bit 3 - Bit 6 represents the failure detection status of the upper limit of the corresponding window, and 1 means that it is out of the upper limit. Not used Not used Not used...
  • Page 118 3 SCPI 3.3 Instrument subsystem command Power-on self-test 10-14 Not used It is always 0 It includes 3 groups of operation registers:  Status:QUEStionable  Status:QUEStionable:Power[:SUMMary]  Status:QUEStionable:CALibration[:SUMMary] Not used Not used Not used Power summary Not used Not used Not used Not used Power-on...
  • Page 119 3 SCPI 3.3 Instrument subsystem command Value Definition Not used Zero and calibration error of channel A Zero and calibration error of channel B 3-14 Not used It is always 0 Not used Zero calibration error channel A Zero calibration error channel B Not used...
  • Page 120 3 SCPI 3.3 Instrument subsystem command Input Overload Ch1 Input Overload Ch2 The channel A shall be zeroed The channel B shall be zeroed The data of the upper measurement of the upper window is invalid, or the log error occurs The data of the upper measurement of the lower window is invalid, or the log error occurs The data of the lower measurement of the upper window is invalid, or...
  • Page 121: Status:device:condition

    3 SCPI 3.3 Instrument subsystem command Not used Input Overload ChAA Input Overload ChB The channel A shall be zeroed The channel B shall be zeroed The data of the upper measurement of the upper window is invalid, or the log error occurs The data of the upper measurement of the lower window is invalid, or the log error occurs...
  • Page 122: Status:device[:Event]

    3 SCPI 3.3 Instrument subsystem command represents enable. Query: :Status:DEVice:ENABle? Setting: :Status:DEVice:ENABle <NRf>|<Non-decimal> The range of the parameter is 0 - 32767. Example: STAT:DEV:ENAB? Query the device status event enable register. STAT:DEV:ENAB 6 Enable the Bit 1 and Bit 2, namely, allow reporting the sensor detection event to the status byte.
  • Page 123: Status:operation:calibrating[:Summary]:Enable

    3 SCPI 3.3 Instrument subsystem command For the returned value, if the Bit 1 is non-zero, it means that channel A is being zeroed or calibrated; if the Bit 2 is non-zero, it means that channel B is being zeroed or calibrated. If 2 is returned, it means that channel A is being zeroed and calibrated.
  • Page 124: Status:operation:condition

    3 SCPI 3.3 Instrument subsystem command The range of the parameter is 0 - 32767. Example: STAT:OPER:CAL:PTR? STAT:OPER:CAL:PTR 6 Report the status of the Bit 1 and Bit 2 of the positive transition filter to the event register. STAT:OPER:CAL:PTR #B0110 The meaning is the same as above, and binary number is used.
  • Page 125: Status:operation:ptransition

    3 SCPI 3.3 Instrument subsystem command Setting: :Status:OPERation:NTRansition <NRf>|<Non-decimal> The range of the parameter is 0 - 32767. Example: STAT:OPER:NTR? STAT:OPER:NTR 1 Report the status of the Bit 0 of the negative transition filter to the event register. STAT:OPER:NTR #B0001 The meaning is the same as above, and binary number is used.
  • Page 126: Status:operation:llfail[:Summary][:Event]

    3 SCPI 3.3 Instrument subsystem command number is used. STAT:OPER:LLF:ENAB #H08 The meaning is the same as above, and hexadecimal number is used. :Status:OPERation:LLFail[:SUMMary][:EVENt]? Function: Query the lower limit detection operation event register. The power meter will automatically reset the register after the query. Query: :Status:OPERation:LLFail[:SUMMary][:EVENt]? Setting:...
  • Page 127: Status:operation:sense[:Summary]:Enable

    3 SCPI 3.3 Instrument subsystem command :Status:OPERation:SENSe[:SUMMary]:ENABle Function: Query or set the sense operation event enable register. Carry out bitwise-operation. 0 means that it is forbidden to report the sense operation status event to the Bit 10 of the operation status. 1 represents enable. Query: :Status:OPERation:SENSe[:SUMMary]:ENABle? Setting:...
  • Page 128: Status:operation:trigger[:Summary]:Condition

    3 SCPI 3.3 Instrument subsystem command hexadecimal number is used. :Status:OPERation:TRIGger[:SUMMary]:CONDition? Function: Query the value in the trigger operation status condition register. For the returned value, if the Bit 1 is non-zero, it means that channel A is waiting for trigger; if the Bit 2 is non-zero, it means that channel B is waiting for trigger.
  • Page 129: Status:operation:trigger[:Summary]:Ptransition

    3 SCPI 3.3 Instrument subsystem command :Status:OPERation:TRIGger[:SUMMary]:PTRansition Function: Query or set the trigger operation positive transition filter. Query: :Status:OPERation:TRIGger[:SUMMary]:PTRansition? Setting: :Status:OPERation:TRIGger[:SUMMary]:PTRansition <NRf>|<Non-decimal> The range of the parameter is 0 - 32767. Example: STAT:OPER:TRIG:PTR? STAT:OPER:TRIG:PTR 6 Report the status of the Bit 1 and Bit 2 of the positive transition filter to the event register.
  • Page 130: Status:operation:ulfail[:Summary]:Ntransition

    3 SCPI 3.3 Instrument subsystem command :Status:OPERation:ULFail[:SUMMary]:NTRansition Function: Query or set the upper detection operation negative transition filter. Query: :Status:OPERation:ULFail[:SUMMary]:NTRansition? Setting: :Status:OPERation:ULFail[:SUMMary]:NTRansition <NRf>|<Non-decimal> The range of the parameter is 0 - 32767. Example: STAT:OPER:ULF:NTR? STAT:OPER:ULF:NTR 8 Report the status of the Bit 3 of the negative transition filter to the event register.
  • Page 131: Status:questionable:calibration[:Summary]:Condition

    3 SCPI 3.3 Instrument subsystem command :Status:QUEStionable:CALibration[:SUMMary]:CONDition? Function: Query the value in the calibration questionable status condition register. For the returned value, if the Bit 1 is non-zero, it represents zero and calibration error of channel A; if the Bit 2 is non-zero, it represents zero and calibration error of channel B. If 2 is returned, it represents zero and calibration error of channel A.
  • Page 132: Status:questionable:condition

    3 SCPI 3.3 Instrument subsystem command Query: :Status:QUEStionable:CALibration[:SUMMary]:PTRansition? Setting: :Status:QUEStionable:CALibration[:SUMMary]:PTRansition <NRf>|<Non-decimal> The range of the parameter is 0 - 32767. Example: STAT:QUES:CAL:PTR? STAT:QUES:CAL:PTR 6 Report the status of the Bit 1 and Bit 2 of the positive transition filter to the event register. STAT:QUES:CAL:PTR #B0110 The meaning is the same as above, and binary number is used.
  • Page 133: Status:questionable:ptransition

    3 SCPI 3.3 Instrument subsystem command Query: :Status:QUEStionable:NTRansition? Setting: :Status:QUEStionable:NTRansition <NRf>|<Non-decimal> The range of the parameter is 0 - 32767. Example: STAT:QUES:NTR? STAT:QUES:NTR 8 Report the status of the Bit 3 of the negative transition filter to the event register. STAT:QUES:NTR #B1000 The meaning is the same as above, and binary number is used.
  • Page 134: Status:questionable:power[:Summary][:Event]

    3 SCPI 3.3 Instrument subsystem command Query: :Status:QUEStionable:POWer[:SUMMary]:ENABle? Setting: :Status:QUEStionable:POWer[:SUMMary]:ENABle <NRf>|<Non-decimal> The range of the parameter is 0 - 32767. Example: STAT:QUES:POW:ENAB? STAT:QUES:POW:ENAB 6 Enable the Bit 1 and Bit 2, namely, allow reporting the power questionable event to the questionable status.
  • Page 135 3 SCPI 3.3 Instrument subsystem command P ower ques t ionable s umm ary Data questionable status Equipment status Input overload of channelA Detect i o n statu s of th e senso r of ch anne l A Input overload of channelB Detect i o n statu s of th e senso r of ch anne l B The channel A shall be zeroed Sensor error of channelA...
  • Page 136: System (System)

    Example: SYST:BEEP:STAT? Query the switch state of the beeper. SYST:BEEP:STAT ON Turn on the beeper. Setting: The command is not supported by 2438, which is used for extension. Reset Turn on the beeper. status: :SYSTem:COMMunicate:GPIB[:SELF]:ADDRess Function: Query or set GPIB address.
  • Page 137: Reset Not Affected

    3 SCPI 3.3 Instrument subsystem command The DEF is 13 The MIN is 0 The MAX is 30 Example: SYST:COMM:GPIB:ADDR? Query GPIB address of the power meter. SYST:COMM:GPIB:ADDR? MAX Query the maximum settable GPIB address of the power meter. SYST:COMM:GPIB:ADDR 28 Set GPIB address of the power meter to 28.
  • Page 138: System:communicate:lan:mac

    3 SCPI 3.3 Instrument subsystem command Example: SYST:COMM:LAN:DGAT? Query gateway. SYST:COMM:LAN:DGAT Set gateway to 192.168.1.78. "192.168.1.78" :SYSTem:COMMunicate:LAN:MAC? Function: Query MAC address of LAN. Query: :SYSTem:COMMunicate:LAN:MAC? Setting: Not supported Example: SYST:COMM:LAN:MAC? :SYSTem:COMMunicate:LAN:RESTart Function: Restart the network. Query: Not supported Setting: :SYSTem:COMMunicate:LAN:RESTart Example: SYST:COMM:LAN:REST :SYSTem:COMMunicate:LAN:SMASk...
  • Page 139: System:display:bmp

    3 SCPI 3.3 Instrument subsystem command Example: SYST:DATE? Query the current date. SYST:DATE? MAX,MAX,MIN Query the settable maximum year, maximum month and minimum day. SYST:DATE UP,DEF,DEF The current date is increased by one year. SYST:DATE DEF,UP,DEF The current date is increased by one month. SYST:DATE DEF,DEF,DOWN The current date is decreased by one day.
  • Page 140: System:error[:Next]

    3 SCPI 3.3 Instrument subsystem command :SYSTem:ERRor[:NEXT]? Function: Return the error code and error information of the microwave power meter from its error queue. When an error occurs, the error code and error information can be saved in the error queue.
  • Page 141: System:local

    Return 0 if no key is pressed down. Press down “Menu” key. SYST:KEY 18 Limit: It is not supported by 2436 but supported by 2438. :SYSTem:LOCal Function: This command can unlock the front panel keyboard and allow controlling the microwave power meter with the front panel keyboard.
  • Page 142: Default

    3 SCPI 3.3 Instrument subsystem command  NADC .........................  IDEN ........................ DVB ........................ WIMAX .......................  DME ........................ DMEPRT ...................... HSDPA ....................... Example: SYST:PRES GSM900 The reset status is GSM900. Description: Description of main channel and secondary channel The double-channel power meter is defined as a main or a secondary channel.
  • Page 143 INIT[1]|2:CONT It is in the waiting for trigger status MEM:TABL:SEL Not affected Current FDO table Measurement window recorded OUTP:REC[1]|2:FEED (not supported by 2438) Not affected by the recorder OUTP:REC[1]|2:LIM:LOW (not supported by -70 dBm Lower limit of the recorder 2438)
  • Page 144: Gsm900

    3 SCPI 3.3 Instrument subsystem command selected FDO table [SENS[1]]|SENS2:CORR:FDOF|GAIN4 Not affected Return the FDO value [:INP][:MAGN] [SENS[1]]|SENS2:CORR:GAIN2:STAT Disable the channel offset [SENS[1]]|SENS2:CORR:GAIN2: 0.00dB The channel offset is 0 [:INPut][:MAGNitude] The frequency of channel is 50 [SENS[1]]|SENS2:FREQ[:CW|:FIX] 50MHz CW sensor: High For the CW sensor, it is high [SENS[1]]|SENS2:POW:AC:RANG Others: Not...
  • Page 145 3 SCPI 3.3 Instrument subsystem command the modulation spectrum can be minimized and the channel efficiency can be improved. The bit rate is the FSK modulation with 4 times of the frequency offset, which is called as MSK (minimum frequency shift keying). In GSM, the Gaussian pre-modulation filter is used to further reduce the modulation spectrum.
  • Page 146: Edge

    3 SCPI 3.3 Instrument subsystem command Table3.26 GSM900 Secondary Channel Preset Status Secondary channel sensor Function Unconnected sensor CW sensor Peak sensor Display setting Lower window Single value Double-value Double-value Window/measurement setting Lower measurement of the lower window (LL) Secondary channel Secondary channel Input...
  • Page 147: Cdmaone

    3 SCPI 3.3 Instrument subsystem command Upper measurement of the upper window (UU) Input Measurement Lower measurement of the upper window (UL) Input Measurement Upper measurement of the lower window (LU) Input Main channel gate 1 Measurement Average power Lower measurement of the lower window (LL) Input See Table 3.29 Measurement...
  • Page 148 3 SCPI 3.3 Instrument subsystem command Set the display time length of the [SENS[1]]|SENS2:TRACe:TIME 10ms trace TRIG[:SEQ]:DEL Trigger Delay TRIG[:SEQ]:LEV -5 dBm Trigger level Signal‟s rising edge TRIG[:SEQ]:SLOP TRIG[:SEQ[1]|2]:SOUR INT1 Trigger source Table3.31 CDMAone Window Measurement Setting Function Setting Display setting Upper window See Table 3.32 Lower window...
  • Page 149: Cdma2000

    3 SCPI 3.3 Instrument subsystem command Input Main channel gate 1 Secondary channel Secondary channel gate 1 Measurement Average power 5)CDMA2000 和 WCDMA It is known as 3G 1X or 1xRTT, which is the core of 3G CDMA2000 technology. The 1x is usually used to refer to CDMA2000 wireless technology with a pair of 1.25 MHz radio channels.
  • Page 150: Bluetooth

    3 SCPI 3.3 Instrument subsystem command Measurement See Table 3.35 Table3.35 CDMA2000 and WCDMA: Secondary Channel Preset Status Secondary channel sensor Function Unconnected sensor CW sensor Peak sensor Display setting Upper window Single value Double-value Double-value Lower window Double-value Double-value Double-value Window/measurement setting Lower measurement of the upper window (UL)
  • Page 151: Mcpa

    3 SCPI 3.3 Instrument subsystem command Function Setting Display setting Upper window Main channel trace display Lower window See Table 3.38 Window/measurement setting Upper measurement of the upper window (UU) Input Measurement Lower measurement of the upper window (UL) Input Measurement Upper measurement of the lower window (LU) Input...
  • Page 152 3 SCPI 3.3 Instrument subsystem command Gate 1:10ms [SENS[1]]|SENS2:SWE[1]|2|3|4:TIME Set the length of the gate Others: 0 [SENS[1]]|SENS2:TRAC:LIM:LOW -50 dBm Lower limit of the trace display [SENS[1]]|SENS2:TRAC:LIM:UPP 30 dBm Upper limit of the trace display Set the minimum display time of [SENS[1]]|SENS2:TRACe:OFFSet:TIME the trace Set the display time length of the...
  • Page 153: Radar

    3 SCPI 3.3 Instrument subsystem command Input Main channel gate 1 Main channel gate 1 Measurement Peak Peak Upper measurement of the lower window (LU) Secondary channel Input Main channel gate 1 Main channel gate 1 gate 1 Measurement Peak Average power Lower measurement of the lower window (LL)
  • Page 154: Wl802Dot11A

    3 SCPI 3.3 Instrument subsystem command Lower measurement of the upper window (UL) Input See Table 3.44 Measurement See Table 3.44 Upper measurement of the lower window (LU) Input See Table 3.44 Measurement See Table 3.44 Lower measurement of the lower window (LL) Input See Table 3.44 Measurement...
  • Page 155 3 SCPI 3.3 Instrument subsystem command [SENS[1]]|SENS2:TRAC:LIM:UPP 30 dBm Upper limit of the trace display [SENS[1]]|SENS2:TRACe:OFFSet:TIME Set the minimum display time of the trace [SENS[1]]|SENS2:TRACe:TIME 50us Set the display time length of the trace TRIG[:SEQ]:DEL Trigger Delay TRIG[:SEQ]:LEV -5 dBm Trigger level Signal‟s rising edge TRIG[:SEQ]:SLOP...
  • Page 156: Wl802Dot11B

    3 SCPI 3.3 Instrument subsystem command Measurement Peak Average power Lower measurement of the lower window (LL) Input Main channel gate 1 Secondary channel Secondary channel gate 1 Measurement Average power 10) 802.11b/g (WL802DOT11B) The unlisted portion in the following settings is the same as DEFault. Table3.48 802.11b/g Preset Status Command...
  • Page 157: Xevdo

    3 SCPI 3.3 Instrument subsystem command Lower measurement of the lower window (LL) Input See Table 3.50 Measurement See Table 3.50 Table3.50 802.11b/g Secondary Channel Preset Status Secondary channel sensor Function Unconnected sensor CW sensor Peak sensor Display setting Upper window Single value Double-value Double-value...
  • Page 158 3 SCPI 3.3 Instrument subsystem command Set the minimum display time of [SENS[1]]|SENS2:TRACe:OFFSet:TIME the trace Set the display time length of the [SENS[1]]|SENS2:TRACe:TIME trace to 1 ms -40 μs TRIG[:SEQ]:DEL Trigger Delay TRIG[:SEQ]:LEV -5 dBm Trigger level Signal‟s rising edge TRIG[:SEQ]:SLOP TRIG[:SEQ[1]|2]:SOUR INT1...
  • Page 159 3 SCPI 3.3 Instrument subsystem command Table3.54 NADC Preset Status Command Setting Description [SENS[1]]|SENS2:FREQ[:CW|:FIX] 800MHz Frequency of channel Gate 1: 123.5 us [SENS[1]]|SENS2:SWE[1]|2|3|4:OFFS:TIME Set the start time of the gate Gate 2: 20.123ms Others: 0 Gate 1/2: 6.46 ms [SENS[1]]|SENS2:SWE[1]|2|3|4:TIME Set the length of the gate Others: 0 [SENS[1]]|SENS2:TRAC:LIM:LOW...
  • Page 160 3 SCPI 3.3 Instrument subsystem command Lower window Double-value Double-value Double-value Window/measurement setting Lower measurement of the lower window (LL) Secondary channel Input Main channel gate 2 Secondary channel gate 1 Measurement Average power Average power Average power 13) iDEN The unlisted portion in the following settings is the same as DEFault.
  • Page 161 3 SCPI 3.3 Instrument subsystem command Upper measurement of the lower window (LU) Input See Table 3.59 Measurement See Table 3.59 Lower measurement of the lower window (LL) Input See Table 3.59 Measurement See Table 3.59 Table3.59 iDEN Secondary Channel Preset Status Secondary channel sensor Function Unconnected sensor...
  • Page 162 3 SCPI 3.3 Instrument subsystem command Set the display time length of [SENS[1]]|SENS2:TRACe:TIME 100ms the trace TRIG[:SEQ]:DEL Trigger Delay TRIG[:SEQ]:LEV -5 dBm Trigger level Signal‟s rising edge TRIG[:SEQ]:SLOP TRIG[:SEQ[1]|2]:SOUR INT1 Trigger source Table3.61 DVB: Window Measurement Setting Function Setting Display setting Upper window See Table 3.62 Lower window...
  • Page 163 3 SCPI 3.3 Instrument subsystem command Secondary channel Input Main channel gate 2 Secondary channel gate 1 Measurement Average power Average power 15) WiMAX Worldwide Interoperability for Microwave Access. Due to low cost, the broadband wireless market will be expanded and the recognition of enterprising and service providers will be improved after combining the technology with microwave device with/without authorization requirement.
  • Page 164 3 SCPI 3.3 Instrument subsystem command Measurement See Table 3.65 Lower measurement of the lower window (LL) Input See Table 3.65 Measurement See Table 3.65 Table3.65 WiMAX Secondary Channel Preset Status Secondary channel sensor Function Unconnected sensor CW sensor Peak sensor Window/measurement setting Upper measurement of the lower window (LU) Secondary channel...
  • Page 165 3 SCPI 3.3 Instrument subsystem command Function Setting Display setting Upper window See Table 3.68 Lower window See Table 3.68 Window/measurement setting Upper measurement of the upper window (UU) Input See Table 3.68 Measurement See Table 3.68 Lower measurement of the upper window (UL) Input See Table 3.68 Measurement...
  • Page 166 3 SCPI 3.3 Instrument subsystem command 17)DMEPRT The unlisted portion in the following settings is the same as DEFault. Table3.69 DME-PRT Preset Status Command Setting Description [SENS[1]]|SENS2:AVER:COUN Filtering length [SENS[1]]|SENS2:FREQ[:CW|:FIX] 1.1GHz Frequency of channel Gate 2: 8 us [SENS[1]]|SENS2:SWE[1]|2|3|4:OFFS:TIME Set the start time of the gate Others: 0 Gate 1: 6 us [SENS[1]]|SENS2:SWE[1]|2|3|4:TIME...
  • Page 167 3 SCPI 3.3 Instrument subsystem command Measurement See Table 3.71 Table3.71 DME-PRT Secondary Channel Preset Status Secondary channel sensor Function Unconnected sensor CW sensor Peak sensor Display setting Upper window Trace display Double-value Double-value Lower window Double-value Double-value Double-value Window/measurement setting Upper measurement of the upper window (UU) Input Main channel gate 1...
  • Page 168 3 SCPI 3.3 Instrument subsystem command Signal‟s rising edge TRIG[:SEQ]:SLOP TRIG[:SEQ[1]|2]:SOUR INT1 Trigger source Table3.73 HSDPA Window Measurement Setting Function Setting Display setting Upper window See Table 3.74 Lower window See Table 3.74 Window/measurement setting Upper measurement of the upper window (UU) Input Main channel gate 1 Measurement...
  • Page 169: System:remote

    3 SCPI 3.3 Instrument subsystem command :SYSTem:REMote Lock other keys except the “Local” key. Display “Remote Control” (RMT) in the status bar. Function: When the keyboard operation of the front panel is disabled and it shall be unlocked, please press down “Local” key. Or send “SYST:LOC” command. Query: Not supported Setting:...
  • Page 170: Trace (Trace)

    3 SCPI 3.3 Instrument subsystem command 3.3.12 Trace (TRACe)  :TRACe[1]|2[:DATA]? .................... :TRACe[1]|2:DEFine:DURation:REFerence .............. 162  :TRACe[1]|2:DEFine:TRANsition:REFerence............163  :TRACe[1]|2:MEASurement:INSTant:REFerence? ........... 163  :TRACe[1]|2:MEASurement:PULSe:DCYCle? ............164  :TRACe[1]|2:MEASurement:PULSe:DURation? ............164  :TRACe[1]|2:MEASurement:PULSe:PERiod? ............164  :TRACe[1]|2:MEASurement:PULSe:SEParation? ............. 164  :TRACe[1]|2:MEASurement:REFerence? ..............
  • Page 171: Trace[1]|2:Define:transition:reference

    3 SCPI 3.3 Instrument subsystem command The valid value of the numeric data includes: DEF, MIN, MAX and <NRf>, and DEF and <NRf> are only used for setting. The range of <NRf> is 0 - 100, and DEF is 50. Example: TRAC1:DEF:DUR:REF? Query the reference value for calculating the...
  • Page 172: Trace[1]|2:Measurement:pulse:dcycle

    3 SCPI 3.3 Instrument subsystem command Use the linear interpolation tx = t1 + (t2 - t1) * (Px - P1) / (P2 - P1) Query: :TRACe[1]|2:MEASurement:INSTant:REFerence? <Numeric Data> The valid value of the numeric data is MIN, MAX and <NRf>. The range of <NRf>...
  • Page 173: Trace[1]|2:Measurement:reference

    3 SCPI 3.3 Instrument subsystem command Query: :TRACe[1]|2:MEASurement:PULSe:SEParation? Setting: Not supported Example: TRAC2:MEAS:PULS:SEP? Query the pulse interval time (pulse closing time) of channel B. Limit: It is only valid for the peak sensor (8170X). If the measured value is invalid, “9.91E37” will be returned Description: Error If the given channel is not connected with the sensor or it is connected with the CW...
  • Page 174: Trigger (Initiate/Trigger)

    3 SCPI 3.3 Instrument subsystem command :TRACe[1]|2:MEASurement:TRANsition:POSitive:DURation? Function: Query the pulse positive transition duration (namely rising time). Query: :TRACe[1]|2:MEASurement:TRANsition:POSitive:DURation? Setting: Not supported Example: TRAC1:MEAS:TRAN:POS:DUR? Query the rising time. Limit: It is only valid for the peak sensor (8170X). Error If the given channel is not connected with the sensor or it is connected with the CW sensor, it will prompt “-241, “Hardware Missing"”;...
  • Page 175: Abort[1]|2

    3 SCPI 3.3 Instrument subsystem command  :TRIGger[:SEQuence]:SLOPe ...................  :TRIGger[:SEQuence[1]|2]:SOURce .................  :TRIGger[1]|2:SOURce ....................:ABORt[1]|2 Function: Stop measurement of corresponding channel of the microwave power meter. Restart measurement after sending INITiate:CONTinuous ON. Query: Not supported Setting: ABORt[1]|2 Example: ABOR Stop measurement of channel A.
  • Page 176: Initiate:continuous:sequence[1]|2

    3 SCPI 3.3 Instrument subsystem command Reset Set it to ON status: :INITiate:CONTinuous:SEQuence[1]|2 Function: Query or set the trigger status of the specified channel of the power meter: Single step and continuous When it is set to single step (OFF), wait for trigger until it is set to continuous (ON) or INITiate:IMMediate is received.
  • Page 177: Trigger:mode

    3 SCPI 3.3 Instrument subsystem command TRIGger[:SEQuence[1]|2][:IMMediate] Query: Not supported Setting: :TRIGger[1]|2[:IMMediate] Example: TRIG2 It sets channel B to the trigger waiting status immediately. :TRIGger:MODE Function: Query or set the trigger mode of the microwave power meter. Query: :TRIGger:MODE? Setting: :TRIGger:MODE <AUTO|NORMal|ALEVel|0|1|2>...
  • Page 178: Trigger[:Sequence[1]|2]:Holdoff

    Set the trigger delay to the default value (0 s). Limit: It is only valid for the peak sensor (8170X). Description: For 2436: The trigger delay of two channels shares settings; for 2438: The trigger delay of two channels is independent. Reset Set the trigger delay to 0 s.
  • Page 179: Trigger[:Sequence]:Level:auto

    Limit: It is only valid for the peak sensor (8170X). It is not supported by 2436 but supported by 2438. Reset Set the automatic level trigger to OFF, namely set the trigger mode to automatic trigger.
  • Page 180: Unit (Unit)

    3 SCPI 3.3 Instrument subsystem command The equivalent command: TRIGger[1]|2:SOURce Query: :TRIGger[:SEQuence[1]|2]:SOURce? Setting: :TRIGger[:SEQuence[1]|2]:SOURce <Character Data> The valid value of the character data is: BUS: The trigger source is a “*TRG” common command, or “TRIGger:IMMediate”SCPI. EXTernal1: The trigger source is trigger FEED1 on the rear panel. EXTernal 2: The trigger source is trigger FEED1 on the rear panel.
  • Page 181: Service (Service)

    3 SCPI 3.3 Instrument subsystem command The UNIT1 corresponds to the upper measurement of the upper window; The UNIT2 corresponds to the upper measurement of the lower window; The UNIT3 corresponds to the lower measurement of the upper window; The UNIT4 corresponds to the lower measurement of the lower window Query: :UNIT[1]|2|3|4:POWer? Setting:...
  • Page 182 3 SCPI 3.3 Instrument subsystem command CHINese or 0: Select Chinese ENGLish or 1: Select English Example: SERV:LANG? Query the language selection. SERV:LANG CHIN Set the language to Chinese Reset Not affected. status: :SERVice:SECure:ERASe Function: Erase the user storage information of the microwave power meter, including save recall status and last user configuration status.
  • Page 183 3 SCPI 3.3 Instrument subsystem command Example: SERV:SENS2:FREQ:MIN? Query the minimum frequency of the sensor of channel B. If the channel is not connected with the sensor, it will prompt “-241, "Hardware Missing"”. Error information: :SERVice:SENSor[1]|2:SNUMber? Function: Query the serial number of the sensor of the specified channel. The serial number of the sensor is saved in the sensor EEPROM.
  • Page 184: Programming Example

    4 Programming example 4.1 Basic operation example 4 Programming example  Basic operation example ....................  Advanced operation example ..................4.1 Basic operation example The basic methods for programming of remote control of the instrument through the VISA library are illustrated hereinafter.
  • Page 185: Initialization And Default Status Setting

    4 Programming example 4.1 Basic operation example  IBM compatible, Pentium PC and above;  Windows 2000, Windows XP, Windows7 or Windows8 and Windows10 operating systems;  Visual Studio 2010/2012 integrated development environment;  NI PCI-GPIB interface card or Keysight GPIB interface card; ...
  • Page 186: Sending Of Setting Command

    = viWrite(iDevHandle, "*CLS\n", strlen("*CLS\n"), &uiRetCnt); //reset status register iStatus = viWrite(iDevHandle, "*RST\n", strlen("*RST\n"), &uiRetCnt); //reset instrument 4.1.4 Sending of setting command /*************************************************************************/ The following example describes how to set the frequency of 2438 series microwave power meter. /*************************************************************************/ void SimpleSettings() ViStatus iStatus; ViUInt32 uiRetCnt;...
  • Page 187: Synchronization Of Command

    4 Programming example 4.1 Basic operation example iStatus = viWrite(iDevHandle, "FREQ?\n", strlen("FREQ?\n"), &uiRetCnt); Sleep(10); iStatus = viRead(iDevHandle, rgcBuf, size of(rgcBuf), &uiRetCnt); //Print debugging information printf("frequency %s", rgcBuf); 4.1.6 Synchronization of command /*************************************************************************/ The methods for command synchronization are illustrated hereinafter by taking sweep as an example. /*************************************************************************/ void SweepSync() ViStatus iStatus;...
  • Page 188: Advanced Operation Example

    4 Programming example 4.2 Advanced operation example iStatus = viWaitOnEvent(iDevHandle, VI_EVENT_SERVICE_REQ, 10000, &eType, &eEvent) //Wait for service request iStatus = viReadSTB(iDevHandle, &iStat); iStatus = viClose(eEvent); //close the event handle //Disable the SRQ event iStatus = viDisableEvent(iDevHandle, VI_EVENT_SERVICE_REQ, VI_QUEUE); //Continue running the main program…… 4.2 Advanced operation example ...
  • Page 189 4 Programming example 4.2 Advanced operation example #ifdef _UNICODE AfxMessageBox((CString)lpszText); #else AfxMessageBox(lpszText); #endif void SocketTest1(void) ViSession defaultRM; ViSession vi; ViStatus iStatus = 0; ViChar rgcSocket[VI_FIND_BUFLEN]; //for example:"TCPIP0::192.168.1.2::21::SOCKET" ViChar rgcBuf[256]; ViReal64 dFreq; iStatus = viOpenDefaultRM(&defaultRM); (iStatus < VI_SUCCESS) ShowMsg("Could not open a session to the VISA Resource Manager!\n");...
  • Page 190 4 Programming example 4.2 Advanced operation example sscanf(rgcBuf, "%lf", &dFreq); sprintf(rgcBuf, "Freq of Channel A is:%lg\n", dFreq); ShowMsg(rgcBuf); viClose(vi); //turn off the device viClose(defaultRM); //close the default task Realize network remote control with socket and C++ /************************************************************** In this case, the network remote control is realized with socket. Start VC6.0 or VC2013, and add necessary files.
  • Page 191 4 Programming example 4.2 Advanced operation example int iFlag; char rgcBuf[256]; iBufLen; (!AfxSocketInit()) //Internet access initialization ShowMsg("Initialization Fails"); else iFlag = client.Create(); (!iFlag) ShowMsg("Socket Creation Fails"); else ShowMsg("Socket Creation Succeeds"); iFlag = client.Connect(PM_IP_ADDR, PM_SOCKET_PORT); //connect the network port (!iFlag) ShowMsg("Connection Fails");...
  • Page 192: Gpib Remote Control Example

    4 Programming example 4.2 Advanced operation example (!iFlag) ShowMsg("Sending Fails"); else iFlag= client.Receive(rgcBuf, sizeof(rgcBuf), 0); //read from the network (!iFlag) ShowMsg("Connection Fails"); client.Close(); 4.2.2 GPIB remote control example  Before using the example .................. Realize setting and query functions control with VISA library and C language ..4.2.2.1 Before using the example If you use Keysight GPIB interface card, you must install Keysight VISA library correctly.
  • Page 193 4 Programming example 4.2 Advanced operation example void GpibTest1(void) ViSession defaultRM; ViSession vi; ViStatus iStatus = 0; ViChar rgcBuf[256]; ViByte cRead[256]; ViReal64 rgdFreq[2]; ViUInt32 uiRetCnt; sprintf(rgcBuf, "GPIB%d::%d::INSTR", GPIB_CARD_ID, MY_GPIB_ADDR); iStatus = viOpenDefaultRM(&defaultRM); //open GPIB task (iStatus) ShowMsg("The Task can‟t be Opened, Please Recheck the Device and Connect It\n");...
  • Page 194 4 Programming example 4.2 Advanced operation example viPrintf(vi, "SENS1:FREQ %lfGHz\n", 16.78); //3) Firstly query the frequency of channel A, and save it into rgdFreq[1] viPrintf(vi, "SENS1:FREQ?\n"); viScanf(vi, "%t", rgcBuf); //incorporate the query result into the array ShowMsg(rgcBuf); sscanf(rgcBuf, "%lf", &rgdFreq[1]); sprintf(rgcBuf, "The Frequency of Channel A is: %lg\n", rgdFreq[1]);...
  • Page 195: Error Description

    5 Error Description 5.1 Error information 5 Error Description This chapter will show you how to find out problems and accept after-sales service. and the error message of the microwave power meter will be explained.  Error information ......................187 ...
  • Page 196 5 Error Description 5.1 Error information “<Error Code>, "<Error Information in the Error Queue>; <Detailed Description of Error Information>” Example: “-110, "Data out of Range; Inputted Parameter out of Lower Bound.” The remote control error information includes two types:  The information of the negative error code defined in SCPI standard will not be described in details here.
  • Page 197 5 Error Description 5.1 Error information Invalid suffix: The suffix of the numeric data is incorrect. For example: FREQ 10GZ -134 Suffix too long Suffix too long: The suffix is longer than 12 characters. For example: FREQ 10GHHHHHHHHHHHHHHHHHHZ -138 Suffix not allowed Suffix not allowed: The numeric data can‟t be followed by a suffix.
  • Page 198 5 Error Description 5.1 Error information -224 Illegal parameter value Illegal parameter value: A discrete parameter is received, but it is invalid for this command. -226 Lists not same length Lists not same length -230 Data corrupt or stale; Please calibrate Data corrupt or stale;...
  • Page 199: Repair Method

    5 Error Description 5.2 Repair method System error; Sensor EEPROM Read Failed - unknown EEPROM table format. -321 Out of memory Out of memory -330 Self-test Failed; Self-test Failed -350 Queue overflow Queue overflow: After the error queue is full, the subsequent errors will not be recorded. -410 Query INTERRUPTED Query INTERRUPTED: A command shall send data to the output buffer area, but the buffer...
  • Page 200: Contact Us

    5.2 Repair method 5.2.1 Contact us If 2438 series of microwave power meter has any fault, firstly observe and save the error information, and then analyze possible causes and eliminate and solve the problems according to methods described in section “7.2 Fault diagnosis and troubleshooting”...
  • Page 201: Appendixes

    Appendixes Appendix A Lookup Table of the SCPI by Subsystem Appendixes  Appendix A Lookup Table of the SCPI by Subsystem ..........193 Appendix A Lookup Table of the SCPI by Subsystem Attached Table 1 Lookup Table of the SCPI by Subsystem Classification Command Operation Brief introduction to functions...
  • Page 202 Appendixes Appendix A Lookup Table of the SCPI by Subsystem Query or set the upper measurement limit of :CALCulate[1]|2|3|4:LIMit:UPPer[:DATA] the specified window :CALCulate[1]|2|3|4:MATH[:EXPRessio Query or set the specified measurement expression of the specified window :CALCulate[1]|2|3|4:MATH[:EXPRessio Query only List all measurement expressions n]:CATalogue? :CALCulate[1]|2|3|4:RELative[:MAGNitu reference...
  • Page 203 Appendixes Appendix A Lookup Table of the SCPI by Subsystem Query or set the channel input of the trace :DISPlay[:WINDow[1]|2]:TRACe:FEED display window :FETCh[1]|2:ARRay:AMEasure:POWer Query the automatic measurement power Query only value of the given channel Query the automatic measurement time value :FETCh[1]|2:ARRay:AMEasure:TIME? Query only of the given channel...
  • Page 204 Appendixes Appendix A Lookup Table of the SCPI by Subsystem measurement, and return the measurement value Set the specified window to the difference :MEASure[1]|2|3|4[:SCALar][:POWer][: power measurement, disable relative Query only AC]:DIFFerence? measurement, and return the measurement value Set the specified window to the difference :MEASure[1]|2|3|4[:SCALar][:POWer][: power measurement,...
  • Page 205 Appendixes Appendix A Lookup Table of the SCPI by Subsystem :MEMory:TABLe[1]|2|3|4|5|6|7|8|9|10:G Query or set the amplitude gain list of the AIN[:MAGNitude] specified FDO table :MEMory:TABLe[1]|2|3|4|5|6|7|8|9|10:G Query number of the amplitude gain point of Query only AIN[:MAGNitude]:POINts? the specified FDO table :MEMory:TABLe:MOVE Setting only Rename the specified FDO table...
  • Page 206 Appendixes Appendix A Lookup Table of the SCPI by Subsystem :PSTatistic:CCDF:REFerence:POWer:P Query the peak power of the channel statistics Query only EAK? curve :PSTatistic:CCDF:REFerence:POWer:P Query the peak-to-average ratio of the Query only TAVerage? reference statistics curve Query or set the display status of the :PSTatistic:CCDF:REFerence[:Status] reference statistics curve During setting: Save the statistics curve of the...
  • Page 207 Appendixes Appendix A Lookup Table of the SCPI by Subsystem RELative? power measurement, enable relative measurement, and return the measurement value Query or set the accessory compensation [:SENSe[1]|2]:ADJunct[:Status] switch of the high power sensor Query or set the average counts of the [:SENSe[1]|2]:AVERage[1]|2:COUNt channel Query or set the automatic average status of...
  • Page 208 Appendixes Appendix A Lookup Table of the SCPI by Subsystem Query or set the upper power limit of the trace [:SENSe[1]|2]:TRACe:LIMit:UPPer display of the channel Query or set the horizontal start time of the [:SENSe[1]|2]:TRACe:OFFSet:TIME trace of the channel Query or set the time length of the trace of the [:SENSe[1]|2]:TRACe:TIME channel Query or set the unit of the trace of the...
  • Page 209 Appendixes Appendix A Lookup Table of the SCPI by Subsystem ary]:PTRansition filter Query the value in the operation status :Status:OPERation:CONDition? Query only condition register Query or set the operation status event enable :Status:OPERation:ENABle register :Status:OPERation[:EVENt]? Query only Query the operation status event register :Status:OPERation:LLFail[:SUMMary]:C Query the value in the lower limit detection Query only...
  • Page 210 Appendixes Appendix A Lookup Table of the SCPI by Subsystem NTRansition negative transition filter :Status:OPERation:ULFail[:SUMMary]: Query or set the upper detection operation PTRansition positive transition filter :Status:PRESet Setting only Preset some status registers :Status:QUEStionable:CALibration[:SU Query value calibration Query only MMary]:CONDition? questionable status condition register :Status:QUEStionable:CALibration[:SU Query or set the calibration questionable...
  • Page 211 Appendixes Appendix A Lookup Table of the SCPI by Subsystem :SYSTem:COMMunicate:LAN:MAC? Query only Query MAC address of LAN :SYSTem:COMMunicate:LAN:RESTart Setting only Restart the network :SYSTem:COMMunicate:LAN:SMASk Query or set the sub-network mask :SYSTem:COMMunicate:TCPip:CONTr Obtain the SOCKET port number, and return Query only 5,000 in this case :SYSTem:DATE Query or set the date (year, month, day)
  • Page 212 Appendixes Appendix A Lookup Table of the SCPI by Subsystem :NEGative:DURation? (namely falling time) :TRACe[1]|2:MEASurement:TRANsition Query the pulse negative transition (namely Query only :NEGative:OCCurence? falling) moment :TRACe[1]|2:MEASurement:TRANsition Query the pulse positive transition duration Query only :POSitive:DURation? (namely rising time) :TRACe[1]|2:MEASurement:TRANsition Query the pulse positive transition (namely Query only :POSitive:OCCurence?

Table of Contents