background image

Remote control commands

R&S

®

NRPxxTWG

35

User Manual 1178.8371.02 ─ 08

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.

Parameters:

<register>

Range: 

0 to 255

*RST: 

0

*ESR?

Event status read

Returns the contents of the event status register in decimal form (0 to 255) and then
sets the register to zero.

Usage: 

Query only

*IDN?

Identification

Returns a string with information on the sensor's identity (device identification code). In
addition, the version number of the installed firmware is indicated.

Usage: 

Query only

*IST?

Individual status

Returns the current value of the IST flag in decimal form. The IST flag is the status bit
which is sent during a parallel poll.

Usage: 

Query only

*OPC

Operation complete

Sets bit

 

0 in the event status register when all preceding commands have been execu-

ted. Send this command at the end of a program message. It is important that the read
timeout is set sufficiently long.

The query always returns 

1

 because the query waits until all previous commands are

executed.

Common commands

Summary of Contents for 1173.8709K02

Page 1: ...R S NRPxxTWG Thermal Waveguide Power Sensors User Manual 1178837102 Version 08 ÜáÕ2 ...

Page 2: ...71 Muenchen Germany Phone 49 89 41 29 0 Email info rohde schwarz com Internet www rohde schwarz com Subject to change data without tolerance limits is not binding R S is a registered trademark of Rohde Schwarz GmbH Co KG Trade names are trademarks of the owners 1178 8371 02 Version 08 R S NRPxxTWG Throughout this manual products from Rohde Schwarz are indicated without the symbol for example R S N...

Page 3: ...sheets and brochures 10 2 1 7 Release notes and open source acknowledgment OSA 10 2 1 8 Application notes application cards white papers etc 10 2 2 Key features 10 3 Preparing for use 11 3 1 Unpacking and checking 11 3 2 Choosing the operating site 11 3 3 Considerations for test setup 12 3 4 Connecting to a DUT 12 3 5 Powering the power sensor 13 3 6 Connecting a cable to the host interface 13 3 7...

Page 4: ... Using remote control 30 7 Remote control commands 32 7 1 Conventions used in SCPI command descriptions 32 7 2 Notations 33 7 3 Common commands 34 7 4 Preparing for the measurement 38 7 4 1 Selecting the reference source 38 7 4 2 Selecting a measurement mode 38 7 5 Controlling the measurement 39 7 5 1 Starting and ending a measurement 39 7 5 2 Triggering 40 7 5 3 Controlling the measurement result...

Page 5: ...ENABle part 89 7 13 5 Controlling the negative transition part 89 7 13 6 Controlling the positive transition part 90 8 Performing measurement tasks programming examples 91 8 1 Performing the simplest measurement 91 8 2 Performing a buffered continuous average measurement 91 9 Remote control basics 94 9 1 Remote control interfaces and protocols 94 9 1 1 USB interface 94 9 2 Status reporting system ...

Page 6: ...r Manual 1178 8371 02 08 10 4 Contacting customer support 112 11 Transporting 113 12 Maintenance storage and disposal 114 12 1 Regular checks 114 12 2 Cleaning 115 12 3 Storage 115 12 4 Disposal 115 List of commands 117 Index 121 ...

Page 7: ...as follows In Chapter 1 1 Safety instructions on page 7 The same information is provi ded in many languages as printed Safety Instructions The printed Safety Instructions are delivered with the product Throughout the documentation safety instructions are provided when you need to take care during setup or operation 1 1 Safety instructions Products from the Rohde Schwarz group of companies are manu...

Page 8: ...re personal injury or even death 1 2 Labels on the product Labels on the product inform about Personal safety See Meaning of safety labels on page 8 Environment safety See Table 1 1 Table 1 1 Labels regarding environment safety Labeling in line with EN 50419 for disposal of electrical and electronic equipment after the prod uct has come to the end of its service life For more information see Dispo...

Page 9: ...ower sensor 2 1 2 User manuals Contains the description of all instrument modes and functions It also provides an introduction to remote control a complete description of the remote control commands with programming examples and information on maintenance and interfaces Includes the contents of the getting started manual 2 1 3 Tutorials Tutorials offer guided examples and demonstrations on operati...

Page 10: ...er documentation CD ROM included in the delivery It contains verbatim license texts of the used open source soft ware www rohde schwarz com firmware nrp t tn 2 1 8 Application notes application cards white papers etc These documents deal with special applications or background information on particu lar topics 2 2 Key features The thermal waveguide power sensors are members of the R S NRP series p...

Page 11: ...erating site Specific operating conditions ensure proper operation and avoid damage to the prod uct and connected devices For information on environmental conditions such as ambi ent temperature and humidity see the data sheet Electromagnetic compatibility classes The electromagnetic compatibility EMC class indicates where you can operate the product The EMC class of the product is given in the da...

Page 12: ...rge is most likely to occur when you connect or disconnect a DUT NOTICE Electrostatic discharge can damage the electronic components of the product and the device under test DUT Ground yourself to prevent electrostatic discharge damage a Use a wrist strap and cord to connect yourself to ground b Use a conductive floor mat and heel strap combination 3 4 Connecting to a DUT For connecting the power ...

Page 13: ...r sensor The electrical power for the R S NRPxxTWG is supplied over the host interface See Chapter 4 3 Host interface on page 19 3 6 Connecting a cable to the host interface For connecting the power sensor to a USB host use the host interface See Chap ter 4 3 Host interface on page 19 Depending on the USB host use one of the following cables Computer or R S NRP Z5 sensor hub R S NRP ZKU cable with...

Page 14: ...ies For details see Chapter 5 Operating concepts on page 20 3 7 1 Computer If the controlling host is a computer you can operate the power sensor in several ways For details see Chapter 5 Operating concepts on page 20 Establish the connection using Host interface See Chapter 3 7 1 1 Simple USB connection on page 14 See Chapter 3 7 1 2 R S NRP Z5 sensor hub setup on page 15 3 7 1 1 Simple USB conne...

Page 15: ... sensor or lead to erroneous results Ensure that you connect or discon nect the power sensor as described in Chapter 3 4 Connecting to a DUT on page 12 Connect the power sensor to the signal source 4 On the computer start a software application to view the measurement results See Chapter 5 Operating concepts on page 20 3 7 1 2 R S NRP Z5 sensor hub setup The R S NRP Z5 sensor hub high speed USB 2 ...

Page 16: ...et up as shown in Figure 3 2 1 Connect the R S NRP ZK6 cable to the power sensor See To connect a cable to the host interface of the power sensor on page 13 2 Connect the power sensors to the R S NRP Z5 sensor hub You can connect up to four sensors 3 Connect the R S NRP Z5 to the computer 4 NOTICE Incorrectly connecting or disconnecting the power sensor can damage the power sensor or lead to erron...

Page 17: ...o the trigger device optional 8 On the computer start a software application to view the measurement results See Chapter 5 Operating concepts on page 20 3 7 2 Base unit As a controlling host you can use an R S NRX base unit You can also operate the power sensor using other supported Rohde Schwarz instruments with a sensor connector For details see also the user manual of the instrument Establish t...

Page 18: ... 4 1 RF connector The RF connector is used for connecting the power sensor to a device under test DUT or a signal generator See Chapter 3 4 Connecting to a DUT on page 12 For maximum measurement accuracy tighten the RF connector using a torque wrench with a nominal torque as specified in the following table Table 4 1 R S NRPxxTWG RF connector characteristics Power sensor Male connec tor Matching f...

Page 19: ... query the error type with SYSTem SERRor Note If this state occurs after a firmware update the update was not successful Perform the firmware update again See also Chapter 10 3 Problems during a firmware update on page 111 4 3 Host interface The host interface is used for establishing a connection between the power sensor and a USB host For this purpose an external cable is needed See Chapter 3 6 ...

Page 20: ... the R S NRP Toolkit depend on the operating system 5 1 1 Versions and downloads The R S NRP Toolkit is available for Microsoft Windows operating systems as listed in Chapter 5 1 2 System require ments on page 20 Linux distributions macOS Several R S NRP Toolkit versions are available on your documentation CD ROM The latest version for Windows is available at www rohde schwarz com software nrp too...

Page 21: ...aller on the Windows based computer In the NRP Toolkit Setup dialog the correct R S NRP Toolkit version for your operating system 32 bit or 64 bit is already selected 2 Enable the components you want to install NRP Toolkit SDK The software development kit SDK provides programming examples for the R S power sensors See Chapter 8 Performing measurement tasks programming examples on page 91 IVI Share...

Page 22: ...nu The guide explains the network setup Firmware Update You can use the Firmware Update for NRP Family program to load new firmware for the power sensors See Chapter 6 Firmware update on page 28 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 come...

Page 23: ...nt R S NRPxxTWG 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 R S NRP Toolkit V 4 20 or higher R S NRPV version 3 2 or higher refer to the operating manual of the R S NRPV for a description of the installation process Setup 1 2 3 4 5 6 Figure 5 1 Setup with an R S NRPV 1 Signal source 2 R S ...

Page 24: ...gnal source 4 Start a measurement 5 4 R S Power Viewer The R S Power Viewer is software that simplifies many measurement tasks It is provi ded on your documentation CD ROM and on the Rohde Schwarz website as a sepa rate standalone installation package Required equipment R S NRPxxTWG 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 com...

Page 25: ...nect the cables as shown in Figure 5 2 For a detailed description refer to Chapter 3 7 1 1 Simple USB connection on page 14 Starting a measurement For a detailed description refer to the operating manual of the R S Power Viewer The manual is installed automatically during the installation of the R S Power Viewer 1 Start the R S Power Viewer 2 Execute zeroing Note Turn off all measurement power sig...

Page 26: ...at www rohde schwarz com application nrpz 5 6 R S NRX In a measurement the R S NRX uses all sensor dependent measurement functions and displays the results Thus you can configure both the measurement and the power sensor Required equipment R S NRPxxTWG power sensor R S NRP ZK8 cable to connect the sensor to the R S NRX R S NRX Setup 1 2 3 4 6 5 Figure 5 3 Setup with an R S NRX base unit 1 Signal s...

Page 27: ... Tap Preset All parameters are set to their defaults 2 Note Turn off all measurement signals before zeroing An active measurement signal during zeroing causes an error a Switch off the power of the signal source b Press the Zero key of the R S NRX c Tap Zero All Sensors 3 Configure the measurement a In the Measurement Settings dialog select the Measurement Type for example Continuous Average b Tap...

Page 28: ...ents are essential See Checking the prerequisites on page 28 6 2 Updating the firmware Do not interrupt the firmware update because an interruption can lead to missing or faulty firmware Take special care not to disconnect the power supply while the update is in progress Interrupting the power supply during the firmware update most likely leads to an unusable power sensor that needs to be sent in ...

Page 29: ...one of the following actions a Click Rescan to search for attached power sensors b Check whether all necessary drivers are installed on the computer For example if the VISA library is not installed on the computer no VISA power sensor is accessible See also Troubleshooting on page 30 5 Under Device select the power sensor you want to update Note The Hostname or IP Address field is not used during ...

Page 30: ...ger Windows tries in vain to find a USB driver for the power sensor Install a recent VISA software Further information Chapter 10 3 Problems during a firmware update on page 111 6 2 2 Using remote control If you want to integrate a firmware update function in an application use SYSTem FWUPdate on page 81 Example You want to update your R S NRP75TWG with the NRPxTN_02 30 21062301 rsu file This file...

Page 31: ...884 Number that specifies the file size file_contents Contents of the rsu file byte by byte 0x0a Delimiter In this example you write exactly 10242905 bytes to the power sensor for example by using a viWrite function The 10242905 bytes result from the values of the list above 9 1 1 1 8 10242884 1 In a pseudo string notation the memory block looks as follows SYST FWUP 810242884 file_contents 0x0a Up...

Page 32: ...ing parameters Parameters required only to refine a query are indicated as Query parameters Parameters that are only returned as the result of a query are indicated as Return values Conformity Commands that are taken from the SCPI standard are indicated as SCPI con firmed All commands used by the R S NRPxxTWG follow the SCPI syntax rules Asynchronous commands A command which does not automatically...

Page 33: ...stems permit certain keywords to be inserted into the header or omitted These keywords are marked by square brackets in the description The power sensor must recognize the long command to comply with the SCPI standard Some commands are considerably shortened without these optional mnemonics So you can use the short or long form for the commands distinguished here by upper case and lowercase letter...

Page 34: ...ous ON starts the measurements Command INITiate CONTinuous OFF stops the measurements Parameters in braces can be included in the command once several times or not at all 7 3 Common commands The common commands are taken from the IEEE 488 2 IEC 625 2 standard The headers of these commands consist of an asterisk followed by three letters CLS 34 ESE 35 ESR 35 IDN 35 IST 35 OPC 35 OPT 36 PRE 36 RCL 3...

Page 35: ...o Usage Query only IDN Identification Returns a string with information on the sensor s identity device identification code In addition the version number of the installed firmware is indicated Usage Query only IST Individual status Returns the current value of the IST flag in decimal form The IST flag is the status bit which is sent during a parallel poll Usage Query only OPC Operation complete S...

Page 36: ...ge Query only PRE register Parallel poll register enable Sets the parallel poll enable register to the specified value or queries the current value Parameters register Range 0 to 255 RST 0 RCL number Recall Calls the device state which has been stored with the SAV command under the speci fied number Setting parameters number Range 0 to 9 RST 0 Usage Setting only RST Reset Sets the instrument to a ...

Page 37: ...us byte Returns the contents of the status byte in decimal form Usage Query only TRG Trigger Triggers a measurement if the following conditions are met Power sensor is in the waiting for trigger state Trigger source is set to BUS See TRIGger SOURce BUS Usage Event TST Selftest Triggers a selftest of the R S NRPxxTWG and outputs the result 0 indicates that no errors have occurred Usage Query only W...

Page 38: ...ecision stabilized time base Parameters source INTernal EXTernal HOST INTernal Internal precision oscillator EXTernal HOST External signal supplied at the host interface connector RST If the sensor boots or reboots the source is set to INTernal If the sensor is reset the source setting is kept unchanged Example ROSC SOUR INT 7 4 2 Selecting a measurement mode Before starting a measurement select t...

Page 39: ...errupts the current measurement If the measurement has been started as a single measurement INITiate IMMediate the power sensor goes into the idle state However if a continuous measurement is in progress INITiate CONTinuous ON the trigger system of the power sensor enters the waiting for trigger state When the trigger condition is met a new measurement is immediately started See also Chapter 7 5 C...

Page 40: ...ate again OFF Ends the continuous measurement mode and sets the sensor to the idle state RST OFF Example See Chapter 8 2 Performing a buffered continuous average measurement on page 91 7 5 2 Triggering In a basic continuous measurement the measurement is started immediately after the initiate command see also Chapter 7 5 2 2 Waiting for a trigger event on page 41 However sometimes you want that th...

Page 41: ...that renders one result Every time you send this command a new measurement cycle is started Otherwise as many measurement cycles are performed as determined by the trig ger count 7 5 2 3 Trigger sources The possible trigger conditions and the execution of a trigger depend on the selected trigger mode and trigger source If the signal power exceeds or falls below a reference level set by the trigger...

Page 42: ...r hysteresis alone cannot prevent triggering at B or at C Therefore set the dropout time greater than the time elapsed between points D and B and between E and C but smaller than the time elapsed between F and A Thus you ensure that triggering takes place at A Because the mechanism associated with the dropout time is reactivated whenever the trigger threshold is crossed you can obtain also unambig...

Page 43: ...ent has been completed This means that the number of measurement cycle repetitions is equal to the set aver age count If the average count is large the measurement time can be very long Useful if you expect slow changes in the results and you want to avoid outputting redundant data Moving termination control Outputs intermediate values to facilitate early detection of changes in the measured quant...

Page 44: ...rol 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 As defined by the average count after 4 measurements the result is averaged and available During the whole mea surement cycle the trigger synchronization is high TRIGger SYNC STATe ON 1 2 3 4 5 6 7...

Page 45: ...t During the settling phase the amount of the result is already correct but the noise is higher After 4 measurements when the average count is reached settled data is available When the trigger count is reached TRIGger COUNt on page 47 the power sensor returns to the idle state 1 3 4 2 5 6 7 8 1 Start of the measurement cycle 2 Trigger events 3 Noninverted chopper phase 4 Inverted chopper phase 5 ...

Page 46: ... to idle state 7 5 5 Configuring the trigger Further information Chapter 7 5 Controlling the measurement on page 39 Remote commands TRIGger ATRigger DELay 46 TRIGger ATRigger EXECuted 47 TRIGger ATRigger STATe 47 TRIGger COUNt 47 TRIGger DELay 48 TRIGger DELay AUTO 48 TRIGger DTIMe 48 TRIGger EXTernal 2 2 IMPedance 48 TRIGger HOLDoff 49 TRIGger HYSTeresis 49 TRIGger IMMediate 49 TRIGger LEVel 49 T...

Page 47: ...apsed after the measurement start and no trigger event has occurred The delay time is set using TRIGger ATRigger DELay Parameters state RST OFF 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 As long as the defin...

Page 48: ..._time Sets the dropout time for the internal trigger source During this time the signal power must exceed negative trigger slope or undercut positive trigger slope the level defined by the trigger level and trigger hysteresis At least this time must elapse before triggering can occur again See Chapter 7 5 2 4 Dropout time on page 42 Parameters dropout_time Range 0 00 to 10 00 RST 0 00 Default unit...

Page 49: ...g 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 Only one measurement cycle is executed irrespective of the averaging factor Usage Event TRIGger LEVel level Effective only if TRIGger SOURce INTernal Sets the trigger threshol...

Page 50: ...er external port as shown in the examples Parameters sender_port EXT1 EXTernal1 EXT2 EXTernal2 RST EXT1 Example TRIG SEND PORT EXT1 TRIG SOUR EXT2 TRIG SEND STAT ON Example TRIG SEND PORT EXT2 TRIG SOUR EXT1 TRIG SEND STAT ON TRIGger SENDer STATe state Enables or disables the trigger sender mode of the power sensor In this state the power sensor can output a digital trigger signal in sync with its...

Page 51: ...te TRIGger SYNC PORT sync_port Selects the external connection for the sync output of the power sensor For more information see TRIGger SYNC STATe Parameters sync_port EXT1 EXTernal1 EXT2 EXTernal2 RST EXT1 TRIGger SYNC STATe state Usually used in combination with TRIGger SENDer STATe ON If enabled blocks the external trigger bus as long as the sensor remains in the mea surement state Thus ensures...

Page 52: ...xchanged between the remote control computer and the power sensors if high level measurement commands are used Remote commands FORMat BORDer 52 FORMat SREGister 53 FORMat DATA 53 FORMat BORDer border Selects the order of bytes in 32 bit or 64 bit binary data Parameters border NORMal SWAPped NORMal The 1st byte is the least significant byte the 4th 8th byte the most significant byte Fulfills the Li...

Page 53: ... omit the length the R S NRPxxTWG sets the last used length Example for REAL 32 format 6768000 binary float values Example for REAL 64 format 71536000 binary float values data length ASCii 0 to 12 ASCii List of comma separated readable values 0 to 12 Defines the number of decimal places The reset value 0 does not restrict the number of decimal pla ces Example for ASCii 4 format 1 2938e 06 4 7269e ...

Page 54: ...u can also activate the smoothing function With smoothing activated the selected sampling window has to be 5 to 9 times larger than the modulation period so that the fluctuations caused by modulation are suffi ciently reduced The sampling values are subjected to weighting raised von Hann win dow which corresponds to video filtering If you deactivate the smoothing filter 300 to 3000 periods are req...

Page 55: ...t unit Seconds SENSe Sensor POWer AVG BUFFer CLEar Clears the contents of the result buffer in continuous average mode Example BUFF CLE Usage Event SENSe Sensor POWer AVG BUFFer COUNt Available in continuous average mode Queries the number of results that are currently stored in the result buffer Example BUFF COUN Usage Query only SENSe Sensor POWer AVG BUFFer DATA Queries the results of the conti...

Page 56: ...FF Example BUFF STAT OFF SENSe Sensor POWer AVG SMOothing STATe state Enables or disables the smoothing filter a steep edge digital lowpass filter If you can not adjust the aperture time exactly to the modulation period the filter reduces result fluctuations caused by modulation Parameters state ON OFF RST OFF Example SMO STAT OFF 7 8 Configuring basic measurement parameters The following section ...

Page 57: ...NSe Sensor AVERage STATe ON is set Parameters count Range 1 to 65536 RST 4 Example AVER COUN 1 SENSe Sensor AVERage COUNt AUTO state Sets the mode for determining the average count Parameters state ON Auto averaging the averaging factor is continuously determined and set depending on the power level and other parameters OFF Fixed filter the previous automatically determined averaging factor is use...

Page 58: ...ines the number of significant places for linear units and the number of decimal pla ces for logarithmic units that are likely free of noise in the measurement result The setting is only considered if the following applies SENSe Sensor AVERage COUNt AUTO ON SENSe Sensor AVERage COUNt AUTO TYPE RES Parameters resolution Range 1 to 4 RST 3 SENSe Sensor AVERage RESet Deletes all previous measurement ...

Page 59: ...urement results are output This is called termination control See also Chapter 7 5 Controlling the measurement on page 39 Parameters mode MOVing REPeat MOVing Outputs intermediate values to facilitate early detection of changes in the measured quantity In the settled state that means when the number of measurements specified by the average count has been performed a moving average is output REPeat...

Page 60: ...s frequency Range 0 0 to 110 0e9 RST 50 0e6 Default unit Frequency Example FREQ 10000 7 8 3 Configuring corrections It is possible to set some parameters that compensate for a change of the measured signal due to fixed external influences Duty cycle corrections 60 Offset corrections 61 S parameter correction 62 S gamma corrections 63 I gamma queries 64 Using the S Parameters program 65 7 8 3 1 Dut...

Page 61: ...coupling attenua tion of a directional coupler is considered with a positive offset That means the power sensor calculates the power at the input of the attenuator or the directional coupler A negative offset can be used to correct the influence of an amplifier connected ahead Using S parameters instead of a fixed offset allows more precise measurements because the interaction between the power se...

Page 62: ...on is that you provide a complete set of S parameter data for the 2 port device in the frequency range required by the appli cation Configuring the S parameter correction SENSe Sensor CORRection SPDevice LIST 62 SENSe Sensor CORRection SPDevice SELect 62 SENSe Sensor CORRection SPDevice STATe 62 SENSe Sensor CORRection SPDevice LIST Queries the list of the S parameter data sets that have been down...

Page 63: ... Figure 7 2 Correction of interactions between the power sensor and the signal source If the gamma correction is performed in combination with an S parameter correction SENSe Sensor CORRection SPDevice STATe ON the following is consid ered Interaction of the signal source with the S parameter device Input of the power sensor depending on the transmission expressed by the term s12s21 The interactio...

Page 64: ...ange 0 0 to 1 0 RST 0 0 SENSe Sensor SGAMma PHASe phase Sets the phase angle of the complex reflection coefficient of the source Γsource Parameters phase Range 360 0 to 360 0 RST 0 0 7 8 3 5 I gamma queries For the current frequency queries the complex input reflection coefficient Γin of the fol lowing Power sensor if the S parameter correction is disabled SENSe Sensor SGAMma CORRection STATe OFF ...

Page 65: ... uncertainty of the magnitude of the complex input reflec tion coefficient Γin Following gamma correction the residual mismatch uncertainty becomes so small that it is practically negligible Example IGAM EUNC Query 5 000000E 03 Response Usage Query only 7 8 3 6 Using the S Parameters program The S Parameters program helps loading an S parameter table into the power sensor The S Parameters program ...

Page 66: ...7 Global Flags 68 S Parameter Correction ON by Default 68 S Parameter Correction State Locked 68 S Parameter Device Locked 68 Use Flags in Factory Cal Data Set 69 Device table 69 Menu bar Contains the following submenus File Menu bar Provides options for loading and saving calibration data files see To change the S parameter data on page 71 To load an uncertainty parameter file on page 72 Configur...

Page 67: ...l timeouts and dis playing calibration data as plain text User Data Options Menu bar Opens the User Data dialog Here you can enter the name of the calibration laboratory and the calibration engineer that is stored in the calibration data set if changes are made Remote Options Menu bar Opens the Remote Control Settings dialog It is normally not necessary to change timeouts Show Cal Data Options Men...

Page 68: ...al Flags If enabled the state that is selected with S Parameter Correction ON by Default is locked and cannot be changed using SENSe Sensor CORRection SPDevice STATe 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 SENSe Sensor CORRection SPDev...

Page 69: ...ctory calibration data set prevent it Device table Shows a list of all S parameter devices that are available in the calibration data set If you double click an entry a dialog for the device is opened that allows to import export and edit S parameter data See To change the S parameter data on page 71 Performing configuration tasks In this chapter different configuration tasks performed with the po...

Page 70: ...onnect ing the power sensor you can reload the list by clicking Rebuild List 4 Click Upload to load calibration data from the power sensor After the upload is finished the OK button is enabled 5 Click OK to apply the changes If you want to discard the changes exit the dialog by clicking Cancel After a successful upload the name and serial number are shown in the name of the main dialog Configuring...

Page 71: ...here you can select the location to save the calibration data To change the S parameter data 1 In the device table double click an entry See also Device table on page 69 2 Select File Import S2P 3 Select the S2P file you want to import 4 Confirm with Open The data from the selected file is loaded in the device table All uncertainties are set to zero Configuring basic measurement parameters ...

Page 72: ... the sensor itself and the minimum attenuation of the S parameter device If the Upper Power Limit W entry is higher than the power dissipation rating of the attenuator reduce it accordingly 8 Click OK to apply the changes If you want to discard the change click Cancel To load an uncertainty parameter file 1 In the device table double click an entry See also Device table on page 69 2 Select File Im...

Page 73: ...e data to the power sensor a confirmation message is displayed The sensor can be used with the new S parameter data S2P measurement data files S2P files are human readable text files that contain header information and the com plex S parameters of the device under test in columns This chapter briefly describes the format of the S2P file An S2P measurement data file has the following structure squa...

Page 74: ...rement frequencies The measurement frequencies are listed in ascending order and are specified as follows fi s11 fi s21 fi s12 fi s22 fi where fi is the i th frequency and sjk fi is the display format as specified in the option line sjk fi arg sjk fi Display format for linear magnitude and phase in degree MA 20 lg sjk fi arg sjk fi Display format for magnitude in dB and phase in degree DB Re sjk f...

Page 75: ... frequency and unc sjk fi is the uncertainty of the S parameters that is forwarded as follows As extended absolute uncertainty k 2 for the magnitude of reflection parameters s11 and s22 As extended uncertainties k 2 in dB for the magnitude of transmission parameters s21 and s12 Comments Any line starting with an exclamation mark is interpreted as a comment line 7 9 Querying measurement results Aft...

Page 76: ...ge limit Turn off all test signals before zeroing An active test signal during zeroing causes an error Remote commands CALibration DATA 76 CALibration DATA LENGth 76 CALibration TEST 77 CALibration TEST DEViation 77 CALibration TEST REFerence 77 CALibration USER DATA 77 CALibration USER DATA LENGth 78 CALibration Channel ZERO AUTO 78 CALibration DATA caldata Writes a binary calibration data set in...

Page 77: ... TEST REFerence The thermal power sensors are equipped with an additional test heater Queries the reference value of the power difference when measuring with the external heater enabled and disabled The reference value is determined during the calibration process and stored in the calibration data set Unit Watts Usage Query only CALibration USER DATA caldata Transfers the user calibration data set...

Page 78: ...ponses are possible 0 No error the zero calibration was successful 240 Warning zero calibration failed See also the example Suffix Channel 1 to 4 Measurement channel if more than one channel is available Parameters state ONCE Only valid parameter for this command 0 Return value if no calibration is in progress Example CLS CAL1 ZERO AUTO ONCE Performs zeroing Takes several seconds SYST SERR Query 2...

Page 79: ...ions SYSTem DFPRint Channel 80 SYSTem ERRor ALL 80 SYSTem ERRor CODE ALL 80 SYSTem ERRor CODE NEXT 80 SYSTem ERRor COUNt 81 SYSTem ERRor NEXT 81 SYSTem FWUPdate 81 SYSTem FWUPdate STATus 82 SYSTem HELP HEADers 82 SYSTem HELP SYNTax 82 SYSTem HELP SYNTax ALL 82 SYSTem INFO 82 SYSTem INITialize 83 SYSTem LANGuage 83 SYSTem LED COLor 83 SYSTem LED MODE 84 SYSTem MINPower 84 SYSTem PARameters 84 SYSTe...

Page 80: ...error numbers and a short error description in the first in first out order Example SYST ERR ALL Query 0 No error Response Usage Query only SYSTem ERRor CODE ALL Queries all unread entries in the SCPI communication error queue and removes them from the queue Returns a comma separated list of error numbers but no error description Example SYST ERR CODE ALL Query 0 Response No errors have occurred s...

Page 81: ...rror Example SYST ERR Query 0 no error Response No errors have occurred since the error queue was last read out Usage Query only SYSTem FWUPdate fwudata Loads new operating firmware into the power sensor Rohde Schwarz provides the update file For further details see Chapter 6 Firmware update on page 28 If you want to integrate a firmware update function in an application see the example given in C...

Page 82: ... is a readable string Example SYST FWUP STAT Query Success Response Usage Query only SYSTem HELP HEADers Item Returns a list of all SCPI commands supported by the power sensor Query parameters Item block_data Usage Query only SYSTem HELP SYNTax Item Queries the relevant parameter information for the specified SCPI command Query parameters Item Example SYST HELP SYNT sens aver coun Usage Query only...

Page 83: ...r sensors Usage Query only SYSTem INITialize Sets the power sensor to the standard state i e the default settings for all test parame ters are loaded in the same way as with RST The power sensor then outputs a com plete list of all supported commands and parameters With the command the remote control software can automatically adapt to the features of different types of sensors with different func...

Page 84: ...r settings 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 SENSe Sensor CORRection SPDevice STATe is set to ON The lower measurement limit refers to the sensor or to the combination of a sensor and the components connected ahead of it Use this query to determine a useful resolution for ...

Page 85: ...m PRESet Resets the power sensor The command essentially corresponds to the RST command with the exception that the settings of the following commands are persistently held INITiate CONTinuous SENSe AVERage TCONtrol Usage Event SYSTem REBoot Reboots the power sensor Usage Event SYSTem RESTart Restarts the firmware of the power sensor Usage Event SYSTem RUTime update_time Effective only in the NRP ...

Page 86: ... uptime 2944 notice auto averaging exceeded maximum time Notification Usage Query only SYSTem SERRor LIST NEXT Queries the list of static error changes for the oldest entry and removes it from the queue Returns an error number and a short description of the error Example SYST SERR LIST Query 0 reported at uptime 2942 notice auto averaging exceeded maximum time Notification Response Usage Query onl...

Page 87: ...ed name is displayed in the web user interface of the network power sensors The name that you specify here is independent from the hostname of the power sen sor However if you do not specify a name the hostname is used as default Parameters sensorname Example SYST NAME InputModule X5 SYSTem VERSion Queries the SCPI version that the command set of the power sensor complies with Example SYST VERS Qu...

Page 88: ... queue entry and deletes it Positive error numbers indicate sensor specific errors Negative error numbers are error messages defined by SCPI If the error queue is empty the error number 0 No error is returned Usage Query only 7 13 2 Reading the CONDition part STATus DEVice CONDition STATus OPERation CALibrating CONDition STATus OPERation CONDition STATus OPERation LLFail CONDition STATus OPERation...

Page 89: ...ENABle value STATus OPERation LLFail ENABle value STATus OPERation MEASuring ENABle value STATus OPERation SENSe ENABle value STATus OPERation TRIGger ENABle value STATus OPERation ULFail ENABle value STATus QUEStionable CALibration ENABle value STATus QUEStionable ENABle value STATus QUEStionable POWer ENABle value STATus QUEStionable WINDow ENABle value Parameters value RST 0 7 13 5 Controlling ...

Page 90: ...Ransition value STATus OPERation PTRansition value STATus OPERation LLFail PTRansition value STATus OPERation MEASuring PTRansition value STATus OPERation SENSe PTRansition value STATus OPERation TRIGger PTRansition value STATus OPERation ULFail PTRansition value STATus QUEStionable CALibration PTRansition value STATus QUEStionable PTRansition value STATus QUEStionable POWer PTRansition value STAT...

Page 91: ...h The RST sets the continuous average mode INITiate initiates the measurement After RST the trigger system is set to TRIGger SOURce IMMediate That means the power sensor starts measuring when the measurement is started without waiting for a trigger condition After the measurement has been completed FETCh Sensor SCALar POWer AVG delivers the result to the output queue from which it can be fetched 8...

Page 92: ... write SENS BUFF STAT ON SENSOR write TRIG COUN 17 Read out all errors Clear error queue SENSOR query SYST ERR ALL szBuf sizeof szBuf printf szBuf Start a single buffered measurement Since 17 trigger counts have been configured the single buffered measurement which becomes initiated by INIT IMM is not over until 17 physical measurements have been triggered SENSOR write INIT IMM The end of a physic...

Page 93: ...e SMB type connector if bUseBUSTrigger SENSOR write TRG Wait until the measurement is done int iMeasEvent 0 while iMeasEvent 2 SENSOR query STAT OPER MEAS EVEN iMeasEvent iMeasEvent 2 printf Triggered n All 17 physical measurement have been executed That means buffer is full and can be read SENSOR query FETCH szBuf sizeof szBuf printf szBuf Performing a buffered continuous average measurement ...

Page 94: ...HiSLIP protocol interfaces 9 1 1 USB interface For remote control using USB connection the computer and the power sensors must be connected via the USB interface A USB connection requires the VISA library to be installed VISA detects and configures the R S power sensors automatically when the USB connection is established Apart from the USBTMC driver which comes with the installation of the R S NR...

Page 95: ...WG 0x01D1 R S NRP90TWG 0x01D2 R S NRP110TWG 0x01D3 Example USB 0x0AAD 0x01D1 100001 0x0AAD is the vendor ID for Rohde Schwarz 0x01D1 is the product ID for the R S NRP75TWG power sensor 100001 is the serial number of the particular power sensor 9 2 Status reporting system The status reporting system stores all information on the current operating state of the sensor and on errors which have occurre...

Page 96: ...gister ESR Associated standard event status enable register ESE SCPI defined operation status register Questionable status register which contains detailed information on the device Table 9 3 Used status byte bits and their meaning Bit no Short description Bit is set if 1 Device status register summary A sensor is connected or disconnected or when an error has occurred in a sensor depending on the...

Page 97: ... the event status enable register Setting this bit denotes a serious error which can be specified in greater detail by querying the standard event status register Chapter 9 2 4 Standard event status and enable register ESR ESE on page 102 6 RQS MSS Master status summary The sensor triggers a service request which happens if one of the other bits of this register is set together with its enable bit...

Page 98: ...able 9 4 Used device status bits and their meaning Bit no Short description Bit is set if 0 Sum of SERR bits Sum combination of SERR bits 1 to 4 1 SERR measurement not possi ble Static error SERR exists Certain parameter settings could lead to a situation where subsequent measurements are not possible 2 SERR erroneous results Static error exists The measurement result is possibly incor rect 3 SERR...

Page 99: ... in LEGACY mode To leave this operating mode close the NRP legacy channel Either close the application which opened the NRP legacy channel or close at least the connection to the power sensor 8 Reference PLL locked state PLL for the clock reference is synchronized The bit is useful when selecting an external clock source The following states are possible Internal clock SENSe Sensor ROSCillator SOU...

Page 100: ...e 9 5 Used questionable status bits and their meaning Bit no Short description Bit is set if 3 Power summary Summary of Questionable power status register exists 8 Calibration summary Summary of Questionable calibration status register exists 9 POST failure Built in test of the R S NRPxxTWG that is carried out auto matically upon power up has generated an error 9 2 3 1 Questionable power status re...

Page 101: ...tion STATus QUEStionable POWer SUMMary EVENt Table 9 6 Used questionable power status bits and their meaning Bit no Short description Bit is set if 1 Sensor power Measurement data of the power sensor is corrupt 5 Sensor please zero Zero correction for the power sensor is no longer correct Per form a zero correction 9 2 3 2 Questionable calibration status register Contains information whether the z...

Page 102: ...y EVENt Table 9 7 Used questionable calibration status bits and their meaning Bit no Short description Bit is set if 1 Sensor calibration Zeroing of the power sensor was not successful 9 2 4 Standard event status and enable register ESR ESE The ESR is already defined in the IEEE 488 2 standard It is comparable to the EVENt register of a SCPI register The standard event status register can be read ...

Page 103: ...ent error occurs An error message with a number between 300 and 399 or a positive error number denoting the error in greater detail is entered in the error queue 4 Execution error The syntax of a received command is correct but the command can not be executed due to various marginal conditions An error mes sage with a number between 200 and 300 denoting the error in greater detail is entered in th...

Page 104: ...ing status register exists 4 Measuring Summary of Operation measuring status register exists 5 Triggering Summary of Operation trigger status register exists 10 Sense summary Summary of Operation sense status register exists 11 Lower limit fail Summary of Operation lower limit fail status register exists 12 Upper limit fail Summary of Operation upper limit fail status register exists 9 2 5 1 Opera...

Page 105: ...ition STATus OPERation CALibrating SUMMary EVENt Table 9 10 Used operation calibrating status bits and their meaning Bit no Short description Bit is set if 1 Sensor calibrating Sensor is being calibrated 9 2 5 2 Operation measuring status register The CONDition register contains information whether a power sensor is measuring The EVENt register contains information whether a measurement was starte...

Page 106: ... OPERation MEASuring SUMMary EVENt Table 9 11 Used operation measuring status bits and their meaning Bit no Short description Bit is set if 1 Sensor measuring Sensor is measuring 9 2 5 3 Operation trigger status register The CONDition register contains information whether a power sensor is waiting for a trigger event The EVENt register contains information whether the power sensor has been waiting...

Page 107: ... Short description Bit is set if 1 Sensor waiting for trigger Sensor is waiting for a trigger event When the trigger event occurs the sensor changes into the measuring state 9 2 5 4 Operation sense status register The CONDition register contains information whether a power sensor is being initial ized The EVENt register contains information whether an initialization was started or completed since ...

Page 108: ...tion SENSe SUMMary EVENt Table 9 13 Used operation sense status bits and their meaning Bit no Short description Bit is set if 1 Sensor initializing Sensor is being initialized 9 2 5 5 Operation lower limit fail status register The CONDition registers contain information whether a measured value is below a configured lower limit The EVENt registers contain information whether a measured value dropp...

Page 109: ...MMary EVENt Table 9 14 Used operation lower limit fail status bits and their meaning Bit no Short description Bit is set if 1 Lower limit fail Measured value is below the lower limit value 9 2 5 6 Operation upper limit fail status register The CONDition registers contain information whether a measured value currently exceeds a configured upper limit The EVENt registers contain information whether ...

Page 110: ...0 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 1 Upper limit fail Measured value exceeds the upper limit value Status reporting system ...

Page 111: ...n use for troubleshooting Do not apply a signal to the sensor while the selftest is running If the selftest is carried out with a signal being present error messages can erroneously be output for the test steps Offset Voltages and or Noise Voltages Using remote control For a quick check send TEST SENSor For each test step PASS or FAIL is listed 10 3 Problems during a firmware update The firmware u...

Page 112: ... Docu mentation overview on page 9 or the CD ROM delivered with the power sensor 2 Perform the firmware update again 10 4 Contacting customer support Technical support where and when you need it For quick expert help with any Rohde Schwarz product contact our customer sup port center A team of highly qualified engineers provides support and works with you to find a solution to your query on any as...

Page 113: ...If you do not have the original packaging use similar materials that provide the same level of protection Securing When moving the product in a vehicle or using transporting equipment make sure that the product is properly secured Only use items intended for securing objects Transport altitude Unless otherwise specified in the data sheet the maximum transport altitude without pressure compensation...

Page 114: ...e damage bent inner conductors broken contact springs and so on If the RF connectors are damaged stop using the power sensor Contact Rohde Schwarz customer service see Chapter 10 4 Contacting customer support on page 112 Checking the integrity of the RF connector 1 2 3 1 Perfectly formed contacts 2 Normal wear 3 Damaged contacts Checking the concentricity of the RF connector 1 2 3 1 Perfectly conc...

Page 115: ... ethanol Further information To disconnect from the DUT on page 13 12 3 Storage Put plastic end caps on the RF connectors to protect them from damage Protect the power sensor against dust Ensure that the environmental conditions e g temperature range and climatic load meet the values specified in the data sheet 12 4 Disposal Rohde Schwarz is committed to making careful ecologically sound use of na...

Page 116: ...s 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 Disposal ...

Page 117: ... AUTO TYPE 59 SENSe Sensor AVERage RESet 58 SENSe Sensor AVERage TCONtrol 59 SENSe Sensor AVERage STATe 59 SENSe Sensor CORRection DCYCle 60 SENSe Sensor CORRection DCYCle STATe 61 SENSe Sensor CORRection OFFSet 61 SENSe Sensor CORRection OFFSet STATe 61 SENSe Sensor CORRection SPDevice LIST 62 SENSe Sensor CORRection SPDevice SELect 62 SENSe Sensor CORRection SPDevice STATe 62 SENSe Sensor FREQue...

Page 118: ...TRansition 89 STATus OPERation CALibrating PTRansition 90 STATus OPERation CALibrating SUMMary EVENt 89 STATus OPERation CONDition 88 STATus OPERation ENABle 89 STATus OPERation LLFail CONDition 88 STATus OPERation LLFail ENABle 89 STATus OPERation LLFail NTRansition 89 STATus OPERation LLFail PTRansition 90 STATus OPERation LLFail SUMMary EVENt 89 STATus OPERation MEASuring CONDition 88 STATus OP...

Page 119: ...UEStionable POWer CONDition 88 STATus QUEStionable POWer ENABle 89 STATus QUEStionable POWer NTRansition 90 STATus QUEStionable POWer PTRansition 90 STATus QUEStionable POWer SUMMary EVENt 89 STATus QUEStionable PTRansition 90 STATus QUEStionable WINDow CONDition 88 STATus QUEStionable WINDow ENABle 89 STATus QUEStionable WINDow NTRansition 90 STATus QUEStionable WINDow PTRansition 90 STATus QUESt...

Page 120: ...em VERSion 87 SYSTem SENSor NAME 87 TEST SENSor 79 TRIGger ATRigger DELay 46 TRIGger ATRigger EXECuted 47 TRIGger ATRigger STATe 47 TRIGger COUNt 47 TRIGger DELay 48 TRIGger DELay AUTO 48 TRIGger DTIMe 48 TRIGger EXTernal 2 2 IMPedance 48 TRIGger HOLDoff 49 TRIGger HYSTeresis 49 TRIGger IMMediate 49 TRIGger LEVel 49 TRIGger LEVel UNIT 50 TRIGger SENDer PORT 50 TRIGger SENDer STATe 50 TRIGger SLOPe...

Page 121: ...er 98 Diagnostics Selftest 111 Disconnecting Host interface 14 RF 13 Documentation overview 9 Download R S NRP Toolkit 20 Dropout time Trigger 42 DUT Connecting 12 Disconnecting 12 Duty cycle 60 E Electromagnetic interference EMI 12 Electrostatic discharge ESD 12 Enable register 102 ESE 102 ESR 102 F Firmware update 22 28 Potential risks 28 Problems 111 Remote control 30 Requirements 28 Firmware U...

Page 122: ... 22 Versions 20 Versions of R S NRP software 22 R S NRP Z5 15 R S NRPV 23 R S NRX 26 R S Power Viewer 24 R S Power Viewer Mobile 25 Reference source Remote control 38 Regular checks 114 Regulatory information 7 Release notes 10 Remote control Basic measurement parameters 56 Basics 94 Common commands 34 Continuous average measurement 54 Conventions 32 Ending measurement 39 Interfaces 94 Measurement...

Page 123: ...ience 7 Termination control 43 Test setup 12 Transporting 113 Trigger 40 Configuring 46 Dropout time 42 Event 41 Hold off time 42 Sources 41 States 40 Trigger I O connector 19 Troubleshooting 111 Firmware update 111 Selftest 111 Status information 111 Tutorials 9 U Uncertainty calculator 22 Units 32 Unpacking 11 USB connection 14 USB interface Remote control 94 USB product ID 95 USB resource strin...

Reviews: