Rohde & Schwarz NRPxxA Series User Manual

Rohde & Schwarz NRPxxA Series User Manual

Average power sensors
Table of Contents

Advertisement

Quick Links

®
R&S
NRPxxA(N)
Average Power Sensors
User Manual
(;ÛÊA2)
1177601702

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Rohde & Schwarz NRPxxA Series

  • Page 1 ® R&S NRPxxA(N) Average Power Sensors User Manual (;ÛÊA2) 1177601702...
  • Page 2 This manual describes the following average power sensors with firmware version FW 02.00 and later: ● ® R&S NRP6A (1424.6796.02) ● ® R&S NRP6AN (1424.6809.02) ● ® R&S NRP18A (1424.6815.02) ● ® R&S NRP18AN (1424.6821.02) © 2019 Rohde & Schwarz GmbH & Co. KG Mühldorfstr.
  • Page 3: Table Of Contents

    ® Contents R&S NRPxxA(N) Contents 1 Preface....................9 For Your Safety......................9 Documentation Overview..................... 9 1.2.1 Getting Started Manual....................9 1.2.2 User Manuals........................9 1.2.3 Tutorials.........................10 1.2.4 Instrument Security Procedures..................10 1.2.5 Basic Safety Instructions....................10 1.2.6 Data Sheets and Brochures..................10 1.2.7 Release Notes and Open Source Acknowledgment (OSA)..........
  • Page 4 ® Contents R&S NRPxxA(N) Trigger I/O Connector....................26 Host Interface......................26 Status LED........................26 LAN PoE Interface.......................27 5 Operating Concepts................29 R&S NRP Toolkit......................29 5.1.1 Versions and Downloads....................29 5.1.2 System Requirements....................29 5.1.3 R&S NRP Toolkit for Windows..................30 5.1.3.1 Components of the R&S NRP Toolkit................31 Browser-Based User Interface...................32 Remote Control......................
  • Page 5 ® Contents R&S NRPxxA(N) 7.2.2 Using the Web User Interface..................59 7.2.3 Using Remote Control....................59 8 Replacing an R&S NRP-Zxx with an R&S NRPxxA(N)...... 61 Most Important Differences..................61 Prerequisites....................... 61 9 Remote Control Commands..............63 Conventions Used in SCPI Command Descriptions..........63 Notations........................63 Common Commands....................
  • Page 6 ® Contents R&S NRPxxA(N) 9.8.2 Setting the Frequency....................94 9.8.3 Configuring Corrections....................94 9.8.3.1 Duty Cycle Corrections....................94 9.8.3.2 Offset Corrections......................95 9.8.3.3 S-Parameter Correction....................96 9.8.3.4 S-Gamma Corrections....................98 9.8.3.5 Using the S-Parameters Tool..................100 Calibrating/Zeroing the Power Sensor ..............109 9.10 Testing the Power Sensor..................111 9.11...
  • Page 7 ® Contents R&S NRPxxA(N) 11.2.4 Overview of Syntax Elements..................142 11.2.5 Structure of a Command Line..................142 11.2.6 Responses to Queries....................143 11.3 Status Reporting System..................143 11.3.1 Hierarchy of the Status Registers................143 11.3.2 Structure of a SCPI Status Register................144 11.3.3 Status Byte (STB) and Service Request Enable Register (SRE)........146 11.3.4...
  • Page 8 ® Contents R&S NRPxxA(N) User Manual 1177.6017.02 ─ 05...
  • Page 9: Preface

    ® Preface R&S NRPxxA(N) 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 NRPxxA(N) is designated for use in industrial, administrative, and laboratory environments.
  • Page 10: Tutorials

    ® Preface R&S NRPxxA(N) 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 NRPxxA(N). 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 NRPxxA(N) in secure areas.
  • Page 11: Typographical Conventions

    ® Preface R&S NRPxxA(N) 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 12: Key Features

    ® Key Features R&S NRPxxA(N) 2 Key Features The average 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. Also, most sensors are available with an additional Gigabit Ethernet interface with Power-over-Ethernet (PoE) power supply.
  • Page 13: Preparing For Use

    ® Preparing for Use R&S NRPxxA(N) Important Aspects for Test Setup 3 Preparing for Use For information on safety, see: ● Chapter 1.1, "For Your Safety", on page 9 ● Chapter 3.2, "Operating Conditions", on page 13 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 14: Connecting To A Dut

    ® Preparing for Use R&S NRPxxA(N) Connecting to a DUT ● Use a wrist strap and cord, and connect yourself to the ground. ● Use a conductive floor mat and heel strap combination. EMI impact on measurement results Electromagnetic interference (EMI) may affect the measurement results. To suppress generated electromagnetic interference (EMI): ●...
  • Page 15: Connecting To A Computer

    ® Preparing for Use R&S NRPxxA(N) Connecting to a Computer To disconnect from the DUT ► 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. Carefully loosen the union nut at the front of the RF connector of the sensor and remove the sensor.
  • Page 16: R&S Nrp-Z5 Sensor Hub Setup

    ® Preparing for Use R&S NRPxxA(N) Connecting to a Computer Setup 3-Path Diode Power Sensor MHz to GHz, 100 pW to 200 mW (−70 dBm to +23 dBm) SMART SENSOR TECHNOLOGY ‑ ZKU cable Figure 3-1: Setup with an R&S NRP 1 = Signal source 2 = R&S NRPxxA(N) power sensor 3 = Host interface connector...
  • Page 17 ® Preparing for Use R&S NRPxxA(N) Connecting to a Computer 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 = USB cable (supplied) = Computer with USB host interface 7, 8...
  • Page 18: Setting Up A Lan Connection

    ® Preparing for Use R&S NRPxxA(N) Connecting to a Computer 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. e) Connect the delivered external power supply unit to the R&S NRP‑Z5 and to an AC supply connector.
  • Page 19 ® Preparing for Use R&S NRPxxA(N) Connecting to a Computer Setup with a PoE Ethernet switch HOST INTERFACE TRIG2 3 V or 5 V logic OUT: min. 2 V into 50 Ω max. 5.3 V SMART SENSOR TECHNOLOGY Ethernet Switch (PoE) Figure 3-3: Setup with a PoE Ethernet switch = Signal source...
  • Page 20 ® Preparing for Use R&S NRPxxA(N) Connecting to a Computer Setup with a PoE injector and a Non-PoE Ethernet switch HOST INTERFACE TRIG2 3 V or 5 V logic OUT: min. 2 V into 50 Ω max. 5.3 V SMART SENSOR TECHNOLOGY Non-PoE PoE Injector Ethernet Switch...
  • Page 21: Establishing A Connection To The Network

    ® Preparing for Use R&S NRPxxA(N) Connecting to a Computer Setup with a PoE injector HOST INTERFACE TRIG2 3 V or 5 V logic OUT: min. 2 V into 50 Ω max. 5.3 V SMART SENSOR TECHNOLOGY PoE Injector Figure 3-5: Setup with a PoE injector = Signal source = LAN power sensor = RJ-45 Ethernet connector...
  • Page 22: Using Hostnames

    ® Preparing for Use R&S NRPxxA(N) Connecting to a Computer To set up a network Ethernet connection 1. Connect the power sensor to the network or to a single computer. By default, the power sensor is configured to use dynamic TCP/IP configuration (DHCP) and to obtain the address information automatically.
  • Page 23: Assigning The Ip Address

    ® Preparing for Use R&S NRPxxA(N) Connecting to a Computer ● <serial number> is the individual serial number of the power sensor. The serial number is printed on the name plate at the rear side of the sensor. It is part of the device ID printed above the barcode: ID: 1419.0035K02 - 101441 - Zd Serial Number...
  • Page 24: Connecting To A Usb Host

    ® Preparing for Use R&S NRPxxA(N) Connecting to a USB Host Use hostnames to identify the sensor In networks using a DHCP server, it is recommended that you address the sensor by its unambiguous hostnames, see Chapter 3.5.2.3, "Using Hostnames", on page 22.
  • Page 25: Power Sensor Tour

    ® Power Sensor Tour R&S NRPxxA(N) RF Connector 4 Power Sensor Tour This chapter provides an overview of the available connectors and LEDs of the power sensor. Figure 4-1, the USB power sensor is shown on the left, the LAN power sensor is shown on the right.
  • Page 26: Trigger I/O Connector

    ® Power Sensor Tour R&S NRPxxA(N) Status LED Table 4-1: R&S NRPxxA(N) RF connector characteristics Power sensor Matching female con- Male connector Tightening torque nector R&S NRP6A R&S NRP6AN 1.36 Nm (12'' lbs) R&S NRP18A R&S NRP18AN 4.2 Trigger I/O Connector The trigger I/O is a connector of SMB type.
  • Page 27: Lan Poe Interface

    ® Power Sensor Tour R&S NRPxxA(N) LAN PoE Interface Indication State Slow flashing white Sanitizing in progress Yellow Wait for trigger state Green Measuring state Turquoise blue Zeroing is in progress 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?.
  • Page 28 ® Power Sensor Tour R&S NRPxxA(N) LAN PoE Interface Color State Green The sensor is powered over PoE. You can operate it using the Ethernet interface. No light No PoE power is present. Network status LED Available only for LAN power sensor. The network status LED shows whether the LAN connection to the network is estab- lished properly or not.
  • Page 29: Operating Concepts

    ® Operating Concepts R&S NRPxxA(N) R&S NRP Toolkit 5 Operating Concepts For operating the power sensor, you can choose from various possibilities: ● Chapter 5.2, "Browser-Based User Interface", on page 32 ● Chapter 5.3, "Remote Control", on page 34 ● Chapter 5.4, "R&S NRPV", on page 34...
  • Page 30: R&S Nrp Toolkit For Windows

    ® Operating Concepts R&S NRPxxA(N) R&S NRP Toolkit Supported operating systems: ● Microsoft Windows versions – Microsoft Windows Vista 32/64-bit – Microsoft Windows 7 32/64-bit – 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 29.
  • Page 31: Components Of The R&S Nrp Toolkit

    ® Operating Concepts R&S NRPxxA(N) R&S NRP Toolkit 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 32: Browser-Based User Interface

    ® Operating Concepts R&S NRPxxA(N) Browser-Based User Interface NRP Version Display Displays version information of all installed, power measurement-relevant software packages. R&S NRP‑Z Uncertainty Calculator Determines the expanded measurement uncertainty. The tool comes with a manual (PDF) that is also available in the "Start" menu. S-Parameter Update Multi Helps loading an S-parameter table into the power sensor.
  • Page 33 ® Operating Concepts R&S NRPxxA(N) Browser-Based User Interface Setup HOST INTERFACE TRIG2 3 V or 5 V logic OUT: min. 2 V into 50 Ω max. 5.3 V SMART SENSOR TECHNOLOGY Ethernet Switch (PoE) Figure 5-1: Setup with the web user interface = Signal source = LAN power sensor = RJ-45 Ethernet connector...
  • Page 34: Remote Control

    ® Operating Concepts R&S NRPxxA(N) R&S NRPV The main dialog of the web user interface opens. 4. Select the "Continuous Average" tab and perform any necessary changes. 5. Press "Measurement > ON" to start the measurement. For a detailed description of the web user interface, refer to Chapter 6, "Browser- Based User Interface",...
  • Page 35 ® Operating Concepts R&S NRPxxA(N) R&S NRPV Required equipment ● R&S NRPxxA(N) power sensor ● R&S NRP‑ZKU cable or an R&S NRP‑Z5 sensor hub and an R&S NRP‑ZK6 cable to connect the sensor to the computer ● Windows computer with installed: –...
  • Page 36: R&S Power Viewer

    ® Operating Concepts R&S NRPxxA(N) R&S Power Viewer b) Select "Zero > Select > A" (channel short name). Zeroing takes several seconds. During zeroing, a message shows the pro- gress. After completion, the message reports either success or an error ("Suc- cess"...
  • Page 37 ® Operating Concepts R&S NRPxxA(N) R&S Power Viewer Required equipment ● R&S NRPxxA(N) power sensor ● R&S NRP‑ZKU cable or an R&S NRP‑Z5 sensor hub and an R&S NRP‑ZK6 cable to connect the sensor to the computer ● Computer with installed: –...
  • Page 38 ® Operating Concepts R&S NRPxxA(N) R&S Power Viewer Note: Turn off all measurement power signals before zeroing. An active measure- ment signal during zeroing causes an error. a) Switch off the measurement signal. b) Select "Sensor > Zero (Signal off) ". 4.
  • Page 39: R&S Power Viewer Mobile

    ® Operating Concepts R&S NRPxxA(N) R&S NRX 5.6 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. You can download the R&S Power Viewer Mobile free of charge from the Google Play Store.
  • Page 40: R&S Nrp2

    ® Operating Concepts R&S NRPxxA(N) R&S NRP2 Starting a measurement 1. Preset the R&S NRX and the connected R&S power sensors. a) Press the [Preset] key. b) Tap "Preset". All parameters are set to their defaults. 2. If measuring in zero-IF mode (RBW > 40 MHz), consider to zero the power sensor: Note: Turn off all measurement signals before zeroing.
  • Page 41 ® Operating Concepts R&S NRPxxA(N) R&S NRP2 Setup 3-Path Diode Power Sensor MHz to GHz, 100 pW to 200 mW (−70 dBm to +23 dBm) SMART SENSOR TECHNOLOGY Figure 5-5: Setup with an R&S NRP2 base unit 1 = Signal source 2 = R&S NRPxxA(N) power sensor 3 = Host interface connector 4 = R&S NRP‑ZK6 cable...
  • Page 42 ® Operating Concepts R&S NRPxxA(N) R&S NRP2 b) Press the [ZERO] hardkey of the R&S NRP2. The "Zero" dialog box is displayed. c) Press the [ZERO] hardkey again to perform zeroing of all connected sensor channels ("Zero (All)") or press the appropriate softkey to select a specific sen- sor for zeroing.
  • Page 43: Browser-Based User Interface

    ® Browser-Based User Interface R&S NRPxxA(N) Main Dialog of the Web User Interface 6 Browser-Based User Interface The web user interface is an alternative way to operate an R&S NRPxxAN LAN power sensor. This chapter provides a description of the parameters used for setting a power mea- surement with the web user interface.
  • Page 44: Setting The Unit

    ® Browser-Based User Interface R&S NRPxxA(N) Setting the Unit 6.2 Setting the Unit You can set the unit for the different parameters by typing the corresponding letter after the entered value. Figure 6-2: Parameter 1 = Parameter name 2 = Value 3 = Unit The following abbreviations are available: Unit...
  • Page 45: Common Settings

    ® Browser-Based User Interface R&S NRPxxA(N) Common Settings Example: To change the representation of a "Trigger Level" of 100µW into dBm, enter -10dbm in the "Trigger Level" field. All future entries of solely numbers represent the value in dBm. If you enter -15 in the field, the "Trigger Level" value is set to -15.00 dBm. If you want to revert the value to Watt, enter 50uW.
  • Page 46: Measurement Modes

    ® Browser-Based User Interface R&S NRPxxA(N) Measurement Modes <State> ← Offset Enables or disables the usage of the level offset. Remote command: on page 96 [SENSe<Sensor>:]CORRection:OFFSet:STATe <Value> ← Offset Adds a fixed level offset in dB to account for external losses. Remote command: on page 95 [SENSe<Sensor>:]CORRection:OFFSet...
  • Page 47: Settings

    ® Browser-Based User Interface R&S NRPxxA(N) Settings Remote command: on page 88 [SENSe<Sensor>:][POWer:][AVG:]APERture Duty Cycle Sets the duty cycle, the percentage of one period during which the signal is active, for pulse modulated signals. If the duty cycle is set, the sensor calculates the signal pulse power from its value and the average power.
  • Page 48 ® Browser-Based User Interface R&S NRPxxA(N) Settings Range..........................48 Γ Correction........................48 └ <State>......................48 └ Magnitude....................... 48 └ Phase......................48 Zero Calibration......................49 Diagnostics........................49 Range Selects which path of the sensor is used for the measurement. Remote command: on page 70 [SENSe<Sensor>:]RANGe:AUTO on page 70 [SENSe<Sensor>:]RANGe Γ...
  • Page 49 ® Browser-Based User Interface R&S NRPxxA(N) Settings Zero Calibration Performs zeroing using the signal at the sensor input. See Chapter 9.9, "Calibrating/ Zeroing the Power Sensor ", on page 109. Note: Turn off all test signals before zeroing. An active test signal during zeroing causes an error.
  • Page 50: Averaging Settings

    ® Browser-Based User Interface R&S NRPxxA(N) Settings 6.5.2 Averaging Settings Describes the parameters for automatic averaging. Further information: ● Chapter 9.8.1, "Configuring Auto Averaging", on page 90 Access: main dialog of the web user interface > navigation pane > "Averaging" Averaging Mode......................
  • Page 51: Trigger Settings

    ® Browser-Based User Interface R&S NRPxxA(N) Settings Sets the maximum noise ratio in the measurement result. Remote command: on page 91 [SENSe<Sensor>:]AVERage:COUNt on page 92 [SENSe<Sensor>:]AVERage:COUNt:AUTO:RESolution on page 92 [SENSe<Sensor>:]AVERage:COUNt:AUTO:NSRatio Filter Terminal Control Defines how the measurement results are output. This is called termination control. See also Chapter 9.5, "Controlling the Measurement",...
  • Page 52 ® Browser-Based User Interface R&S NRPxxA(N) Settings Trigger Source.......................52 └ <Source>......................52 └ <Slope>......................52 Trigger Level......................... 52 Trigger Delay.........................52 Dropout......................... 53 Holdoff...........................53 Hysteresis........................53 Trigger Source Groups the trigger source settings. <Source> ← Trigger Source Selects the trigger source. See Chapter 9.5.2.3, "Trigger Sources", on page 73.
  • Page 53: System Settings

    ® Browser-Based User Interface R&S NRPxxA(N) Settings Remote command: on page 79 TRIGger:DELay Dropout With a positive (negative) trigger slope, the dropout time is the minimum time for which the signal must be below (above) the power level defined by "Trigger Level". Remote command: on page 79 TRIGger:DTIMe...
  • Page 54 ® Browser-Based User Interface R&S NRPxxA(N) Settings Address........................54 Subnet Mask......................... 54 Gateway........................54 DHCP..........................54 Apply Network Settings....................54 Sensor Name........................ 54 Firmware Update......................55 IP Address Sets the IP address of the sensor. Remote command: on page 114 SYSTem:COMMunicate:NETWork:IPADdress Subnet Mask Sets the subnet mask.
  • Page 55 ® Browser-Based User Interface R&S NRPxxA(N) Settings Firmware Update Opens a dialog to start the firmware update. For further information, see Chapter 7.2.2, "Using the Web User Interface", on page 59. Alternatively, you can the Firmware Update for NRP Family program. See Chap- ter 7.2.1, "Using the Firmware Update for NRP Family Program",...
  • Page 56: Firmware Update

    ® Firmware Update R&S NRPxxA(N) Updating the Firmware 7 Firmware Update ● Hardware and Software Requirements..............56 ● Updating the Firmware....................56 7.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 15.
  • Page 57: Using The Firmware Update For Nrp Family Program

    ® Firmware Update R&S NRPxxA(N) Updating the Firmware 7.2.1 Using the Firmware Update for NRP Family Program Firmware Update for NRP Family is part of the R&S NRP Toolkit. See also Chap- ter 5.1, "R&S NRP Toolkit", on page 29. Checking the prerequisites 1.
  • Page 58 ® Firmware Update R&S NRPxxA(N) Updating the Firmware Note: The "Hostname or IP Address" field is not used during this procedure. There- fore, leave it empty. 6. Under "Firmware", enter the full path and filename of the update file, or press the browse button next to the field.
  • Page 59: Using The Web User Interface

    ® Firmware Update R&S NRPxxA(N) Updating the Firmware 7.2.2 Using the Web User Interface 1. Connect the power sensor to the computer as described in Chapter 3.5, "Connect- ing to a Computer", on page 15. 2. Open the web user interface as described in Chapter 5.2, "Browser-Based User Interface", on page 32.
  • Page 60 ® Firmware Update R&S NRPxxA(N) Updating the Firmware Example: You want to update your R&S NRP18AN with the nrp6an_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 61: Replacing An R&S Nrp-Zxx With An R&Snrpxxa(N)

    ® Replacing an R&S NRP-Zxx with an R&S NRPxxA(N) R&S NRPxxA(N) Prerequisites 8 Replacing an R&S NRP-Zxx with an R&S NRPxxA(N) The new R&S NRPxxA(N) sensors are compatible with the R&S NRP-Zxx series of power sensors. New power sensor Replaces this sensor R&S NRP6A/R&S NRP6AN - USB connected R&S NRP-Z91 R&S NRP18A/R&S NRP18AN - USB connected...
  • Page 62 ® Replacing an R&S NRP-Zxx with an R&S NRPxxA(N) R&S NRPxxA(N) 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 63: Remote Control Commands

    ® Remote Control Commands R&S NRPxxA(N) Notations 9 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. 9.1 Conventions Used in SCPI Command Descriptions Note the following conventions used in the remote command descriptions: ●...
  • Page 64 ® Remote Control Commands R&S NRPxxA(N) 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 65: Common Commands

    ® Remote Control Commands R&S NRPxxA(N) 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 66: Ese

    ® Remote Control Commands R&S NRPxxA(N) 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 67: Opt

    ® Remote Control Commands R&S NRPxxA(N) 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 68: Sre

    ® Remote Control Commands R&S NRPxxA(N) 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 69: Preparing For The Measurement

    ® Remote Control Commands R&S NRPxxA(N) 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 9.4 Preparing for the Measurement...
  • Page 70: Selecting A Measurement Mode

    ® Remote Control Commands R&S NRPxxA(N) Preparing for the Measurement Remote commands: ....................70 [SENSe<Sensor>:]RANGe ..................70 [SENSe<Sensor>:]RANGe:AUTO ..................70 [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 71: Controlling The Measurement

    ® Remote Control Commands R&S NRPxxA(N) Controlling the Measurement See also Chapter 9.7.1, "Continuous Average Measurement", on page 87. [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 using: [SENSe<Sensor>:][POWer:][AVG:]APERture *RST:...
  • Page 72: Triggering

    ® Remote Control Commands R&S NRPxxA(N) 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 73: Trigger States

    ® Remote Control Commands R&S NRPxxA(N) Controlling the Measurement Further information: ● Chapter 9.5.5, "Configuring the Trigger", on page 77 9.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.
  • Page 74: Dropout Time

    ® Remote Control Commands R&S NRPxxA(N) Controlling the Measurement Trigger source Description Remote commands to initiate the measurement "Internal" Uses the input signal as trigger signal. TRIGger:IMMediate "External 1" Uses the digital input signal supplied using a dif- TRIGger:IMMediate ferential pair in the 8-pin sensor cable. "External 2"...
  • Page 75: Controlling The Measurement Results

    ® Remote Control Commands R&S NRPxxA(N) Controlling the Measurement 9.5.3 Controlling the Measurement Results The R&S NRPxxA(N) can cope with the wide range of measurement scenarios with the help of the so-called "termination control". Depending on how fast your measurement results change, you can define, how the measurement results are output.
  • Page 76: Continuous Average Mode

    ® Remote Control Commands R&S NRPxxA(N) Controlling the Measurement 9.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 77: Configuring The Trigger

    ® Remote Control Commands R&S NRPxxA(N) 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 78 ® Remote Control Commands R&S NRPxxA(N) Controlling the Measurement ....................... 79 TRIGger:DELay ..................... 79 TRIGger:DELay:AUTO ....................... 79 TRIGger:DTIMe ................80 TRIGger:EXTernal<2...2>:IMPedance ......................80 TRIGger:HOLDoff ......................80 TRIGger:HYSTeresis ......................81 TRIGger:IMMediate ........................ 81 TRIGger:LEVel ......................81 TRIGger:LEVel:UNIT ....................81 TRIGger:MASTer:PORT ....................82 TRIGger:MASTer:STATe ......................
  • Page 79: Trigger:delay

    ® Remote Control Commands R&S NRPxxA(N) Controlling the Measurement TRIGger:COUNt <count> Sets the number of measurement cycles to be performed when the measurement is started using INITiate[:IMMediate]. This number equals the number of results that can be obtained from the sensor after a single measurement.
  • Page 80: Trigger:external<2

    ® Remote Control Commands R&S NRPxxA(N) Controlling the Measurement Parameters: <dropout_time> Range: 0.00 to 10.00 *RST: 0.00 Default unit: s Manual operation: "Dropout" on page 53 TRIGger:EXTernal<2...2>:IMPedance <impedance> Effective only if EXTernal2 is set. TRIGger:SOURce Sets termination resistance of the second external trigger input. Choose the setting that fits the impedance of the trigger source to minimize reflections on the trigger sig- nals.
  • Page 81: Trigger:immediate

    ® Remote Control Commands R&S NRPxxA(N) Controlling the Measurement TRIGger:IMMediate Causes a generic trigger event. The power sensor leaves the waiting for trigger state immediately, irrespective of the trigger source and the trigger delay, and starts the measurement. This command is the only way to start a measurement if the trigger source is set to hold (TRIGger:SOURce HOLD).
  • Page 82: Trigger:master:state

    ® Remote Control Commands R&S NRPxxA(N) Controlling the Measurement If the sensor triggers itself, the trigger source of the sensor must be assigned to the other external port, as shown in the examples. Parameters: <master_port> EXT1 | EXTernal1 | EXT2 | EXTernal2 *RST: EXT1 Example:...
  • Page 83: Configuring And Retrieving Results

    ® Remote Control Commands R&S NRPxxA(N) Configuring and Retrieving Results Parameters: <source> HOLD | IMMediate | INTernal | BUS | EXTernal | EXT1 | EXTernal1 | EXT2 | EXTernal2 Chapter 9.5.2.3, "Trigger Sources", on page 73. *RST: IMMediate Manual operation: "<Source>"...
  • Page 84: Setting The Result Format

    ® Remote Control Commands R&S NRPxxA(N) Configuring and Retrieving Results Parameters: <unit> DBM | W | DBUV *RST: Example: UNIT:POW DBM 9.6.2 Setting the Result Format The FORMat subsystem sets the format of numeric data (measured values) that is exchanged between the remote control computer and the power sensors if high-level measurement commands are used.
  • Page 85: Retrieving Results

    ® Remote Control Commands R&S NRPxxA(N) Configuring and Retrieving Results FORMat[:DATA] [<data,length>, <length>] Specifies how the R&S NRPxxA(N) sends the numeric data to the controlling host/ computer. Parameters: <data,length> <REAL,32 | 64> REAL Block of binary values, 32-bit or 64-bit each; so-called "SCPI definite length block"...
  • Page 86 ® Remote Control Commands R&S NRPxxA(N) Configuring and Retrieving Results FETCh<Sensor>[:SCALar][:POWer][:AVG]? Queries the last valid measurement result. Usage: Query only FETCh<Sensor>[:SCALar][:POWer]:TSLot? Queries the last valid measurement result of the timeslot average measurement mode. Usage: Query only CALCulate:FEED <mode> When you query measurement data using FETCh<Sensor>[:SCALar][:POWer][: AVG]?, the power sensor returns data of the measurand that was configured before.
  • Page 87: Configuring The Measurement Modes

    ® Remote Control Commands R&S NRPxxA(N) Configuring the Measurement Modes RNDMax Randomly selected samples are transmitted. All evaluations use these values instead of the average values. *RST: NONE 9.7 Configuring the Measurement Modes In the following chapter the settings needed for configuring a measurement mode are described.
  • Page 88: [Sense:][Power:][Avg:]Aperture

    ® Remote Control Commands R&S NRPxxA(N) Configuring the Measurement Modes Calculating the measurement time Normally, the measurement time is calculated as follows: μ s MT = 2 * AC * APER + (2 * AC - 1) * 100 with: MT: overall measurement time AC: average count APER: aperture time...
  • Page 89: [Sense:][Power:][Avg:]Buffer:count

    ® Remote Control Commands R&S NRPxxA(N) Configuring the Measurement Modes Example: BUFF:CLE Usage: Event [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 90: Configuring Basic Measurement Parameters

    ® Remote Control Commands R&S NRPxxA(N) Configuring Basic Measurement Parameters [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 88.
  • Page 91 ® Remote Control Commands R&S NRPxxA(N) 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 92 ® Remote Control Commands R&S NRPxxA(N) Configuring Basic Measurement Parameters [SENSe<Sensor>:]AVERage:COUNt:AUTO:NSRatio <nsr> Determines the relative noise component in the measurement result for the measure- ment modes with scalar results. These measurement modes are Continuous Average, Burst Average and Timeslot Average, provided the particular sensor supports them. This command is only effective if the auto average calculation is enabled: ●...
  • Page 93 ® Remote Control Commands R&S NRPxxA(N) Configuring Basic Measurement Parameters 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. Example: AVER:RES Usage:...
  • Page 94: Setting The Frequency

    ® Remote Control Commands R&S NRPxxA(N) Configuring Basic Measurement Parameters [SENSe<Sensor>:]AVERage[:STATe] <state> Available in continuous average mode. Enables or disables the averaging filter. Parameters: <state> *RST: Manual operation: "<Mode>" on page 50 9.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.
  • Page 95: Offset Corrections

    ® Remote Control Commands R&S NRPxxA(N) Configuring Basic Measurement Parameters Remote commands: ................95 [SENSe<Sensor>:]CORRection:DCYCle ..............95 [SENSe<Sensor>:]CORRection:DCYCle:STATe [SENSe<Sensor>:]CORRection:DCYCle <duty_cycle> Available in continuous average mode. 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 NRPxxA(N) takes this percentage into account when calculating the signal pulse power from the average power.
  • Page 96: S-Parameter Correction

    ® Remote Control Commands R&S NRPxxA(N) Configuring Basic Measurement Parameters Parameters: <offset> Range: -200.00 to 200.00 *RST: Default unit: dB Manual operation: "<Value>" on page 46 [SENSe<Sensor>:]CORRection:OFFSet:STATe <state> Enables or disables the offset correction. Parameters: <state> *RST: Example: CORR:OFFS:STAT ON Manual operation: "<State>"...
  • Page 97 ® Remote Control Commands R&S NRPxxA(N) Configuring Basic Measurement Parameters Chapter 9.8.3.5, "Using the S-Parameters Tool", on page 100. To replace the delivered attenuator with any other 2-port device 1. Measure the S-parameters of the 2-port device. 2. Load the S-parameters into the power sensor. In the user calibration data set of the power sensor, you can manage the S-param- eters of several 2-port devices beside the S-parameters of the attenuator delivered with the power sensor.
  • Page 98: S-Gamma Corrections

    ® Remote Control Commands R&S NRPxxA(N) Configuring Basic Measurement Parameters [SENSe<Sensor>:]CORRection:SPDevice:STATe <state> Activates or deactivates the S-parameter correction. If activated, uses the S-parameter data set selected by [SENSe<Sensor>:]CORRection:SPDevice:SELect. See also Chapter 9.8.3.3, "S-Parameter Correction", on page 96. Parameters: <state> *RST: Example: CORR:SPD:SEL 1 Selects a S-parameter correction data set.
  • Page 99 ® Remote Control Commands R&S NRPxxA(N) 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 Sensor Source Figure 9-4: Correction of interactions between the power sensor, the signal source, and the S-param- eter device Remote commands: ..............99...
  • Page 100: Using The S-Parameters Tool

    ® Remote Control Commands R&S NRPxxA(N) Configuring Basic Measurement Parameters 9.8.3.5 Using the S-Parameters Tool The S-Parameters tool helps loading an S-parameter table into the power sensor. The S-Parameters tool is part of the R&S NRP Toolkit, see Chapter 5.1, "R&S NRP Toolkit", on page 29.
  • Page 101 ® Remote Control Commands R&S NRPxxA(N) Configuring Basic Measurement Parameters Global Flags........................ 102 └ S-Parameter Correction ON by Default............102 └ S-Parameter Correction State Locked............102 └ S-Parameter Device Locked................. 103 └ Use Flags in Factory Cal. Data Set...............103 Device table........................
  • Page 102: Global Flags

    ® Remote Control Commands R&S NRPxxA(N) Configuring Basic Measurement Parameters Show Cal. Data ← Options ← Menu bar Displays the content of the calibration data set that has been loaded either from a file of directly from a sensor as a plain text. You can copy the text output to the clipboard by clicking "Copy to Clipboard."...
  • Page 103: S-Parameter Device Locked

    ® Remote Control Commands R&S NRPxxA(N) Configuring Basic Measurement Parameters ● R&S NRP2 base unit S-Parameter Device Locked ← Global Flags If enabled, the S-parameter device that is selected as the default device in the table of S-parameter devices is locked and cannot be changed using: ●...
  • Page 104 ® Remote Control Commands R&S NRPxxA(N) Configuring Basic Measurement Parameters Performing Configuration Tasks In this chapter, different configuration tasks performed with the power sensor and the "S-Parameter Update Multi" tool are described. To load a calibration data set from a power sensor Prerequsites: The power sensor is connected to the computer and a connection is established.
  • Page 105 ® Remote Control Commands R&S NRPxxA(N) 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 106 ® Remote Control Commands R&S NRPxxA(N) Configuring Basic Measurement Parameters 4. If needed, load uncertainty data. See "To load an uncertainty parameter file" on page 106. 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 107 ® Remote Control Commands R&S NRPxxA(N) 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 108 ® Remote Control Commands R&S NRPxxA(N) 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 109: Calibrating/Zeroing The Power Sensor

    ® Remote Control Commands R&S NRPxxA(N) 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 110 ® Remote Control Commands R&S NRPxxA(N) Calibrating/Zeroing the Power Sensor ......................110 CALibration:DATA .................... 110 CALibration:DATA:LENGth? ....................110 CALibration:USER:DATA .................. 110 CALibration:USER:DATA:LENGth? ................110 CALibration<Channel>:ZERO:AUTO CALibration:DATA <caldata> Writes a binary calibration data set in the memory of the sensor. Parameters: <caldata> <block_data> CALibration:DATA:LENGth? Queries the length in bytes of the calibration data set currently stored in the flash mem- ory.
  • Page 111: Testing The Power Sensor

    ® Remote Control Commands R&S NRPxxA(N) 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 112: Configuring The System

    ® Remote Control Commands R&S NRPxxA(N) Configuring the System 9.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 113: System:communicate:network:restart

    ® Remote Control Commands R&S NRPxxA(N) Configuring the System .................... 123 SYSTem:TRANsaction:END ....................123 SYSTem[:SENSor]:NAME ......................124 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 114: System:communicate:network:ipaddress

    ® Remote Control Commands R&S NRPxxA(N) 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 115: System:communicate:network:ipaddress:info

    ® Remote Control Commands R&S NRPxxA(N) Configuring the System Manual operation: "Gateway" on page 54 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.
  • Page 116: System:error:all

    ® Remote Control Commands R&S NRPxxA(N) Configuring the System Suffix: <Channel> 1...4 Measurement channel if more than one channel is available. Usage: Query only 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.
  • Page 117: System:error[:Next]

    ® Remote Control Commands R&S NRPxxA(N) Configuring the System Example: SYST:ERR:COUN? Query Response: One error has occurred since the error queue was last read out. Usage: Query only 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.
  • Page 118: System:help:headers

    ® Remote Control Commands R&S NRPxxA(N) Configuring the System While a firmware update is in progress, the LED of the sensor flashes in bright white color. When the firmware update is completed, you can read the result. The result of the query is a readable string. Example: SYST:FWUP:STAT? Query...
  • Page 119 ® Remote Control Commands R&S NRPxxA(N) Configuring the System Stock Number Serial SW Build MAC Address Hostname IP Address Domain Subnetmask Gateway Mode Status Sensor Name Technology Function MinPower MaxPower MinFreq MaxFreq Resolution Impedance Coupling Uptime Cal. Misc. Cal. Abs. Cal.
  • Page 120: System:initialize

    ® Remote Control Commands R&S NRPxxA(N) Configuring the System SYSTem:INITialize Sets the sensor to the standard state, i.e. the default settings for all test parameters are loaded in the same way as with *RST. The sensor then outputs a complete list of all supported commands and parameters.
  • Page 121: System:minpower

    ® Remote Control Commands R&S NRPxxA(N) Configuring the System For more information, see SYSTem:LED:COLor. Parameters: <mode> USER | SENSor *RST: SENSor SYSTem:MINPower? Queries the lower power measurement limit. This value changes if is set to [SENSe<Sensor>:]CORRection:SPDevice:STATe ON. The lower measurement limit refers to the sensor or to the combination of a sensor and the components connected ahead of it.
  • Page 122: System:restart

    ® Remote Control Commands R&S NRPxxA(N) Configuring the System SYSTem:RESTart Restarts the firmware of the R&S NRPxxA(N). Usage: Event SYSTem:RUTime <update_time> Effective only in the NRP legacy mode. Sets the result update time. That is the maximum rate in which the power sensor can output measurement results.
  • Page 123: System:sutime

    ® Remote Control Commands R&S NRPxxA(N) Configuring the System Example: SYST:SERR:LIST? Query 0,"reported at uptime:2942; notice; auto-averaging exceeded maximum time; Notification" Response 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.
  • Page 124: Using The Status Register

    ® Remote Control Commands R&S NRPxxA(N) Using the Status Register Results in a display as shown in Figure 9-7. Figure 9-7: Sensor Name Parameters: <sensorname> Manual operation: "Sensor Name" on page 54 SYSTem:VERSion? Queries the SCPI version that the command set of the sensor complies with. Example: SYST:VERS? Query...
  • Page 125: Reading Out The Condition Part

    ® Remote Control Commands R&S NRPxxA(N) Using the Status Register STATus:PRESet Resets the edge detectors and ENABle parts of all registers to a defined value. Usage: Event 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.
  • Page 126: Controlling The Enable Part

    ® Remote Control Commands R&S NRPxxA(N) Using the Status Register STATus:QUEStionable:CALibration[:SUMMary][:EVENt]? STATus:QUEStionable[:EVENt]? STATus:QUEStionable:POWer[:SUMMary][:EVENt]? STATus:QUEStionable:WINDow[:SUMMary][:EVENt]? Usage: Query only 9.12.4 Controlling the ENABle Part Further information: ● Chapter 11.3.2, "Structure of a SCPI Status Register", on page 144 STATus:DEVice:ENABle <value> STATus:OPERation:CALibrating:ENABle <value> STATus:OPERation:ENABle <value>...
  • Page 127: Controlling The Positive Transition Part

    ® Remote Control Commands R&S NRPxxA(N) Using the Status Register 9.12.6 Controlling the Positive Transition Part Further information: ● Chapter 11.3.2, "Structure of a SCPI Status Register", on page 144 STATus:DEVice:PTRansition <value> STATus:OPERation:CALibrating:PTRansition <value> STATus:OPERation:PTRansition <value> STATus:OPERation:LLFail:PTRansition <value> STATus:OPERation:MEASuring:PTRansition <value> STATus:OPERation:SENSe:PTRansition <value>...
  • Page 128: Performing Measurement Tasks - Programming Examples

    ® Performing Measurement Tasks - Programming Examples R&S NRPxxA(N) Performing the Fastest Measurement in Continuous Average Mode 10 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 129 ® Performing Measurement Tasks - Programming Examples R&S NRPxxA(N) 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 130: Performing A Buffered Continuous Average Measurement

    ® Performing Measurement Tasks - Programming Examples R&S NRPxxA(N) 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 131 ® Performing Measurement Tasks - Programming Examples R&S NRPxxA(N) 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 132 ® Performing Measurement Tasks - Programming Examples R&S NRPxxA(N) Performing a Buffered Continuous Average Measurement // All 17 physical measurement have been executed. // That means, buffer is full and can be read SENSOR.query( "FETCH?", szBuf, sizeof( szBuf ) ); printf( szBuf );...
  • Page 133: Remote Control Basics

    ® Remote Control Basics R&S NRPxxA(N) Remote Control Interfaces and Protocols 11 Remote Control Basics ● Remote Control Interfaces and Protocols............. 133 ● SCPI Command Structure..................137 ● Status Reporting System..................143 11.1 Remote Control Interfaces and Protocols For remote control, communication between the R&S NRPxxA(N) power sensors and the controlling host is established based on various interfaces and protocols.
  • Page 134: Ethernet Interface

    ® Remote Control Basics R&S NRPxxA(N) Remote Control Interfaces and Protocols Besides USBTMC, the NRP legacy protocol is available to ensure the compatibility of the R&S NRPxxA(N) power sensors with the R&S NRP‑Z series of power sensors. The usage of this protocol is not recommended for new applications. The resource string represents an addressing scheme that is used to establish a com- munication session with the sensor.
  • Page 135 ® Remote Control Basics R&S NRPxxA(N) Remote Control Interfaces and Protocols composed of the specific IP address of the sensor and some network and VISA-spe- cific keywords. TCPIP::<IP address or hostname>[::<LAN device name>][::INSTR] ● TCPIP designates the network protocol used ●...
  • Page 136: Protocol

    ® Remote Control Basics R&S NRPxxA(N) Remote Control Interfaces and Protocols For details of the socket communication, refer to Chapter 11.1.2.4, "Socket Communi- cation", on page 137. Example: A power sensor has the IP address 10.111.11.20; the valid resource string using VXI-11 protocol is: TCPIP::10.111.11.20::INSTR The DNS host name is nrp6an-100001;...
  • Page 137: Socket Communication

    ® Remote Control Basics R&S NRPxxA(N) SCPI Command Structure The HiSLIP data is sent to the device using the "fire and forget" method with immediate return. Opposed to VXI-11, where each operation is blocked until a VXI-11 device handshake returns. Thus, a successful return of a VISA operation such as viWrite() does not guarantee that the sensor has finished (or even started) executing the requested command.
  • Page 138: Syntax For Device-Specific Commands

    ® Remote Control Basics R&S NRPxxA(N) 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 139: Scpi Parameters

    ® Remote Control Basics R&S NRPxxA(N) 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 11.2.3, "SCPI Parameters",...
  • Page 140 ® Remote Control Basics R&S NRPxxA(N) SCPI Command Structure Units For physical quantities, you can enter the unit. Only basic units are allowed and recog- nized, see Table 11-3. If you omit the unit, the basic unit is used. Table 11-3: Units Noted default unit Corresponding basic unit Frequency...
  • Page 141 ® Remote Control Basics R&S NRPxxA(N) 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 142: Overview Of Syntax Elements

    ® Remote Control Basics R&S NRPxxA(N) SCPI Command Structure 11.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 143: Responses To Queries

    ® Remote Control Basics R&S NRPxxA(N) Status Reporting System A new command line always begins with the complete path. Example: TRIG:LEV 0.1E-3 TRIG:DEL 3E-3 11.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 144: Structure Of A Scpi Status Register

    ® Remote Control Basics R&S NRPxxA(N) 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 11-1: Status registers overview Chapter 11.3.3, "Status Byte (STB) and Service Request Enable Register...
  • Page 145 ® Remote Control Basics R&S NRPxxA(N) 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 11-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 146: Status Byte (Stb) And Service Request Enable Register (Sre)

    ® Remote Control Basics R&S NRPxxA(N) 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 147: Ist Flag And Parallel Poll Enable Register (Ppe)

    ® Remote Control Basics R&S NRPxxA(N) Status Reporting System Table 11-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 148: Device Status Register

    ® Remote Control Basics R&S NRPxxA(N) Status Reporting System The parallel poll enable register can be set and read by *PRE. 11.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 149: Questionable Status Register

    ® Remote Control Basics R&S NRPxxA(N) Status Reporting System Bit No. Meaning 5 to 6 Not used 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 150: Questionable Power Status Register

    ® Remote Control Basics R&S NRPxxA(N) Status Reporting System Querying the register: ● STATus:QUEStionable:CONDition? ● STATus:QUEStionable[:EVENt]? Table 11-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 151: Standard Event Status And Enable Register (Esr, Ese)

    ® Remote Control Basics R&S NRPxxA(N) Status Reporting System Querying the register: ● STATus:QUEStionable:CALibration:CONDition? ● STATus:QUEStionable:CALibration[:SUMMary][:EVENt]? Table 11-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 11.3.7 Standard Event Status and Enable Register (ESR, ESE)
  • Page 152: Operation Status Register

    ® Remote Control Basics R&S NRPxxA(N) 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 153: Operation Calibrating Status Register

    ® Remote Control Basics R&S NRPxxA(N) Status Reporting System Table 11-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 11.3.8.1, "Operation Calibrating Status Register", on page 153.
  • Page 154: Operation Measuring Status Register

    ® Remote Control Basics R&S NRPxxA(N) Status Reporting System Table 11-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 11.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 155: Operation Sense Status Register

    ® Remote Control Basics R&S NRPxxA(N) Status Reporting System 11.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 156: Operation Upper Limit Fail Status Register

    ® Remote Control Basics R&S NRPxxA(N) Status Reporting System 11.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 157: Troubleshooting

    ® Troubleshooting R&S NRPxxA(N) Performing a Selftest 12 Troubleshooting ● Displaying Status Information................157 ● Performing a Selftest.....................157 ● Problems during a Firmware Update..............158 ● Cannot Establish a LAN Connection..............158 12.1 Displaying Status Information Status information is available in several ways. Status LED of the R&S NRPxxA(N) The position of the status LED is indicated in Chapter 4, "Power Sensor...
  • Page 158: Problems During A Firmware Update

    ® Troubleshooting R&S NRPxxA(N) Cannot Establish a LAN Connection 12.3 Problems during a Firmware Update The firmware update is described in Chapter 7, "Firmware Update", on page 56. Solutions for potential problems that can occur when using the Firmware Update for NRP Family, see "Troubleshooting"...
  • Page 159: List Of Commands

    ® List of Commands R&S NRPxxA(N) List of Commands [SENSe<Sensor>:][POWer:][AVG:]APERture....................88 [SENSe<Sensor>:][POWer:][AVG:]BUFFer:CLEar..................88 [SENSe<Sensor>:][POWer:][AVG:]BUFFer:COUNt?..................89 [SENSe<Sensor>:][POWer:][AVG:]BUFFer:DATA?..................89 [SENSe<Sensor>:][POWer:][AVG:]BUFFer:SIZE....................89 [SENSe<Sensor>:][POWer:][AVG:]BUFFer:STATe..................89 [SENSe<Sensor>:][POWer:][AVG:]FAST......................90 [SENSe<Sensor>:][POWer:][AVG:]SMOothing:STATe..................90 [SENSe<Sensor>:]AUXiliary..........................86 [SENSe<Sensor>:]AVERage:COUNt......................91 [SENSe<Sensor>:]AVERage:COUNt:AUTO....................91 [SENSe<Sensor>:]AVERage:COUNt:AUTO:MTIMe..................91 [SENSe<Sensor>:]AVERage:COUNt:AUTO:NSRatio..................92 [SENSe<Sensor>:]AVERage:COUNt:AUTO:RESolution................92 [SENSe<Sensor>:]AVERage:COUNt:AUTO:TYPE..................93 [SENSe<Sensor>:]AVERage:RESet........................92 [SENSe<Sensor>:]AVERage:TCONtrol......................93 [SENSe<Sensor>:]AVERage[:STATe]......................94 [SENSe<Sensor>:]CORRection:DCYCle......................95 [SENSe<Sensor>:]CORRection:DCYCle:STATe..................... 95 [SENSe<Sensor>:]CORRection:OFFSet......................95 [SENSe<Sensor>:]CORRection:OFFSet:STATe.....................
  • Page 160 ® List of Commands R&S NRPxxA(N) *TRG................................68 *TST?................................68 *WAI.................................69 ABORt................................71 CALCulate:FEED.............................86 CALibration:DATA............................110 CALibration:DATA:LENGth?...........................110 CALibration:USER:DATA..........................110 CALibration:USER:DATA:LENGth?........................110 CALibration<Channel>:ZERO:AUTO......................110 FETCh<Sensor>:ARRay[:POWer][:AVG]?...................... 85 FETCh<Sensor>[:SCALar][:POWer]:TSLot?....................86 FETCh<Sensor>[:SCALar][:POWer][:AVG]?....................86 FORMat:BORDer.............................84 FORMat:SREGister............................84 FORMat[:DATA]............................... 85 INITiate:ALL..............................72 INITiate:CONTinuous............................72 INITiate[:IMMediate]............................72 STATus:DEVice:CONDition?......................... 125 STATus:DEVice:ENABle..........................126 STATus:DEVice:NTRansition.........................126 STATus:DEVice:PTRansition......................... 127 STATus:DEVice[:EVENt]?..........................125 STATus:OPERation:CALibrating:CONDition?....................125 STATus:OPERation:CALibrating:ENABle......................
  • Page 161 ® List of Commands R&S NRPxxA(N) STATus:OPERation:TRIGger:NTRansition....................126 STATus:OPERation:TRIGger:PTRansition....................127 STATus:OPERation:TRIGger[:SUMMary][:EVENt]?..................125 STATus:OPERation:ULFail:CONDition?......................125 STATus:OPERation:ULFail:ENABle.......................126 STATus:OPERation:ULFail:NTRansition....................... 126 STATus:OPERation:ULFail:PTRansition......................127 STATus:OPERation:ULFail[:SUMMary][:EVENt]?..................125 STATus:OPERation[:EVENt]?........................125 STATus:PRESet.............................125 STATus:QUEStionable:CALibration:CONDition?...................125 STATus:QUEStionable:CALibration:ENABle....................126 STATus:QUEStionable:CALibration:NTRansition..................126 STATus:QUEStionable:CALibration:PTRansition..................127 STATus:QUEStionable:CALibration[:SUMMary][:EVENt]?................126 STATus:QUEStionable:CONDition?.......................125 STATus:QUEStionable:ENABle........................126 STATus:QUEStionable:NTRansition......................126 STATus:QUEStionable:POWer:CONDition?....................125 STATus:QUEStionable:POWer:ENABle......................126 STATus:QUEStionable:POWer:NTRansition....................126 STATus:QUEStionable:POWer:PTRansition....................
  • Page 162 ® List of Commands R&S NRPxxA(N) SYSTem:HELP:SYNTax:ALL?........................118 SYSTem:HELP:SYNTax?..........................118 SYSTem:INFO?..............................118 SYSTem:INITialize............................120 SYSTem:LANGuage............................120 SYSTem:LED:COLor............................. 120 SYSTem:LED:MODE............................. 120 SYSTem:MINPower?............................. 121 SYSTem:PARameters:DELTa?........................121 SYSTem:PARameters?..........................121 SYSTem:PRESet............................121 SYSTem:REBoot............................121 SYSTem:RESTart............................122 SYSTem:RUTime............................122 SYSTem:SERRor:LIST:ALL?......................... 122 SYSTem:SERRor:LIST[:NEXT]?........................122 SYSTem:SERRor?............................122 SYSTem:SUTime............................123 SYSTem:TLEVels?............................123 SYSTem:TRANsaction:BEGin........................123 SYSTem:TRANsaction:END.......................... 123 SYSTem:VERSion?............................124 SYSTem[:SENSor]:NAME..........................123 TEST:SENSor?...............................111 TRIGger:ATRigger:DELay..........................
  • Page 163: Index

    ® Index R&S NRPxxA(N) Index Android device Electromagnetic interference (EMI) ........14 R&S Power Viewer Mobile .......... 39 Electrostatic discharge (ESD) ........... 13 Application cards ............... 10 ENABle ................146 Application notes ............... 10 Ethernet interface Remote control ............134 EVENt ................146 Basic measurement parameters Remote control commands .........
  • Page 164 ® Index R&S NRPxxA(N) Mnemonics ..............137 VISA resource strings ..........134 Mobile measurements ............39 VXI-11 protocol ............136 Remote control commands Basic measurement parameters ......... 90 Resource string Network status LED ............28 HiSLIP ............... 135 NTRansition ..............145 Socket ...............
  • Page 165 ® Index R&S NRPxxA(N) USB interface Remote control ............133 USB product ID ............... 134 USB resource string ............134 USB sensor hub ..............16 User manual ................ 9 Versions of R&S NRP software ......... 32 VISA Resource string ............134 VXI-11 Protocol ..............

Table of Contents