background image

Performing Measurement Tasks - Programming Examples

R&S

®

NRPxxS(N)

146

User Manual 1177.5079.02 ─ 10

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
SENSe:POWer:AVG:BUFFer:COUNt?

10.3

 

Performing a Buffered Continuous Average Measure-
ment

This example, written in pseudo code, shows how to setup and execute a buffered
continuous average measurement.

//Select whether using
//    'BUS Trigger'     --> true
// or 'EXT Trigger'     --> false
bool   bUseBUSTrigger = true;

// Use the first NRP series sensor which is found
if ( VI_SUCCESS == SENSOR.openFirstNrpSensor( "USB?::0X0AAD::?*::INSTR" ) )
{
 //Start with a clean state
 SENSOR.write( "*RST" );

 // 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" );
 }
 else
 {
  // We get trigger pulses on the external input (SMB-type connector)
  SENSOR.write( "TRIG:SOUR EXT2" );
 }

Performing a Buffered Continuous Average Measurement

Summary of Contents for NRPxxS Series

Page 1: ...R S NRPxxS N Three Path Power Sensors User Manual User Manual Version 10 1177507902 2...

Page 2: ...g TVAC compliant three path diode power sensor R S NRP33SN V 1419 0129 02 2019 Rohde Schwarz GmbH Co KG M hldorfstr 15 81671 M nchen Germany Phone 49 89 41 29 0 Fax 49 89 41 29 12 164 Email info rohde...

Page 3: ...g to a DUT 12 3 5 Connecting to a Computer 13 3 6 Connecting to a USB Host 22 4 Power Sensor Tour 23 4 1 RF Connector 23 4 2 Trigger I O Connector 24 4 3 Host Interface 24 4 4 Status LED 25 4 5 LAN Po...

Page 4: ...g Results 87 9 7 Configuring the Measurement Modes 92 9 8 Configuring Basic Measurement Parameters 104 9 9 Calibrating Zeroing the Power Sensor 125 9 10 Testing the Power Sensor 127 9 11 Configuring t...

Page 5: ...nual 1177 5079 02 10 12 Troubleshooting 175 12 1 Displaying Status Information 175 12 2 Performing a Selftest 175 12 3 Problems during a Firmware Update 176 12 4 Cannot Establish a LAN Connection 176...

Page 6: ...Contents R S NRPxxS N 6 User Manual 1177 5079 02 10...

Page 7: ...re grouped according to subjects For example one subject is electrical safety The Basic Safety Instructions are delivered with the R S NRPxxS N in different languages in print Throughout the documenta...

Page 8: ...Brochures The data sheet contains the technical specifications of the R S NRPxxS N It also lists the firmware applications and their order numbers and optional accessories The brochure provides an ov...

Page 9: ...oxes menus options buttons and softkeys are enclosed by quotation marks Keys Key and knob names are enclosed by square brackets Filenames commands program code Filenames commands coding samples and sc...

Page 10: ...e with Power over Ethernet PoE power supply The power sensors with networking capabili ties the R S NRP LAN power sensors are marked with a trailing N in their names R S NRPxxSN The R S NRP33SN V powe...

Page 11: ...ment needs to be transported or ship ped later you can use the material to protect the control elements and connectors 3 2 Operating Conditions Specific operating conditions are required to ensure acc...

Page 12: ...rge ESD Electrostatic discharge ESD can damage the electronic components of the power sensor and the device under test DUT Ground yourself to avoid electrostatic discharge ESD damage Use a wrist strap...

Page 13: ...CE Risk of damaging the center pin of the RF connector Always rotate only the hex nut of the RF connector Never rotate the power sensor itself Tighten the RF connector manually 4 To ensure maximum mea...

Page 14: ...y a supported software or a remote program Required equipment R S NRPxxS N power sensor R S NRP ZKU cable Setup NRP 3 Path Diode Power Sensor MHz to GHz 100 pW to 200 mW 70 dBm to 23 dBm SMART SENSOR...

Page 15: ...RP Z5 sensor hub high speed USB 2 0 can host up to four R S NRPxxS N power sensors and provides simultaneous external triggering to all con nected sensors Required equipment 1 to 4 R S NRPxxS N power...

Page 16: ...R S NRP ZK6 cable to the power sensor b Connect the power sensors to the R S NRP Z5 sensor hub You can connect up to four sensors c Connect the R S NRP Z5 to the computer d Connect the power sensors...

