Rohde & Schwarz R&S NRP18S Series User Manual
Rohde & Schwarz R&S NRP18S Series User Manual

Rohde & Schwarz R&S NRP18S Series User Manual

High-power three-path diode power sensors
Hide thumbs Also See for R&S NRP18S Series:
Table of Contents

Advertisement

Quick Links

®
R&S
NRP18S-xx
High-Power Three-Path Diode Power
Sensors
User Manual
(;ÜTä2)
1178368602

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the R&S NRP18S Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Rohde & Schwarz R&S NRP18S Series

  • Page 1 ® R&S NRP18S-xx High-Power Three-Path Diode Power Sensors User Manual (;ÜTä2) 1178368602...
  • Page 2 This manual describes the following high-power three-path diode power sensors with firmware version FW 02.00 and later: ● ® R&S NRP18S-10 (1424.6721.02) ● ® R&S NRP18S-20 (1424.6738.02) ● ® R&S NRP18S-25 (1424.6744.02) © 2019 Rohde & Schwarz GmbH & Co. KG Mühldorfstr.
  • Page 3: Table Of Contents

    ® Contents R&S NRP18S-xx Contents 1 Preface....................5 For Your Safety......................5 Documentation Overview..................... 5 Typographical Conventions..................7 2 Key Features...................8 3 Preparing for Use................. 10 Unpacking and Checking the Power Sensor............10 Operating Conditions....................10 Important Aspects for Test Setup................11 Connecting to a DUT....................11 Connecting to a Computer..................
  • Page 4 ® Contents R&S NRP18S-xx Most Important Differences..................40 Prerequisites....................... 40 8 Remote Control Commands..............42 Conventions Used in SCPI Command Descriptions..........42 Notations........................42 Common Commands....................44 Preparing for the Measurement................. 48 Controlling the Measurement..................50 Configuring and Retrieving Results................65 Configuring the Measurement Modes...............70 Configuring Basic Measurement Parameters............
  • Page 5: Preface

    ® Preface R&S NRP18S-xx Documentation Overview 1 Preface This chapter provides safety related information, an overview of the user documenta- tion and the conventions used in the documentation. 1.1 For Your Safety The R&S NRP18S-xx is designated for use in industrial, administrative, and laboratory environments.
  • Page 6 ® Preface R&S NRP18S-xx Documentation Overview with programming examples, and information on maintenance and interfaces. Includes the contents of the getting started manual. 1.2.3 Tutorials Tutorials offer guided examples and demonstrations on operating the R&S NRP18S- xx . They are provided on the product page of the internet. 1.2.4 Instrument Security Procedures Deals with security issues when working with the R&S NRP18S-xx in secure areas.
  • Page 7: Typographical Conventions

    ® Preface R&S NRP18S-xx Typographical Conventions 1.3 Typographical Conventions The following text markers are used throughout this documentation: Convention Description "Graphical user interface ele- All names of graphical user interface elements on the screen, such as ments" dialog boxes, menus, options, buttons, and softkeys are enclosed by quotation marks.
  • Page 8: Key Features

    ® Key Features R&S NRP18S-xx 2 Key Features The 3-path diode power sensors are members of the R&S NRP series power sensors from Rohde & Schwarz. They provide a high-speed USB interface that constitutes both the communication port and the power supply connection. Special features of power sensors with precision attenuators Each R&S NRP18S-xx power sensor is delivered with a high-quality attenuator.
  • Page 9 ® Key Features R&S NRP18S-xx At start-up of the power sensor, it automatically activates S-parameter correction based on the stored S-parameters. You can change this default behavior using the S-parame- ters tool included in the R&S NRP Toolkit, see Chapter 8.8.4.3, "S-Parameter Correc- tion", on page 88.
  • Page 10: Preparing For Use

    ® Preparing for Use R&S NRP18S-xx Operating Conditions 3 Preparing for Use For information on safety, see: ● Chapter 1.1, "For Your Safety", on page 5 ● Chapter 3.2, "Operating Conditions", on page 10 3.1 Unpacking and Checking the Power Sensor Check the equipment for completeness using the delivery note and the accessory lists for the various items.
  • Page 11: Important Aspects For Test Setup

    ® Preparing for Use R&S NRP18S-xx Connecting to a DUT 3.3 Important Aspects for Test Setup Preventing electrostatic discharge (ESD) ESD is most likely to occur when you connect or disconnect a DUT. ► NOTICE! Risk of electrostatic discharge (ESD). Electrostatic discharge (ESD) can damage the electronic components of the power sensor and the device under test (DUT).
  • Page 12: Connecting To A Computer

    ® Preparing for Use R&S NRP18S-xx Connecting to a Computer 3. NOTICE! Risk of damaging the center pin of the RF connector. Always rotate only the hex nut of the RF connector. Never rotate the power sensor itself. Tighten the RF connector manually. To disconnect from the DUT ►...
  • Page 13 ® Preparing for Use R&S NRP18S-xx Connecting to a Computer Required equipment ● R&S NRP18S-xx power sensor ● R&S NRP‑ZKU cable Setup ‑ ZKU cable Figure 3-1: Setup with an R&S NRP 1 = Signal source 2 = Attenuator 3 = R&S NRP18S-xx power sensor 4 = Host interface connector 5 = R&S NRP‑ZKU cable 6 = USB connector...
  • Page 14 ® Preparing for Use R&S NRP18S-xx Connecting to a Computer ● BNC cables to connect the trigger input and trigger output signals (optional) Setup TTL /CMOS TTL /CMOS Figure 3-2: Setup with an R&S NRP-Z5 sensor hub = R&S NRP‑Z5 sensor hub = External power supply unit (supplied) = Power cable (supplied) = AC power supply...
  • Page 15: Connecting To A Usb Host

    ® Preparing for Use R&S NRP18S-xx Connecting to a USB Host a) Connect the R&S NRP‑ZK6 cable to the power sensor. b) Connect the power sensors to the R&S NRP‑Z5 sensor hub. You can connect up to four sensors. c) Connect the R&S NRP‑Z5 to the computer. d) Connect the power sensors to the signal source.
  • Page 16: Power Sensor Tour

    ® Power Sensor Tour R&S NRP18S-xx RF Connector 4 Power Sensor Tour This chapter provides an overview of the available connectors and LEDs of the power sensor. ‑ xx power sensor Figure 4-1: R&S NRP18S 1 = RF connector (attenuator), see Chapter 4.1, "RF Connector", on page 16...
  • Page 17: Trigger I/O Connector

    ® Power Sensor Tour R&S NRP18S-xx Status LED 4.2 Trigger I/O Connector The trigger I/O is a connector of SMB type. It is used as an input for signals if the trigger source parameter is set to EXTernal2. It is used as an output for trigger signals if the sensor is operated in the trigger master mode.
  • Page 18 ® Power Sensor Tour R&S NRP18S-xx Status LED Indication State Slow flashing red Static error You can query the error type with SYSTem:SERRor?. Fast flashing red Critical static error You can query the error type with SYSTem:SERRor?. Note: If this state occurs after a firmware update, the update was not successful.
  • Page 19: Operating Concepts

    ® Operating Concepts R&S NRP18S-xx R&S NRP Toolkit 5 Operating Concepts For operating the power sensor, you can choose from various possibilities: ● Chapter 5.2, "Remote Control", on page 21 ● Chapter 5.3, "R&S NRPV", on page 22 ● Chapter 5.4, "R&S Power Viewer", on page 26 ●...
  • Page 20 ® Operating Concepts R&S NRP18S-xx R&S NRP Toolkit – Microsoft Windows 8/ 8.1 32/64-bit – Microsoft Windows 10 32/64-bit ● For information on other operating systems, see Chapter 5.1.1, "Versions and Downloads", on page 19. 5.1.3 R&S NRP Toolkit for Windows The R&S NRP Toolkit installer for Windows-based systems contains the components described in the release notes available at www.rohde-schwarz.com/software/nrp-tool-...
  • Page 21: Remote Control

    ® Operating Concepts R&S NRP18S-xx Remote Control 3. Accept the license terms to continue with the installation. 4. Click "Next" and complete the installation process. 5.1.3.1 Components of the R&S NRP Toolkit Access: "Start" > "NRP-Toolkit" The following tools are part of the R&S NRP Toolkit for Windows. Configure Network Sensor Useful if you have troubles establishing a LAN connection with an R&S NRP LAN power sensor.
  • Page 22: R&S Nrpv

    ® Operating Concepts R&S NRP18S-xx R&S NRPV Further information: ● Chapter 8, "Remote Control Commands", on page 42 ● Chapter 10, "Remote Control Basics", on page 127 ● Chapter 10.1, "Remote Control Interfaces and Protocols", on page 127 ● Chapter 3.5, "Connecting to a Computer", on page 12 5.3 R&S NRPV...
  • Page 23: Operating Concepts

    ® Operating Concepts R&S NRP18S-xx R&S NRPV Table 5-1: Operating an R&S NRP18S-xx with or without attenuator Sensor operation mode... R&S NRPV dialogs..with the attenuator supplied in the delivery The application automatically recognizes the activated S-Parameter device in the sensor and activates the "S-Parameter Correction". If the supplied attenuator is not connected, you must disable "S-Parame- ter Correction"...
  • Page 24 ® Operating Concepts R&S NRP18S-xx R&S NRPV Table 5-2: Operating an R&S NRP18S-xx with a different attenuator Sensor operation mode... R&S S-Parameters tool dialogs... Load the S-Parameter device describing the attenuator into the sensor using the S-Parameters tool included in the R&S NRP Toolkit, see Chap- ter 8.8.4.5, "Using the S-Parameters Tool",...
  • Page 25 ® Operating Concepts R&S NRP18S-xx R&S NRPV 1 = Signal source 2 = Attenuator 3 = R&S NRP18S-xx power sensor 4 = Host interface connector 5 = R&S NRP‑ZKU cable 6 = USB connector 7 = Computer with installed R&S NRPV Incorrectly connecting/disconnecting the R&S NRP18S-xx power sensors can damage the power sensors or lead to erroneous results.
  • Page 26: R&S Power Viewer

    ® Operating Concepts R&S NRP18S-xx R&S Power Viewer For a detailed description on how to measure in this setup, refer to the operating man- ual of the R&S NRPV. 5.4 R&S Power Viewer The R&S Power Viewer is software that simplifies many measurement tasks. It is provi- ded on your documentation CD-ROM and on the Rohde &...
  • Page 27 ® Operating Concepts R&S NRP18S-xx R&S Power Viewer Table 5-3: Operating an R&S NRP18S-xx with or without attenuator Sensor operation mode... R&S Power Viewer dialogs..with the attenuator supplied in the delivery The application automatically recognizes the activated S-parameter device in the sensor and activates the "S-Parameter"...
  • Page 28 ® Operating Concepts R&S NRP18S-xx R&S Power Viewer Table 5-4: Operating an R&S NRP18S-xx with a different attenuator Sensor operation mode... S-Parameters tool dialogs... Load the S-Parameter device describing the attenuator into the sensor using the S-Parameters tool included in the R&S NRP Toolkit, see Chap- ter 8.8.4.5, "Using the S-Parameters Tool",...
  • Page 29 ® Operating Concepts R&S NRP18S-xx R&S Power Viewer 1 = Signal source 2 = Attenuator 3 = R&S NRP18S-xx power sensor 4 = Host interface connector 5 = R&S NRP‑ZKU cable 6 = USB connector 7 = Computer with installed R&S Power Viewer Incorrectly connecting/disconnecting the R&S NRP18S-xx power sensors can damage the power sensors or lead to erroneous results.
  • Page 30: R&S Power Viewer Mobile

    ® Operating Concepts R&S NRP18S-xx R&S NRX For a detailed description of how to measure in this setup, refer to the operating man- ual of your R&S Power Viewer. The manual is installed automatically during the instal- lation of the R&S Power Viewer. 5.5 R&S Power Viewer Mobile The R&S Power Viewer Mobile extends the functionality of the R&S Power Viewer to Android-based devices, such as a smartphone and tablets.
  • Page 31 ® Operating Concepts R&S NRP18S-xx R&S NRX Required equipment ● R&S NRP18S-xx power sensor ● R&S NRP‑ZK8 to connect the sensor to the R&S NRX ● R&S NRX Setup Figure 5-3: Setup with an R&S NRX base unit 1 = Signal source 2 = Attenuator 3 = R&S NRP18S-xx power sensor 4 = Host interface connector...
  • Page 32: R&S Nrp2

    ® Operating Concepts R&S NRP18S-xx R&S NRP2 The measurement starts, and the result is displayed in dBm. 5. If necessary, perform further settings. For a detailed description of how to measure in this setup, refer to the user manual of the R&S NRX.
  • Page 33 ® Operating Concepts R&S NRP18S-xx R&S NRP2 Table 5-6: Offset settings for operating an R&S NRP18S-xx with a different attenuator Sensor operation mode... S-Parameters tool dialogs... Since the R&S NRP2 does not support selecting one out of several S- Parameter devices, you must activate the correct device via the S-Param- eters tool included in the R&S NRP Toolkit, see Chapter 8.8.4.5, "Using the S-Parameters...
  • Page 34 ® Operating Concepts R&S NRP18S-xx R&S NRP2 4 = Host interface connector 5 = R&S NRP‑ZK6 cable 6 = Sensor input connector of the R&S NRP2 7 = R&S NRP2 base unit Incorrectly connecting/disconnecting the R&S NRP18S-xx power sensors can damage the power sensors or lead to erroneous results.
  • Page 35 ® Operating Concepts R&S NRP18S-xx R&S NRP2 The result window indicates the result (in dBm) obtained with sensor A. 6. If necessary, perform further settings. For a detailed description of how to measure in this setup, refer to the operating man- ual of your R&S NRP2.
  • Page 36: Firmware Update

    ® Firmware Update R&S NRP18S-xx Updating the Firmware 6 Firmware Update ● Hardware and Software Requirements..............36 ● Updating the Firmware....................36 6.1 Hardware and Software Requirements For performing a firmware update, the system requirements are as follows: ● Connectors and cables for establishing a connection to the computer Chapter 3.5, "Connecting to a Computer", on page 12.
  • Page 37 ® Firmware Update R&S NRP18S-xx Updating the Firmware Checking the prerequisites 1. Ensure that a recent VISA software is installed on the computer. You can perform a firmware update with Firmware Update for NRP Family only if the power sensor is recognized as a VISA device.
  • Page 38: Using Remote Control

    ® Firmware Update R&S NRP18S-xx Updating the Firmware 7. Click "Update". During the update process, a progress bar is displayed. The update sequence can take a couple of minutes, depending on the sensor model and the size of the selected file. 8.
  • Page 39 ® Firmware Update R&S NRP18S-xx Updating the Firmware Example: You want to update your R&S NRP18S-10 with the nrp18s_10_FW_15.02.12.01.rsu file. This file has a size of 10242884 bytes. To send the file to the sensor for updating the firmware, your application has to assem- ble a memory block containing: SYST:FWUP <block_data>...
  • Page 40: Replacing An R&S Nrp-Zxx With An R&Snrp18S-Xx

    ® Replacing an R&S NRP-Zxx with an R&S NRP18S-xx R&S NRP18S-xx Prerequisites 7 Replacing an R&S NRP-Zxx with an R&S NRP18S-xx The new R&S NRP18S-xx sensors are compatible with the R&S NRP-Zxx series of power sensors. New power sensor Replaces this sensor R&S NRP18S-10 R&S NRP-Z22 R&S NRP18S-20...
  • Page 41 ® Replacing an R&S NRP-Zxx with an R&S NRP18S-xx R&S NRP18S-xx Prerequisites Software applications and firmware Software/firmware Prerequisites R&S NRPV See the release notes and the manual of the R&S NRPV. R&S Power Viewer See the release notes and the manual of the R&S Power Viewer. R&S NRP2 Install firmware version 7.11 or higher.
  • Page 42: Remote Control Commands

    ® Remote Control Commands R&S NRP18S-xx Notations 8 Remote Control Commands In the following sections, all commands implemented in the sensor are listed according to the command system and then described in detail. For the most part, the notation used complies with SCPI specifications. 8.1 Conventions Used in SCPI Command Descriptions Note the following conventions used in the remote command descriptions: ●...
  • Page 43 ® Remote Control Commands R&S NRP18S-xx Notations Numeric suffixes <n> If a command can be applied to multiple instances of an object, e.g. specific sensors, the required instances can be specified by a suffix added to the command. Numeric suffixes are indicated by angular brackets (<1...4>, <n>, <I>) and are replaced by a single value in the command.
  • Page 44: Common Commands

    ® Remote Control Commands R&S NRP18S-xx Common Commands Special characters | and { } A vertical bar in parameter definitions indicates alternative possibilities in the sense of "or". The effect of the command differs, depending on which parameter is used. Example: Definition: INITiate:CONTinuous ON | OFF Command INITiate:CONTinuous ON starts the measurements...
  • Page 45: Ese

    ® Remote Control Commands R&S NRP18S-xx Common Commands *ESE <register> Event Status Enable Sets the event status enable register to the specified value. The query returns the con- tents of the event status enable register in decimal form. Parameters: <register> Range: 0 to 255 *RST:...
  • Page 46: Opt

    ® Remote Control Commands R&S NRP18S-xx Common Commands *OPC? is preferred to because with *OPC?, the execution of commands can be *WAI queried from a controller program before new commands are sent. This prevents over- flow of the input queue when too many commands are sent that cannot be executed. Unlike *WAI, *OPC? must be sent at the end of a program message.
  • Page 47: Sre

    ® Remote Control Commands R&S NRP18S-xx Common Commands Stores the current device state under the specified number. The storage numbers 0 to 9 are available. Setting parameters: <number> Range: 0 to 9 *RST: Usage: Setting only *SRE <register> Service Request Enable Sets the service request enable register to the specified value.
  • Page 48: Preparing For The Measurement

    ® Remote Control Commands R&S NRP18S-xx Preparing for the Measurement Example: *TST? Query Response: Failed Usage: Query only *WAI WAIt to continue Prevents the execution of the subsequent commands until all preceding commands have been executed and all signals have settled. Usage: Event 8.4 Preparing for the Measurement...
  • Page 49: Selecting A Measurement Mode

    ® Remote Control Commands R&S NRP18S-xx Preparing for the Measurement Remote commands: ....................49 [SENSe<Sensor>:]RANGe ..................49 [SENSe<Sensor>:]RANGe:AUTO ..................49 [SENSe<Sensor>:]RANGe:CLEVel [SENSe<Sensor>:]RANGe <range> Selects the active measurement path manually. Parameters: <range> The sensitivity of the paths differs. 0 is the most sensitive path. 2 is the most insensitive path.
  • Page 50: Controlling The Measurement

    ® Remote Control Commands R&S NRP18S-xx Controlling the Measurement start of a burst is detected when the measurement signal rises above a set trigger level. The measurement ends when the signal drops below a trigger threshold. See also Chapter 8.7.2, "Burst Average Measurement", on page 73.
  • Page 51 ® Remote Control Commands R&S NRP18S-xx Controlling the Measurement INITiate:ALL INITiate[:IMMediate] Starts a single measurement cycle. The sensor changes from the idle state to the wait- ing for trigger state. As soon as the trigger condition is fulfilled, the sensor begins the measurement.
  • Page 52: Trigger:count

    ® Remote Control Commands R&S NRP18S-xx Controlling the Measurement 8.5.2.1 Trigger States The power sensor has trigger states to define the exact start and stop time of a mea- surement and the sequence of a measurement cycle. The following states are defined: ●...
  • Page 53 ® Remote Control Commands R&S NRP18S-xx Controlling the Measurement Trigger source Description Remote commands to initiate the measurement "External 2" Uses the digital input signal supplied at the SMB TRIGger:IMMediate connector. "Bus" Triggered by the remote command. *TRG TRIGger:IMMediate 8.5.2.4 Dropout Time The dropout time is useful when dealing with signals with several active slots, for example GSM signals, see...
  • Page 54: Controlling The Measurement Results

    ® Remote Control Commands R&S NRP18S-xx Controlling the Measurement 8.5.3 Controlling the Measurement Results The R&S NRP18S-xx can cope with the wide range of measurement scenarios with the help of the so-called "termination control". Depending on how fast your measure- ment results change, you can define, how the measurement results are output.
  • Page 55 ® Remote Control Commands R&S NRP18S-xx Controlling the Measurement 8.5.4.1 Continuous Average Mode General settings for these examples: ● INITiate:CONTinuous ● [SENSe<Sensor>:]AVERage:COUNt ● [SENSe<Sensor>:]AVERage:COUNt:AUTO Example: Repeating termination control Further settings for this example: ● [SENSe<Sensor>:]AVERage:TCONtrol REPeat The measurement is started by the trigger event. Due to the chopper phases, one measurement lasts twice the defined aperture time.
  • Page 56 ® Remote Control Commands R&S NRP18S-xx Controlling the Measurement Example: Moving termination control Further settings for this example: ● [SENSe<Sensor>:]AVERage:TCONtrol MOVing ● TRIGger:COUNt Every measurement is started by a trigger event. Due to the chopper phases, one measurement lasts twice the defined aperture time. During each measurement, the trigger synchronization is high (TRIGger:SYNC:STATe ON).
  • Page 57 ® Remote Control Commands R&S NRP18S-xx Controlling the Measurement Example: Repeating termination control Further settings for this example: ● [SENSe<Sensor>:]AVERage:TCONtrol REPeat Every chopper phase is started by a trigger event and lasts the defined aperture time. During a chopper phase, the trigger synchronization is high (TRIGger:SYNC:STATe ON).
  • Page 58 ® Remote Control Commands R&S NRP18S-xx Controlling the Measurement Example: Moving termination control Further settings for this example: ● [SENSe<Sensor>:]AVERage:TCONtrol MOVing Every chopper phase is started by a trigger event and lasts the defined aperture time. During a chopper phase, the trigger synchronization is high (TRIGger:SYNC:STATe ON).
  • Page 59: Configuring The Trigger

    ® Remote Control Commands R&S NRP18S-xx Controlling the Measurement Example: Average count = 1 [SENSe<Sensor>:]AVERage:COUNt For average count 1, the setting of the termination control has no impact. In both cases, the measurement runs for the duration of one aperture time. Then, settled data are available, and the power sensor returns to the idle state.
  • Page 60: Trigger:atrigger:delay

    ® Remote Control Commands R&S NRP18S-xx Controlling the Measurement TRIGger:ATRigger:DELay <delay> Effective only if is set to ON. TRIGger:ATRigger:STATe Sets the delay between the artificial trigger event and the beginning of the actual mea- surement Parameters: <delay> Range: 0.1 to 5.0 *RST: Default unit: Seconds TRIGger:ATRigger:EXECuted?
  • Page 61: Trigger:delay

    ® Remote Control Commands R&S NRP18S-xx Controlling the Measurement TRIGger:DELay <delay> Sets the delay between the trigger event and the beginning of the actual measurement (integration). Parameters: <delay> Range: -5.0 to 10.0 *RST: Default unit: s TRIGger:DELay:AUTO <state> ON is set, no measurement is started until the power sensor TRIGger:DELay:AUTO has settled.
  • Page 62: Trigger:holdoff

    ® Remote Control Commands R&S NRP18S-xx Controlling the Measurement *RST: HIGH TRIGger:HOLDoff <holdoff> Sets the hold-off time, seeChapter 8.5.2.5, "Hold-Off Time", on page 53 . Parameters: <holdoff> Range: 0.00 to 10.00 *RST: 0.00 Default unit: Seconds TRIGger:HYSTeresis <hysteresis> Sets the hysteresis. A trigger event occurs, if the trigger level: ●...
  • Page 63: Trigger:level:unit

    ® Remote Control Commands R&S NRP18S-xx Controlling the Measurement Parameters: <level> Range: 1.0e-7 to 200.0e-3 *RST: 1.0e-6 Default unit: Watts TRIGger:LEVel:UNIT <unit> Sets the unit of the trigger level if this value is entered without a unit. See also on page 62. TRIGger:LEVel Parameters: <unit>...
  • Page 64: Trigger:slope

    ® Remote Control Commands R&S NRP18S-xx Controlling the Measurement TRIGger:SLOPe <slope> Effective only if is set to INTernal or EXTernal. TRIGger:SOURce Determines which edge of the envelope power, with internal triggering, or increasing voltage, with external triggering, is used for triggering. Parameters: <slope>...
  • Page 65: Configuring And Retrieving Results

    ® Remote Control Commands R&S NRP18S-xx Configuring and Retrieving Results 8.6 Configuring and Retrieving Results ● Setting the Power Unit.................... 65 ● Setting the Result Format..................65 ● Retrieving Results....................66 8.6.1 Setting the Power Unit The UNIT subsystem contains commands for setting up the power unit. UNIT:POWer <unit>...
  • Page 66: Retrieving Results

    ® Remote Control Commands R&S NRP18S-xx Configuring and Retrieving Results FORMat:SREGister <sregister> Specifies which format is used for the return value of *STB?. Parameters: <sregister> ASCii | HEXadecimal | OCTal | BINary *RST: ASCii Example: FORM:SREG ASC FORMat[:DATA] [<data,length>, <length>] Specifies how the R&S NRP18S-xx sends the numeric data to the controlling host/ computer.
  • Page 67 ® Remote Control Commands R&S NRP18S-xx Configuring and Retrieving Results ..............68 FETCh<Sensor>[:SCALar][:POWer]:BURSt? ............... 68 FETCh<Sensor>[:SCALar][:POWer]:TSLot? ......................68 CALCulate:FEED ....................69 [SENSe<Sensor>:]AUXiliary [SENSe<Sensor>:]FUNCtion <function> Sets the measurement mode. Parameters: <function> "POWer:AVG" Continuous Average After a trigger event, the power is integrated over a time interval (averaging) set with [SENSe<Sensor>:][POWer:][AVG: ]APERture.
  • Page 68 ® Remote Control Commands R&S NRP18S-xx Configuring and Retrieving Results FETCh<Sensor>:ARRay[:POWer][:AVG]? Queries the last valid measurement result of a measurement with enabled data buffer mode. Usage: Query only FETCh<Sensor>[:SCALar][:POWer][:AVG]? Queries the last valid measurement result. Usage: Query only FETCh<Sensor>[:SCALar][:POWer]:BURSt? Queries the last valid measurement result for the burst average measurement mode. Usage: Query only FETCh<Sensor>[:SCALar][:POWer]:TSLot?
  • Page 69 ® Remote Control Commands R&S NRP18S-xx Configuring and Retrieving Results SENS:FUNC Possible CALC:FEED Meaning "POWer:RANDom" Randomly selected value from the measurement interval "XTIMe:POWer" "POWer:TRACe" Measurement sequence "POWer:PEAK:TRACe" Peak value of the samples per trace point "POWer:RANDom:TRACe" Randomly selected value of the samples per trace point Parameters: <mode>...
  • Page 70: Configuring The Measurement Modes

    ® Remote Control Commands R&S NRP18S-xx Configuring the Measurement Modes 8.7 Configuring the Measurement Modes In the following chapter the settings needed for configuring a measurement mode are described. Further information: ● Chapter 8.8, "Configuring Basic Measurement Parameters", on page 81 ●...
  • Page 71: [Sense:][Power:][Avg:]Aperture

    ® Remote Control Commands R&S NRP18S-xx Configuring the Measurement Modes μ s MT = 2 * AC * APER + (2 * AC - 1) * 100 with: MT: overall measurement time AC: average count APER: aperture time 100 μs is the time for switching the chopper phase. Using ON, you can accelerate the mea- [SENSe<Sensor>:][POWer:][AVG:]FAST...
  • Page 72: [Sense:][Power:][Avg:]Buffer:count

    ® Remote Control Commands R&S NRP18S-xx Configuring the Measurement Modes [SENSe<Sensor>:][POWer:][AVG:]BUFFer:COUNt? Queries the number of results that are currently stored in the result buffer. Available in continuous average mode. Example: BUFF:COUN? Usage: Query only [SENSe<Sensor>:][POWer:][AVG:]BUFFer:DATA? Queries the results of the continuous average result buffer and returns them even if the buffer is not full.
  • Page 73: [Sense:][Power:][Avg:]Fast

    ® Remote Control Commands R&S NRP18S-xx Configuring the Measurement Modes [SENSe<Sensor>:][POWer:][AVG:]FAST <state> Enables or disables a fast unchopped Continuous Average measurement. The aver- age count is enforced to 1. Any setting for average count is silently ignored. See also "Calculating the measurement time" on page 70.
  • Page 74: Trigger Delay

    ® Remote Control Commands R&S NRP18S-xx Configuring the Measurement Modes Triggering a burst average measurement In the burst average mode, only internal trigger events from the signal are evaluated, irrespective of the setting of the parameter. The TRIGger:SOURce TRIGger:DELay parameter is also ignored, so that the measurement interval begins exactly when the signal exceeds the trigger level.
  • Page 75 ® Remote Control Commands R&S NRP18S-xx Configuring the Measurement Modes SENS:TSLOT:COUNT 3 T'Slot 1 T'Slot 2 T'Slot 3 Power Trigger event Trigger level Time SENS:TSLOT:MID:OFFS:TIME SENS:TSLOT:MID:TIME SENS:TSLOT:WIDTH Figure 8-3: Timeslot parameters Triggering a timeslot average measurement In the timeslot mode, internal and external trigger events from the signal are evaluated depending on the settings of the parameter.
  • Page 76 ® Remote Control Commands R&S NRP18S-xx Configuring the Measurement Modes [SENSe<Sensor>:][POWer:]TSLot[:AVG]:WIDTh <width> Sets the length of the timeslot (see Figure 8-3). Parameters: <width> Range: 10.0e-6 to 0.10 *RST: 1.000e-3 Default unit: Seconds [SENSe<Sensor>:][POWer:]TSLot[:AVG][:EXCLude]:MID:OFFSet[:TIME] <time> Determines the distance from the start of the timeslots to the start of the interval to be blanked out (see Figure 8-3).
  • Page 77 ® Remote Control Commands R&S NRP18S-xx Configuring the Measurement Modes Remote commands: ..............77 [SENSe<Sensor>:]TRACe:AVERage:COUNt ..............77 [SENSe<Sensor>:]TRACe:AVERage:TCONtrol ..............78 [SENSe<Sensor>:]TRACe:AVERage[:STATe] ..................78 [SENSe<Sensor>:]TRACe:DATA? ................80 [SENSe<Sensor>:]TRACe:MPWidth? ................80 [SENSe<Sensor>:]TRACe:OFFSet:TIME ..................80 [SENSe<Sensor>:]TRACe:POINts .................81 [SENSe<Sensor>:]TRACe:REALtime ..................81 [SENSe<Sensor>:]TRACe:TIME [SENSe<Sensor>:]TRACe:AVERage:COUNt <count> Sets the number of readings that are averaged for one measured value. The higher the count, the lower the noise, and the longer it takes to obtain a measured value.
  • Page 78 ® Remote Control Commands R&S NRP18S-xx Configuring the Measurement Modes [SENSe<Sensor>:]TRACe:AVERage[:STATe] <state> Switches the averaging filter on and off for the Trace mode. Parameters: <state> *RST: [SENSe<Sensor>:]TRACe:DATA? Returns the measured trace data in a well-defined format. Unlike the FETCh? command, [SENSe<Sensor>:]TRACe:DATA takes the settings of [SENSe<Sensor>:]AUXiliary into account, as explained below.
  • Page 79 ® Remote Control Commands R&S NRP18S-xx Configuring the Measurement Modes Example The arbitrary block response data for a user data that contains 45182 bytes is: #545182xxxxxx..xxxxxx <LF> The arbitrary block response data for a user data content 'THIS IS A TEST' is: #214THIS IS A TEST<LF>...
  • Page 80 ® Remote Control Commands R&S NRP18S-xx Configuring the Measurement Modes If no measurands have been activated before exe- [SENSe<Sensor>:]AUXiliary cuting the measurement, the user data content is finished here. In case that auxiliary measurands have been selected, the above section is repeated for every auxiliary measurand.
  • Page 81: Configuring Basic Measurement Parameters

    ® Remote Control Commands R&S NRP18S-xx Configuring Basic Measurement Parameters [SENSe<Sensor>:]TRACe:REALtime <state> Available in trace mode. If disabled, each measurement from the power sensor is averaged. If enabled, only one sampling sequence per measurement is recorded, thus increasing the measure- ment speed.
  • Page 82 ® Remote Control Commands R&S NRP18S-xx Configuring Basic Measurement Parameters [SENSe<Sensor>:]AVERage:COUNt <count> Sets the number of readings that are averaged for one measured value. The higher the count, the lower the noise, and the longer it takes to obtain a measured value. Average count is often also called averaging factor, but it designates the same thing, i.e the number of measured values that have to be averaged for forming the measure- ment result.
  • Page 83 ® Remote Control Commands R&S NRP18S-xx Configuring Basic Measurement Parameters This command is only effective if the auto average calculation is enabled: ● [SENSe<Sensor>:]AVERage:COUNt:AUTO ● [SENSe<Sensor>:]AVERage:COUNt:AUTO:TYPE The noise component is defined as the magnitude of the level variation in dB caused by the inherent noise of the sensor (two standard deviations).
  • Page 84 ® Remote Control Commands R&S NRP18S-xx Configuring Basic Measurement Parameters ● Power has significantly decreased since the previous measurement, for example by several powers of 10. In this situation, previous measurement results, which are still contained in the averag- ing filter, strongly affect the settling of the display. As a result, the advantage of detect- ing trends in the measurement result while the measurement is still in progress is lost.
  • Page 85: Setting The Frequency

    ® Remote Control Commands R&S NRP18S-xx Configuring Basic Measurement Parameters [SENSe<Sensor>:]AVERage[:STATe] <state> Enables or disables the averaging filter. Parameters: <state> *RST: 8.8.2 Setting the Frequency The frequency of the signal to be measured is not automatically determined. For ach- ieving better accuracy, the carrier frequency of the applied signal must be set. [SENSe<Sensor>:]FREQuency <frequency>...
  • Page 86: [Sense:]Timing:exclude:start

    ® Remote Control Commands R&S NRP18S-xx Configuring Basic Measurement Parameters Remote commands: ................ 86 [SENSe<Sensor>:]TIMing:EXCLude:STARt .................86 [SENSe<Sensor>:]TIMing:EXCLude:STOP [SENSe<Sensor>:]TIMing:EXCLude:STARt <exclude_start> Sets a time that is to be excluded at the beginning of the integration period, see Fig- 8-6. Parameters: <exclude_start> Range: 0.0 to 1.0 *RST: Default unit: Seconds...
  • Page 87: Remote Commands

    ® Remote Control Commands R&S NRP18S-xx Configuring Basic Measurement Parameters Sets the duty cycle for measuring pulse-modulated signals. The duty cycle defines the percentage of one period during which the signal is active. If the duty cycle is enabled, the R&S NRP18S-xx takes this percentage into account when calculating the signal pulse power from the average power.
  • Page 88: S-Parameter Correction

    ® Remote Control Commands R&S NRP18S-xx Configuring Basic Measurement Parameters 8.8.4.3 S-Parameter Correction S-parameter correction compensates for the losses and reflections introduced by a component – such as an attenuator, directional coupler, or matching pad – that is attached to a power sensor. Using S-parameters instead of a fixed offset increases measurement accuracy by accounting for the interaction between the sensor and the component.
  • Page 89 ® Remote Control Commands R&S NRP18S-xx Configuring Basic Measurement Parameters 3-Path Diode Power Sensor MHz to GHz, 100 pW to 200 mW (−70 dBm to +23 dBm) SMART SENSOR TECHNOLOGY Figure 8-7: Operation with 2-port device between signal source and sensor input Configuring the S-Parameter Correction ..............
  • Page 90: S-Gamma Corrections

    ® Remote Control Commands R&S NRP18S-xx Configuring Basic Measurement Parameters 8.8.4.4 S-Gamma Corrections Using the complex reflection coefficient, you can determine the power P delivered by the signal source with considerably greater accuracy. The coefficient of the signal source Γ is defined by its magnitude and phase: source ●...
  • Page 91: Using The S-Parameters Tool

    ® Remote Control Commands R&S NRP18S-xx Configuring Basic Measurement Parameters [SENSe<Sensor>:]SGAMma:CORRection:STATe <state> Enables or disables the use of the complex reflection coefficient to correct the interac- tions of power sensor and signal source. Parameters: <state> *RST: [SENSe<Sensor>:]SGAMma:MAGNitude <magnitude> Sets the magnitude of the complex reflection coefficient of the source, Γ source Parameters: 0.0 ≙...
  • Page 92: Menu Bar

    ® Remote Control Commands R&S NRP18S-xx Configuring Basic Measurement Parameters User Interface of the S-Parameters Tool Figure 8-10: S-Parameters dialog Menu bar........................92 └ File........................92 └ Sensor......................93 └ Device......................93 └ Options......................93 └ User Data....................93 └ Remote....................93 └ Show Cal.
  • Page 93: Sensor

    ® Remote Control Commands R&S NRP18S-xx Configuring Basic Measurement Parameters Sensor ← Menu bar Provides options for loading and saving calibration data directly from or to the sensor, see: ● "To load a calibration data set from a power sensor" on page 95 ●...
  • Page 94: Global Flags

    ® Remote Control Commands R&S NRP18S-xx Configuring Basic Measurement Parameters Figure 8-11: Example Global Flags Groups the settings for the power sensor behavior regarding S-parameter corrections. S-Parameter Correction ON by Default ← Global Flags If this option is enabled, the S-parameter correction is activated automatically when the sensor is started.
  • Page 95: Use Flags In Factory Cal. Data Set

    ® Remote Control Commands R&S NRP18S-xx Configuring Basic Measurement Parameters Use Flags in Factory Cal. Data Set ← Global Flags Available if the power sensor supports two different calibration data sets: ● Factory calibration data set containing all factory calibration data. ●...
  • Page 96 ® Remote Control Commands R&S NRP18S-xx Configuring Basic Measurement Parameters The "Upload Calibration Data" dialog opens. It shows a list of the available sen- sors. 3. If you cannot find your power sensor in the list, for example because of reconnect- ing the power sensor, you can reload the list by clicking "Rebuild List".
  • Page 97 ® Remote Control Commands R&S NRP18S-xx Configuring Basic Measurement Parameters 6. Create a backup of the calibration data set before making any changes. Select "File" > "Save Calibration Data". A dialog opens where you can select the location to save the calibration data. To change the S-parameter data 1.
  • Page 98 ® Remote Control Commands R&S NRP18S-xx Configuring Basic Measurement Parameters 4. If needed, load uncertainty data. See "To load an uncertainty parameter file" on page 98. 5. Check the entries in the "S-Parameter Device Mnemonic", "Lower Power Limit/W" and "Upper Power Limit/W" fields and change them, if necessary. For example, the lower and upper power limits are deduced from the power limits of the sensor itself and the minimum attenuation of the S-parameter device.
  • Page 99 ® Remote Control Commands R&S NRP18S-xx Configuring Basic Measurement Parameters To save the calibration data to the sensor 1. Select "Sensor" > "Save Calibration Data". The "Download Calibration Data" dialog opens. 2. Confirm that the correct power sensor is selected by clicking "Download". After a successful transfer of the data to the power sensor, a confirmation message is displayed.
  • Page 100 ® Remote Control Commands R&S NRP18S-xx Configuring Basic Measurement Parameters ● Option line The option line has the format #[<frequency unit>][<parameter>][<format>][<R n>], where: – Identifies the option line. – <frequency unit> Possible values are Hz, kHz, MHz or GHz. If a frequency unit is not specified, GHz is implicitly assumed.
  • Page 101: Calibrating/Zeroing The Power Sensor

    ® Remote Control Commands R&S NRP18S-xx Calibrating/Zeroing the Power Sensor – <parameter> U must be specified for uncertainty data files. If a parameter is not specified, S is implicitly assumed and as a result an error message is triggered. – <format>...
  • Page 102 ® Remote Control Commands R&S NRP18S-xx Calibrating/Zeroing the Power Sensor ......................102 CALibration:DATA .................... 102 CALibration:DATA:LENGth? ....................102 CALibration:USER:DATA .................. 102 CALibration:USER:DATA:LENGth? ................102 CALibration<Channel>:ZERO:AUTO CALibration:DATA <caldata> Writes a binary calibration data set in the memory of the sensor. Parameters: <caldata> <block_data>...
  • Page 103: Testing The Power Sensor

    ® Remote Control Commands R&S NRP18S-xx Testing the Power Sensor After zero calibration, query the static error queue (SYSTem:SERRor?). The following responses are possible: ● No error, the zero calibration was successful. ● -240 Warning, zero calibration failed. See also the example. Suffix: <Channel>...
  • Page 104: Configuring The System

    ® Remote Control Commands R&S NRP18S-xx Configuring the System 8.11 Configuring the System The SYSTem subsystem contains a series of commands for general functions that do not directly affect the measurement. The SYSTem:COMMunicate:NETWork:... commands are only available for the R&S NRP LAN power sensors. Remote commands: ..............
  • Page 105: System:communicate:network:restart

    ® Remote Control Commands R&S NRP18S-xx Configuring the System .................... 115 SYSTem:TRANsaction:END ....................115 SYSTem[:SENSor]:NAME ......................116 SYSTem:VERSion? SYSTem:COMMunicate:NETWork:RESTart Effective only for the R&S NRP LAN power sensors. Restarts the network connection to the DUT, that means terminates the connection and sets it up again.
  • Page 106: System:communicate:network:ipaddress

    ® Remote Control Commands R&S NRP18S-xx Configuring the System In a LAN that uses a DNS server (domain name system server), you can access each connected instrument using a unique hostname instead of its IP address. The DNS server translates the hostname to the IP address. Using a hostname is especially use- ful if a DHCP server is used, as a new IP address can be assigned each time the instrument is restarted.
  • Page 107: System:communicate:network:ipaddress:info

    ® Remote Control Commands R&S NRP18S-xx Configuring the System SYSTem:COMMunicate:NETWork:IPADdress:INFO? Effective only for the R&S NRP LAN power sensors. Queries the network status information. Usage: Query only SYSTem:COMMunicate:NETWork:IPADdress:MODE <mode> Effective only for the R&S NRP LAN power sensors. Sets whether the IP address is assigned automatically or manually. Parameters: <mode>...
  • Page 108: System:error:all

    ® Remote Control Commands R&S NRP18S-xx Configuring the System SYSTem:ERRor:ALL? Queries all unread entries in the error/event queue and removes them from the queue. The response is a comma-separated list in first out order, each entry consisting of the error number and a short description of the error. Positive error numbers are instrument-dependent.
  • Page 109: System:error[:Next]

    ® Remote Control Commands R&S NRP18S-xx Configuring the System SYSTem:ERRor[:NEXT]? Queries the error/event queue for the oldest entry and removes it from the queue. The response consists of an error number and a short description of the error. Positive error numbers are instrument-dependent. Negative error numbers are reserved by the SCPI standard.
  • Page 110: System:help:headers

    ® Remote Control Commands R&S NRP18S-xx Configuring the System SYSTem:HELP:HEADers? [<Item>] Returns a list of all SCPI commands supported by the sensor. Query parameters: <Item> <block_data> Usage: Query only SYSTem:HELP:SYNTax? [<Item>] Queries the relevant parameter information for the specified SCPI command. Query parameters: <Item>...
  • Page 111: System:initialize

    ® Remote Control Commands R&S NRP18S-xx Configuring the System Status Sensor Name Technology Function MinPower MaxPower MinFreq MaxFreq Resolution Impedance Coupling Uptime Cal. Misc. Cal. Abs. Cal. Refl. Cal. Temp. Cal. Lin. Cal. S-Para. Cal. S-Para. (User) SPD Mnemonic Cal. Due Date Certificate No Limit TestLimit...
  • Page 112: System:led:color

    ® Remote Control Commands R&S NRP18S-xx Configuring the System Parameters: <language> SCPI *RST: SCPI SYSTem:LED:COLor <color> Sets the color and the flash code of the system status LED, if the operating mode of the LED is set to USER (SYSTem:LED:MODE). Parameters: <color>...
  • Page 113: System:parameters

    ® Remote Control Commands R&S NRP18S-xx Configuring the System Use this query to determine a useful resolution for the result display near the lower measurement limit. Usage: Query only SYSTem:PARameters? Lists all commands with default values, limits and ranges. Usage: Query only SYSTem:PARameters:DELTa? Lists all commands that differ from the defined default status set by...
  • Page 114: System:serror

    ® Remote Control Commands R&S NRP18S-xx Configuring the System Parameters: <update_time> Range: 0.0 to 10.0 *RST: Default unit: Seconds SYSTem:SERRor? Queries the next static error, if available. Static errors are more severe than normal error conditions, which can be queried using SYSTem:ERRor[:NEXT]?. Normal errors result from, for example, unknown commands or syntax errors and gen- erally affect a single parameter or setting.
  • Page 115: System:sutime

    ® Remote Control Commands R&S NRP18S-xx Configuring the System Usage: Query only SYSTem:SUTime <update_time> Effective only in the NRP legacy mode. Sets the status update time. That is the maximum rate in which the power sensor can output measurement results. Relevant only in continuous measurement mode (INITiate:CONTinuousON).
  • Page 116: Using The Status Register

    ® Remote Control Commands R&S NRP18S-xx Using the Status Register Figure 8-12: Sensor Name Parameters: <sensorname> SYSTem:VERSion? Queries the SCPI version that the command set of the sensor complies with. Example: SYST:VERS? Query 1999.0 Response: SCPI version from 1999. Usage: Query only 8.12 Using the Status Register Further information:...
  • Page 117 ® Remote Control Commands R&S NRP18S-xx Using the Status Register STATus:QUEue[:NEXT]? Queries the most recent error queue entry and deletes it. Positive error numbers indicate sensor specific errors. Negative error numbers are error messages defined by SCPI. If the error queue is empty, the error number 0, "No error", is returned. Usage: Query only 8.12.2 Reading Out the CONDition Part...
  • Page 118: Controlling The Enable Part

    ® Remote Control Commands R&S NRP18S-xx Using the Status Register 8.12.4 Controlling the ENABle Part Further information: ● Chapter 10.3.2, "Structure of a SCPI Status Register", on page 135 STATus:DEVice:ENABle <value> STATus:OPERation:CALibrating:ENABle <value> STATus:OPERation:ENABle <value> STATus:OPERation:LLFail:ENABle <value> STATus:OPERation:MEASuring:ENABle <value> STATus:OPERation:SENSe:ENABle <value> STATus:OPERation:TRIGger:ENABle <value>...
  • Page 119 ® Remote Control Commands R&S NRP18S-xx Using the Status Register STATus:OPERation:PTRansition <value> STATus:OPERation:LLFail:PTRansition <value> STATus:OPERation:MEASuring:PTRansition <value> STATus:OPERation:SENSe:PTRansition <value> STATus:OPERation:TRIGger:PTRansition <value> STATus:OPERation:ULFail:PTRansition <value> STATus:QUEStionable:CALibration:PTRansition <value> STATus:QUEStionable:PTRansition <value> STATus:QUEStionable:POWer:PTRansition <value> STATus:QUEStionable:WINDow:PTRansition <value> Parameters: <value> *RST: 65535 User Manual 1178.3686.02 ─ 04...
  • Page 120: Performing Measurement Tasks - Programming Examples

    ® Performing Measurement Tasks - Programming Examples R&S NRP18S-xx Performing the Fastest Measurement in Continuous Average Mode 9 Performing Measurement Tasks - Program- ming Examples If you install the optional software development kit (SDK) of the R&S NRP Toolkit, pro- gramming examples are provided.
  • Page 121 ® Performing Measurement Tasks - Programming Examples R&S NRP18S-xx Performing the Fastest Measurement in Continuous Average Mode //Disable auto averaging SENSe:AVERage:COUNt:AUTO OFF //Enable the fast unchopped continuous average measurement SENSe:POWer:AVG:FAST ON //Set the buffer size and enable the buffer SENSe:BUFFer:SIZE 8192 SENSe:BUFFer:STATe ON //Set the data format to real FORMat:DATA REAL...
  • Page 122: Performing A Buffered Continuous Average Measurement

    ® Performing Measurement Tasks - Programming Examples R&S NRP18S-xx Performing a Buffered Continuous Average Measurement SENSe:POWer:AVG:APERture 10e-6 //Disable the averaging filter SENSe:AVERage:STATE OFF //Set the buffer size and enable the buffer for continuous average results SENSe:BUFFer:SIZE 8192 SENSe:BUFFer:STAT ON //Initiate a continuous measurement INITiate:CONTinuous ON //Fetch the number of results that is currently stored //in the buffer after the measurement is done...
  • Page 123 ® Performing Measurement Tasks - Programming Examples R&S NRP18S-xx Performing a Buffered Continuous Average Measurement // Auto-Trigger OFF SENSOR.write( "TRIG:ATR:STAT OFF" ); // Configure a buffered measurement // Buffer size is randomly selected to 17 SENSOR.write( "SENS:BUFF:SIZE 17" ); SENSOR.write( "SENS:BUFF:STAT ON" ); SENSOR.write( "TRIG:COUN 17"...
  • Page 124: Performing Trace Measurements

    ® Performing Measurement Tasks - Programming Examples R&S NRP18S-xx Performing Trace Measurements // All 17 physical measurement have been executed. // That means, buffer is full and can be read SENSOR.query( "FETCH?", szBuf, sizeof( szBuf ) ); printf( szBuf ); 9.4 Performing Trace Measurements *RST //Set the sensor's operation mode to trace...
  • Page 125: Trace Measurement With Synchronization To Measurement Complete

    ® Performing Measurement Tasks - Programming Examples R&S NRP18S-xx Trace Measurement with Synchronization to Measurement Complete //Query the measurement results FETCh? 9.5 Trace Measurement with Synchronization to Measure- ment Complete This example, written in pseudo code, shows how to setup and execute a trace mea- surement using a non-blocking technique.
  • Page 126 ® Performing Measurement Tasks - Programming Examples R&S NRP18S-xx Trace Measurement with Synchronization to Measurement Complete bool bMeasReady = false; // poll until measurement is ready... // (this loop could also check for cancel-requests from the user or other break conditions) while ( ! bMeasReady ) query( "STAT:OPER:MEAS:EVEN?", &iEvent );...
  • Page 127: Remote Control Basics

    ® Remote Control Basics R&S NRP18S-xx Remote Control Interfaces and Protocols 10 Remote Control Basics ● Remote Control Interfaces and Protocols............. 127 ● SCPI Command Structure..................128 ● Status Reporting System..................134 10.1 Remote Control Interfaces and Protocols For remote control, communication between the R&S NRP18S-xx power sensors and the controlling host is established based on various interfaces and protocols.
  • Page 128: Scpi Command Structure

    ® Remote Control Basics R&S NRP18S-xx SCPI Command Structure USB Resource String The syntax of the used USB resource string is: USB::<vendor ID>::<product ID>::<serial number>[::INSTR] where: ● <vendor ID> is the vendor ID for Rohde & Schwarz (0x0AAD) ● <product ID> is the product ID for the Rohde & Schwarz sensor ●...
  • Page 129: Syntax For Device-Specific Commands

    ® Remote Control Basics R&S NRP18S-xx SCPI Command Structure *RST RESET Resets the instrument. *ESE EVENT STATUS ENABLE Sets the bits of the event status enable registers. *ESR? EVENT STATUS QUERY Queries the contents of the event status register. *IDN? IDENTIFICATION QUERY Queries the instrument identification string.
  • Page 130: Scpi Parameters

    ® Remote Control Basics R&S NRP18S-xx SCPI Command Structure Example: Definition: INITiate[:IMMediate] Command: INIT:IMM is equivalent to INIT Parameters Parameters must be separated from the header by a "white space". If several parame- ters are specified in a command, they are separated by a comma. For a description of the parameter types, refer to Chapter 10.2.3, "SCPI Parameters",...
  • Page 131 ® Remote Control Basics R&S NRP18S-xx SCPI Command Structure Units For physical quantities, you can enter the unit. Only basic units are allowed and recog- nized, see Table 10-3. If you omit the unit, the basic unit is used. Table 10-3: Units Noted default unit Corresponding basic unit Frequency...
  • Page 132 ® Remote Control Basics R&S NRP18S-xx SCPI Command Structure Example: Setting command: SENSe:AVERage:COUNt:AUTO ON Query: SENSe:AVERage:COUNt:AUTO? Response: 1 Text parameters Text parameters observe the syntactic rules for mnemonics, i.e. they can be entered using a short or long form. Like any parameter, they have to be separated from the header by a white space.
  • Page 133: Overview Of Syntax Elements

    ® Remote Control Basics R&S NRP18S-xx SCPI Command Structure 10.2.4 Overview of Syntax Elements The following table provides an overview of the syntax elements: The colon separates the mnemonics of a command. In a command line, the separating semico- lon marks the uppermost command level. The semicolon separates two commands of a command line.
  • Page 134: Responses To Queries

    ® Remote Control Basics R&S NRP18S-xx Status Reporting System A new command line always begins with the complete path. Example: TRIG:LEV 0.1E-3 TRIG:DEL 3E-3 10.2.6 Responses to Queries A query is defined for each setting command unless explicitly specified otherwise. It is formed by adding a question mark to the associated setting command.
  • Page 135 ® Remote Control Basics R&S NRP18S-xx Status Reporting System Output queue Error/event queue Service request enable Status byte & Device status & & & Questionable status & & Standard event status RQS/MSS Operation status & Service request to controller at transition from 0 to 1 Figure 10-1: Status registers overview Chapter 10.3.3, "Status Byte (STB) and Service Request Enable Register...
  • Page 136 ® Remote Control Basics R&S NRP18S-xx Status Reporting System significant bit, is set to 0 in all registers, thus preventing problems some controllers have with the processing of unsigned integers. Figure 10-2: Standard SCPI status register CONDition status register part The five parts of a SCPI register have different properties and functions: The CONDition part is written into directly by the hardware or the sum bit of the next lower register.
  • Page 137: Status Byte (Stb) And Service Request Enable Register (Sre)

    ® Remote Control Basics R&S NRP18S-xx Status Reporting System EVENt status register part The EVENt part indicates whether an event has occurred since the last reading, it is the "memory" of the condition part. It only indicates events passed on by the transition filters.
  • Page 138 ® Remote Control Basics R&S NRP18S-xx Status Reporting System Table 10-4: Meaning of bits used in the status byte Bit No. Meaning Not used Device status register summary bit Depending on the configuration of the sensors status register, this bit is set when a sensor is connected or disconnected or when an error has occurred in a sensor.
  • Page 139: Device Status Register

    ® Remote Control Basics R&S NRP18S-xx Status Reporting System The parallel poll enable register can be set and read by *PRE. 10.3.5 Device Status Register Device Sensor Error Summary Status Sensor Error Sensor Error Sensor Error Sensor Error Legacy Locked Reference-PLL Locked Querying the register: ●...
  • Page 140: Questionable Status Register

    ® Remote Control Basics R&S NRP18S-xx Status Reporting System Bit No. Meaning Legacy locked state The power sensor is locked in the NRP Legacy mode. Via the SCPI channels (USBTMC or TCP/IP) only the usage of query commands is possible, and no setting commands. The NRP legacy interface takes precedence over all other command channels when the first setting command is sent via this interface.
  • Page 141 ® Remote Control Basics R&S NRP18S-xx Status Reporting System Querying the register: ● STATus:QUEStionable:CONDition? ● STATus:QUEStionable[:EVENt]? Table 10-6: Meaning of bits used in the questionable status register Bit No. Meaning 0 to 2 Not used Questionable power status register summary bit Corresponds to the summary bit of the questionable power status register.
  • Page 142 ® Remote Control Basics R&S NRP18S-xx Status Reporting System Querying the register: ● STATus:QUEStionable:CALibration:CONDition? ● STATus:QUEStionable:CALibration[:SUMMary][:EVENt]? Table 10-8: Meaning of bits used in the questionable calibration status register Bit No. Meaning Not used Sensor calibration Zeroing of the sensor was not successful. 2 to 15 Not used 10.3.7 Standard Event Status and Enable Register (ESR, ESE)
  • Page 143: Operation Status Register

    ® Remote Control Basics R&S NRP18S-xx Status Reporting System Bit No. Meaning Execution error This bit is set if the syntax of a received command is correct but the command cannot be executed due to various marginal conditions. An error message with a number between -200 and -300 denoting the error in greater detail is entered in the error queue.
  • Page 144 ® Remote Control Basics R&S NRP18S-xx Status Reporting System Table 10-10: Meaning of bits used in the operation status register Bit No. Meaning Calibrating status register summary bit This bit is set if the sensor is being calibrated. Chapter 10.3.8.1, "Operation Calibrating Status Register", on page 144.
  • Page 145 ® Remote Control Basics R&S NRP18S-xx Status Reporting System Table 10-11: Meaning of bits used in the operation calibrating status register Bit No. Meaning Not used Sensor calibrating The sensor is being calibrated 5 to 15 Not used 10.3.8.2 Operation Measuring Status Register The CONDition register contains information about whether a measurement is being performed by a sensor and, depending on the configuration of the transition register.
  • Page 146 ® Remote Control Basics R&S NRP18S-xx Status Reporting System 10.3.8.4 Operation Sense Status Register The CONDition register contains information about whether a sensor is being initial- ized and, depending on the configuration of the transition register. The EVENt register indicates whether a sensor initialization was started or completed since the last read- out of this register.
  • Page 147 ® Remote Control Basics R&S NRP18S-xx Status Reporting System 10.3.8.6 Operation Upper Limit Fail Status Register The CONDition register contains information about whether a displayed value is above a configured upper limit. The EVENt register indicates whether a limit value was exceeded since the last readout of the Operation Upper Limit Fail Status Register.
  • Page 148: Troubleshooting

    ® Troubleshooting R&S NRP18S-xx Problems during a Firmware Update 11 Troubleshooting ● Displaying Status Information................148 ● Performing a Selftest.....................148 ● Problems during a Firmware Update..............148 11.1 Displaying Status Information Status information is available in several ways. Status LED of the R&S NRP18S-xx The position of the status LED is indicated in Chapter 4, "Power Sensor Tour",...
  • Page 149 ® Troubleshooting R&S NRP18S-xx Problems during a Firmware Update 2. If the power sensor is not accessible any more, contact the service. User Manual 1178.3686.02 ─ 04...
  • Page 150: List Of Commands

    ® List of Commands R&S NRP18S-xx List of Commands [SENSe<Sensor>:][POWer:][AVG:]APERture....................71 [SENSe<Sensor>:][POWer:][AVG:]BUFFer:CLEar..................71 [SENSe<Sensor>:][POWer:][AVG:]BUFFer:COUNt?..................72 [SENSe<Sensor>:][POWer:][AVG:]BUFFer:DATA?..................72 [SENSe<Sensor>:][POWer:][AVG:]BUFFer:SIZE....................72 [SENSe<Sensor>:][POWer:][AVG:]BUFFer:STATe..................72 [SENSe<Sensor>:][POWer:][AVG:]FAST......................73 [SENSe<Sensor>:][POWer:][AVG:]SMOothing:STATe..................73 [SENSe<Sensor>:][POWer:]BURSt:DTOLerance................... 74 [SENSe<Sensor>:][POWer:]BURSt:LENGth?....................74 [SENSe<Sensor>:][POWer:]TSLot[:AVG]:COUNt................... 75 [SENSe<Sensor>:][POWer:]TSLot[:AVG]:WIDTh....................76 [SENSe<Sensor>:][POWer:]TSLot[:AVG][:EXCLude]:MID:OFFSet[:TIME].............76 [SENSe<Sensor>:][POWer:]TSLot[:AVG][:EXCLude]:MID:TIME..............76 [SENSe<Sensor>:][POWer:]TSLot[:AVG][:EXCLude]:MID[:STATe]..............76 [SENSe<Sensor>:]AUXiliary..........................69 [SENSe<Sensor>:]AVERage:COUNt......................82 [SENSe<Sensor>:]AVERage:COUNt:AUTO....................82 [SENSe<Sensor>:]AVERage:COUNt:AUTO:MTIMe..................82 [SENSe<Sensor>:]AVERage:COUNt:AUTO:NSRatio..................82 [SENSe<Sensor>:]AVERage:COUNt:AUTO:RESolution................
  • Page 151 ® List of Commands R&S NRP18S-xx [SENSe<Sensor>:]TRACe:DATA?........................78 [SENSe<Sensor>:]TRACe:MPWidth?......................80 [SENSe<Sensor>:]TRACe:OFFSet:TIME......................80 [SENSe<Sensor>:]TRACe:POINts........................80 [SENSe<Sensor>:]TRACe:REALtime......................81 [SENSe<Sensor>:]TRACe:TIME........................81 *CLS.................................44 *ESE................................45 *ESR?................................45 *IDN?................................45 *IST?................................45 *OPC................................45 *OPT?................................46 *PRE................................46 *RCL................................46 *RST................................46 *SAV.................................46 *SRE................................47 *STB?................................47 *TRG................................47 *TST?................................47 *WAI.................................48 ABORt................................50 CALCulate:FEED.............................68 CALibration:DATA............................
  • Page 152 ® List of Commands R&S NRP18S-xx STATus:OPERation:ENABle.......................... 118 STATus:OPERation:LLFail:CONDition?......................117 STATus:OPERation:LLFail:ENABle....................... 118 STATus:OPERation:LLFail:NTRansition......................118 STATus:OPERation:LLFail:PTRansition......................119 STATus:OPERation:LLFail[:SUMMary][:EVENt]?..................117 STATus:OPERation:MEASuring:CONDition?....................117 STATus:OPERation:MEASuring:ENABle....................... 118 STATus:OPERation:MEASuring:NTRansition....................118 STATus:OPERation:MEASuring:PTRansition....................119 STATus:OPERation:MEASuring[:SUMMary][:EVENt]?..................117 STATus:OPERation:NTRansition........................118 STATus:OPERation:PTRansition........................119 STATus:OPERation:SENSe:CONDition?.......................117 STATus:OPERation:SENSe:ENABle......................118 STATus:OPERation:SENSe:NTRansition...................... 118 STATus:OPERation:SENSe:PTRansition...................... 119 STATus:OPERation:SENSe[:SUMMary][:EVENt]?..................117 STATus:OPERation:TRIGger:CONDition?.....................117 STATus:OPERation:TRIGger:ENABle......................118 STATus:OPERation:TRIGger:NTRansition....................
  • Page 153 ® List of Commands R&S NRP18S-xx STATus:QUEue[:NEXT]?..........................117 SYSTem:COMMunicate:NETWork:IPADdress....................106 SYSTem:COMMunicate:NETWork:IPADdress:GATeway................106 SYSTem:COMMunicate:NETWork:IPADdress:INFO?...................107 SYSTem:COMMunicate:NETWork:IPADdress:MODE...................107 SYSTem:COMMunicate:NETWork:IPADdress:SUBNet:MASK..............107 SYSTem:COMMunicate:NETWork:RESet..................... 105 SYSTem:COMMunicate:NETWork:RESTart....................105 SYSTem:COMMunicate:NETWork:STATus?....................105 SYSTem:COMMunicate:NETWork[:COMMon]:DOMain................105 SYSTem:COMMunicate:NETWork[:COMMon]:HOSTname................105 SYSTem:DFPRint<Channel>?........................107 SYSTem:ERRor:ALL?............................108 SYSTem:ERRor:CODE:ALL?........................108 SYSTem:ERRor:CODE[:NEXT]?........................108 SYSTem:ERRor:COUNt?..........................108 SYSTem:ERRor[:NEXT]?..........................109 SYSTem:FWUPdate............................109 SYSTem:FWUPdate:STATus?........................109 SYSTem:HELP:HEADers?..........................110 SYSTem:HELP:SYNTax:ALL?........................110 SYSTem:HELP:SYNTax?..........................110 SYSTem:INFO?..............................110 SYSTem:INITialize............................111...
  • Page 154 ® List of Commands R&S NRP18S-xx TRIGger:DTIMe............................... 61 TRIGger:EXTernal<2...2>:IMPedance......................61 TRIGger:HOLDoff............................62 TRIGger:HYSTeresis............................62 TRIGger:IMMediate............................62 TRIGger:LEVel..............................62 TRIGger:LEVel:UNIT............................63 TRIGger:MASTer:PORT..........................63 TRIGger:MASTer:STATe..........................63 TRIGger:SLOPe...............................64 TRIGger:SOURce............................64 TRIGger:SYNC:PORT............................. 64 TRIGger:SYNC:STATe.............................64 UNIT:POWer..............................65 User Manual 1178.3686.02 ─ 04...
  • Page 155: Index

    ® Index R&S NRP18S-xx Index Android device Firmware update ............21, 36 R&S Power Viewer Mobile .......... 30 Potential risks ............. 36 Application cards ..............6 Problems ..............148 Application notes ..............6 Remote control ............38 Requirements ............. 36 Firmware Update for NRP Family ........
  • Page 156 ® Index R&S NRP18S-xx PTRansition .............. 136 Sum bit ..............137 Parameters Suffixes ..............43, 129 Block data ..............132 Sum bit ................137 Special numeric values ..........131 String ................ 132 Text ................132 Trigger ................51 Preparing for use ............... 10 Dropout time ...............

Table of Contents