® Safety and regulatory information R&S NRPxxTWG Safety instructions 1 Safety and regulatory information The product documentation helps you use the product safely and efficiently. Follow the instructions provided here and in the following chapters. Intended use The power sensors are intended for accurate and uncomplicated power measurements in production, R&D and calibration labs as well as for installation and maintenance tasks.
® Safety and regulatory information R&S NRPxxTWG Warning messages in the documentation aged or broken, stop using the product. Contact Rohde & Schwarz customer service at http://www.customersupport.rohde-schwarz.com. Choosing the operating site Only use the product indoors. The product casing is not waterproof. Observe the ambient conditions such as altitude, operating temperature and climatic loads;...
® Welcome R&S NRPxxTWG Documentation overview 2 Welcome This chapter provides an overview of the user documentation and an introduction to the R&S NRPxxTWG. 2.1 Documentation overview This section provides an overview of the R&S NRPxxTWG user documentation. Unless specified otherwise, you find the documents on the R&S NRPxxTWG product page at: www.rohde-schwarz.com/product/nrp-t-tn 2.1.1 Getting started manual Introduces the R&S NRPxxTWG and describes how to set up and start working with...
® Welcome R&S NRPxxTWG Key features 2.1.6 Data sheets and brochures The data sheet contains the technical specifications of the R&S NRPxxTWG. It also lists the firmware applications and their order numbers, and optional accessories. The brochure provides an overview of the instrument and deals with the specific char- acteristics.
® Preparing for use R&S NRPxxTWG Choosing the operating site 3 Preparing for use Here, you can find basic information about setting up the product for the first time. ● Unpacking and checking..................11 ● Choosing the operating site..................11 ● Considerations for test setup..................
® Preparing for use R&S NRPxxTWG Connecting to a DUT 3.3 Considerations for test setup Give particular attention to the following aspects when handling power sensors. EMI impact on measurement results Electromagnetic interference (EMI) can affect the measurement results. To suppress electromagnetic radiation during operation: ●...
® Preparing for use R&S NRPxxTWG Connecting a cable to the host interface 4. NOTICE! Risk of damaging the center pin of the RF connector. Only rotate the hex nut of the RF connector. Never rotate the power sensor itself. Tighten the RF connector manually.
® Preparing for use R&S NRPxxTWG Connecting to a controlling host 2. Tighten the union nut manually. To disconnect the host interface of the power sensor 1. Loosen the union nut of the screw-lock cable connector. 2. Remove the cable. 3.7 Connecting to a controlling host As a controlling host, you can use: ●...
Page 15
® Preparing for use R&S NRPxxTWG Connecting to a controlling host Setup ‑ ZKU cable Figure 3-1: Setup with an R&S NRP 1 = Signal source 2 = R&S NRPxxTWG power sensor 3 = Host interface connector 4 = R&S NRP‑ZKU cable 5 = USB connector 6 = Computer with installed VISA driver or R&S NRP Toolkit Set up as shown in...
Page 16
® Preparing for use R&S NRPxxTWG Connecting to a controlling host Setup Figure 3-2: Setup with an R&S NRP-Z5 sensor hub 1 = External power supply unit 2 = Connect to AC power supply. 3 = Connect to computer with USB host interface. 4 = Optional: Connect to trigger source.
® Preparing for use R&S NRPxxTWG Connecting to a controlling host 5. Connect the delivered external power supply unit to the R&S NRP‑Z5 and to an AC supply connector. 6. Connect the trigger input of the R&S NRP‑Z5 with a BNC cable to the trigger source (optional).
® Power sensor tour R&S NRPxxTWG RF connector 4 Power sensor tour This chapter provides an overview of the available connectors and LEDs of the power sensor. Figure 4-1: R&S NRPxxTWG power sensors (example) 1 = RF connector, see Chapter 4.1, "RF connector", on page 18 2 = Status LED, see...
® Power sensor tour R&S NRPxxTWG Trigger I/O connector 4.2 Status information The status LED gives information about the state of the power sensor. The following states are defined: Indication State White Idle state. The sensor performs no measurement and is ready for use. Flashing white Firmware update is in progress Slow flashing white...
® Operating concepts R&S NRPxxTWG 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 22 ● Chapter 5.3, "R&S NRPV", on page 23 ● Chapter 5.4, "R&S Power Viewer", on page 24 ●...
® Operating concepts R&S NRPxxTWG R&S NRP Toolkit ● Microsoft Windows 8/ 8.1 32/64-bit ● Microsoft Windows 10 32/64-bit 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- kit.
® Operating concepts R&S NRPxxTWG Remote control 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.
® Operating concepts R&S NRPxxTWG R&S Power Viewer Connect the power sensor to the signal source. 2. Connect the power sensor to the computer as shown in Figure 5-1. For a detailed description, refer to Chapter 3.7.1.1, "Simple USB connection", on page 14.
® Operating concepts R&S NRPxxTWG R&S NRX For connecting the power sensor to USB-C type mobile phones (Android), use an R&S NRP-ZKC cable. It enables the R&S Power Viewer Mobile to take power mea- surements via the USB-C connection. You can download the R&S Power Viewer Mobile free of charge from the Google Play Store.
Page 27
® Operating concepts R&S NRPxxTWG R&S NRX Connect the power sensor to the signal source. 2. Connect the cables as shown in Figure 5-3. Starting a measurement For a detailed description of how to measure in this setup, refer to the user manual of the R&S NRX.
® Firmware update R&S NRPxxTWG Updating the firmware 6 Firmware update ● Hardware and software requirements..............28 ● Updating the firmware..................... 28 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.7.1, "Computer", on page 14.
Page 29
® Firmware update R&S NRPxxTWG Updating the firmware Firmware Update for NRP Family A firmware update can take up to 5 minutes. Ensure that the update is not interrupted. 1. Check the prerequisites. See "Checking the prerequisites" on page 28. 2.
® Firmware update R&S NRPxxTWG Updating the firmware 8. Check if the update was successful. The firmware version in the "Identification" field must match the version you selected in the "Firmware" field. Troubleshooting You do not find the sensor in the list of sensors provided by Firmware Update for NRP Family.
Page 31
® Firmware update R&S NRPxxTWG Updating the firmware The size of the file is 10242884. This number has 8 digits. Thus, the <block_data> consist of the following: ● ● How many digits follow to specify the file size. ● 10242884 Number that specifies the file size.
® Remote control commands R&S NRPxxTWG Conventions used in SCPI command descriptions 7 Remote control commands In the following, all commands implemented in the sensor are listed according to the command system and then described in detail. Mostly, the notation used complies with SCPI specifications.
® Remote control commands R&S NRPxxTWG Notations Basic unit Also noted as degrees Angle Percent dBuV DBUV 7.2 Notations For a detailed description of SCPI notations, see Chapter 9, "Remote control basics", on page 94. 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.
® Remote control commands R&S NRPxxTWG Common commands Example: Definition: [SENSe<Sensor>:]AVERage:COUNt:AUTO:NSRatio <nsr> Command: AVER:COUN:AUTO:NSR 0.01 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...
® Remote control commands R&S NRPxxTWG Common commands The command does not alter the ENABle and TRANsition parts of the registers. Usage: Event *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.
® Remote control commands R&S NRPxxTWG Common commands *OPC? basically functions like *WAI, but also returns a response. The response is an advantage, because you can query the execution of commands from a controller pro- gram before sending new commands. Thus preventing overflow of the input queue when too many commands are sent that cannot be executed.
® Remote control commands R&S NRPxxTWG Common commands 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. This command deter- mines under which conditions a service request is triggered. Parameters: <register>...
® Remote control commands R&S NRPxxTWG Preparing for the measurement Usage: Event 7.4 Preparing for the measurement Before starting a measurement, you need to do the following: ● Selecting the reference source................38 ● Selecting a measurement mode................38 7.4.1 Selecting the reference source The ROSCillator subsystem contains commands for configuring the reference source.
® Remote control commands R&S NRPxxTWG Controlling the measurement Parameters: <function> "POWer:AVG" Continuous average mode Chapter 7.7.1, "Continuous average measurement", on page 54. *RST: "POWer:AVG" 7.5 Controlling the measurement The power sensor offers a bunch of possibilities to control the measurement: ●...
® Remote control commands R&S NRPxxTWG Controlling the measurement Use this command only after the continuous measurement mode has been disabled using INITiate:CONTinuous OFF. See also Chapter 7.5, "Controlling the measurement", on page 39. Example: Chapter 8.2, "Performing a buffered continuous average measurement", on page 91.
Page 41
® Remote control commands R&S NRPxxTWG Controlling the measurement The power sensor waits for a trigger event that is defined by the trigger source. When the trigger event occurs, the power sensor enters the measuring state. ● Measuring The power sensor is measuring data. It remains in this state during the measure- ment.
Page 42
® Remote control commands R&S NRPxxTWG Controlling the measurement 7.5.2.4 Dropout time The dropout time is useful when dealing with signals with several active slots, for example GSM signals, see Figure 7-1. When measuring in sync with the signal, a trig- ger event is to be produced at A, but not at B or C.
® Remote control commands R&S NRPxxTWG Controlling the measurement 1 = Hold-off time 2 = Trigger hysteresis 3 = Trigger level 7.5.3 Controlling the measurement results The R&S NRPxxTWG 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.
® Remote control commands R&S NRPxxTWG Controlling the measurement 7.5.4 Interplay of the controlling mechanisms In the following examples, continuous measurement scenarios are used. But these scenarios apply also to single measurements. The only difference is that a single mea- surement is not repeated.
Page 45
® Remote control commands R&S NRPxxTWG 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).
® Remote control commands R&S NRPxxTWG 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 is available, and the power sensor returns to the idle state.
® Remote control commands R&S NRPxxTWG Controlling the measurement 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? Queries the number of measurements that were triggered automatically since was set to ON.
® Remote control commands R&S NRPxxTWG 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.
® Remote control commands R&S NRPxxTWG Controlling the measurement *RST: HIGH TRIGger:HOLDoff <holdoff> Sets the hold-off time, see Chapter 7.5.2.5, "Hold-off time", on page 42. 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: ●...
® Remote control commands R&S NRPxxTWG Controlling the measurement Parameters: <level> Range: 300e-9 to 100.0e-3 *RST: 3.0e-5 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 49. TRIGger:LEVel Parameters: <unit>...
® Remote control commands R&S NRPxxTWG 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>...
® Remote control commands R&S NRPxxTWG Configuring results 7.6 Configuring results See also: ● Chapter 7.9, "Querying measurement results", on page 75 7.6.1 Setting the power unit The UNIT subsystem contains commands for setting up the power unit. UNIT:POWer <unit> Sets the output unit for the measured power values.
® Remote control commands R&S NRPxxTWG Configuring the measurement modes 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 NRPxxTWG sends the numeric data to the controlling host/ computer.
® Remote control commands R&S NRPxxTWG Configuring the measurement modes Contents: ● Continuous average measurement................. 54 7.7.1 Continuous average measurement The continuous average mode measures the signal average power asynchronously within definable time intervals (sampling windows). The aperture (width of the sampling windows) can be defined.
Page 55
® Remote control commands R&S NRPxxTWG Configuring the measurement modes ..............55 [SENSe<Sensor>:][POWer:][AVG:]APERture ............... 55 [SENSe<Sensor>:][POWer:][AVG:]BUFFer:CLEar ............55 [SENSe<Sensor>:][POWer:][AVG:]BUFFer:COUNt? .............. 55 [SENSe<Sensor>:][POWer:][AVG:]BUFFer:DATA? ..............55 [SENSe<Sensor>:][POWer:][AVG:]BUFFer:SIZE ...............56 [SENSe<Sensor>:][POWer:][AVG:]BUFFer:STATe ............56 [SENSe<Sensor>:][POWer:][AVG:]SMOothing:STATe [SENSe<Sensor>:][POWer:][AVG:]APERture <integration_time> Sets the duration of the sampling window in continuous average mode. During this time interval, the average signal power is measured.
® Remote control commands R&S NRPxxTWG Configuring basic measurement parameters Parameters: <count> Range: 1 to 8192 *RST: Example: BUFF:SIZE 1 Chapter 8.2, "Performing a buffered continuous average measurement", on page 91. [SENSe<Sensor>:][POWer:][AVG:]BUFFer:STATe <state> Enables or disables the buffered continuous average mode. If the buffer mode is enabled, all results generated by trigger events are collected in the sensor until the buf- fer is filled.
Page 57
® Remote control commands R&S NRPxxTWG Configuring basic measurement parameters ............58 [SENSe<Sensor>:]AVERage:COUNt:AUTO:NSRatio ............58 [SENSe<Sensor>:]AVERage:COUNt:AUTO:RESolution ...................58 [SENSe<Sensor>:]AVERage:RESet .............. 59 [SENSe<Sensor>:]AVERage:COUNt:AUTO:TYPE ................59 [SENSe<Sensor>:]AVERage:TCONtrol ................. 59 [SENSe<Sensor>:]AVERage[:STATe] [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.
Page 58
® Remote control commands R&S NRPxxTWG 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 arecontinuous average, burst average and timeslot, provided the particular sensor supports them. This command is only effective if the auto average calculation is enabled: ●...
Page 59
® Remote control commands R&S NRPxxTWG 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:...
® Remote control commands R&S NRPxxTWG Configuring basic measurement parameters Enables or disables the averaging filter. Parameters: <state> *RST: 7.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>...
® Remote control commands R&S NRPxxTWG 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 NRPxxTWG considers this percentage when calculating the signal pulse power from the average power.
® Remote control commands R&S NRPxxTWG Configuring basic measurement parameters 7.8.3.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 power sensor and the component.
® Remote control commands R&S NRPxxTWG Configuring basic measurement parameters Example: CORR:SPD:SEL 1 Selects an S-parameter correction data set. CORR:SPD:STAT ON Enables the S-parameter correction. 7.8.3.4 S-gamma corrections Using the complex reflection coefficient, you can determine the power P delivered by the signal source with considerably greater accuracy.
® Remote control commands R&S NRPxxTWG Configuring basic measurement parameters ..............64 [SENSe<Sensor>:]SGAMma:CORRection:STATe ................64 [SENSe<Sensor>:]SGAMma:MAGNitude ................. 64 [SENSe<Sensor>:]SGAMma:PHASe [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>...
® Remote control commands R&S NRPxxTWG Configuring basic measurement parameters Example: IGAM:MAGN? Query 1.739179E-02 Response Usage: Query only [SENSe<Sensor>:]IGAMma:PHASe? Queries the phase angle of the complex input reflection coefficient Γ . The result is provided in degrees. Range: -180 degrees to +180 degrees. Example: IGAM:PHAS? Query...
® Remote control commands R&S NRPxxTWG Configuring basic measurement parameters User interface of the S-Parameters program Figure 7-4: S-Parameters dialog Menu bar........................66 └ File........................66 └ Sensor......................67 └ Device......................67 └ Options......................67 └ User Data....................67 └ Remote....................67 └ Show Cal.
® Remote control commands R&S NRPxxTWG 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 69 ●...
® Remote control commands R&S NRPxxTWG Configuring basic measurement parameters Figure 7-5: 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.
® Remote control commands R&S NRPxxTWG 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 70
® Remote control commands R&S NRPxxTWG 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 71
® Remote control commands R&S NRPxxTWG 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 72
® Remote control commands R&S NRPxxTWG Configuring basic measurement parameters 5. If needed, load uncertainty data. See "To load an uncertainty parameter file" on page 72. 6. Check the entries in the " S-Parameter Device Mnemonic", "Lower Power Limit/W" and "Upper Power Limit/W" fields 7.
Page 73
® Remote control commands R&S NRPxxTWG 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 74
® Remote control commands R&S NRPxxTWG 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.
® Remote control commands R&S NRPxxTWG Querying measurement results – <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> This value is ignored in uncertainty measurement files.
® Remote control commands R&S NRPxxTWG Calibrating, zeroing 7.10 Calibrating, zeroing Zeroing removes offset voltages from the analog circuitry of the power sensor, so that there are only low powers displayed if no power applied. The zeroing process can take more than 8 seconds to complete.
® Remote control commands R&S NRPxxTWG Calibrating, zeroing CALibration:TEST? The thermal power sensors are equipped with an additional test heater. Queries the power difference when measuring with the external heater enabled and disabled. Unit: Watts. Usage: Query only CALibration:TEST:DEViation? The thermal power sensors are equipped with an additional test heater. Queries the relative deviation of the current power difference from the reference value stored in the calibration data set.
® Remote control commands R&S NRPxxTWG Testing CALibration:USER:DATA:LENGth? Queries the length of the user calibration data block. Usage: Query only CALibration<Channel>:ZERO:AUTO <state> Performs zero calibration. Turn off all test signals before zeroing. An active test signal during zeroing causes an error.
® Remote control commands R&S NRPxxTWG Configuring the system TEST:SENSor? [<Item>] Starts a selftest of the power sensor. In contrast to *TST?, this command returns detailed information that you can use for troubleshooting. Query parameters: <Item> String Usage: Query only 7.12 Configuring the system The SYSTem subsystem contains a series of commands for general functions that do not directly affect the measurement.
® Remote control commands R&S NRPxxTWG Configuring the system ....................87 SYSTem:TRANsaction:END ....................87 SYSTem[:SENSor]:NAME ......................87 SYSTem:VERSion? SYSTem:DFPRint<Channel>? Reads the footprint file of the power sensor. 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 SCPI communication error queue and removes them from the queue.
® Remote control commands R&S NRPxxTWG Configuring the system Example: SYST:ERR:CODE? Query Response: No errors have occurred since the error queue was last read out. Usage: Query only SYSTem:ERRor:COUNt? Queries the number of entries in the SCPI communication error queue. Example: SYST:ERR:COUN? Query...
® Remote control commands R&S NRPxxTWG Configuring the system 0x0a as appended delimiter for line feed Usage: Setting only SYSTem:FWUPdate:STATus? Reads the result of the firmware update performed using SYSTem:FWUPdate on page 81. While a firmware update is in progress, the LED of the power sensor flashes in bright white color.
® Remote control commands R&S NRPxxTWG Configuring the system If queried without parameters, the command returns all available information in the form of a list of strings separated by commas. If you want to query specific information, add the query parameter: SYST:INFO? "<string>"...
® Remote control commands R&S NRPxxTWG Configuring the system bb = blue Range: 0x00 to 0x02FFFFFF *RST: 0x00A0A0A0 Example: SYST:LED:MODE USER Sets the system status LED operating mode to user. SYST:LED:COL #H01a00000 The LED flashes slowly in red. SYSTem:LED:MODE SENSor Sets the system status LED operating mode back to the sensor internal settings.
® Remote control commands R&S NRPxxTWG Configuring the system Each command is shortened to a command token, consisting only of the mnemonics short form. For example, CALibration:DATA is shortened to CALDATA as command token. Usage: Query only SYSTem:PARameters:DELTa? Returns an XML-output containing all commands that differ from the defined default status set by on page 36.
® Remote control commands R&S NRPxxTWG Configuring the system SYSTem:SERRor? Queries the next static error, if available. Static errors, as a rule, prevent the execution of normal measurements. Errors in SCPI communication are queried using SYSTem:ERRor[:NEXT]?. Usage: Query only SYSTem:SERRor:LIST:ALL? Queries all changes in the static error queue that have not been read yet and removes them from the queue.
® Remote control commands R&S NRPxxTWG Using the status register SYSTem:TLEVels? Queries the possible power test levels of the power sensor. Usage: Query only SYSTem:TRANsaction:BEGin Starts a series of settings. Usage: Event SYSTem:TRANsaction:END Ends a series of settings. Usage: Event SYSTem[:SENSor]:NAME <sensorname>...
® Remote control commands R&S NRPxxTWG Using the status register ● General status register commands................. 88 ● Reading the CONDition part................... 88 ● Reading the EVENt part..................89 ● Controlling the ENABle part..................89 ● Controlling the negative transition part..............89 ● Controlling the positive transition part..............
® Remote control commands R&S NRPxxTWG Using the status register 7.13.3 Reading the EVENt part STATus:DEVice[:EVENt]? STATus:OPERation:CALibrating[:SUMMary][:EVENt]? STATus:OPERation[:EVENt]? STATus:OPERation:LLFail[:SUMMary][:EVENt]? STATus:OPERation:MEASuring[:SUMMary][:EVENt]? STATus:OPERation:SENSe[:SUMMary][:EVENt]? STATus:OPERation:TRIGger[:SUMMary][:EVENt]? STATus:OPERation:ULFail[:SUMMary][:EVENt]? STATus:QUEStionable:CALibration[:SUMMary][:EVENt]? STATus:QUEStionable[:EVENt]? STATus:QUEStionable:POWer[:SUMMary][:EVENt]? STATus:QUEStionable:WINDow[:SUMMary][:EVENt]? Usage: Query only 7.13.4 Controlling the ENABle part STATus:DEVice:ENABle <value> STATus:OPERation:CALibrating:ENABle <value> STATus:OPERation:ENABle <value> STATus:OPERation:LLFail:ENABle <value>...
® Performing measurement tasks - programming examples R&S NRPxxTWG Performing a buffered continuous average measurement 8 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. See Chapter 5.1, "R&S NRP Toolkit", on page 20.
Page 92
® Performing measurement tasks - programming examples R&S NRPxxTWG Performing a buffered continuous average measurement // Auto Averaging OFF and set Average Count = 4 SENSOR.write( "SENS:AVER:COUN:AUTO OFF" ); SENSOR.write( "SENS:AVER:COUN 4" ); // Select the trigger source if ( bUseBUSTrigger ) // We want to use '*TRG' to trigger a single physical measurement SENSOR.write( "TRIG:SOUR BUS"...
Page 93
® Performing measurement tasks - programming examples R&S NRPxxTWG Performing a buffered continuous average measurement // Trigger a single physical measurement; either by '*TRG' // command or by an externally supplied pulse on the SMB-type connector if ( bUseBUSTrigger ) SENSOR.write( "*TRG"...
® Remote control basics R&S NRPxxTWG Remote control interfaces and protocols 9 Remote control basics For general information on remote control of Rohde & Schwarz products via SCPI, refer to www.rohde-schwarz.com/rc-via-scpi. 9.1 Remote control interfaces and protocols For remote control, communication between the R&S NRPxxTWG power sensors and the controlling host is established based on various interfaces and protocols.
® Remote control basics R&S NRPxxTWG Status reporting system 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 96
® Remote control basics R&S NRPxxTWG Status reporting system Status byte Error queue Device status Questionable status Standard event status RQS/MSS Operation status Message queue Figure 9-1: Status registers overview 1 = Status byte, see Table 9-3 Chapter 9.2.2, "Device status register", on page 98 Chapter 9.2.3, "Questionable status...
Page 97
® Remote control basics R&S NRPxxTWG Status reporting system Short description Bit is set if Questionable status register An EVENt bit is set in the QUEStionable status register and summary the associated ENABLe bit is set to 1. A set bit denotes a ques- tionable device status which can be specified in greater detail by querying the questionable status register.
® Remote control basics R&S NRPxxTWG Status reporting system Bit no. Short description Bit is set if Legacy locked state The power sensor is locked in the NRP legacy mode. Via the SCPI channels (USBTMC or TCP/IP), only query commands can be sent, but no setting commands.
Page 100
® Remote control basics R&S NRPxxTWG Status reporting system Power summary Calibration summary POST failure Figure 9-3: Questionable status register Querying the register: ● STATus:QUEStionable:CONDition? ● STATus:QUEStionable[:EVENt]? Table 9-5: Used questionable status bits and their meaning Bit no. Short description Bit is set if Power summary Summary of...
Page 101
® Remote control basics R&S NRPxxTWG Status reporting system Sensor power Sensor please zero Figure 9-4: Questionable power status register Querying the register: ● STATus:QUEStionable:POWer:CONDition? ● STATus:QUEStionable:POWer[:SUMMary][:EVENt]? Table 9-6: Used questionable power status bits and their meaning Bit no. Short description Bit is set if Sensor power Measurement data of the power sensor is corrupt.
® Remote control basics R&S NRPxxTWG Status reporting system Sensor calibration Figure 9-5: Questionable calibration status register Querying the register: ● STATus:QUEStionable:CALibration:CONDition? ● STATus:QUEStionable:CALibration[:SUMMary][:EVENt]? Table 9-7: Used questionable calibration status bits and their meaning Bit no. Short description Bit is set if Sensor calibration Zeroing of the power sensor was not successful.
® Remote control basics R&S NRPxxTWG Status reporting system Operation Complete Query Error Device-Dependent Error Execution Error Command Error User Request Power On Figure 9-6: Standard event status register (ESR) Table 9-8: Used standard event status bits and their meaning Bit no.
Page 104
® Remote control basics R&S NRPxxTWG Status reporting system Calibrating Measuring Triggering Sense summary Lower limit fail Upper limit fail Figure 9-7: Operation status register Querying the register: ● STATus:OPERation:CONDition? ● STATus:OPERation[:EVENt]? Table 9-9: Used operation status bits and their meaning Bit no.
Page 105
® Remote control basics R&S NRPxxTWG Status reporting system Sensor calibrating Figure 9-8: Operation calibrating status register Querying the register: ● STATus:OPERation:CALibrating:CONDition? ● STATus:OPERation:CALibrating[:SUMMary][:EVENt]? Table 9-10: Used operation calibrating status bits and their meaning Bit no. Short description Bit is set if Sensor calibrating Sensor is being calibrated.
Page 106
® Remote control basics R&S NRPxxTWG Status reporting system Sensor measuring Figure 9-9: Operation measuring status register Querying the register: ● STATus:OPERation:MEASuring:CONDition? ● STATus:OPERation:MEASuring[:SUMMary][:EVENt]? Table 9-11: Used operation measuring status bits and their meaning Bit no. Short description Bit is set if Sensor measuring Sensor is measuring.
Page 107
® Remote control basics R&S NRPxxTWG Status reporting system Sensor waiting for trigger Figure 9-10: Operation trigger status register Querying the register: ● STATus:OPERation:TRIGger:CONDition? ● STATus:OPERation:TRIGger[:SUMMary][:EVENt]? Table 9-12: Used operation trigger status bits and their meaning Bit no. Short description Bit is set if Sensor waiting for trigger Sensor is waiting for a trigger event.
Page 108
® Remote control basics R&S NRPxxTWG Status reporting system Sensor initializing Figure 9-11: Operation sense status register Querying the register: ● STATus:OPERation:SENSe:CONDition? ● STATus:OPERation:SENSe[:SUMMary][:EVENt]? Table 9-13: Used operation sense status bits and their meaning Bit no. Short description Bit is set if Sensor initializing Sensor is being initialized.
Page 109
® Remote control basics R&S NRPxxTWG Status reporting system Lower limit fail Figure 9-12: Operation lower limit fail status registers Querying the register: ● STATus:OPERation:LLFail:CONDition? ● STATus:OPERation:LLFail[:SUMMary][:EVENt]? Table 9-14: Used operation lower limit fail status bits and their meaning Bit no. Short description Bit is set if Lower limit fail...
Page 110
® Remote control basics R&S NRPxxTWG Status reporting system Upper limit fail Figure 9-13: Operation upper limit fail status registers Querying the register: ● STATus:OPERation:ULFail:CONDition? ● STATus:OPERation:ULFail[:SUMMary][:EVENt]? Table 9-15: Used operation upper limit fail status bits and their meaning Bit no. Short description Bit is set if Upper limit fail...
® Troubleshooting R&S NRPxxTWG Problems during a firmware update 10 Troubleshooting ● Displaying status information.................111 ● Performing a selftest....................111 ● Problems during a firmware update...............111 ● Contacting customer support................112 10.1 Displaying status information Status information is available in several ways. Status LED of the R&S NRPxxTWG The position of the status LED is indicated in Chapter 4, "Power sensor...
® Troubleshooting R&S NRPxxTWG Contacting customer support 2. If the power sensor is not accessible anymore, contact the service. Firmware update was aborted If there is not enough free storage space, the firmware update is aborted. An error message is displayed, and the status LED of the power sensor starts flashing red. 1.
® Transporting R&S NRPxxTWG 11 Transporting Packing Use the original packaging material. It consists of antistatic wrap for electrostatic pro- tection and packing material designed for the product. If you do not have the original packaging, use similar materials that provide the same level of protection.
® Maintenance, storage and disposal R&S NRPxxTWG Regular checks 12 Maintenance, storage and disposal It is advisable to check the nominal data from time to time. 12.1 Regular checks If the power sensor is used frequently, check the RF connectors for visible damage - bent inner conductors, broken contact springs and so on.
® Maintenance, storage and disposal R&S NRPxxTWG Disposal 12.2 Cleaning 1. Disconnect the R&S NRPxxTWG: a) From the DUT. b) From the computer or base unit. 2. Clean the outside of the R&S NRPxxTWG using a lint-free cloth. You can dampen the cloth with water but keep in mind that the casing is not waterproof.
Page 116
® Maintenance, storage and disposal R&S NRPxxTWG Disposal Rohde & Schwarz has developed a disposal concept for the eco-friendly disposal or recycling of waste material. As a manufacturer, Rohde & Schwarz completely fulfills its obligation to take back and dispose of electrical and electronic waste. Contact your local service representative to dispose of the product.
® Index R&S NRPxxTWG Index Android device Electromagnetic interference (EMI) ........12 R&S Power Viewer Mobile .......... 25 Electrostatic discharge (ESD) ........... 12 Enable register ..............102 Application cards ............... 10 Application notes ............... 10 ESE ................. 102 Auto averaging ..............56 ESR .................
Page 122
® Index R&S NRPxxTWG Measurement control ............39 R&S Power Viewer ............24 Continuous average mode .......... 44 R&S Power Viewer Mobile ..........25 Trigger .................40 Reference source Measurement mode Remote control ............38 Configuring ..............53 Regular checks ..............114 Remote control ............
Page 123
® Index R&S NRPxxTWG Operation upper limit fail status register ....109 PTRansition part ............90 Questionable calibration status register ....101 Questionable power status register ......100 Questionable status register ........99 Standard event status register ........102 Suffixes ................33 System configuration ............
Need help?
Do you have a question about the R&S NRP TWG Series and is the answer not in the manual?
Questions and answers