Page 17: ...up with a PoE Ethernet switch 1 Signal source 2 LAN power sensor 3 RJ 45 Ethernet connector 4 6 RJ 45 Ethernet cable 5 Ethernet switch supporting PoE power delivery e g R S NRP ZAP1 7 Computer 1 Conne...

Page 18: ...PoE Ethernet switch 10 Computer 1 Connect the RF connector of the sensor to the DUT 2 NOTICE Risk of sensor damage Use only PoE power sourcing equipment PSE according to IEEE standards 802 3af or IEEE...

Page 19: ...at Otherwise your power sensor can get damaged Connect the RJ 45 Ethernet connector of the sensor to the output of the PoE injec tor 3 Connect the PoE injector to a power supply 4 Connect the computer...

Page 20: ...sensor 3 Check that the remaining main network adapter has been assigned an IP address starting with 169 254 The IANA Internet assigned numbers authority has reserved the range 169 254 0 0 to 169 254...

Page 21: ...wer sensor try the default hostname as well as the hostname extended with local as shown in the example below All communica tion for resolving names in the top level domain TLD local are defined to be...

Page 22: ...ctively if a network or a point to point connection is used 3 6 Connecting to a USB Host For connecting the power sensor to a USB host use the host interface of the power sensor For details see Chapte...

Page 23: ...or see Chapter 4 1 RF Connector on page 23 2 Trigger I O connector see Chapter 4 2 Trigger I O Connector on page 24 3 Host interface connector see Chapter 4 3 Host Interface on page 24 4 Status LED se...

Page 24: ...an output for trigger signals if the sensor is operated in the trigger master mode Further information Chapter 9 5 2 Triggering on page 73 4 3 Host Interface The host interface connector is used for...

Page 25: ...STem SERRor Note If this state occurs after a firmware update the update was not successful Perform the firmware update again See also Chapter 12 3 Problems during a Firmware Update on page 176 4 5 LA...

Page 26: ...or 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...

Page 27: ...power sensors The components of the R S NRP Toolkit depend on the operating system 5 1 1 Versions and Downloads The R S NRP Toolkit is available for the Microsoft Windows operating systems listed unde...

Page 28: ...the release notes available at www rohde schwarz com software nrp tool kit Installing on a computer 1 Start the R S NRP Toolkit installer on the Windows based computer In the NRP Toolkit Setup dialog...

Page 29: ...ishing a LAN connection with an R S NRP LAN power sensor The tool provides the following functions Configuring the network settings by temporary connecting the selected sensor to the computer using US...

Page 30: ...ser Interface Requires a power sensor with networking capabilities a R S NRP LAN power sensor With the integrated browser based graphical user interface of the LAN power sensor you can easily configur...

Page 31: ...S NRPxxS N power sensors can damage the power sensors or lead to erroneous results Ensure that you connect disconnect your power sensor as described in Chapter 3 Preparing for Use on page 11 Starting...

Page 32: ...control occurs on the fly and has no influence on the manual operation Further information Chapter 9 Remote Control Commands on page 64 Chapter 11 Remote Control Basics on page 151 Chapter 11 1 Remote...

Page 33: ...R S NRP ZKU cable 5 USB connector 6 Computer with installed R S NRPV Incorrectly connecting disconnecting the R S NRPxxS N power sensors can damage the power sensors or lead to erroneous results Ensur...

Page 34: ...easure Continuous The Continuous measurement window appears It shows the measurement results numerically and the control panel for accessing further dialogs with param eters for measurement evaluation...

Page 35: ...For details see Chapter 5 6 R S Power Viewer Mobile on page 37 Setup Figure 5 3 Setup with the R S Power Viewer 1 Signal source 2 R S NRPxxS N power sensor 3 Host interface connector 4 R S NRP ZKU cab...

Page 36: ...average measurement select Measurement Continuous The Continuous measurement window appears It shows the measurement results numerically and some parameters that can be configured 6 To start the measu...

Page 37: ...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 NRPxxS N power sensor R S...

Page 38: ...In the Measurement Settings dialog select the Measurement Type for example Continuous Average b Tap Quick Setup Auto Set 4 Switch on the signal source The measurement starts and the result is display...

Page 39: ...r as described in Chapter 3 Preparing for Use on page 11 Starting a measurement 1 Connect the cables as shown in Figure 5 5 a Connect the R S NRP ZK6 cable to the host interface connector of the senso...

Page 40: ...opriate softkey to select a specific sen sor for zeroing 4 Press the FREQ hardkey and enter the carrier frequency of the applied signal if the specified measurement accuracy is to be reached 5 Switch...

Page 41: ...1 Explanation of the web user interface 1 Title bar 2 Common settings see Chapter 6 3 Common Settings on page 43 3 Parameters pane 4 Result pane 5 Navigation pane Measurements see Chapter 6 4 Measure...

Page 42: ...ions are available Unit Keyboard key Decibel d Hertz h Second s Volt v Watt w Unit multiples Keyboard key Giga g Mega m Kilo k milli m micro u nano n Example To set the unit to 1 GHz enter 1g For cert...

Page 43: ...odes Access main dialog of the web user interface top pane System Status 43 Measurement 43 Frequency 43 Offset 43 State 44 Value 44 S Parameter 44 Averaging 44 System Status Displayed in the title bar...

Page 44: ...ttenuator directional coupler connected ahead of the sensor Averaging See Averaging Mode on page 52 6 4 Measurement Modes Describes the parameters for the available measurement modes Continuous Averag...

Page 45: ...110 Smoothing Enables the smoothing filter a steep cut off digital lowpass filter The filter reduces result fluctuations caused by modulation Remote command SENSe Sensor POWer AVG SMOothing STATe on...

Page 46: ...ds the trigger level Remote command SENSe Sensor POWer BURSt DTOLerance on page 97 6 4 3 Timeslot Mode Describes the parameters of the timeslot average measurement Further information Chapter 9 7 3 Ti...

Page 47: ...Sensor TIMing EXCLude STARt on page 109 End Exclude Sets a time that is to be excluded at the end of the measurement period Remote command SENSe Sensor TIMing EXCLude STOP on page 109 Trigger Source...

Page 48: ...recording for the Trace mode Remote command SENSe Sensor TRACe OFFSet TIME on page 103 Trace Points Sets the number of required values per trace sequence For achieving a good optimum between the meas...

Page 49: ...ace navigation pane Sensor Range 49 Correction 49 State 49 Magnitude 49 Phase 50 Zero Calibration 50 Diagnostics 50 Range Selects which path of the sensor is used for the measurement Remote command SE...

Page 50: ...signal at the sensor input See Chapter 9 9 Calibrating Zeroing the Power Sensor on page 125 Note Turn off all test signals before zeroing An active test signal during zeroing causes an error Remote co...

Page 51: ...10 Remote command TEST SENSor on page 127 6 5 2 Averaging Settings Describes the parameters for automatic averaging Further information Chapter 9 8 1 Configuring Auto Averaging on page 104 Access mai...

Page 52: ...SENSe Sensor AVERage COUNt AUTO TYPE on page 107 Value Averaging Mode The content of this field depends on the setting under Mode on page 52 If manual is set Sets the average count also called averag...

Page 53: ...t is set under Mode on page 52 Sets an upper limit for the settling time of the auto averaging filter thus limiting the length of the filter Remote command SENSe Sensor AVERage COUNt AUTO MTIMe on pag...

Page 54: ...ote command TRIGger LEVel on page 85 TRIGger LEVel UNIT on page 85 Trigger Delay Sets the delay between the trigger event and the beginning of the actual measurement Remote command TRIGger DELay on pa...

Page 55: ...tem on page 128 Access main dialog of the web user interface navigation pane System IP Address 55 Subnet Mask 55 Gateway 56 DHCP 56 Apply Network Settings 56 Sensor Name 56 Firmware Update 56 IP Addre...

Page 56: ...31 Apply Network Settings After you have made the required network settings changes apply them to the power sensor by clicking Apply Network Settings Sensor Name Sets the sensor name The sensor name i...

Page 57: ...ail able at www rohde schwarz com en firmware nrp_s_sn If the rsu file is packed in a zip archive extract it before updating If you use the Firmware Update for NRP Family program further requirements...

Page 58: ...not interrupted 1 Check the prerequisites see Checking the prerequisites on page 58 2 Connect the power sensor to the computer as described in Chapter 3 5 Connect ing to a Computer on page 13 3 Start...

Page 59: ...ending on the sensor model and the size of the selected file 8 Check if the update was successful The firmware version in the Identification field must match the version you selected in the Firmware f...

Page 60: ...stem 4 Click Firmware Update 5 In the Firmware Update dialog click Select RSU file 6 In the file browser select the rsu file for upload The selected rsu is displayed for example NRPxSN_17 11 27 03 rsu...

Page 61: ...FWUPdate on page 133 The size of the file is 10242884 This number has 8 digits Thus the block_data consist of the following 8 How many digits follow to specify the file size 10242884 Number that spec...

Page 62: ...er install latest R S NRP Toolkit V 4 17 or higher For using the sensors with R S NRP2 signal generators spectrum analyzers or other Rohde Schwarz instruments install the latest firmware version 8 1 M...

Page 63: ...oftware applications or your own programs 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 rele...

Page 64: ...r setting are indicated as Setting 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 R...

Page 65: ...the SCPI standard Some com mands are considerably shortened by these optional mnemonics Therefore not only is there a short and a long form for the commands distinguished here by uppercase and lowerc...

Page 66: ...rameters in braces may be included in the command once several times or not at all 9 3 Common Commands The common commands are taken from the IEEE 488 2 IEC 625 2 standard The headers of these command...

Page 67: ...the version number of the installed firmware is indicated Usage Query only IST Individual STatus query Returns the current value of the IST flag in decimal form The IST flag is the status bit which is...

Page 68: ...ted list of installed options Usage 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...

Page 69: ...ch conditions a service request is triggered Parameters register Range 0 to 255 RST 0 STB STatus Byte query Returns the contents of the status byte in decimal form Usage Query only TRG TRiGger Trigger...

Page 70: ...rement Path 70 Selecting a Measurement Mode 71 9 4 1 Selecting the Reference Source The ROSCillator subsystem contains commands for configuring the reference source SENSe Sensor ROSCillator SOURce sou...

Page 71: ...RST ON Manual operation See Range on page 49 SENSe Sensor RANGe CLEVel level Reduces the transition range between the measurement paths 0 1 and 1 2 by the set value Thus you can improve the measuremen...

Page 72: ...4 Trace Measurement on page 99 9 5 Controlling the Measurement The power sensor offers a bunch of possibilities to control the measurement Do you want to start the measurement immediately after the i...

Page 73: ...measurement mode In continuous measurement mode the power sensor does not go into the idle state after a measurement has been completed but immediately executes another measurement cycle See also Cha...

Page 74: ...rig ger state Depending on the required number of measurement cycles you use one of the following commands INITiate CONTinuous A new measurement cycle is started automatically after the previous one h...

Page 75: ...gnificance of the dropout time The RF power between the slots is below the threshold defined by the trigger level and the trigger hysteresis Therefore the trigger hysteresis alone cannot prevent trigg...

Page 76: ...e 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...

Page 77: ...nt 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 sureme...

Page 78: ...y correct but the noise is higher After 4 measurements when the average count is reached settled data are available When the trigger count is reached TRIGger COUNt on page 82 the power sensor returns...

Page 79: ...e During a chopper phase the trigger synchronization is high TRIGger SYNC STATe ON After 2 chopper phases 1 measurement is completed As defined by the average count after 2 measurements the result is...

Page 80: ...ynchronization is high TRIGger SYNC STATe ON Every measurement provides a result After 2 measurements when the average count is reached settled data are available 1 3 4 5 2 7 8 6 1 Start of the measur...

Page 81: ...result 4 Trigger synchronization 5 Return to idle state 9 5 5 Configuring the Trigger Further information Chapter 9 5 Controlling the Measurement on page 72 Remote commands TRIGger ATRigger DELay 82 T...

Page 82: ...if the delay time has elapsed after the measurement start and no trigger event has occurred The delay time is set using TRIGger ATRigger DELay The command is only effective in the trace mode and irres...

Page 83: ...lly determined delay is ignored Parameters state RST OFF TRIGger DTIMe dropout_time Sets the dropout time for the internal trigger source During this time the signal power must exceed negative trigger...

Page 84: ...the set value on a falling slope Thus you can use this setting to eliminate the effects of noise in the signal for the edge detector of the trigger system Parameters hysteresis Range 0 00 to 10 00 RST...

Page 85: ...0 0e 3 RST 1 0e 6 Default unit Watts Manual operation See Trigger Level on page 54 TRIGger LEVel UNIT unit Sets the unit of the trigger level if this value is entered without a unit See also TRIGger L...

Page 86: ...s trigger master output port or vice versa Parameters state RST OFF TRIGger SLOPe slope Effective only if TRIGger SOURce is set to INTernal or EXTernal Determines which edge of the envelope power with...

Page 87: ...blocked by any sensor that has completed its measurements before the others and has returned to the idle state Parameters state RST OFF 9 6 Configuring and Retrieving Results Setting the Power Unit 87...

Page 88: ...Pped The 1st byte is the most significant byte the 4th 8th byte the least significant byte Fulfills the Big Endian big end comes first convention RST NORMal Example FORM BORD NORM FORMat SREGister sre...

Page 89: ...ASCii 4 format 1 2938e 06 4 7269e 11 RST ASCii 0 9 6 3 Retrieving Results After performing the measurement you can query the measurement results with a command from the FETCh subsystem Remote commands...

Page 90: ...slot The power is simultaneously measured in up to 32 time win dows The number of time windows is set with SENSe Sensor POWer TSLot AVG COUNt The length of a time window is determined via SENSe Sensor...

Page 91: ...Lar POWer AVG command sends use the CALCulate FEED command before the measurement is ini tiated Depending on the measurement mode the following settings are possible SENS FUNC Possible CALC FEED Meani...

Page 92: ...red values that are determined together with the main measured value Parameters mode NONE MINMax RNDMax NONE No additional values are measured MINMax Minima and maxima of the trace are transmitted tog...

Page 93: ...n period varies or is not precisely known you 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...

Page 94: ...or POWer AVG BUFFer DATA 95 SENSe Sensor POWer AVG BUFFer SIZE 95 SENSe Sensor POWer AVG BUFFer STATe 95 SENSe Sensor POWer AVG FAST 95 SENSe Sensor POWer AVG SMOothing STATe 96 SENSe Sensor POWer AVG...

Page 95: ...uous Average Measurement on page 146 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 e...

Page 96: ...ning of the parameters that can be configured Power Time Trigger level Dropout time Dropout tolerance Pulse interval Figure 9 2 Burst average measurement parameters To prevent power drops due to modul...

Page 97: ...ual operation See Dropout Tolerance on page 46 SENSe Sensor POWer BURSt LENGth Queries the length of a burst pulse interval the time between the trigger point of the measurement and the time the trigg...

Page 98: ...point Defining a time interval for the measurement Additionally time intervals that are to be excluded from the measurement can be set at the beginning and at the end of the measurement interval with...

Page 99: ...measure ment see Figure 9 3 The parameter applies to each individual timeslot Note Even if the exclusion interval exceeds the timeslot because for example its right limit is outside the timeslot corre...

Page 100: ...it takes to obtain a measured value Averaging is only effective if SENSe Sensor TRACe AVERage STATe ON is set Parameters count Range 1 to 65536 RST 4 SENSe Sensor TRACe AVERage TCONtrol mode Available...

Page 101: ...se additional measurands are denoted as auxiliary measurands and can be selected through the SENSe Sensor AUXiliary com mand A trace measurement can be configured to deliver up to three measurands The...

Page 102: ...deals with the user data content and shows what is embedded in it There are similar mechanisms as with arbitrary block response data in the user data content As indicated above the user data content...

Page 103: ...sponse data response of the SENSe Sensor TRACe DATA query Example TRAC DATA Usage Query only SENSe Sensor TRACe MPWidth Queries the attainable time resolution for the Trace mode The result is the smal...

Page 104: ...Te SENSe Sensor TRACe AVERage COUNt Parameters state RST OFF SENSe Sensor TRACe TIME time Sets the trace length time to be covered by the trace sequence This time period is divided into a number of eq...

Page 105: ...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 Averaging is only effective if SENSe Sensor AVE...

Page 106: ...SENSe Sensor AVERage COUNt AUTO ON SENSe Sensor AVERage COUNt AUTO TYPE NSR The noise component is defined as the magnitude of the level variation in dB caused by the inherent noise of the sensor two...

Page 107: ...t Intermediate values are output as measurement results SENSe Sensor AVERage TCONtrol MOVing Power has significantly decreased since the previous measurement for example by several powers of 10 In thi...

Page 108: ...e COUNt on page 105 RST REPeat Example AVER TCON REP Manual operation See Filter Terminal Control on page 52 SENSe Sensor AVERage STATe state Available in continuous average burst average and timeslot...

Page 109: ...EXCL STAR and SENS TIM EXCL STOP Remote commands SENSe Sensor TIMing EXCLude STARt 109 SENSe Sensor TIMing EXCLude STOP 109 SENSe Sensor TIMing EXCLude STARt exclude_start Sets a time that is to be ex...

Page 110: ...s are corrected The duty cycle is only evaluated in the Continu ous Average mode Remote commands SENSe Sensor CORRection DCYCle 110 SENSe Sensor CORRection DCYCle STATe 110 SENSe Sensor CORRection DCY...

Page 111: ...Te 111 SENSe Sensor CORRection OFFSet offset Sets a fixed offset that is added to correct the measured value Parameters offset Range 200 00 to 200 00 RST 0 Default unit dB Manual operation See Value o...

Page 112: ...RPxxS N without an attenuator Disable the S parameter correction Each time after you have put the power sensor into operation SENSe Sensor CORRection SPDevice STATe Permanently using the S Parameters...

Page 113: ...uses the S parameter data set selected by SENSe Sensor CORRection SPDevice SELect See also Chapter 9 8 4 3 S Parameter Correction on page 111 Parameters state RST OFF Example CORR SPD SEL 1 Selects a...

Page 114: ...r sensor and the reflection of port 2 expressed by s22 is always taken into account regardless whether gamma correction is performed or not Sensor Source S21 S12 S22 S11 NRP 3 Path Diode Power Sensor...

Page 115: ...ction coefficient of the source source Parameters phase Range 360 0 to 360 0 RST 0 0 Manual operation See Phase on page 50 9 8 4 5 Using the S Parameters Tool The S Parameters tool helps loading an S...

Page 116: ...Global Flags 118 S Parameter Correction ON by Default 118 S Parameter Correction State Locked 118 S Parameter Device Locked 118 Use Flags in Factory Cal Data Set 119 Device table 119 Menu bar Contain...

Page 117: ...ol 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...

Page 118: ...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 Dev...

Page 119: ...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...

Page 120: ...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...

Page 121: ...re 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 119 2 Select File Import S2P 3 Sele...

Page 122: ...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 6 Click OK to...

Page 123: ...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 head...

Page 124: ...ement 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...

Page 125: ...ws 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...

Page 126: ...use this information to deter mine the capacity of the buffer memory required Example CAL DATA LENG Query 57392 Response Usage Query only CALibration USER DATA caldata Accesses the user calibration da...

Page 127: ...veral seconds SYST SERR Query 240 Response Warning Zero Calibration failed Results Degrading Manual operation See Zero Calibration on page 50 9 10 Testing the Power Sensor The selftest allows a test o...

Page 128: ...0 SYSTem COMMunicate NETWork IPADdress INFO 131 SYSTem COMMunicate NETWork IPADdress MODE 131 SYSTem COMMunicate NETWork IPADdress SUBNet MASK 131 SYSTem DFPRint Channel 131 SYSTem ERRor ALL 132 SYSTe...

Page 129: ...e LAN network settings to the default values Usage Event SYSTem COMMunicate NETWork STATus Effective only for the R S NRP LAN power sensors Queries the network configuration state Example SYST COMM NE...

Page 130: ...efault hostname to avoid prob lems with the network connection However if you change the hostname be sure to use a unique name Parameters hostname Example SYST COMM NETW COMM HOST powersensor 2nd floo...

Page 131: ...he IP address automatically provided the network sup ports DHCP STATic Enables assigning the IP address manually RST AUTO Example SYST COMM NETW IPAD MODE AUTO The IP address is assigned automatically...

Page 132: ...by the SCPI standard Example SYST ERR ALL Query 0 No error Response Usage Query only SYSTem ERRor CODE ALL Queries all unread entries in the error event queue and removes them from the queue Only the...

Page 133: ...s new operating firmware into the power sensor Rohde Schwarz provides the update file For further details see Chapter 7 Firmware Update on page 57 If you want to integrate a firmware update function i...

Page 134: ...em 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...

Page 135: ...ress Domain Subnetmask Gateway Mode Status Sensor Name Technology Function MinPower MaxPower MinFreq MaxFreq Resolution Impedance Coupling Uptime Cal Misc Cal Abs Cal Refl Cal Temp Cal Lin Cal S Para...

Page 136: ...r and the flash code of the system status LED if the operating mode of the LED is set to USER SYSTem LED MODE Parameters color Hexadecimal code described as 0x0krrggbb with k 0 steady on k 1 slowly fl...

Page 137: ...display near the lower measurement limit Usage Query only SYSTem PARameters Lists all commands with default values limits and ranges Usage Query only SYSTem PARameters DELTa Lists all commands that d...

Page 138: ...syntax errors and gen erally affect a single parameter or setting Static errors as a rule prevent the execution of normal measurements Static errors occur when you select conflicting settings This co...

Page 139: ...e only in the NRP legacy mode Sets the status update time That is the maximum rate in which the power sensor can output measurement results Relevant only in continuous measurement mode INITiate CONTin...

Page 140: ...ation See Sensor Name on page 56 SYSTem VERSion Queries the SCPI version that the command set of the sensor complies with Example SYST VERS Query 1999 0 Response SCPI version from 1999 Usage Query onl...

Page 141: ...ONDition Part Further information Chapter 11 3 2 Structure of a SCPI Status Register on page 163 STATus DEVice CONDition STATus OPERation CALibrating CONDition STATus OPERation CONDition STATus OPERat...

Page 142: ...PERation MEASuring ENABle value STATus OPERation SENSe ENABle value STATus OPERation TRIGger ENABle value STATus OPERation ULFail ENABle value STATus QUEStionable CALibration ENABle value STATus QUESt...

Page 143: ...ion value STATus OPERation CALibrating PTRansition value STATus OPERation PTRansition value STATus OPERation LLFail PTRansition value STATus OPERation MEASuring PTRansition value STATus OPERation SENS...

Page 144: ...e the following sequence of commands RST INITiate FETCh The RST sets the Continuous Average mode INITiate initiates the measurement After RST the trigger system is set to TRIGger SOURce IMMediate so t...

Page 145: ...not be fetched too fast Therefore a sleep time between two consecutive SENS POW AVG BUFF DATA queries is meaningful Since the sensor reaches approximately 50000 measurements per second in this setup...

Page 146: ...ment This example written in pseudo code shows how to setup and execute a buffered continuous average measurement Select whether using BUS Trigger true or EXT Trigger false bool bUseBUSTrigger true Us...

Page 147: ...sical measurements have been triggered SENSOR write INIT IMM The end of a physical measurement can be recognized by a transistion to NOT MEASURING which is a negative transistion on bit 1 SENSOR write...

Page 148: ...nsfer speed and resolution SENSe TRACe POINTs 500 Set the trace time It influences the time length of a point since each point represents the time period resulting from the trace time divided by the n...

Page 149: ...to poll the sensor until the measurement is ready and the results can safely be retrieved For such applications it is recommen ded to use the status system of the sensor to find out whether the measur...

Page 150: ...is ready this loop could also check for cancel requests from the user or other break conditions while bMeasReady query STAT OPER MEAS EVEN iEvent bMeasReady iEvent 0x02 0 if bMeasReady sleep 1 if bMea...

Page 151: ...ocol IVI 6 1 TCPIP host address hislip0 INSTR VISA Socket communication LAN Ethernet TCPIP host address LAN device name port SOCKET VISA is a standardized software interface library providing input an...

Page 152: ...s the vendor ID for Rohde Schwarz 0x0AAD product ID is the product ID for the Rohde Schwarz sensor serial number is the individual serial number on the rear of the sensor Table 11 2 R S NRPxxS N USB p...

Page 153: ...ss optional The IP address or hostname is used by the programs to identify and control the sensor While the hostname is determined by settings in the sensor the IP address is assigned by a DHCP server...

Page 154: ...11 1 2 2 VXI 11 Protocol The VXI 11 standard is based on the ONC RPC Open Network Computing Remote Procedure Call protocol which in turn relies on TCP IP as the network transport layer The TCP IP netw...

Page 155: ...raw Ethernet communication does not necessarily require a VISA installation on the remote controller side Socket connections are established on a specially defined port The socket address is a combina...

Page 156: ...ONTinuous is equivalent to INIT CONT or init cont Case insensitivity Upper case and lower case notation only serves to distinguish the two forms in the manual the instrument itself is case insensitive...

Page 157: ...age 157 Special characters Parameters A vertical stroke in parameter definitions indicates alternative possibilities in the sense of or The effect of the command differs depending on which parameter i...

Page 158: ...ic values The texts listed below are interpreted as special numeric values For a query the numeric value is provided MIN MAX MINimum and MAXimum denote the minimum and maximum value DEF DEFault denote...

Page 159: ...xt 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 For a query the...

Page 160: ...length 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 ma...

Page 161: ...3 DEL 3E 3 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 speci...

Page 162: ...ormation in the status registers Output queue Error event queue Status byte Service request to controller at transition from 0 to 1 1 0 2 3 4 5 x 7 1 0 2 3 MAV ESB RQS MSS 7 Service request enable Ope...

Page 163: ...r i e each hardware sta tus is assigned a bit number which is the same for all five registers Bit 15 the most significant bit is set to 0 in all registers thus preventing problems some controllers hav...

Page 164: ...d this part Reading the register clears it This part is often equated with the entire register ENABle status register part The ENABle part determines whether the associated EVENt bit contributes to th...

Page 165: ...nnected or disconnected or when an error has occurred in a sensor See Chapter 11 3 5 Device Status Register on page 166 2 Error queue not empty The bit is set if the error queue has an entry If this b...

Page 166: ...11 3 8 Operation Status Register on page 170 11 3 4 IST Flag and Parallel Poll Enable Register PPE Similar to the service request SRQ the IST flag combines the complete status infor mation in a single...

Page 167: ...s 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 com...

Page 168: ...6 Meaning of bits used in the questionable status register Bit No Meaning 0 to 2 Not used 3 Questionable power status register summary bit Corresponds to the summary bit of the questionable power stat...

Page 169: ...11 3 6 2 Questionable Calibration Status Register The EVENt register and the CONDition register contain information whether the zero offset of a sensor is still valid Querying the register STATus QUES...

Page 170: ...300 and 399 or a positive error number denoting the error in greater detail is entered in the error queue 4 Execution error This bit is set if the syntax of a received command is correct but the comm...

Page 171: ...ibrated See Chapter 11 3 8 1 Operation Calibrating Status Register on page 172 1 to 3 Not used 4 Measuring status register summary bit This bit is set if the sensor is performing a measurement See Cha...

Page 172: ...transition register The EVENt register indi cates whether a calibration was started or completed since the last readout of this reg ister Querying the register STATus OPERation CALibrating CONDition S...

Page 173: ...11 13 Meaning of bits used in the operation trigger status register Bit No Meaning 0 Not used 1 Sensor waiting for trigger The sensor is in the waiting for trigger state and is waiting for a trigger e...

Page 174: ...il CONDition STATus OPERation LLFail SUMMary EVENt Table 11 15 Meaning of bits used in the operation lower limit fail status register Bit No Meaning 0 Not used 1 Lower limit fail The measured value dr...

Page 175: ...nsors with networking capabilities the R S NRP LAN power sensors The position of the status icon is indicated in Figure 6 1 The colors are explained in Chapter 4 4 Status LED on page 25 12 2 Performin...

Page 176: ...the firmware update problems can occur 1 Perform the firmware update again Sometimes a further update fixes the prob lems 2 If the power sensor is not accessible any more contact the service 12 4 Cann...

Page 177: ...e 106 SENSe Sensor AVERage COUNt AUTO NSRatio 106 SENSe Sensor AVERage COUNt AUTO RESolution 106 SENSe Sensor AVERage COUNt AUTO SLOT 106 SENSe Sensor AVERage COUNt AUTO TYPE 107 SENSe Sensor AVERage...

Page 178: ...LENGth 126 CALibration Channel ZERO AUTO 126 FETCh Sensor ARRay POWer AVG 90 FETCh Sensor SCALar POWer BURSt 91 FETCh Sensor SCALar POWer TSLot 91 FETCh Sensor SCALar POWer AVG 90 FORMat BORDer 88 FO...

Page 179: ...143 STATus OPERation TRIGger SUMMary EVENt 142 STATus OPERation ULFail CONDition 141 STATus OPERation ULFail ENABle 142 STATus OPERation ULFail NTRansition 142 STATus OPERation ULFail PTRansition 143...

Page 180: ...2 SYSTem ERRor CODE NEXT 132 SYSTem ERRor COUNt 132 SYSTem ERRor NEXT 133 SYSTem FWUPdate 133 SYSTem FWUPdate STATus 133 SYSTem HELP HEADers 134 SYSTem HELP SYNTax ALL 134 SYSTem HELP SYNTax 134 SYSTe...

Page 181: ...83 TRIGger EXTernal 2 2 IMPedance 83 TRIGger HOLDoff 84 TRIGger HYSTeresis 84 TRIGger IMMediate 84 TRIGger LEVel 85 TRIGger LEVel UNIT 85 TRIGger MASTer PORT 85 TRIGger MASTer STATe 86 TRIGger SLOPe 8...

Page 182: ...8 Diagnostics Selftest 175 Disconnecting Host interface 22 RF 13 Documentation overview 7 Download R S NRP Toolkit 27 Dropout time Trigger 75 DUT Connecting 12 Disconnecting 12 E Electromagnetic inter...

Page 183: ...obile 37 Release notes 8 Remote control Common commands 66 Ethernet interface 152 HiSLIP protocol 154 Interfaces 151 Protocols 151 Socket communication 155 USB interface 151 VISA resource strings 153...

Page 184: ...interface Remote control 151 USB product ID 152 USB resource string 152 USB sensor hub 15 User manual 7 V Versions of R S NRP software 30 VISA Resource string 153 VXI 11 Protocol 154 Resource string 1...

Reviews: