Home

R&S ZVH-K40 Remote Control via LAN or USB

image

Contents

1. cccescceseeeeeeeeeeeeeeeeeaesesneeeneneeseaesesnaesaseeeenenseseeseseenenseaeees 13 4 3 Data Base and Instrument Hardware cccsseecsseeeeeeeseeeeeseseeneeseseeneeeesesnenenseetenens 13 4 4 Status Reporting System ccccscccsseceeeceeeeseeesseeseseeeenseeeseeseseeeseseeeeseneesseeseseeneneeeeees 14 4 5 O tp t TE 14 5 SCPI Command Structure and Syntax ceeceeeeeeseeeeeeeeeeeeeeees 15 5 1 Structure Of a Command cecccescceseeeeeeeeeeeeeeeseaesenneeeeeeeeseaeseseaesnseeeeeenseseaeseseeneneneeees 15 G a WR ent ue ue nu EE 15 5 1 2 Device Specific Commandes 16 5 1 3 Overview of Syntax Elements 20 52 PARAMGUCIS eege AEAEE 20 921 Neel genee tee eege E A E S iets 21 52 2 Special Numerio ValUCSS ivincitcecceserectrssaecnveacedees beet eRed dese ENEE ERgei 21 CECR lee EC 22 AL E 22 525 SUNOS EE 22 Gebeess eer TES E A a seet ege 22 5 3 Structure of a Program Message s ccesccesseeeseeeeeeeeeeeneseseaesnseeeeeeneessaeseseenenseaeees 23 5 4 Responses to e TT 24 WEEN Software Manual 1173 9005 12 05 1 R amp S ZVH Table of Contents 6 Command Sequence and Command Synchronization 25 7 Remote Control COMMAMNAS ceteeceseeteeeeeeseeneeeeeseeeeeneeeneeeeeees 26 7A Common Commands ssaa ae eee ee aaa aa Aaaa ae aana a apar 27 7 2 Remote Commands of the Cable and Antenna Analyzer csecssseesseeneeeeees 30 7 2 1 Configuring the Horizontal AxiS ccc
2. 5 1 Structure of a Command The commands consist of a so called header and in most cases one or more parameters Header and parameter are separated by a white space ASCII code 0 to 9 11 to 32 decimal e g blank The headers may consist of several key words Queries are formed by directly appending a question mark to the header 5 1 1 Common Commands Common commands consist of a header preceded by an asterisk and one or several parameters if any Examples RST RESET resets the device ESE 253 EVENT STATUS ENABLE sets the bits of the event status enable register ESR EVENT STATUS QUERY queries the contents of the event status register Software Manual 1173 9005 12 05 15 R amp S ZVH SCPI Command Structure and Syntax eee Structure of a Command 5 1 2 Device Specific Commands 5 1 2 1 Hierarchy Device specific commands are of hierarchical structure The different levels are represented by combined headers Headers of the highest level root level have only one key word This key word denotes a complete command system Example SENSe This key word denotes the SENSe command system For commands of lower levels the complete path has to be specified starting on the left with the highest level the individual key words being separated by a colon Example SENSe FREQuency SPAN 10MHZ This command lies in the third level of the SENSe system It sets the frequency span
3. Example SYST COMM LAN SUBM 255 255 255 0 Sets the subnet mask address to 255 255 255 0 Characteristics RST value 255 255 255 0 SCPI device specific SYSTem COMMunicate SOCKet ADDRess lt IPAddress gt This command sets the IP address of the R amp S ZVH Parameter lt IPAddress gt String containing the IP address x x x x ee EE A Software Manual 1173 9005 12 05 167 R amp S ZVH Remote Control Commands Configuring the Instrument Example SYST COMM SOCK ADDR 172 76 68 30 Sets the IP address of the R amp S ZVH to 172 76 68 30 Characteristics RST value 172 76 68 24 SCPI device specific SYSTem COMMunicate SOCKet DHCP STATe lt State gt This command turns the Dynamic Host Configuration Protocol DHCP on and off Parameter lt State gt ON OFF Example SYST COMM SOCK DHCP ON Activates DHCP Characteristics RST value ON SCPI device specific SYSTem COMMunicate SOCKet PORT lt Port gt This command sets the port number for the connection Parameter lt Port gt Port number Example SYST COMM SOCK PORT 1000 Sets the port number to 1000 Characteristics RST value 5555 SCPI device specific Software Manual 1173 9005 12 05 168 Configuring the Instrument 7 8 6 System Settings This chapter describes all commands that define or query general system settings List of commands INPut IMPedance PAD lt MatchingPad gt p 169 SENSe ROSCilator SOURce l
4. Characteristics RST value SCPI device specific SYSTem BNC lt 1 2 gt MODE lt BNCFunction gt This command configures the BNC sockets The numeric suffix at BNC selects the BNC socket you want to configure Parameter lt BNCFunction gt REFerence input for external reference signal BNC1 TRIGger input for external trigger BNC1 BIAS BIAS port BNC1 and BNC 2 IF3 IF output BNC2 INTernalbias Internal DC BIAS BNC 2 Example SYST BNC2 MODE TRIG Sets the seconds BNC socket to trigger input Characteristics RST value BNC 1 TRIGger BNC 2 IF3 SCPI device specific Software Manual 1173 9005 12 05 170 R amp S ZVH Remote Control Commands Configuring the Instrument SYSTem DATE lt Date gt This command sets the date for the internal calendar Parameter lt Date gt Numeric value indicating the date You have to enter the date as comma separated values after the string with the file name The sequence is year month day The available value range is 1980 2099 1 12 1 31 Example SYST DATE 2000 6 1 Sets the date to 1 6 2000 Characteristics RST value SCPI conform SYSTem ERRor NEXT This command queries the oldest entry in the error queue and deletes it This command is a query and therefore has no RST value Return value lt error number gt lt error description gt lt error number gt number that contains information about the error negative numbe
5. BANDwidth FUNCtion FREQuency DETector Figure 5 1 Tree structure the SCP command systems using the SENSe system as example 5 1 2 2 Multiple Keywords Some key words occur in several levels within one command system Their effect depends on the structure of the command i e at which position in the header of a command they are inserted Examples SOURce FM POLarity NORMal This command contains key word POLarity in the third command level It defines the polarity between modulator and modulation signal SOURce FM EXTernal POLarity NORMal This command contains key word POLarity in the fourth command level It defines the polarity between modulation voltage and the resulting direction of the modulation only for the external signal source indicated Software Manual 1173 9005 12 05 16 R amp S ZVH SCPI Command Structure and Syntax ene Structure of a Command 5 1 2 3 Optional Keywords Some command systems permit certain key words to be inserted into the header or omitted These key words are marked by square brackets in the description The full command length must be recognized by the instrument for reasons of compatibility with the SCPI standard Some commands are considerably shortened by these optional key words Example SENSe BANDwidth RESolution AUTO This command couples the resolution bandwidth of the instrument to other parameters The following command has the same effect BANDwidth AUTO
6. Commands Status Reporting System 7 9 5 3 Query by Means of Commands Each part of any status register can be read by means of queries The individual commands are listed in the description of the STATus Subsystem The returned value is always a number that represents the bit pattern of the queried register This number is evaluated by the controller program Queries are usually used after an SRQ in order to obtain more detailed information on the cause of the SRQ 7 9 5 4 Error Queue Query Each error state in the instrument leads to an entry in the error queue The entries of the error queue are detailed plain text error messages that can be displayed via manual operation using the setup menu or queried via remote control using the command SYSTem ERRor Each call of SYSTem ERRor provides one entry from the error queue If no error messages are stored there any more the instrument responds with 0 No error The error queue should be queried after every SRQ in the controller program as the entries describe the cause of an error more precisely than the status registers Especially in the test phase of a controller program the error queue should be queried regularly since faulty commands from the controller to the instrument are recorded there as well a rs ss S Software Manual 1173 9005 12 05 186 R amp S ZVH Remote Control Commands Status Reporting System 7 9 6 Reset Values of the Status Reporting System Table 7 8 con
7. Optional keywords with numeric suffixes Do not omit an optional keyword if it includes a numeric suffix that is relevant for the effect of the command Example DISPlay WINDow lt 1 4 gt MAXimize lt Boolean gt Command DISP MAX ON refers to window 1 In order to refer to a window other than 1 you must include the optional WINDow parameter with the suffix for the required window DISP WIND2 MAX ON refers to window 2 5 1 2 4 Long and Short Form The key words feature a long form and a short form Either the short form or the long form can be entered other abbreviations are not permitted Example STATus QUEStionable ENABle 1 is equivalent to STAT QUES ENAB 1 Upper and lower case notation of commands Upper case and lower case notation only serves to distinguish the two forms in the manual the instrument itself does not distinguish upper case and lower case letters WEEN Software Manual 1173 9005 12 05 17 R amp S ZVH SCPI Command Structure and Syntax eee Structure of a Command 5 1 2 5 Parameter The parameter must be separated from the header by a white space If several parameters are specified in a command they are separated by a comma A few queries permit the parameters MINimum MAXimum and DEFault to be entered Refer to Parameters for a detailed description of the various parameters Example SENSe FREQuency STOP MAXimum Response 3 559 This quer
8. Table 7 4 Meaning of bits in STATus QUEStionable register These bits are not used BATTERY LOW If the instrument is running without any external power supply and the charging level of the internal battery is approximately lower than 5 this bit is set to indcate that the system will be shut down automatically in approx 5 BE o iewes e used TEMPerature This bit is set if a questionable temperature occurs LIMit device specific W This bit is set if a limit value is violated CALibration The bit is set if a measurement is performed unaligned label UNCAL This bit is always 0 WEEN Software Manual 1173 9005 12 05 183 R amp S ZVH Remote Control Commands Status Reporting System 7 9 4 3 STATus QUEStionable FREQuency Register This register contains information about the reference frequency It can be read using the commands STATus QUEStionable LIMit FREQuency and STATus QUEStionable FREQuency EVENt Table 7 5 Meaning of bits in STATus QUEStionable FREQuency register EXTernal REFerence This bit is set if an external reference is used This bit is always 0 7 9 4 4 STATus QUEStionable LIMit Register This register contains information about the observance of limit lines It can be read using the commands STATus QUEStionable LIMit CONDition and STATus QUEStionable LIMit EVENt Table 7 6 Meaning of bits in STATus QUEStionable LIMit register LIMit 1 FAIL This bit is set if limit line 1 is vi
9. the R amp S ZVH automatically sets the display range to 90 Example DISP PHAS Y SCAL 180 Sets the display range of the phase measurement to 180 Characteristics RST value 360 SCPI device specific DISPlay lt n gt PHASe UNWRap lt State gt This command removes the restriction limiting the value range to 180 Parameter lt State gt ON OFF Example DISP PHAS UNWR ON Activates the phase unwrap Software Manual 1173 9005 12 05 129 R amp S ZVH Remote Control Commands Remote Commands of the Network Analyzer Mode Characteristics RST value OFF SCPI device specific DISPlay lt n gt REFLection Y SCALe lt DisplayRange gt This command defines the display range of the vertical axis for the reflection coefficient measurement format Parameter lt DisplayRange gt Numeric value in the range from 1 dB to 1000 mrho The number you enter is rounded up to the next possible display range For example if you enter 18 the R amp S ZVH automatically sets the display range to 20 mrho Example DISP REFL Y SCAL 100 Sets a display range of 100 mrho Characteristics RST value 1000 mp SCPI device specific DISPlay lt n gt REFLection UNIT lt Unit gt This command defines the unit of the reflection coefficient Parameter lt Unit gt RHO MRHO Example DISP REFL UNIT RHO Sets the unit to RHO Characteristics RST value MRHO SCPI device specific WEEN Software Ma
10. Example MMEM FILE TIME Public Screen Shots Screen0006 png 11 04 00 Sets the time to 11 04 00 Characteristics RST value SCPI conform MMEMory INIT This command formats the indicated drive Note Formatting deletes all data stored on the memory drive This command is an event and therefore has no RST value and no query Example MMEM INIT Formats and deletes all data from the drive Characteristics RST value SCPI conform Software Manual 1173 9005 12 05 155 R amp S ZVH Remote Control Commands File Management MMEMory LOAD STATe 1 lt FileName gt This command loads the settings from a set file Parameter lt FileName gt String containing the path and file name Example MMEM LOAD STAT 1 Public Datasets Dataset001 set Loads the settings from the file Dataset001 Example MMEM LOAD STAT 1 D USER TESTO1 SET Loads the settings from the file TEST01 Characteristics RST value SCPI conform MMEMory MDIRectory lt Directory gt This command creates a new directory This command is an event and therefore has no RST value and no query Parameter lt Directory gt String containing the path and new directory name Example MMEM MDIR Public USER Creates the a directory called User Characteristics RST value SCPI device specific MMEMory MOVE lt SourceFile gt lt NewFileName gt This command renames file
11. p 51 CALCulate lt n gt MARKer lt m gt AOFF p 51 CALCulate lt n gt MARKer lt m gt MAXimum PEAK p 51 CALCulate lt n gt MARKer lt m gt MAXimum NEXT p 52 CALCulate lt n gt MARKer lt m gt MINimum PEAK p 52 CALCulate lt n gt MARKer lt m gt MODE lt MarkerMode gt p 133 CALCulate lt n gt MARKer lt m gt X lt Coordinate gt p 52 CALCulate lt n gt MARKer lt m gt X SLIMits STATe lt State gt p 53 CALCulate lt n gt MARKer lt m gt X SLIMits LEFT lt SearchLimit gt p 53 CALCulate lt n gt MARKer lt m gt X SLIMits RIGHt lt Searchlimit gt p 54 CALCulate lt n gt MARKer lt m gt Y p 134 For a detailed description of commands not described below refer to Using Markers in CAT mode CALCulate lt n gt MARKer lt m gt MODE lt MarkerMode gt This command selects the type of information a marker shows Parameter ADMittance admittance in complex format real imaginary IMPedance impedance in complex format real imaginary NADMittance standardized admittance in complex format real imaginary NiIMPedance standardized impedance in complex format real imaginary NORMal normal marker WEEN Software Manual 1173 9005 12 05 133 R amp S ZVH Remote Control Commands Remote Commands of the Network Analyzer Mode RPDB reflection coefficient in complex format magnitude dB phase RPL reflection coefficient in complex format magnitude lin phase RSCalar reflection coefficient i
12. RST value SCPI device specific CALCulate MARKer FUNCtion POWer STATe lt State gt This command turns a power measurement on and off You can select a power measurement with CALCulate MARKer FUNCtion POWer SELect lt Measurement gt Parameter ON Particular power measurement active OFF Basic spectrum measurement Example CALC MARK FUNC POW OFF Switches off the power measurement Characteristics RST value OFF SCPI device specific CALCulate MARKer FUNCtion POWer PRESet lt Standard gt This command selects one of the predefined configurations for a telecommunications standard This command only works if you have turned on power measurements with CALCulate MARKer FUNCtion POWer STATe lt State gt The configuration for a standard is in line with the specifications and includes parameters like weighting filter channel bandwidth and spacing resolution and video bandwidth as well as detector and sweep time Parameter lt Standard gt string containing the file name of the standard Example CALC MARK FUNC POW PRES 3GPP WCDMA chpstd Selects the 3GPP WCDMA standard for channel power measurements Characteristics RST value SCPI device specific Software Manual 1173 9005 12 05 102 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer CALCulate MARKer FUNCtion POWer PRESet CHECk This command checks if the current settings are in line with the s
13. SCPI device specific WEE Software Manual 1173 9005 12 05 124 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer INPut ANTenna STATe lt State gt This command turns the use of an isotropic antenna on and off Parameter lt State gt ON OFF Example INP ANT STAT ON Activates the isotropic antenna Characteristics RST value OFF SCPI device specific SENSe CORRection TRANsducergt gt ISOTropic STATe This command queries if the currently selected transducer is an isotropic antenna When you use the command for 3GPP WCDMA measurements in the Digital Modulation operating mode the command also turns the use of an isotropic antenna on and off The numeric suffix lt t gt at TRANsducer selects the primary or secondary transducer and is in the range lt 1 2 gt Return values 0 transducer is not an isotropic antenna 1 transducer is an isotropic antenna Example CORR TRAN ISOT Characteristics RST value SCPI device specific WEEN Software Manual 1173 9005 12 05 125 R amp S ZVH Remote Control Commands Remote Commands of the Network Analyzer Mode 7 4 Remote Commands of the Network Analyzer Mode The chapter provides information on remote commands that configure and perform two port measurements with the tracking generator These commands are available in network analyzer mode only Availability of remote commands for the Network Analyzer N
14. SYSTem PRESet CALibration DISCard lt State gt This command turns the mechanism that discards or keeps user calibration after a preset on and off Parameter lt State gt ON OFF Example SYST PRES CAL DISC ON Discards user calibration after a preset Characteristics RST value OFF SCPI device specific 7 2 8 6 Working with a DTF List The following commands configure the DTF peak list The peak list is available for DTF measurements only List of commands e CALCulate MARKer lt m gt FUNCtion DTF PEAK RESult p 60 e CALCulate MARKer lt m gt FUNCtion DTF PEAK THReshold lt Threshold gt p 61 CALCulate MARKer lt m gt FUNCtion DTF PEAK RESult This command queries the DTF list The suffix lt m gt is irrelevant This command is a query and therefore has no RST value Return value lt distance gt lt return loss gt The number of values depends on the number of peaks that exceed the threshold you can set with CALCulate MARKer lt m gt FUNCtion DTF PEAK THReshold lt Threshold gt Example CALC MARK FUNC DTF PEAK RES Reads out the DTF peak list Characteristics RST value SCPI device specific Software Manual 1173 9005 12 05 60 Remote Commands of the Cable and Antenna Analyzer CALCulate MARKer lt m gt FUNCtion DTF PEAK THReshold lt Threshold gt This commands defines the threshold for the DTF list All values that exceed the threshold are in the DTF list You
15. Sets the attenuation mode to Auto Low Noise Characteristics RST value LNOise SCPI device specific INPut ATTenuation AUTO lt State gt This command couples and decouples input attenuation to the reference level Parameter lt State gt ON OFF Example INP ATT AUTO ON Couples the attenuation set on the attenuator to the reference level Characteristics RST value ON SCPI conform INPut GAIN STATe lt State gt This command turns the preamplifier on and off Parameter lt State gt ON OFF Example INP GAIN STAT ON Activates the preamplifier Characteristics RST value OFF SCPI conform WEE Software Manual 1173 9005 12 05 70 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer INPut IMPedance lt Impedance gt This command selects the nominal input impedance The set impedance is taken into account in all level indications of results The setting 75 Q Ushould be selected if the 50 Q Liinput impedance is transformed to a higher impedance using a 75 Q adapter of the RAZ type 25 Q in series to the input impedance of the instrument The correction value in this case is 1 76 dB 10 log 75Q 1 500 Parameter lt Impedance gt 50 75 Example INP IMP 75 Sets the input impedance to 75 Ohm Characteristics RST value 50 Q SCPI conform SENSe CORRection TRANsducer lt c gt STATe lt State gt This command turns a transd
16. The range is from 1 Hz to fmax Example FREQ CENT STEP 120MHz Defines a CF step size of 120 MHz Characteristics RST value AUTO 0 1 SPAN is switched on SCPI conform SENSe FREQuency CENTer STEP LINK lt StepSizeCoupling gt This command couples and decouples the center frequency step size to the span For time domain measurements the command couples the step size to the resolution bandwidth Parameter lt StepSizeCoupling gt DIVTen Couples the step size to 10 of the span OFF deactivates coupling manual input ee el Software Manual 1173 9005 12 05 63 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer Example FREQ CENT STEP LINK DIVT Couples the step size to 10 of the span Characteristics RST value DIVTen SCPI device specific SENSe FREQuency INPut MODE lt InputMode gt This command selects the frequency mode Select the Channel frequency mode only if you want to work with channel tables In this case the input of the center frequency is not a frequency value but a channel number Parameter lt InputMode gt FREQuency sets the frequency input mode to frequency input Hz CHANnel sets the frequency input mode to selection of a channel Example FREQ INP MODE CHAN Sets the frequency mode to work with channel tables Characteristics RST value FREQ SCPI device specific SENSe FREQuency MODE lt OperationMo
17. This part can be written into and read at will Its contents is not affected by reading With these two edge register parts the user can define which state transition of the condition part none O to 1 1 to 0 or both is stored in the EVEN part 7 9 1 4 EVEN part The EVENt part indicates whether an event has occurred since the last reading it is the memory of the condition part It only indicates events passed on by the edge filters It is permanently updated by the instrument This part can only be read by the user Reading the register clears it This part is often equated with the entire register 7 9 1 5 ENABle part The ENABle part determines whether the associated EVENt bit contributes to the sum bit see below Each bit of the EVENt part is ANDed with the associated ENABle bit symbol amp The results of all logical operations of this part are passed on to the sum bit via an OR function symbol ENABIle Bit 0 the associated EVENT bit does not contribute to the sum bit ENABIle Bit 1 if the associated EVENT bit is 1 the sum bit is set to 1 as well This part can be written into and read by the user at will Its contents is not affected by reading WEEN Software Manual 1173 9005 12 05 179 R amp S ZVH Remote Control Commands Status Reporting System 7 9 1 6 Sum bit As indicated above the sum bit is obtained from the EVENt and ENABle part for each register The result is then entered into a bit
18. VSWR VSWR format Example EAS MODE VECT witches to vector measurement mode M S MEAS FUNC REFL ON Activates reflection measurement M EAS FORM SMITh Displays the reflection in a Smith Chart Characteristics RST value MAGNitude SCPI device specific Software Manual 1173 9005 12 05 58 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer 7 2 8 5 Calibrating the Measurement The following commands control calibration of cable measurements List of commands e CALibration MODE p 59 e CALibration STATus p 59 e SYSTem PRESet CALibration DISCard lt State gt p 60 CALibration MODE This command queries the general current calibration state This command is a query and therefore has no RST value Return values 0 not calibrated 1 calibrated Example CAL MODE Characteristics RST value SCPI device specific CALibration STATus This command queries the current calibration state This command is a query and therefore has no RST value Return values NORMalized full calibration APPRoximate approximate calibration measurement uncertainty must be anticipated Example CAL STAT Queries the calibration status of the R amp S ZVH Characteristics RST value SCPI device specific Software Manual 1173 9005 12 05 59 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer
19. conform WEE Software Manual 1173 9005 12 05 73 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer SENSe BANDwidth BWIDth VIDeo lt VideoBW gt This command defines the video bandwidth Parameter lt VideoBW gt Numeric value in Hz The available value range is from 1 Hz to 3 MHz in 1 3 steps Example BAND VID 10kHz Sets the video bandwidth to 10 kHz Characteristics RST value AUTO is set to ON SCPI conform SENSe BANDwidth BWIDth VIDeo AUTO lt State gt This command couples and decouples the video bandwidth to the resolution bandwidth Parameter lt State gt ON OFF Example BAND VID AUTO OFF Turns off video bandwidth coupling Characteristics RST value ON SCPI conform LL Software Manual 1173 9005 12 05 74 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer 7 3 4 Performing and Triggering Measurements The following commands control the actual measurement process including trigger functionality 7 3 4 1 Performing the Measurement The following commands initialize a measurement and set up the sweep List of commands WAI p 29 ABORt p 75 INITiate IMMediate p 75 INITiate CONTinuous lt SweepMode gt p 76 SENSe SWEep COUNt lt SweepCount gt p 76 SENSe SWEep POINts p 77 SENSe SWEep TIME lt Swee
20. eeeteeeeeeteeeeeeeees Transducer isotrpoic antenna Transducer factor unt THANSGUCEr eeleehOgp Aesetsg red deet Er er fe eegend deed deet Transmission channels cccccccccsssssccececessssseeeeeeeeees Trigger delay Trigger slope i Re TTT DOWwer SENSOF eceeccesceeseecsseecseeesseceseeeeeesseeessesseeesees vector voltmeter ceeecccccecessssscecceceesssseeeeeceesssnsaeeeeeeeees Video bandwidth Video trigger level Software Manual 1173 9005 12 05 202
21. p 91 CALCulate MARKer lt m gt FUNCtion NOISe STATe lt State gt p 91 CALCulate MARKer lt m gt FUNCtion NOISe RESult p 92 CALCulate MARKer lt m gt FUNCtion REFerence p 92 CALCulate MARKer lt m gt COUNt FREQuency This command performs a frequency measurement at the marker position and returns the result To get a valid result you have to perform a complete sweep with synchronization to the sweep end to make sure that the R amp S ZVH actually reaches the frequency you want to measure This is only possible in single sweep mode Before you can use the command you have to turn on the frequency counter with CALCulate MARKer lt m gt COUNT STATe lt State gt Example See CALCulate MARKer lt m gt COUNt STATe lt State gt Characteristics RST value SCPI device specific CALCulate MARKer lt m gt COUNt STATe lt State gt This command turns the frequency counter at the marker position on and off You can read out the result with CALCulate MARKer lt m gt COUNt FREQuency Frequency counting is possible only for one marker at a time If it is activated for another marker it is automatically deactivated for the previous marker To get a valid result you have to perform a complete sweep with synchronization to the sweep end to make sure that the R amp S ZVH actually reaches the frequency you want to measure This is only possible in single sweep mode The suffix lt m gt selects the marker
22. simultaneous measurement of magnitude and phase you can read out the magnitude data with the parameter TRACE1 and the phase data with the parameter TRACE2 Example TRAC DATA TRACE1 Reads out the data for trace 1 Characteristics RST value SCPI conform Software Manual 1173 9005 12 05 132 R amp S ZVH Remote Control Commands Remote Commands of the Network Analyzer Mode 7 4 6 Using Markers and Deltamarkers 7 4 6 1 Markers and Deltamarkers The following commands are for setting and controlling markers and deltamarkers If not otherwise noted the numeric suffix lt 1 6 gt at MARKer or DELTamarker select the marker to be controlled The suffix lt n gt at CALCulate selects the measurement screen in dual trace mode and is in the range lt 1 2 gt The suffix lt m gt at MARKer selects the marker and is in the range lt 1 6 gt List of commands CALCulate lt n gt DELTamarker lt m gt STATe lt State gt p 47 CALCulate lt n gt DELTamarker lt m gt AOFF p 48 CALCulate lt n gt DELTamarker lt m gt MAXimum PEAK p 48 CALCulate lt n gt DELTamarker lt m gt MAXimum NEXT p 48 CALCulate lt n gt DELTamarker lt m gt MINimum PEAK p 48 CALCulate lt n gt DELTamarker lt m gt X lt Coordinate gt p 49 CALCulate lt n gt DELTamarker lt m gt X RELative lt Distance gt p 49 CALCulate lt n gt DELTamarker lt m gt Y p 50 CALCulate lt n gt MARKer lt m gt STATe lt State gt
23. ACPower STATe lt State gt p 114 CALCulate LIMit lt k gt ACPower ACHannel RELative lt Limit gt p 115 CALCulate LIMit lt k gt ACPower ACHannel RELative STATe lt State gt p 115 CALCulate LIMit lt k gt AC Power ACHannel ABSolute lt Limit gt p 116 CALCulate LIMit lt k gt AC Power ACHannel ABSolute STATe lt State gt p 116 CALCulate LIMit lt k gt AC Power ACHannel RESult p 116 CALCulate LIMit lt k gt AC Power ALTernate lt y gt RELative lt Limit gt p 117 CALCulate LIMit lt k gt AC Power ALTernate lt y gt RELative STATe lt State gt p 117 CALCulate LIMit lt k gt AC Power ALTernate lt y gt ABSolute lt Limit gt p 118 CALCulate LIMit lt k gt AC Power ALTernate lt y gt ABSolute STATe lt State gt p 118 CALCulate LIMit lt k gt AC Power ALTernate lt y gt RESult p 119 CALCulate LIMit lt k gt ACPower STATe lt State gt This command turns the limit check for ACLR measurements on and off You have to use CALCulate LIMit lt k gt ACPower ACHannel RELative STATe lt State gt or CALCulate LIMit lt k gt ACPower ALTernate lt y gt RELative STATe lt State gt in combination with this command to select the channels the limit check should be performed on Parameter lt State gt ON OFF Example CALC LIM ACP ON Activates the limit check R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer Characteristics RST value OFF SCPI de
24. Analyzer CHAN TABL SEL TV Italy chntab or CHAN TABL SEL UPL TV Italy chntab Both commands replace the uplink channel table TV China with TV Italy Downlink channel tables are not affected by the commands sent so far FREQ INP MODE CHAN CHAN 10 Select a particular uplink channel e g 10 instead of a center frequency To select an additional downlink channel table use either CHAN TABL SET DOWN CHAN TABL SEL TV Italy chntab or CHAN TABL SEL DOWN TV Italy chntab Characteristics RST value SCPI device specific SENSe CHANnel TABLe SELect DOWNIlink lt ChannelTable gt This command selects a channel table configured for downlink signals Parameter lt ChannelTable gt string containing the name of the channel table Example See SENSe CHANnel TABLe SELect lt ChannelTable gt Characteristics RST value SCPI device specific SENSe CHANnel TABLe SElect UPLink lt ChannelTable gt This command selects a channel table configured for uplink signals Parameter lt ChannelTable gt string containing the name of the channel table Example See SENSe CHANnel TABLe SELect lt ChannelTable gt Characteristics RST value SCPI device specific Software Manual 1173 9005 12 05 100 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer SENSe CHANnel TABLe SET lt Directi
25. Commands of the Spectrum Analyzer Example DISP TRAC Y RLEV 60dBm Sets the reference level to 60 dBm Characteristics RST value 20dBm SCPI conform DISPlay WINDow TRACect gt Y SCALe RLEVel OFFSet lt Offset gt This command defines a reference level offset Parameter lt Offset gt numeric value dB that sets the reference level offset The available value range is from 200dB to 200dB Example DISP TRAC Y RLEV OFFS 10dB Characteristics RST value 0dB SCPI conform DISPlay WINDow TRACect gt Y SCALe RPOSition lt ReferencePosition gt This command defines the position of the reference level on the display grid First you have to set a logarithmic scale for the vertical axis with DISPlay WINDow TRACe lt t gt Y SPACing Fora linear scale you can not modify the reference position Parameter lt ReferencePosition gt numeric value that defines the reference position The available value range is from 1 to 10 Example DISP TRAC Y RPOS 5 Sets the reference position to the 5th grid line Characteristics RST value 10 SCPI conform WEE Software Manual 1173 9005 12 05 69 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer INPut ATTenuation MODE lt AttenuationMode gt This command selects the attenuation mode Parameter lt AttenuationMode gt LDIStortion Auto low distortion LNOise Auto low noise Example INP ATT MODE LNO
26. FUNCtion HARMonics LIST This command queries the position of the harmonics To get a valid result you should perform a complete sweep in single sweep mode before querying the results This command is a query and therefore has no RST value Return value Returns one value for every harmonic The first value is the absolute power of the first harmonic The level unit depends on the unit you have set with the UNIT POWer command The other values are power levels relative to the first harmonic The unit for these is dB The total number of return values depends on the number of harmonics you have set with CALCulate lt n gt MARKer lt m gt FUNCtion HARMonics NHARmonics lt Harmonics gt WEE Software Manual 1173 9005 12 05 120 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer Example See CALCulate lt n gt MARKer lt m gt FUNCtion HARMonics PRESet Characteristics RST value SCPI device specific CALCulate lt n gt MARKer lt m gt FUNCtion HARMonics NHARmonics lt Harmonics gt This command sets the number of harmonics The valid range is from 1 to 6 harmonics Parameter lt Harmonics gt Numeric value in the range from 1 to 6 Example See CALCulate lt n gt MARKer lt m gt FUNCtion HARMonics PRESet Characteristics RST value 2 SCPI device specific CALCulate lt n gt MARKer lt m gt FUNCtion HARMonics PRESet This command optimizes the settings for the ha
27. MARKer lt m gt X SLIMits RIGHt lt Searchlimit gt p 54 CALCulate lt n gt MARKer lt m gt Y p 54 CALCulate lt n gt DELTamarker lt m gt STATe lt State gt This command turns delta markers on and off If you set the suffix at DELTamarker to 1 or use no suffix the R amp S ZVH interprets this as delta marker 2 because the first marker has to be a normal marker If more than one normal marker 2 to 6 are already active the command turns these marker into delta markers If no delta marker is active yet the command activates the delta marker and positions it on the trace maximum Parameter lt State gt ON OFF Example CALC DELT3 ON Turns delta marker 3 on or turns marker 3 into a delta marker Characteristics RST value OFF SCPI device specific WEE Software Manual 1173 9005 12 05 47 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer CALCulate lt n gt DELTamarker lt m gt AOFF This command turns off all active delta markers This command is an event and therefore has no query and no RST value Example CALC DELT AOFF Turns off all delta markers Characteristics RST value SCPI device specific CALCulate lt n gt DELTamarker lt m gt MAXimum PEAK This command positions a delta marker on the current trace maximum If necessary the corresponding delta marker is activated first This command is an event and therefore has no RST value an
28. MMEMory FILE DATE Filehlame Date 154 MMEMory FILE TIME lt FileName gt lt Times cccccceeeeeeeeeeeeeeeeeeeeeeaeeeeeeeteseeeenaees 155 MMEMory INIT EE 155 MMEMorvLOADSTATe t Filehame nenene 156 MMEMory MDIRectory lt DireCtOry gt eececeeeeeeeeeeeeeeeeeaeeeeeeaaeeeeeeaaeeeeeeaaeeeeneaeeeeeeaas 156 MMEMory MOVE lt SourceFile gt lt N wFileNames cccccssceeeeeseeeeeeeneeeessnaeeeeeeaes 156 MMEMory NAME lt FileNames cccecceeeeeeeeneeeeeeeeeeeeeeeaeeeeeeaaeeeeeeaaeeeseeaaeeeeneaeeeeeenas 158 MMEMory RDIRectory lt DireCtOry gt sssi cc cceeceeeeeeeeeneeeeeeeaeeeeeeaaeeeeeeaaeeeeeeaaeeeenenaeeeeeeaas 157 MME MorvGTObeziAfe FEilehlame nere nnrnntrnrnnttn nnne rnnnntrn nnne re n 157 SENSe BANDwidth BWIDth VIDeo Video 74 SENSe BANDwidth BWIDth VIDeo AUTO lt State gt cccceeeesceceeeeceeeeeeeeeeeeeenaees 74 WEE Software Manual 1173 9005 12 05 196 R amp S ZVH Remote Control Commands Status Reporting System SENSe BANDwidth BWIDth RESolution lt MeasBW gt ccccceeeeeeeeeeeeeseeeeeneeeeaees 40 SENSe BANDwidth BWIDth RESolution lt ReSBW gt c ccecceeeeeeeeceeeeeeeeeeeeeeeeees 73 SENSe BANDwidth BWIDth RESolution AUTO lt State gt 0 cecseeceeeeseeeeeseeeeees 40 SENSe BANDwidth BWIDth RESolution AUTO lt State gt ccceceeeeeeeseeeeeeeeeeeees 73 SENSe CHANnel lt ChannelNumber gt ccccceeeeeceeeeceeeeeeaeeeeeeeseeeeeseaeeesa
29. ON Activates the absolute limit check for the third alternate channel Characteristics RST value OFF SCPI device specific WEEN Software Manual 1173 9005 12 05 118 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer CALCulate LIMit lt k gt AC Power ALTernate lt y gt RESult This command queries the result of the limit check of the alternate channels To get a valid result you have to perform a complete sweep with synchronization to the sweep end before reading out the result This is only possible in single sweep mode This command is a query and therefore has no RST value Return value The return value consists of two values one for the lower and one for the upper alternate channel FAILed limit check failed PASSed limit check passed Example CALC LIM ACP ALT2 RES Queries the limit check results for the second alternate channels The command would return e g FAILED FAILED Upper and lower alternate channels violate a limit Characteristics RST value SCPI device specific 7 3 8 7 Measuring the Harmonic Distortion The following commands configure Harmonic Distortion measurements To perform the actual measurement use the commands described in section Performing and Triggering Measurements The numeric suffixes lt n gt and lt m gt at CALCulate and MARKer are irrelevant List of commands CALCulate lt n gt MARKer lt m gt FUNCtion HARMo
30. RIGHt lt Searchlimit gt This command defines the right limit of the marker search range To use the command you first have to turn on search limits with CALCulate lt n gt MARKer lt m gt X SLIMits STATe lt State gt If you perform a measurement in zero span this command this command limits the evaluation range on the trace The numeric suffix at MARKer is irrelevant Parameter lt SearchLimit gt Numeric value that sets the right marker search limit The value range corresponds to the maximum span The unit depends on the measurement e g Hz for measurements in the frequency domain and seconds for measurements in the time domain Example CALC MARK X SLIM ON CALC MARK X SLIM LEFT 10MHz CALC MARK X SLIM RIGH 100MHz Turns search limits on and defines a search range from 10 MHz to 100 MHz Characteristics RST value is set to the right diagram border when switching on search limits SCPI device specific CALCulate lt n gt MARKer lt m gt Y This command queries the absolute vertical position of a marker If necessary the corresponding marker is activated first To get a valid result you have to perform a complete sweep with synchronization to the sweep end between activating the delta marker and reading out the result This is only possible in single sweep mode WEE Software Manual 1173 9005 12 05 54 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Ante
31. The following list includes the commands for which a synchronization via OPC OPC or WAI is mandatory Table 6 2 Commands with mandatory synchronization overlapping commands Command Purpose INIT start measurement sweep INIT CONT OFF Set to single sweep CALC MARK FUNC xx All Marker function queries Software Manual 1173 9005 12 05 25 R amp S ZVH Remote Control Commands Responses to Queries 7 Remote Control Commands The following chapters provide a detailed description of all remote control commands currently available for the R amp S ZVH and its firmware options Each section describes the commands for one of the operating modes available in the R amp S ZVH beginning with the description of common commands required to operate the instrument The structure is based on that of the operating manual Common Commands on page 27 Remote Commands of the Cable and Antenna Analyzer on page 30 Remote Commands of the Spectrum Analyzer on page 62 Remote Commands of the Network Analyzer Mode on page 126 Remote Commands of the Power Meter on page 145 Each section is subdivided into various tasks required to perform measurements with the R amp S ZVH also based on the structure of the operating manual Some commands like those for controlling markers or configuring the frequency axis are available for all operating modes In that case you will find a list of these commands in the corresponding section However a detail
32. cccccceeeeeneeceeeee tent eeenaeeeeeeeseneeees 42 TRIGger SEQuence SOURCEe lt TriggerSOurce gt ccccceeeeeeeeeceeeeeeeeeeeeaeeeeeeeeeneees 80 UNIT LENGI Unit siiis eaaa ai ice dines a an aaan aa E aai 46 UNIT POWer lt Unit cc ce ceeccecesseeceeeseneeeeecseeececeeeeeeceeeeessaeeeesseneeeessensaeesssseaeesseesaees 72 UNIT lt z gt PMETer POWer Un 147 WEEN Software Manual 1173 9005 12 05 199 R amp S ZVH Index Index Adjacent channel spacing Adjacent Channels AAA Adjust scale eecesesereeeeeeee Alternate channel spacing Alternate channel AM modulation dent en Aperture EE CN TEE Attenuation coupling Attenuation mode T Audio demodulation 0 02 eeeeeeeeeteeeeeeeeeeeeeaeeteeeeeneeeeaeeeaeees Bandwidth adjacent channel alternate channels cccccccccccessssscceceesesssseeeceeeeessaes cable tests channel power occupied bandwidth resolution Brightness Burst length Cable distance zis secceanci a Geri 30 CalibratiOniscti caeiciiistt sncd daian arida ai 138 Center frequency sceeeeeeseseneeeseeeeacerseeeeneeteaeeeaeees 31 63 Channel power trace MOE ssssesiesieeiisirsieeiisirrinstintitsinniinrtnernntinrennrnne Channel power measurement Channel selectionata Channel Spacing iiceisscsdee teed ned tadeectaciei ion Channel table selechon ne Color Scheme aerisire nan aa ierann d ataamka Common commands Co
33. command is an event and therefore has no RST value and no query Parameter lt LimitLine gt String containing the file name of the lower limit line Example CALC LIM LOW SEL GSM Lower rellim Selects the lower limit line Characteristics RST value SCPI conform Software Manual 1173 9005 12 05 96 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer CALCulate lt n gt LIMit lt k gt STATe lt State gt This command turns a limit check on and off You can query the result of the limit check with CALCulate lt n gt LIMit lt k gt FAIL Parameter lt State gt ON OFF Example CALC LIM STAT ON Switches on the limit check for limit line 1 Characteristics RST value OFF SCPI conform CALCulate lt n gt LIMit lt k gt UNIT X This command queries the horizontal unit of a limit line This command is a query and therefore has no RST value Example CALC LIM UNIT X Queries the x unit of the first limit line Characteristics RST value SCPI device specific CALCulate lt n gt LIMit lt k gt UNIT Y This command queries the vertical unit of a limit line This command is a query and therefore has no RST value Example CALC LIM1 UNIT Queries the y unit of the first limit line Characteristics RST value SCPI device specific Software Manual 1173 9005 12 05 97 R amp S ZVH Remote Control Commands Remote Commands of the Spec
34. coupling of the resolution bandwidth to the span Characteristics RST value ON SCPI conform ee Software Manual 1173 9005 12 05 40 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer 7 2 4 Performing and Triggering Measurements 7 2 4 1 Performing the Measurement In CAT mode the R amp S ZVH always performs measurements in continuous sweep mode The measurement starts as soon as you enter the CAT mode and can not be stopped Therefore you can always query current results List of commands e INITiate CONTinuous lt SweepMode gt p 76 e SENSe SWEep POINts lt Points gt p 41 For a detailed description of commands refer to Performing and Triggering Measurements in spectrum analyzer mode SENSe SWEep POINts lt Points gt This command selects the number of measurement points Parameter lt Points gt 101 201 401 601 631 801 1001 1201 Example SWE POIN 101 Defines 101 measurement points Characteristics RST value 201 SCPI conform 7 2 4 2 Triggering Measurements The following commands set up trigger conditions if you are using a trigger for the measurement List of commands e TRIGger SEQuence HOLDoff TIME lt TriggerDelay gt p 41 e TRIGger SEQuence SLOPe lt TriggerSlope gt p 42 e TRIGger SEQuence SOURCe lt TriggerSource gt p 42 TRiIGger SEQuence HOLDoff TIME lt TriggerDelay gt This command defines the len
35. for measurements of the occupied OBWidth bandwidth The command returns the occupied bandwidth in Hz TDMA Returns the results for TDMA power measurements The return value is the power of the signal The unit depends on the scaling of the vertical axis e logarithmic scaling returns the power in the currently selected unit see UNIT POWer e linear scaling returns the power in W Software Manual 1173 9005 12 05 104 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer Example of occupied bandwidth measurement POW BAND 90PCT Defines the occupied bandwidth 90 INIT CONT OFF INIT WAI CALC MARK FUNC POW RES OBW Turns on single sweep mode performs a measurement and queries the results Characteristics RST value SCPI device specific 7 3 8 3 Measuring the Channel Power The following commands configure channel power measurements To perform the actual measurement use the commands described in section Performing and Triggering Measurements The suffix lt m gt at MARKer is irrelevant List of commands e CALCulate MARKer lt m gt FUNCtion CPOWer BANDwidth lt Bandwidth gt p 105 e CALCulate MARKer lt m gt FUNCtion CPOWer MODE lt DisplayMode gt p 106 e CALCulate MARKer lt m gt FUNCtion CPOWer UNIT lt Unit gt p 106 CALCulate MARKer lt m gt FUNCtion CPOWer BANDwidth lt Bandwidth gt This command defines the channel bandwidth for channel power
36. is empty the error number O no error is returned This command is identical with the command SYSTem ERRor Example STAT QUE Characteristics RST value SCPI conform STATus OPERation EVENt This command reads out the EVENt section of the OPERation register The command at the same time deletes the contents of the EVENt section Characteristics RST value SCPI conform STATus OPERation CONDition This command reads out the CONDition section of the OPERation register The command does not delete the contents of the EVENt section Characteristics RST value SCPI conform STATus OPERation ENABle lt SumBit gt This command controls the ENABIle part of the OPERation register The ENABle part allows true conditions in the EVEN part of the status register to bereported in the summary bit If a bit is 1 in the enable register and its associated event bit transitions to true a positive transition will occur in the summary bit reported to the next higher level Parameter lt SumBit gt 0 to 65535 Characteristics RST value SCPI conform Software Manual 1173 9005 12 05 189 R amp S ZVH Remote Control Commands Status Reporting System STATus OPERation NTRansition lt SumBit gt This command controls the Negative TRansition part of the OPERation register Setting a bit causes a 1 to 0 transition in the corresponding bit of the associated register The transition also writes a 1 into
37. limit margins The commands are independent from the operating mode List of commands STATus PRESet p 188 STATus QUEue NEXT p 189 STATus OPERation EVENt p 189 STATus OPERation CONDition p 189 STATus OPERation ENABle lt SumBit gt p 189 STATus OPERation NTRansition lt SumBit gt p 190 STATus OPERation PT Ransition lt SumBit gt p 190 STATus QUEStionable EVENt p 190 STATus QUEStionable CONDition p 191 STATus QUEStionable ENABle lt SumBit gt p 191 STATus QUEStionable NTRansition lt SumBit gt p 191 STATus QUEStionable PTRansition lt SumBit gt p 192 STATus PRESet This command resets the edge detectors and ENABle parts of all registers to a defined value All PTRansition parts are set to FFFFh i e all transitions from 0 to 1 are detected All NTRansition parts are set to 0 i e a transition from 1 to 0 ina CONDition bit is not detected The ENABle part of the STATus OPERation and STATus QUEStionable registers are set to 0 i e all events in these registers are not passed on Example STAT PRES Characteristics RST value SCPI conform Software Manual 1173 9005 12 05 188 R amp S ZVH Remote Control Commands Status Reporting System STATus QUEue NEXT This command returns the earliest entry to the error queue and deletes it Positive error numbers indicate device specific errors negative error numbers are error messages defined by SCPI If the error queue
38. m gt FUNCtion DEModulation SELect lt Demodulation gt 89 CALCulate MARKer lt m gt FUNCtion DEModulation STATe lt State gt 0 eeeeee 88 CAL CulateMAbker m FUNG on DIEREAkKRESGuh 60 CALCulate MARKer lt m gt FUNCtion DTF PEAK THReshold Thresbold 61 WEEN Software Manual 1173 9005 12 05 193 R amp S ZVH Remote Control Commands Status Reporting System CALCulate MARKer lt m gt FUNCtion NDBDown lt Distance gt ccccceeececeeeeeee ee ee eee 90 CALCulate MARKer lt m gt FUNCtion NDBDown FREQuency eesseeseeseeeererreenees 90 CAL CulateMAbker m FUNGCiopnchNDBDown REGu ceeeeeceeeeeeeeeeeeeee 90 CALCulate MARKer lt m gt FUNCtion NDBDown STATe lt State gt oo ccc eeeee eens 91 CAL CulateMAbker m FUNGCionchNOlGe tu 92 CALCulate MARKer lt m gt FUNCtion NOISe STATe lt State gt cccccceseeteeseeeeeeeeeees 91 CALCulate MARKer lt m gt FUNCtion OBANdwidth BANDwidth lt Bandwidths 107 CALCulate MARKer lt m gt FUNCtion OBANdwidth BANDwidth PCT lt OBWS gt 107 CALCulate MARKer lt m gt FUNCtion REFErence ou 0 cccecc cece ce eeeeeececeeeesseeeeeeseeeeeeeananeees 92 CALCulate MARKer lt m gt FUNCtion TDMA BURSt Burst engt 108 CALCulate MATH STATe lt State gt o ccccccceccccccccceeeeececeeeeeseaeee eee sesseuseaueeseeeeseeeeaneneees 82 CALCulate MATH EXPRession DEFine Expression 81 CALCulate MATH lt t gt COPY MEMOSy ccccceeeeeceeeeec
39. omit a unit the R amp S ZVH uses the currently selected unit Example CALC DLIN 20dBm Sets the display line threshold to 20 dBm Characteristics RST value STATe to OFF SCPI device specific CALCulate lt n gt DLINe STATe lt State gt This command turns display lines on and off Parameter lt State gt ON OFF Example CALC DLIN STAT OFF Turns on the display line Characteristics RST value OFF SCPI device specific WEEN Software Manual 1173 9005 12 05 93 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer 7 3 7 2 Limit Lines The following commands define limit lines and perform the corresponding limit checks The suffix lt n gt at CALCulate is irrelevant The suffix lt k gt at LIMit selects the limit line and is in the range lt 1 2 gt List of commands CALCulate lt n gt LIMit lt k gt BEEP STATe lt State gt p 94 CALCulate lt n gt LIMit lt k gt COMMent p 94 CALCulate lt n gt LIMit lt k gt DEFine p 95 CALCulate lt n gt LIMit lt k gt DELete p 96 CALCulate lt n gt LIMit lt k gt FAIL p 96 CALCulate lt n gt LIMit lt k gt LOWer SELect lt LimitLine gt p 96 CALCulate lt n gt LIMit lt k gt STATe lt State gt p 97 CALCulate lt n gt LIMit lt k gt UNIT X p 97 CALCulate lt n gt LIMit lt k gt UNIT Y p 97 CALCulate lt n gt LIMit lt k gt UPPer SELect lt LimitLine gt p 98 CALCulate lt n gt LIMit
40. set if a received command is syntactically correct but cannot be performed for other reasons An error message with a number between 200 and 300 which denotes the error in greater detail is entered into the error queue Command Error This bit is set if a command is received which is undefined or syntactically incorrect An error message with a number between 100 and 200 which denotes the error in greater detail is entered into the error queue C Power On supply voltage on This bit is set on switching on the instrument Software Manual 1173 9005 12 05 182 R amp S ZVH Remote Control Commands Status Reporting System 7 9 4 1 STATus OPERation Register In the CONDition part this register contains information on which actions the instrument is being executing or in the EVENt part information on which actions the instrument has executed since the last reading It can be read using the commands STATus OPERation CONDition or STATus OPERation EVENt Table 7 3 Meaning of the bits in the STATus OPERation register ee m o ooo ee bit is set as EES as the instrument is performing a calibration eng to 14 Noted e used This bit is always 0 7 9 4 2 STATus QUEStionable Register This register contains information about indefinite states which may occur if the unit is operated without meeting the specifications It can be read using the commands STATus QUEStionable CONDition and STATus QUEStionable EVENt
41. spectrum analyzer 2 network analyzer 4 cable and antenna analyzer 5 power meter 12 vector voltmeter Example INST NSEL 1 Selects spectrum analyzer mode Characteristics RST value 4 SCPI conform 7 8 2 Controlling the GPS Receiver This chapter describes all commands that control the GPS receiver List of commands SYSTem POSition ALTitude p 160 SYSTem POSition GPS STATe lt State gt p 161 SYSTem POSition GPS CONNected p 161 SYSTem POSition GPS CORRection FREQuency p 161 SYSTem POSition GPS QUALIity p 162 SYSTem POSition GPS SAtfellites p 162 SYSTem POSition LATitude p 162 SYSTem POSition _LONGitude p 163 SYSTem POSition VALid p 163 SYSTem POSition ALTitude This command queries the altitude of the current position of the R amp S ZVH lt altitude gt Altitude in meters above sea level If the GPS receiver is inactive this query returns 0 Example SYST POS ALT Return value would be for example 554 1 Software Manual 1173 9005 12 05 160 R amp S ZVH Remote Control Commands Configuring the Instrument Characteristics RST value SCPI device specific SYSTem POSition GPS STATe lt State gt This command turns the GPS receiver R amp S HA Z240 on and off Note that the GPS receiver only works if a connection between the R amp S ZVH and a GPS signal transmitter is established Parameter lt State gt ON OFF Example SYST POS GPS ON A
42. the command recognition WEEN Software Manual 1173 9005 12 05 12 R amp S ZVH Instrument Model and Command Processing eee eee Command Recognition 4 2 Command Recognition The command recognition analyses the data received from the input unit It proceeds in the order in which it receives the data Only DCL is serviced with priority for example GET Group Execute Trigger is only executed after the commands received before Each recognized command is immediately transferred to the internal instrument settings data base but not executed immediately The command recognition detects syntax errors in the commands and transfers them to the status reporting system The rest of a program message after a syntax error is analyzed further if possible and serviced After the syntax test the value range of the parameter is checked if required If the command recognition detects a delimiter it passes the command to an execution unit that performs the instrument settings In the meantime the command recognition is ready to process new commands overlapping execution A DCL command is processed in the same way 4 3 Data Base and Instrument Hardware Here the expression instrument hardware denotes the part of the instrument fulfilling the actual instrument function signal generation measurement etc The controller is not included The term data base denotes a database that manages all the parameters and associated settings required for s
43. the display range to 10 Example DISP GDEL Y SCAL 20E 9 Sets the display range to 20 nanoseconds Characteristics RST value 100 ns SCPI device specific DISPlay lt n gt PHASe REFerence lt RefValue gt This command sets the reference value for the phase measurement format Parameter lt RefValue gt Numeric value in the range from 100000 to 100000 Example DISP MAGN REF 10 Sets the reference level to 10 dB Characteristics RST value 0 dB SCPI device specific Software Manual 1173 9005 12 05 128 R amp S ZVH Remote Control Commands Remote Commands of the Network Analyzer Mode DISPlay lt n gt PHASe REFerence POSition lt RefPosition gt This command defines the position of the reference value on the display for the phase measurement format Each step shifts the reference position one grid line up or down Parameter lt RefPosition gt Numeric value in the range from 0 to 10 Example DISP LOSS REF POS 5 Sets the reference to the center of the display i e the fifth grid line from the bottom Characteristics RST value 10 SCPI device specific DISPlay lt n gt PHASe Y SCALe lt DisplayRange gt This command defines the display range of the vertical axis for the phase measurement format Parameter lt DisplayRange gt Numeric value in the range from 90 to 100000 The number you enter is rounded up to the next possible display range For example if you enter 80
44. the selection of the detector The suffix lt t gt is in the range 1 2 and selects the number of the trace List of commands CALCulate MATH lt t gt EXPRession DEFine lt Expression gt p 81 CALCulate MATH lt t gt COPY MEMory p 43 CALCulate MATH lt t gt STATe lt State gt p 82 DISPlay WINDow TRACect gt STATe lt State gt p 82 DISPlay WINDow TRACe lt t gt MEMory STATe lt State gt p 43 DISPlay WINDow TRACe lt t gt MODE lt TraceMode gt p 82 FORMat BORDer lt ByteOrder gt p 83 SENSe DETector lt t gt FUNCtion lt Detector gt p 83 SENSe DETector lt t gt FUNCtion AUTO lt State gt p 84 TRACe lt t gt DATA lt Destination gt p 84 FORMat DATA lt DataFormat gt p 85 For a detailed description of all commands not included here refer to Working with Traces in CAT mode CALCulate MATH EXPRession DEFine lt Expression gt This command defines the mathematical expression for relating traces to trace 1 You have to activate trace mathematics with CALCulate MATH lt t gt STATe lt State gt first Parameter lt Expression gt IMPLied memory Subtracts the trace in memory from the current trace memory IMPLied Subtracts the current trace from the trace in memory Software Manual 1173 9005 12 05 81 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer Example CALC MATH MTRACE TRACE Selects the subtraction of
45. 0005 014 1 20 IST INDIVIDUAL STATUS QUERY returns the contents of the IST flag in decimal form The IST flag is the status bit which is sent during a parallel poll Parameter 0 1 OPC OPERATION COMPLETE sets bit 0 in the event status register after all preceding commands have been executed This bit can be used to initiate a service request OPT OPTION IDENTIFICATION QUERY queries the options included in the instrument and returns a list of the options installed The options are separated from each other by means of commas Parameter K lt number gt software options For a list of all available options and their description refer to the CD ROM Example K40 K41 K42 K45 RST RESET sets the instrument to a defined default status The command essentially corresponds to pressing the PRESET key WEEN Software Manual 1173 9005 12 05 28 R amp S ZVH Remote Control Commands Common Commands SRE SERVICE REQUEST ENABLE sets the service request enable register to the indicated value Bit 6 MSS mask bit remains 0 This command determines under which conditions a service request is generated The query form SRE reads the contents of the service request enable register in decimal form Bit 6 is always 0 Parameter 0 to 255 STB READ STATUS BYTE QUERY reads out the contents of the status byte in decimal form TRG TRIGGER i
46. 0s Sets the sweep time to 10 s Characteristics RST value AUTO is set to ON SCPI conform SENSe SWEep TIME AUTO lt State gt This command couples and decouples the sweep time to the span and the resolution and video bandwidths Parameter lt State gt ON OFF Software Manual 1173 9005 12 05 77 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer Example SWE TIME AUTO ON Switches on the coupling to frequency span and bandwidths Characteristics RST value ON SCPI conform 7 3 4 2 Triggering Measurements The following commands set up trigger conditions if you are using a trigger for the measurement List of commands SENSe SWEep EGATe lt State gt p 78 SENSe SWEep EGATe HOLDoff lt GateDelay gt p 78 SENSe SWEep EGATe LENGth lt GateLength gt p 79 SENSe SWEep EGATe TIME lt SweepTime gt p 79 TRIGger SEQuence HOLDoff TIME lt TriggerDelay gt p 41 TRIGger SEQuence LEVel VIDeo lt TriggerLevel gt p 80 TRIGger SEQuence SLOPe lt TriggerSlope gt p 42 TRIGger SEQuence SOURCe lt TriggerSource gt p 80 For a detailed description of all commands not included here refer to Triggering Measurements in CAT mode SENSe SWEep EGATe lt State gt This command turns a gated trigger on and off Parameter lt State gt ON OFF Example SWE EGAT ON Activates the gated trigger Characteristic
47. 1500 m 4921 ft SCPI device specific SENSe FREQuency CENTer lt Frequency gt This command defines the center frequency of the R amp S ZVH In spectrum analyzer mode the command also defines the measuring frequency for time domain measurements span 0 Parameter lt Frequency gt Numeric value in Hz The range depends on the operating mode and is specified in the data sheet Example FREQ CENT 100MHz Defines a center frequency of 100 MHz Software Manual 1173 9005 12 05 31 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer Characteristics RST value fmax 2 with fmax Maximum frequency SCPI conform SENSe FREQuency CENTer STEP lt StepSize gt This command defines the center frequency step size Parameter lt StepSize gt Numeric value in Hz The range is from 1 Hz to fmax Example FREQ CENT STEP 120MHz Defines a CF step size of 120 MHz Characteristics RST value AUTO 0 1 SPAN is switched on SCPI conform SENSe FREQuency CENTer STEP LINK lt StepSizeCoupling gt This command couples and decouples the center frequency step size to the span For time domain measurements the command couples the step size to the resolution bandwidth Parameter lt StepSizeCoupling gt DIVTen Couples the step size to 10 of the span OFF deactivates coupling manual input Example FREQ CENT STEP LINK DIVT Couple
48. 68 SYSTem COMMunicate SOCKet PORT bor 168 SYSTem DATE lt Dates a iivcsisadsssistsieacsbsasescanseaiiasasedsasseiaieaa sbsaaseandaueaessiataadapsaieassiaiaads 171 SYSTemiBRROMA EE 171 SYSTemMERROPCODEIALL aariin ania A ia a nwi 172 GvGtemEPRorCODEINENTIN 172 SYSTEMIERROMCOUN irris nnrir a aa A iaa a NNa 173 SYS Temi ERRON NEXT seinieni aieiaa aaa ia aiaiai 171 SYS Tem HELP HEADE S iniri mnanaa a A iaa ainai TNN 173 WEE Software Manual 1173 9005 12 05 198 R amp S ZVH Remote Control Commands Status Reporting System SYS Term HELP SYNTAX laciniae n EER EEEN 173 SYSTem LANGuage lt Language gt sssessseeeseeseessnretnrstrnssrnstnnsrnsrnsstnssrnssrnssrnnn ne 174 GvGTemlAhNGuage CATalogy 174 SYS TemiPOSitionAL WT EE 160 SYSTem POSition GPS CONNected eeseesseesseessneesrnennernerrnerrnsrnsnnsernnsnnnsrnnnne 161 SYSTem POSition GPS CORRection FREQUCNCY ccccesceeereeteeeeeseeeeeneeteeeees 161 SYSTem POSItion GPS QUALItY vinosi aenneren aaaea aaea Aanand aaa 162 SYSTem POSition GPS SATellites oo eee ee eeeeeeeeee cence seas eeeeaeeeeeeeseaeeseeaeseeeeesseneess 162 SYSTem POSition GPS STATe fatate nesr nesr nennen nssr nssrnssrrssrnnenns 161 SYSTemiPOSition LA Tttude iets ccciaescaciitedacccduneaaadsaneacccsansaneisvavacectuas anaceuat eccecutlaaaeaies 162 SYSTem POSition LONGItUde AER 163 SYS TemiPOSition VALIO eege kananan RENNER EARANN RENREN 163 SYSTem POWer SOURCE scaicetsccciaccaceislsate cc
49. 7 reserved reserved 8 reserved reserved 9 reserved reserved reserved reserved reserved reserved reserved reserved reserved reserved reserved reserved not used enen i rese Operation Status nat used QUE Stionable LIMit Figure 7 2 Overview of the status registers IEN Software Manual 1173 9005 12 05 180 R amp S ZVH Remote Control Commands Status Reporting System 7 9 3 Status Byte STB amp Service Request Enable Register SRE The STB is already defined in IEEE 488 2 It provides a rough overview of the instrument status by collecting the pieces of information of the lower registers It can thus be compared with the CONDition part of an SCPI register and assumes the highest level within the SCPI hierarchy A special feature is that bit 6 acts as the sum bit of the remaining bits of the status byte The STATUS BYTE is read using the command STB or a serial poll The STB is linked to the SRE The latter corresponds to the ENABle part of the SCPI registers in its function Each bit of the STB is assigned a bit in the SRE Bit 6 of the SRE is ignored If a bit is set in the SRE and the associated bit in the STB changes from 0 to 1 a service request SRQ is generated which triggers an interrupt in the controller if this is appropriately configured and can be further processed there The SRE can be set using the command SRE and read using the command SRE Table 7 1 Meaning of the bits used in the Status Byte
50. 9 INPut ATTenuation AUTO Gate 70 INPut ATTenuation MODE AttenuationMode 70 INPut GAIN STATe lt State gt ccccccccscceceesneceeeeeeeeeeeesaeeeeessaeeeeesaeeeesseeeeessseeeesesieeeenes 70 INPut IMPedance Jmpedance 71 INPut IMPedance PAD Matchmgobad AAA 169 INSTrument NSELect lt OperatingModes cccccceeeseeeeeeeeeeeeeeeeeseeeeeeeeeesaeeseeeeeaees 160 INSTrument SELect Operatngohode nsen nnn 159 MEASurement ISUP lt State gt cccccceeeececeeeeeceeeeeeeeeeeeeeceaeeesaaeeseaeeseaeeeseaeessaeeseeeeseaees 45 MEASurement ISUP APER Aperture 45 MEASurement MODE MeaesMode 57 MEASurement PORT Port 56 MEASurement lt n gt FORMat lt MeasFormats c cccccccceeeeeeseeeeneeseeeeeseaeeeseeeeeeeeeas 142 MEASurement lt n gt FORMat lt MeasFormats c ccceecceceeeeeeseeeeeeeseeeeeseaeeesaeeeeeeeenaees 58 MEASurement lt n gt FUNCtion SELect lt ResultDisplay gt cccceecceeeeeeseeeeeeeeeees 139 MEASurement lt n gt MODE lt MeasModes ccccccceeceeeeeeeeeeaeeeeneeseeeeeseaeeesaeeeeeeeeas 137 MMEMorvCATalog DlHechories ne 152 MMEMory CA Talog vc sec eege naan anaana a aaae aaa FA anakaa 151 MMEMory CDIRectory lt Directory gt cceccceceeeeeeeeeeeeeeeceeeeeaaeeeeeeeseaeeesaeeesaaeeeeeeeeaas 152 MMEMory COPY Gourcetile Destinattontle annern nnee nr rnnr nn nenene 152 MMEMory DATA FEilehame T Block Data 153 MMEMory DELete lt File gt een 154 MMEMory FILE File 154
51. ACe CABLe LENGth STATe lt State gt This command turns the electrical length format on and off Parameter lt State gt ON OFF Example CALC TRAC CABL LENG ON Activates the electrical cable length Characteristics RST value OFF SCPI device specific CALCulate TRACe CABLe LENGth RESult This command queries the results of the electrical cable length This command is a query and therefore has no RST value Return value lt ElLength gt Numerical value in mm Example CALC TRAC CABL LENG RES Queries the measurement result of the electrical cable length Characteristics RST value SCPI device specific Software Manual 1173 9005 12 05 140 R amp S ZVH Remote Control Commands Remote Commands of the Network Analyzer Mode CALCulate TRACe CABLe TIME STATe lt State gt This command turns the delay time format on and off Parameter lt State gt ON OFF Example CALC TRAC CABL TIME ON Activates the cable delay time Characteristics RST value OFF SCPI device specific CALCulate TRACe CABLe TIME RESult This command queries the results of the cable delay time This command is a query and therefore has no RST value Return value lt DelayTime gt Numerical value in s Example CALC TRAC CABL TIME RES Queries the measurement result of the delay time Characteristics RST value SCPI device specific DISPlay GDELay APERture ST
52. Analyzer CALCulate MARKer lt m gt FUNCtion NDBDown lt Distance gt This command defines the distance of the n dB down markers to the reference marker Parameter lt Distance gt Distance of the temporary markers to the reference marker in dB Example See CALCulate MARKer lt m gt FUNCtion NDBDown STATe lt State gt Characteristics RST value 3 dB SCPI device specific CALCulate MARKer lt m gt FUNCtion NDBDown FREQuency This command queries the horizontal position of the n dB down markers Return value lt frequency1 gt absolute frequency of the n dB marker to the left of the reference marker in Hz lt frequency1 gt absolute frequency of the n dB marker to the right of the reference marker in Hz Example See CALCulate MARKer lt m gt FUNCtion NDBDown STATe lt State gt Characteristics RST value SCPI device specific CALCulate MARKer lt m gt FUNCtion NDBDown RESult This command queries the frequency spacing or bandwidth of the n dB down markers Return value lt Bandwidth gt Bandwidth in Hz Example See CALCulate MARKer lt m gt FUNCtion NDBDown STATe lt State gt Characteristics RST value SCPI device specific Software Manual 1173 9005 12 05 90 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer CALCulate MARKer lt m gt FUNCtion NDBDown STATe lt State gt This command turns the n dB Down marker function on and off Parameter lt Sta
53. C 625 2 standard A particular command has the same effect on different devices The headers of these commands consist of an asterisk followed by three letters Some of the common commands refer to the Status Reporting System List of Common Commands CLS p 27 ESE p 27 ESR p 27 IDN p 28 IST p 28 OPC p 28 OPT p 28 RST p 28 SRE p 29 STB p 29 TRG p 29 TST p 29 WAI p 29 CLS CLEAR STATUS sets the status byte STB the standard event register ESR and the EVENt part of the QUEStionable and the OPERation register to zero The command does not alter the mask and transition parts of the registers It clears the output buffer ESE EVENT STATUS ENABLE sets the event status enable register to the value indicated The query form ESE returns the contents of the event status enable register in decimal form Parameter 0 to 255 ESR STANDARD EVENT STATUS QUERY returns the contents of the event status register in decimal form 0 to 255 and subsequently sets the register to zero Parameter 0 to 255 Software Manual 1173 9005 12 05 27 R amp S ZVH Remote Control Commands Common Commands IDN IDENTIFICATION QUERY queries the instrument identification Return values lt InstrumentName gt lt SerialNumber Model gt lt FirmwareVersion gt Example for R amp S ZVH Rohde amp Schwarz ZVH4 10
54. DataFormat gt command you can set the data format Parameter lt Destination gt TRACe1 writes to or reads out trace 1 TRACe2 writes to or reads out trace 2 LIST reads out peak list of SEM measurements Return value The R amp S ZVH returns 631 values Each value corresponds to one pixel of a trace The unit depends on the measurement and the unit you have set with UNIT POWer lt Unit gt Note If you use the auto peak detector the command reads out positive peak values only Software Manual 1173 9005 12 05 84 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer Example TRAC DATA TRACEL1 Reads out the data for trace 1 Characteristics RST value SCPI conform FORMai DATA lt DataFormat gt This command selects the data format that is used for transmission of trace data from the R amp S ZVH to the controlling computer Note that the command has no effect for data that you send to the R amp S ZVH The R amp S ZVH automatically recognizes the data it receives regardless of the format Parameter lt DataFormat gt AGCH ASCii format separated by commas REAL 32 32 bit IEEE 754 floating point numbers in the definite length block format In REAL 32 format a string of return values would look like 42524 lt value 1 gt lt value 2 gt lt value n gt with 4 Number of digits of the following number of data bytes 4 in this example 2524 Number of following data byte
55. EP lt Aperture gt This command sets the aperture steps for the group delay measurement format Parameter lt Aperture gt Numeric value in the range from 1 to 630 Example DISP GDEL APER STEP 100 Defines an aperture size of 100w Characteristics RST value 10 SCPI device specific WEEN Software Manual 1173 9005 12 05 141 R amp S ZVH Remote Control Commands Remote Commands of the Network Analyzer Mode MEASurement lt n gt FORMat lt MeasFormat gt This command selects the measurement format Note For transmission measurements only the Magnitude Phase Magnitude Phase and GDelay formats are available Parameter GDELay group delay format LOSS cable loss format MAGNitude magnitude format PHASe phase format REFLection reflection coefficient format SMITh Smith chart format VSWR VSWR format Example MEAS MODE VECT Switches to vector measurement mode MEAS FUNC REFL ON Activates reflection measurement MEAS FORM SMITh Displays the reflection in a Smith Chart Characteristics RST value MAGNitude SCPI device specific 7 4 7 6 Configuring the Vector Voltmeter option R amp S ZVH K45 The following commands configure the vector voltmeter Note that the listed remote commands take effect only if option R amp S ZVH K45 Vector Voltmeter is installed O Availability of remote commands for the Vector Voltmeter List of commands CALCulate VVMeter MA
56. Error Queue not empty The bit is set when an entry is made in the error queue If this bit is enabled by the SRE each entry of the error queue generates a service request Thus an error can be recognized and specified in greater detail by polling the error queue The poll provides an informative error message This procedure is to be recommended since it considerably reduces the problems involved with remote control QUEStionable status sum bit The bit is set if an EVEN bit is set in the QUEStionable status register and the associated ENABle bit is set to 1 A set bit indicates a questionable instrument status which can be specified in greater detail by polling the QUEStionable status register MAV bit message available The bit is set if a message is available in the output buffer which can be read This bit can be used to enable data to be automatically read from the instrument to the controller ESB bit Sum bit of the event status register It is set if one of the bits in the event status register is set and enabled in the event status enable register Setting of this bit indicates a serious error which can be specified in greater detail by polling the event status register MSS bit master status summary bit The bit is set if the instrument triggers a service request This is the case if one of the other bits of this registers is set together with its mask bit in the service request enable register SRE OPERation status re
57. FileName gt lt Date gt p 154 MMEMory FILE TIME lt FileName gt lt Time gt p 155 MMEMory INIT p 155 MMEMory LOAD STATe 1 lt FileName gt p 156 MMEMory MDIRectory lt Directory gt p 156 MMEMory MOVE lt SourceFile gt lt NewFileName gt p 156 MMEMory RDIRectory lt Directory gt p 157 MMEMory STORe STATe 1 lt FileName gt p 157 MMEMory CATalog This command queries the files of the current directory You can select directories with MMEMory CDIRectory lt Directory gt This command is a query and therefore has no RST value Return value lt UsedDiskSpace gt lt FreeDiskSpace gt lt FileName_1 gt lt SizeFile_1 gt lt Modification DateFile_1 gt lt ModificationTimeFile_1 gt lt FileName_n gt lt SizeFile_n gt lt ModificationDateFile_n gt lt ModificationTimeFile_n gt Example MMEM CDIR Public Limit Lines Opens directory Limit Lines MMEM CAT Returns all files in Public Limit Lines Characteristics RST value SCPI conform ee EE Software Manual 1173 9005 12 05 151 R amp S ZVH Remote Control Commands File Management MMEMory CATalog DIRectories This command queries the directories of the current directory This command is a query and therefore has no RST value Return value lt UsedMemory gt lt FreeMemory gt lt DirName_1 gt lt ModificationDateDir_1 gt lt ModificationTimeDir_1 gt lt DirName_n gt lt ModificationDateDir
58. GNitude REFerence p 143 CALCulate VVMeter MAGNitude RESult p 143 CALCulate VVMeter PHASe REFerence p 143 CALCulate VVMeter PHASe RESult p 144 CALCulate VVMeter REFerence STATe lt State gt p 144 Software Manual 1173 9005 12 05 142 R amp S ZVH Remote Control Commands Remote Commands of the Network Analyzer Mode CALCulate VVMeter MAGNitude REFerence This command queries the reference value for the magnitude To get a result you first have to turn on the reference value with CALCulate VVMeter REFerence STATe lt State gt This command is a query and therefore has no RST value Return value lt ReferenceValue gt Reference value for the magnitude in dB Example CALC VVM PHAS REF Queries the reference values for the phase Characteristics RST value SCPI device specific CALCulate VVMeter MAGNitude RESult This command queries the magnitude of the measurement results This command is a query and therefore has no RST value Return values lt Magnitude gt Magnitude of the return loss in dB Example CALC VVM MAGN RES Queries the current return loss of the DUT Characteristics RST value SCPI device specific CALCulate VVMeter PHASe REFerence This command queries the reference value for the phase of the DUT To get a result you first have to turn on the reference value with CALCulate VVMeter REFerence STATe lt State gt This command is a query
59. Guide for instructions on how to change the IP address gt Connect the instrument to the LAN or directly to the controller via USB gt Switch on the instruments gt Write and start the following program on the controller status viOpenDefaultRM defaultRM open default resource manager status viOpen DefaultRM TCPIP 172 16 10 10 0 0 vi in case of USB connection status viopen DefaultRM TCPIP xxx xxx xxx xxx 0 0 vi in case of a LAN connection with xxx xxx xxx xxx IP address cmd RST CLS status viWrite vi Cmd Len Cmd retCount reset instrument and clear status registers cmd FREQ CENT 100MHz status viWrite vi Cmd Len Cmd retCount set center frequency to 100 MHz cmd FREQ SPAN 10MHz status viWrite vi Cmd Len Cmd retCount set span to 10 MHz cmd DISP TRAC Y RLEV 10dBm status viWrite vi Cmd Len Cmd retCount set reference level to 10 dBm viclose vi viclose default RM The instrument now performs a sweep in the frequency range of 95 MHz to 105 MHz Changing the IP Address In order to operate the instrument via remote control it must be accessed via LAN IP address or USB fixed IP address If the factory set remote control address does not fit in the network environment it can be changed Refer to the Quick Start Guide chapter Setting up a LAN or USB Connection to a PC for instructions on how to change the IP address ee EE So
60. MA BURSt lt BurstLength gt This command defines the burst length of the TDMA signal Parameter lt BurstLength gt Numeric value in seconds The value range depends on the current sweep time Example CALC MARK FUNC TDMA BURS 80 US Sets the burst length to 80 us Characteristics RST value 470 us SCPI device specific 7 3 8 6 Measuring the Adjacent Channel Leakage Ratio The following commands configures Adjacent Channel Leakage Ratio ACLR measurements To perform the actual measurement use the commands described in section Performing and Triggering Measurements The suffix lt y gt selects one of the 11 alternate channels The range is lt 1 11 gt The suffix lt k gt at LIMit is irrelevant e Configuring and Performing the ACLR Measurement on page 108 e ACLR Limit Check on page 114 Configuring and Performing the ACLR Measurement The following commands configure and perform the ACLR measurements List of commands SENSe POWer ACHannel ACPairs lt ChannelPairs gt p 109 SENSe POWer ACHannel BANDwidth CHANnel lt Bandwidth gt p 109 SENSe POWer ACHannel BANDwidth ACHannel lt Bandwidth gt p 109 SENSe POWer ACHannel BANDwidth ALTernate lt y gt lt Bandwidth gt p 110 SENSe POWer ACHannel MODE lt PowerMode gt p 110 SENSe POWer ACHannel PRESet RLEVel p 111 SENSe POWer ACHannel REFerence T XCHannel AUTO lt RefChannel gt p 111 SENSe POWer ACHannel REFerence T XCHannel MA
61. Mel RE TE 139 CALibration STATUS ascaris aiian a aaa Eaa a a A 59 DISPlay BRIGhtness lt Brightness gt cc ccceeceeceeeeeeeeeeeeeeeaeeeeeaeseeeeeseaeeeeaeeseaeeseaees 164 DISPlay CMAP lt ColorSchemes scceecceceeeeeeeeeeeneeceeeeecaaeeeeaaeseeeeeseaeeesaeeseeeeeaees 164 DISPlay CMAP DEF TEE 165 DISPlay DATE FORMat lt DateFormat gt cccccceceeeseceeeeeceeeeeeeseeeeeseaeeesaeeeeeeeeeaes 165 DISPlay GDELay APERture STEP Aperture 141 DISPlay LOSS REFerence lt RefValue gt cccccccceeseeceeeeeeeeeeeeeaeeeeeeeseeeeeseaeeseeeeeeeeees 35 DISPlay LOSS REFerence POSition lt RefPOSition gt cccceeeeeeeeeeeeeeeeeeeeeneeeeneeees 35 DISPlay LOSS Y SCALe Displavbiange 36 DISPlay MAGNitude REFerence lt RefValue gt c cccecceceeeeeeeeeeeeeeeeeeeeeeaeeeeeeeeneeees 36 DISPlay MAGNitude REFerence POSition lt RefPosition gt ccceeeeeeeeeeeseeeeeees 36 DISPlay MAGNitude Y SCALe Displavbange 37 DISPlay MAGNitude Y SPACINg lt Scaling gt ccccccceceeeeeeeeeeeeeeeeeeeeeseeeeeeeaeeeeeeeeeeeees 37 DISPlay VSWR Y SCALe lt DisplayRange gt cccccceeeeeeeeeeeeeeeeeeeeeseeeeesaeeeeaeeeeeeeess 38 DISPlay WINDow TRACe lt t gt MEMory STATe lt State gt 0 ccceecceeeeeeeeieeeeseeeeeees 43 DISPlay WINDow TRACe lt t gt MODE lt TraceModes cccccccseeeeeeeeeeeeeeeeeeneetenneees 44 DISPlay WINDow TRACe lt t gt MODE lt TraceModes ccccceeeeeec
62. Note that the absolute limit has no effect on the limit check if it is below the relative limit See CALCulate LIMit lt k gt ACPower ACHannel RELative lt Limit gt This mechanism allows automatic checking of the absolute basic values of adjacent channel power as defined in mobile radio standards Parameter lt Limit gt Numeric value in the range from 200 dBm to 200 dBm Example CALC LIM ACP ACH ABS 30 Sets the absolute limit to 30 dBm Characteristics RST value SCPI device specific CALCulate LIMit lt k gt ACPower ACHannel ABSolute STATe lt State gt This command turns the absolute limit check for the adjacent channel on and off You have to activate the general ACLR limit check before using this command with CALCulate LIMit lt k gt ACPower STATe lt State gt first Parameter lt State gt ON OFF Example CALC LIM ACP ACH ABS STAT ON Activates the absolute limit check Characteristics RST value OFF SCPI device specific CALCulate LIMit lt k gt ACPower ACHannel RESult This command queries the result of the limit check of the adjacent channels To get a valid result you have to perform a complete sweep with synchronization to the sweep end before reading out the result This is only possible in single sweep mode This command is a query and therefore has no RST value Software Manual 1173 9005 12 05 116 R amp S ZVH Remote Control Commands Remote Commands of the Spectr
63. Nual lt RefChannel gt p 111 SENSe POWer ACHannel SPACing ACHannel p 112 SENSe POWer ACHannel SPACing ALTernate lt y gt lt Spacing gt p 112 SENSe POWer ACHannel SPACing C HANnel lt Tx gt lt Spacing gt p 113 SENSe POWer ACHannel T XCHannel COUNt lt TxChannels gt p 113 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer SENSe POWer ACHannel ACPairs lt ChannelPairs gt This command defines the number of pairs of adjacent channels Parameter lt ChannelPairs gt Numeric value in the range from 1 to 12 The number corresponds to a pair of adjacent channels one channel on the left and one on the right of the transmission channel Example See SENSe POWer ACHannel TXCHannel COUNt lt TxChannels gt Characteristics RST value 1 SCPI device specific SENSe POWer ACHannel BANDwidth CHANnel lt Bandwidth gt This command defines the channel bandwidth of the transmission channels Instead of BANDwidth you can also use the alias BWIDth Parameter lt Bandwidth gt Numeric value in Hz Example See SENSe POWer ACHannel TXCHannel COUNt lt TxChannels gt Characteristics RST value 14 kHz SCPI device specific SENSe POWer ACHannel BANDwidth ACHannel lt Bandwidth gt This command defines the channel bandwidth of the adjacent channel The adjacent channel is the first pair of channels next to the transmission channels If you set the c
64. PE Ger EVel 111 SENSe POWer ACHannel REFerence T XCHannel AUTO lt RefChannel gt 111 SENSe POWer ACHannel REFerence TXCHannel MANual lt RefChannels 111 SENSe POWer ACHannel SPACing ALTernate lt y gt lt Spacing gt ccccceseeeeeee 112 SENSe POWer ACHannel SPACing CHANnel lt TXx gt lt Spacing gt nsss 113 SENSe POWer ACHannel SPACing ACHannel lt Spacing gt cccceseeeeeeeees 112 SENSe POWer ACHannel TXCHannel COUNt lt TxChannels gt eee 113 SENSe ROSCilator SOURCe lt RefSOUrCE gt ceeceeeceeeeeeeeeeeeeeeeeeeeeeeeeaeeeeeeeeneeeeaas 170 SENSe SWEep COUNt lt SweepCounts cccceceeeeceeceneeeesaeeeeeeeseeeeeseaeeesaeeeeneeeeaees 76 SENSe JSWEep EGATe lt State gt 2 ceeecccecccecceeceeeeeeseneeceaeeeeaaeseeaeeeeeeesaeeeeaaeseeneeesaees 78 SENSe SWEep EGATe HOLDoff Gatelelay 78 SENSe SWEep EGATe LENGth Gaiel engt 79 SENSe SWEep EGATe TIME lt SWeepTime gt eccceeeeeeeeeeeeeeeeeseeeeeteaeeeseaeeeeneeeeaees 79 SENSe SWEep MODE lt State gt ceeccccccceeeeeceeeeeeeeeeseaeeeeaaeseeneeseeeesaeeeeaaeeseneeeeas 124 ISENSe SWEep POINIS scccvecssectecsscecs tinnaeik iaaa aa 77 Software Manual 1173 9005 12 05 197 R amp S ZVH Remote Control Commands Status Reporting System SENSe SWEep TIME Gweep Time 77 SENSe SWEep TIME AUTO fatate eee rer nesr nssrnssrrssrnssrnssrnnsrnssrnssrns 77 SENSe CHANnel TABLe SELe
65. Parameter lt State gt ON OFF Example INIT CONT OFF CALC MARK ON Turns on single sweep mode and marker 1 CALC MARK COUN ON Turns on the frequency counter for marker 1 Software Manual 1173 9005 12 05 87 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer INIT WAI CALC MARK COUN FREQ Performs a measurement and queries the results of the frequency counter Characteristics RST value OFF SCPI device specific CALCulate MARKer lt m gt FREQuency MODE lt InputMode gt This command selects the marker frequency display mode Parameter lt InputMode gt FREQuency sets the marker frequency mode to frequency input Hz CHANnel sets the marker frequency mode to channel input channel number Example CALC MARK FREQ MODE FREQ Selects the frequency display mode Characteristics RST value FREQ SCPI device specific CALCulate MARKer lt m gt FUNCtion CENTer This command matches the center frequency to the frequency of a marker If you use a delta marker the R amp S ZVH turns it into a normal marker The suffix lt m gt selects the marker This command is an event and therefore has no RST value and no query Example CALC MARK1 FUNC CENT Matches the center frequency to the frequency of marker 1 Characteristics RST value SCPI device specific CALCulate MARKer lt m gt FUNCtion DEModulation STATe lt State gt This com
66. R amp S ZVH Remote Control via LAN or USB Software Manual 1173 9005 12 05 amp ROHDE amp SCHWARZ Test amp Measurement Software Manual The Software Manual describes the following R amp S ZVH models and options e R amp S ZVH K40 1309 7013 02 for the R amp S ZVH models e R amp S ZVH4 1309 6800 24 R amp S ZVHB8 1309 6800 28 The contents of this manual correspond to firmware version 1 40 or higher 2013 Rohde amp Schwarz GmbH amp Co KG Muehldorfstr 15 81671 Munich Germany Phone 49 89 4129 0 Fax 49 89 4129 12 164 E mail info rohde schwarz com Internet http Awww rohde schwarz com 81671 Munich Germany Printed in Germany Subject to change Data without tolerance limits is not binding DACH is a registered trademark of Rohde A Schwarz GmbH amp Co KG Trade names are trademarks of the owners The following abbreviations are used throughout this manual R amp S ZVH is abbreviated as R amp S ZVH Customer Support Technical support where and when you need it For quick expert help with any Rohde amp Schwarz equipment contact one of our Customer Support Centers A team of highly qualified engineers provides telephone support and will work with you to find a solution to your query on any aspect of the operation programming or applications of Rohde amp Schwarz equipment Up to date information and upgrades To keep your instrument up to date and to be informe
67. SENSe CHANnel TABLe SELect DOWNlink lt ChannelTable gt p 100 SENSe CHANnel TABLe SElect UPLink lt ChannelTable gt p 100 SENSe CHANnel TABLe SET lt Direction gt p 101 SENSe CHANnel lt ChannelNumber gt This command selects the channel to be analyzed You have to set the frequency mode with SENSe FREQuency INPut MODE to channel first Parameter lt ChannelNumber gt numeric value that selects the number of the channel to be analyzed Example See SENSe CHANnel TABLe SELect lt ChannelTable gt Characteristics RST value depends on the channel table SCPI conform SENSe CHANnel TABLe SELect lt ChannelTable gt This command selects a channel table configured for the link direction you have selected with SENSe CHANnel TABLe SET lt Direction gt Note that if you have previously selected a channel table with SENSe CHANnel TABLe SELect DOWNlink lt ChannelTable gt or SENSe CHANnel TABLe SElect UPLink lt ChannelTable gt this command replaces that file Parameter lt ChannelTable gt String containing the file name of the channel table Example CHAN TABL SET UP Selects channel tsble selection for uplink signals CHAN TABL SEL TV China CHNTAB Loads the channel table with the name TV China for the uplink Software Manual 1173 9005 12 05 99 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum
68. SPACing ALTernate lt y gt lt Spacing gt This command defines the spacing between alternate channels If you set the channel spacing for the first alternate channel the R amp S ZVH sets the bandwidth of the other alternate channels to the same value The command works hierarchically to set a spacing of the 10th and 8th channel you have to set the spacing of the 8th channel first Parameter lt Spacing gt Numeric value in Hz Example See SENSe POWer ACHannel TXCHannel COUNt lt TxChannels gt Characteristics RST value ALT1 40 kHz ALT2 60 kHz ALTS3 80 kHz etc SCPI device specific Software Manual 1173 9005 12 05 112 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer SENSe POWer ACHannel SPACing CHANnel lt Tx gt lt Spacing gt This command defines the spacing between transmission channels If you set the channel spacing for the first transmission channel the R amp S ZVH sets the bandwidth of the other transmission channels to the same value The command works hierarchically to set a spacing between the 9th and 10th and 8th and 9th channel you have to set the spacing between the 8 and 9th channel first The suffix at CHANnel selects the transmission channel Parameter lt Spacing gt Numeric value in Hz Example See SENSe POWer ACHannel TXCHannel COUNt lt TxChannels gt Characteristics RST value 20 kHz SCPI device specific SENSe POWer ACHanne
69. ST value 0 dB AUTO is ON SCPI conform SOURce TG ATTenuation lt TGAttenuation gt This command defines the output level of the tracking generator Parameter lt TGAttenuation gt Numeric value in the range from 0 to 50 dB Entering an output level of e g 20 dB results in an output level of 20 dBm Example SOUR TG ATT 50 Defines the attenuation to 50 dB and therefore an output level of 50 dBm Characteristics RST value 0 dB SCPI device specific Software Manual 1173 9005 12 05 39 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer 7 2 3 Setting the Bandwidth The following commands define the bandwidth to use for the measurement List of commands e SENSe BANDwidth BWIDth RESolution lt MeasBW gt p 40 e SENSe BANDwidth BWIDth RESolution AUTO lt State gt p 40 SENSe BANDwidth BWIDth RESolution lt MeasBW gt This command defines the measurement bandwidth Analog resolution filters of 100 Hz to 100 kHz in 1 3 10 steps are available Parameter lt MeasBW gt Numeric value in the range from 100 Hz to 100 kHz Example BAND 100 kHz Sets the bandwidth to 100 kHz Characteristics RST value AUTO is set to ON SCPI conform SENSe BANDwidth BWIDth RESolution AUTO lt State gt This command couples or decouples the measurement bandwidth to the span Parameter lt State gt ON OFF Example BAND AUTO OFF Switches off the
70. Software Manual 1173 9005 12 05 46 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer 7 2 6 Using Markers The following commands are for setting and controlling markers and deltamarkers If not otherwise noted the numeric suffix lt 1 6 gt at MARKer or DELTamarker select the marker to be controlled In CAT mode the numeric suffix lt 1 2 gt at CALCulate is irrelevant List of commands CALCulate lt n gt DELTamarker lt m gt STATe lt State gt p 47 CALCulate lt n gt DELTamarker lt m gt AOFF p 48 CALCulate lt n gt DELTamarker lt m gt MAXimum PEAK p 48 CALCulate lt n gt DELTamarker lt m gt MAXimum NEXT p 48 CALCulate lt n gt DELTamarker lt m gt MINimum PEAK p 48 CALCulate lt n gt DELTamarker lt m gt X lt Coordinate gt p 49 CALCulate lt n gt DELTamarker lt m gt X RELative lt Distance gt p 49 CALCulate lt n gt DELTamarker lt m gt Y p 50 CALCulate lt n gt MARKer lt m gt STATe lt State gt p 51 CALCulate lt n gt MARKer lt m gt AOFF p 51 CALCulate lt n gt MARKer lt m gt MAXimum PEAK p 51 CALCulate lt n gt MARKer lt m gt MAXimum NEXT p 52 CALCulate lt n gt MARKer lt m gt MINimum PEAK p 52 CALCulate lt n gt MARKer lt m gt X lt Coordinate gt p 52 CALCulate lt n gt MARKer lt m gt X SLIMits STATe lt State gt p 53 CALCulate lt n gt MARKer lt m gt X SLIMits LEFT lt SearchLimit gt p 53 CALCulate lt n gt
71. Tus QUEStionable POWer ENABle lt SumBit gt This command controls the ENABIle part of the QUEStionable register The ENABle part allows true conditions in the EVEN part of the status register to bereported in the summary bit If a bit is 1 in the enable register and its associated event bit transitions to true a positive transition will occur in the summary bit reported to the next higher level Parameter lt SumBit gt 0 to 65535 Characteristics RST value SCPI conform STATus QUEStionable NTRansition lt SumBit gt STATus QUEStionable FREQuency NTRansition lt SumBit gt STATus QUEStionable LIMit NTRansition lt SumBit gt STATus QUEStionable POWer NTRansition lt SumBit gt This command controls the Negative TRansition part of the QUEStionable register Setting a bit causes a 1 to 0 transition in the corresponding bit of the associated register The transition also writes a 1 into the associated bit of the corresponding EVEN register Parameter lt SumBit gt 0 to 65535 Software Manual 1173 9005 12 05 191 R amp S ZVH Remote Control Commands Status Reporting System Example STAT QUES NTR 65535 Characteristics RST value SCPI conform STATus QUEStionable PTRansition lt SumBit gt STATus QUEStionable FREQuency PTRansition lt SumBit gt STATus QUEStionable LIMit PTRansition lt SumBit gt STATus QUEStionable POWer PTRansition lt SumBit gt This command control the Positive TRansition part
72. V V W DUVM DUAM V_M W_M2 Note that the availability of units depends on the operating mode Example UNIT POW DBUV Sets the power unit to dBuV Characteristics RST value DBM SCPI conform Software Manual 1173 9005 12 05 72 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer 7 3 3 Setting the Bandwidths The following commands configure the filter bandwidths of the R amp S ZVH Note that both groups of commands BANDwidth and BWIDth are the same List of commands SENSe BANDwidth BWIDth RESolution lt ResBW gt p 73 SENSe BANDwidth BWIDth RESolution AUTO lt State gt p 73 SENSe BANDwidth BWIDth VIDeo lt VideoBW gt p 74 SENSe BANDwidth BWIDth VIDeo AUTO lt State gt p 74 SENSe BANDwidth BWIDth RESolution lt ResBW gt This command defines the resolution bandwidth Parameter lt ResBW gt Numeric value in Hz The available value range is from 1 Hz to 3 MHz in 1 3 5 steps In addition you can select a 200 kHz bandwidth Example BAND 100 kHz Sets the resolution bandwidth to 100 kHz Characteristics RST value AUTO is set to ON SCPI conform SENSe BANDwidth BWIDth RESolution AUTO lt State gt This command couples and decouples the resolution bandwidth to the span Parameter lt State gt ON OFF Example BAND AUTO OFF Decouples the resolution bandwidth from the span Characteristics RST value ON SCPI
73. ZVH Z14 or R amp S ZVH Z44 sets unit of forward power to dBm Characteristics RST value SCPI device specific 7 5 3 Defining the Measurement Time The following chapter describes commands to define the measurement time of the power sensor e SENSe PMETer MTIMe lt MeasTime gt p 147 SENSe PMETer MTIMe lt MeasTime gt This command sets the duration of measurements Parameter lt MeasTime gt SHORt NORMal LONG WEEN Software Manual 1173 9005 12 05 147 R amp S ZVH Remote Control Commands Remote Commands of the Power Meter Example PMET MTIMe SHOR Sets a short measurement time for power measurements Characteristics RST value SCPI device specific 7 5 4 Performing Measurements with the Power Sensor The following chapter describes all commands that are available for performing power measurements with the power sensor CALibration PMETer ZERO AUTO p 148 SENSe PMETer DETector FUNCtion lt PowerDisplay gt p 149 FETCh lt z gt PMETer p 149 CALCulate PMETer PRESet STATe lt State gt p 150 CALCulate PMETer PRESet SELect lt Standard gt p 150 7 5 4 1 Zeroing of the Power Sensor CALibration PMETer ZERO AUTO ONCE This commands starts to zero the power sensor This command is an event and therefore has no RST value and no query Parameter ONCE Example CAL PMET ZERO AUTO ONCE Starts to zero the power meter Characteristics RST valu
74. _n gt lt ModificationTimeDir_n gt Example MMEM CDIR Public Opens directory Public MMEM CAT DIR Returns all directories in the Public directory Characteristics RST value SCPI device specific MMEMory CDIRectory lt Directory gt This command changes the current directory Parameter lt Directory gt String containing the path to another directory Example MMEM CDIR Public Opens directory Public Characteristics RST value SCPI conform MMEMory COPY lt SourceFile gt lt DestinationFile gt This command copies one or more files to another directory This command is an event and therefore has no RST value and no query Parameter lt SourceFile gt String containing the path and file name of the source file lt DestinationFile gt String containing the path and name of the destination file WEEN Software Manual 1173 9005 12 05 152 R amp S ZVH Remote Control Commands File Management Example MMEM COPY Public Standards cdmaOne obwstd USB cdmaOne std Copies the cdmaOne standard file file to a memory stick Characteristics RST value SCPI conform MMEMory DATA lt FileName gt lt BlockData gt This command writes block data into a file The delimiter must be set to EOI to obtain error free data transfer When you query the contents of a file you can save them in a file on the remote control computer The command is useful for re
75. a talker without the output buffer containing data or awaiting data from the data base management the output unit sends error message Query UNTERMINATED to the status reporting system No data are sent to the controller the controller waits until it has reached its time limit This behavior is defined by IEEE 488 2 and SCPI IWERT Software Manual 1173 9005 12 05 14 R amp S ZVH SCPI Command Structure and Syntax eee Structure of a Command 5 SCPI Command Structure and Syntax SCPI Standard Commands for Programmable Instruments describes a standard command set for programming instruments irrespective of the type of instrument or manufacturer The goal of the SCPI consortium is to standardize the device specific commands to a large extent For this purpose a model was developed which defines the same functions inside a device or for different devices Command systems were generated which are assigned to these functions Thus it is possible to address the same functions with identical commands The command systems are of a hierarchical structure SCPI is based on standard IEEE 488 2 i e it uses the same syntactic basic elements as well as the common commands defined in this standard Part of the syntax of the device responses is defined with greater restrictions than in standard IEEE 488 2 see section Responses to Queries Remote command examples Not all commands used in the following examples are implemented in the instrument
76. ace INIT WAI Starts the measurement and waits for the end of the 16 sweeps Characteristics RST value WRITe SCPI device specific FORMat BORDer lt ByteOrder gt This command selects the format of binary data Parameters lt ByteOrder gt SW APped The least significant byte is transferred first little endian NORMal The most significant byte is transferred first big endian Example FORM BORD NORM Changes the byte order to normal mode Characteristics RST value SWAPped SCPI conform SENSe DETector lt t gt FUNCtion lt Detector gt This command selects the detector Parameter lt Detector gt APEak NEGative POSitive SAMPle RMS For more information see the operating manual chapter Detectors WEE Software Manual 1173 9005 12 05 83 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer Example DET POS Sets the detector to positive peak Characteristics RST value POS SCPI conform SENSe DETector lt t gt FUNCtion AUTO lt State gt This command couples and decouples the detector to the trace mode Parameter lt State gt ON OFF Example DET AUTO OFF Turns off automatic detector selection Characteristics RST value ON SCPI conform TRACe DATA lt Destination gt This command queries the trace data of the current measurement It also transfers data from a file to a particular trace With FORMat DATA lt
77. ace minimum If necessary the corresponding marker is activated first This command is an event and therefore has no RST value and no query Example CALC MARK2 MIN Moves marker 2 to the trace minimum Characteristics RST value SCPI device specific CALCulate lt n gt MARKer lt m gt X lt Coordinate gt This command positions a marker on a particular coordinate on the horizontal axis If one or more delta markers 2 to 6 are already active the command turns these delta markers into normal markers Note that it is possible to place the marker outside the visible trace In that case this value is invalid If necessary the corresponding delta marker is activated first Parameter lt Coordinate gt Numeric value indicating the coordinate on the horizontal axis The range corresponds to the maximum span The unit in spectrum analyzer mode depends on the measurement e g Hz for measurements in the frequency domain and seconds for measurements in the time domain Software Manual 1173 9005 12 05 52 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer Example CALC MARK2 X 10 7MHz Positions marker 2 to frequency 10 7 MHz Characteristics RST value SCPI device specific CALCulate lt n gt MARKer lt m gt X SLIMits STATe lt State gt This command turns marker search limits on and off If you perform a measurement in zero span this command this com
78. ading stored settings files or trace data from the instrument or for transferring them to the instrument Parameter lt FileName gt String containing the path and file name lt BlockData gt Data block with the structure hash sign lt number gt length of the length information lt number gt length information of the binary data number of bytes lt data gt binary data with the indicated number of bytes Example MMEM NAME Public User Testfile txt Creates a new file called Testfile txt MMEM DATA Public User Testfile txt 220Contents of the file The parameter mean Public selects the target file 2 hash sign and length of the length information 20 bytes 2 digits 20 indicates the number of subsequent binary data bytes Contents of the file store 20 binary bytes characters to the file MMEM DATA Public User Testfile txt Transfers the contents of the file Testfile txt to the control computer Characteristics RST value SCPI conform WEEN Software Manual 1173 9005 12 05 153 R amp S ZVH Remote Control Commands File Management MMEMory DELete lt File gt This command deletes a file Parameter lt File gt String containing the path and file name of the file to delete Example MMEM DEL Public Screen Shots Screen0001 png Deletes the file Screen0001 png Characteristics RST value SCPI conform MMEMory FILE lt Fil
79. aining power of the battery This command is a query and therefore has no RST value Return values Numeric value in the range from 0 to 100 Example SYST POW STAT Example SYST POW STAT Characteristics RST value SCPI conform SYSTem PRESet Resets the R amp S ZVH to its default state or a state defined by the user depending on SYSTem PRESet MODE This command is an event and therefore has no RST value and no query Example SYST PRES Characteristics RST value SCPI conform SYSTem PRESet FACTory This command initiates an instrument reset back to factory settings This command is an event and therefore has no query and no RST value Example SYST PRES FACT Resets the R amp S ZVH to its factory settings Characteristics RST value SCPI device specific Software Manual 1173 9005 12 05 175 R amp S ZVH Remote Control Commands Configuring the Instrument SYSTem PRESet MODE lt Mode gt This command selects the preset mode Parameter lt Mode gt DEFault default preset state USER user defined preset state Example SYST PRES MODE USER Selects a user defined preset Characteristics RST value SCPI conform SYSTem PRESet USER lt Preset gt This command selects a file containing a user defined preset state Parameter lt Preset gt filename of the user defined preset state Characteristics RST value SCPI conform SYSTem TIME
80. alue fmax With fmax Maximum frequency SCPI conform ee Software Manual 1173 9005 12 05 65 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer SENSe FREQuency SPAN AUTO lt State gt This command turns the automatic calculation of the ideal span on and off Parameter lt State gt ON OFF Example FREQ SPAN AUTO ON Turns automatic span determination on and off Characteristics RST value OFF SCPI device specific SENSe FREQuency SPAN FULL This command restores the full span This command is an event and therefore has no query and no RST value Example FREQ SPAN FULL Restores full span Characteristics RST value SCPI conform SENSe FREQuency STARt lt StartFrequency gt This command defines the start frequency for measurements in the frequency domain span gt 0 Parameter lt StartFrequency gt Numeric value in Hz The range depends on the operating mode and is specified in the datasheet Example FREQ STAR 20MHz Defines a start frequency of 20 MHz Characteristics RST value 0 SCPI conform WEEN Software Manual 1173 9005 12 05 66 Remote Commands of the Spectrum Analyzer SENSe FREQuency STOP lt StopFrequency gt This command defines the stop frequency for measurements in the frequency domain span gt 0 Parameter lt StopFrequency gt Numeric value in Hz The range depends on the operating mode and is specified i
81. an arbitrary status register initiate an SRQ In order to make use of the possibilities of the service request effectively all bits should be set to 1 in enable registers SRE and ESE Example Use of the command OPC to generate an SRQ at the end of a sweep CALL InstrWrite analyzer ESE 1 Set bit 0 in the ESE Operation Complete CALL InstrWrite analyzer SRE 32 Set bit 5 in the SRE ESB After its settings have been completed the instrument generates an SRQ The SRQ is the only possibility for the instrument to become active on its own Each controller program should set the instrument in a way that a service request is initiated in the case of malfunction The program should react appropriately to the service request 7 9 5 2 Serial Poll In a serial poll just as with command STB the status byte of an instrument is queried However the query is realized via interface messages and is thus clearly faster The serial poll method has already been defined in IEEE 488 1 and used to be the only standard possibility for different instruments to poll the status byte The method also works with instruments which do not adhere to SCPI or IEEE 488 2 The VISUAL BASIC command for executing a serial poll is IBRSP Serial poll is mainly used to obtain a fast overview of the state of several instruments connected to the controller Software Manual 1173 9005 12 05 185 R amp S ZVH Remote Control
82. and therefore has no RST value Return values lt ReferenceValue gt Reference value for the phase in degrees Software Manual 1173 9005 12 05 143 R amp S ZVH Remote Control Commands Remote Commands of the Network Analyzer Mode Example CALC VVM PHAS REF Characteristics RST value SCPI device specific CALCulate VVMeter PHASe RESult This command queries the phase of the measurement results This command is a query and therefore has no RST value Return values lt Phase gt Phase of the return loss in degrees Example CALC VVM PHAS RES Queries the current phase of the DUT Characteristics RST value SCPI device specific CALCulate VVMeter REFerence STATe lt State gt This command saves the current measurement values as reference values The reference values can be used for comparison measurements Parameter lt State gt ON OFF Example CALC VVM REF ON Activates the reference values Characteristics RST value OFF SCPI device specific WEEN Software Manual 1173 9005 12 05 144 R amp S ZVH Remote Control Commands Remote Commands of the Power Meter 7 5 Remote Commands of the Power Meter The chapter provides information on remote commands that configure and perform power measurements with the power sensor These commands are available in power meter mode only Availability of remote commands for Power Sensor measurements Note that the listed r
83. aracteristics RST value ASCii SCPI conform MEASurement ISUP lt State gt This command turns interference suppression on and off Parameter lt State gt ON OFF Example MEAS ISUP ON Turns interference suppression on Characteristics RST value OFF SCPI device specific MEASurement ISUP APER lt Aperture gt This command defines the aperture size for interference suppression Parameter lt Aperture gt Numeric value that defines the aperture Example MEAS ISUP APER 0 8 Sets an aperture of 0 8 Characteristics RST value 1 SCPI device specific Software Manual 1173 9005 12 05 45 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer TRACe lt t gt DATA TRACE1 This command queries the current trace data Parameter TRACE1 Return values For all measurements of the cable and antenna tester incl transmission measurements that are available with option R amp S ZVH K39 the command returns 631 value one for each horizontal pixel of the display The units depend on the measurement format Example TRAC DATA TRACEL1 Queries the data of trace 1 Characteristics RST value SCPI conform UNIT LENGth lt Unit gt This command selects the length unit Parameter lt Unit gt METer FEET Example UNIT LENGth FEET Selects feet as the length unit Characteristics RST value METer SCPI conform WEE
84. arker Functions The following commands perform various kinds of analysis at the marker position The suffix lt n gt at DISPlay selects the measurement screen in dual trace mode and is in the range lt 1 2 gt List of commands DISPlay lt n gt IMPedance REFerence POSition lt Impedance gt p 135 DISPlay lt n gt ZOOM AREA STAT lt State gt p 135 DISPlay lt n gt ZOOM FACTor lt ZoomFactor gt p 136 DISPlay lt n gt ZOOM X lt HorizShift gt p 136 DISPlay lt n gt ZOOM Y lt VerticalShift gt p 136 DISPlay lt n gt IMPedance REFerence POSition lt Impedance gt This command sets the reference impedance for the smith chart measurement format The impedance can be between 1mQ and 10 KQ Parameter lt Impedance gt Numeric value in the rnage from 1 mQ to 10 kQ Example DISP IMP REF POS 75 OHM Sets the reference impedance to 75 Ohm Characteristics RST value 50 SCPI device specific DISPlay lt n gt ZOOM AREA STAT lt State gt This command turns the marker zoom function in a Smith chart on and off Parameter lt State gt ON OFF Example DISP ZOOM AREA ON Activates the marker zoom function Characteristics RST value OFF SCPI device specific WEEN Software Manual 1173 9005 12 05 135 R amp S ZVH Remote Control Commands Remote Commands of the Network Analyzer Mode DISPlay lt n gt ZOOM FACTor lt ZoomFactor gt This command sets the zoom factor of the marker
85. armonic distortion measurement Characteristics RST value OFF SCPI device specific CALCulate lt n gt MARKer lt m gt FUNCtion MDEPth RESult This command queries the results of the AM modulation depth measurement This command is a query and therefore has no RST value Return value lt ModulationDepth gt Modulation depth in Example CALC MARK FUNC MDEP RES Queries the AM modulation depth Characteristics RST value SCPI device specific Software Manual 1173 9005 12 05 122 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer 7 3 8 9 Measuring the Spectrum Emission Mask The following commands configure Spectrum Emission Mask SEM measurements To perform the actual measurement use the commands described in section Performing and Triggering Measurements List of commands e SENSe ESPectrum PRESet STANdard lt Standard gt p 123 e SENSe ESPectrum PRESet SETTings p 123 e SENSe SWEep MODE lt State gt p 124 SENSe ESPectrum PRESet ST ANdard lt Standard gt This command loads one of the predefined spectrum emission masks for a telecommunications standard Parameter lt Standard gt String containing the file name of the spectrum emission mask Example ESP PRES W CDMA 3GPP semstd Loads the SEM for 3GPP WCDMA Characteristics RST value SCPI device specific SENSe ESPectrum PRESet SETTings ONCE Thi
86. ating the Measurement on page 138 Selecting the Result Display on page 139 Selecting the Measurement Format on page 140 It also deals with configuring the Vector Voltmeter Option R amp S ZVH K45 e Configuring the Vector Voltmeter option R amp S ZVH K45 on page 142 To perform the actual measurement use the commands described in section Performing and Triggering the Measurement Commands independent of the operating mode Note that some of the commands for configuring two port measurements are also valid for other operating modes If a command is available in another mode it is indicated by the list in the respective section 7 4 7 1 Selecting the Measurement Port The following commands select the measurement port List of commands e MEASurement PORT lt Port gt p 56 7 4 7 2 Selecting the Measurement Mode The following commands select the measurement mode for two port measurements List of commands e MEASurement lt n gt MODE lt MeasMode gt p 137 MEASurement lt n gt MODE lt MeasMode gt This command sets the measurement mode for network analysis measurements Parameter lt MeasMode gt SCALar scalar measurements VECTor vector measurements Software Manual 1173 9005 12 05 137 R amp S ZVH Remote Control Commands Remote Commands of the Network Analyzer Mode Example MEAS MODE SCAL Starts a scalar measurement Characteristics RST value VECTor SCPI device specific 7 4 7 3 Ca
87. attenuation If the successive commands belong to the same system having one or several levels in common the program message can be abbreviated For that purpose the second command after the semicolon starts with the level that lies below the common levels see also Fig 1 1 The colon following the semicolon must be omitted in this case Example CALL InstrWrite analyzer SENSe FREQuency STARt 1E6 SENSe FREQuency STOP 1E9 This program message is represented in its full length and contains two commands separated from each other by the semicolon Both commands are part of the SENSe command system subsystem FREQuency i e they have two common levels When abbreviating the program message the second command begins with the level below SENSe FREQuency The colon after the semicolon is omitted The abbreviated form of the program message reads as follows CALL InstrWrite analyzer SENSe FREQuency STARt 1E6 STOP 1E9 However a new program message always begins with the complete path Example CALL InstrWrite analyzer SENSe FREQuency STARt 1E6 CALL InstrWrite analyzer SENSe FREQuency STOP 1E9 WEEN Software Manual 1173 9005 12 05 23 R amp S ZVH SCPI Command Structure and Syntax nee Responses to Queries 5 4 Responses to Queries A query is defined for each setting command unless explicitly specified otherwise It is formed by adding a qu
88. axis ABS REL lt Y unit gt Unit of the y axis DB DBM DBUV DBMV DBUVM DBUAM VSWR V W lt x1 gt lt xn gt Data points on the x axis Note a limit line may consist of up to 100 horizontal data points lt y1 gt lt yn gt Data points on the y axis Example CALC LIM DEF Line Example HZ ABS DBM 10000000 10 10000000 0 20000000 0 Defines a limit line with three data points Characteristics RST value SCPI device specific Software Manual 1173 9005 12 05 95 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer CALCulate lt n gt LIMit lt k gt DELete This command deletes a limit line This command is an event and therefore has no RST value and no query Example CALC LIM2 DEL Deletes the second limit line Characteristics RST value SCPI device specific CALCulate lt n gt LIMit lt k gt FAIL This command queries the result of a limit check To get a valid result you have to perform a complete sweep with synchronization to the sweep end before reading out the result This is only possible in single sweep mode Return value 0 for PASS and 1 for FAIL Example INIT WAI CALC LIM1 FAIL Performs a measurement and queries the result of the check for limit line 1 Characteristics RST value SCPI conform CALCulate lt n gt LIMit lt k gt LOWer SELect lt LimitLine gt This command selects the lower limit line This
89. can query the list with CALCulate MARKer lt m gt FUNCtion DTF PEAK RESult The suffix lt m gt is irrelevant Parameter lt Threshold gt Numeric value that sets the threshold level The unit depends on the measurement format Example CALC MARK FUNC DTF PEAK THR 20 Sets the threshold to 20 dB Characteristics RST value SCPI device specific R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer 7 3 Remote Commands of the Spectrum Analyzer This section provides a detailed description of all remote control commands required to configure and perform measurements with the spectrum analyzer These commands are available in spectrum analyzer mode only Availability of remote commands for spectrum measurements Note that the listed remote commands take effect only if you have installed option R amp S ZVH K1 and after you have entered the spectrum analyzer operating mode Contents Configuring the Horizontal Axis on page 62 Configuring the Vertical Axis on page 67 Setting the Bandwidths on page 73 Performing and Triggering Measurements on page 75 Working with Traces on page 81 Using Markers on page 86 Using Display Lines and Limit Lines on page 93 Configuring and Using Measurement Functions on page 98 7 3 1 Configuring the Horizontal Axis The following commands configure the horizontal frequency axis of the active display List of commands SENSe FREQuency CENTer lt Freq
90. ceecceeeeeeeeeeeeeeeeeeceeeeeeaaeeeeaaeseeeeeseaeeesaeeseeeeeeeees 30 7 2 2 Configuring the Vertical Avis 34 7 2 3 Setting the Bandwichth nenn nenn nnt 40 7 2 4 Performing and Triggering Measurements ccccceeeeeeeceeeenneeeeeenaeeeseeaeeeeeeaeeeeeenaes 41 7 2 5 Working With Traces 0 ccceeecceceeeenneeeeeenaeeeeeeaaeeeeeenaeeeeeeaaeeeeesaaeeeseeaaeeeseeaeeeeeenaeeeeneaaes 43 n26 Using Markers ei Zs i7 eege eurr aeina eE henge lege duet geet 47 Hef Using Limit PINS cegrek aE E UE bee heii uge 55 7 2 8 Configuring and Using Measurement Functions ccccccceeeeeeeeeeeeeseeeeeeeaeeeeaeeseneees 56 7 3 Remote Commands of the Spectrum Analyzer ccccsccsseeseeceeeeesesteeseseenenseeees 62 7 3 1 Configuring the Horizontal Avise ceccecceeeceeeeeeeeeeeeeeeceaeeeeaaeeeeaaeseeeeeseaeeesaeeseaeeenees 62 7 3 2 Configuring the Vertical Avis 67 7 3 3 Setting the Bandwidths 0 cccccecceceeececeeeeecaeeeeeaeeeeeeesaeeeeaaeeeeaaeseeeeeseaeessaeeseeeeeeeees 73 7 3 4 Performing and Triggering Measurements sesesssseisseerrssssrrssrirrnsrirnssrirnnnrinnnsrennne 75 7 3 5 Working with Traces cccccescccceeesecceeeeeeceeeeeeeceeeseaeeeeaeeeeeeaeeeeesneeeeesnseeeeesneeaeeennanees 81 3 6 ln NO CET cadena S 86 7 3 7 Using Display Lines and Limit Lines 20 0 2 cece ee ceee cece enter eeeeaeeeeeeaaeeeeeeaaeeeeeeaaeeeeeenaes 93 7 3 8 Configuring and Using Measurement Functions seessessseeseesseesieeiesr
91. com product zvh htm provides the most up to date information on the R amp S ZVH The most recent manuals are available as printable PDF files in the download area Also provided for download are firmware updates including the corresponding release notes instrument drivers current data sheets application notes and image versions WEEN Software Manual 1173 9005 12 05 4 R amp S ZVH Conventions Used in the Documentation Conventions Used in the Documentation The following conventions are used throughout the R amp S ZVH Software Manual Typographical conventions Convention Description Graphical user interface elements All names of graphical user interface elements both on the screen and on the front and rear panels such as dialog boxes softkeys menus options buttons etc are enclosed by quotation marks KEYS Key names are written in capital letters and enclosed by quotation marks Input Input to be entered by the user is displayed in italics File names commands File names commands coding samples and screen output are program code distinguished by their font Links Links that you can click are displayed in blue font References References to other parts of the documentation are enclosed by quotation marks Other conventions e Remote commands Remote commands may include abbreviations to simplify input In the description of such commands all parts that have to be entered are written in capital le
92. ct DOWNlink Channel able eee eee 100 SENSe CHANnel TABLe SElect UPLink lt ChannelTable gt ssec 100 SENSe CHANnel TABLe SET Direction 101 SENSe SWEep POINts Points 41 SOURce TG ATTenuation lt TGAttenuation gt cc cccccccccccccceeeeeeeeeeeeeeeeeeeseseseeeeeees 39 GTATusObERaton CON Don 189 STATus OPERation ENABle lt SUMBit gt ccccccccccccccccecceeceeeceeseeeeeeeseeeeeeeseeeseeeseeeees 189 STATus OPERation NTRansition lt SUMBit gt cccccccccccccececeeeeeeeeeeeeeeeeeeeeeeeeeeseeenes 190 STATus OPERation PTRansition lt SUMBit gt ccccccccccececceeeeeeceeeeeeseeeeeeeseeeseeeees 190 STATus OPERation EVENU s c csstescscssceceetteaciesdisnenneeeneteediaeaedaienaneireieels 189 STATUS PRESET EE 188 GTATusOUEGonable CONDon nnna 191 STATus QUEStionable ENABle Gumbr 191 STATus QUEStionable FREQuency CONDItiION 22 ccceeeeeeeeeeeeeeeeeeeeeeeeeeeeteeneees 191 STATus QUEStionable F REQuency ENABle Gumbn 191 STATus QUEStionable F REQuency NTRansition lt SUMBit gt sssr 191 STATus QUEStionable F REQuency PTRansition Gum Dn 192 STATus QUEStionable FREQuency EVENt cccccecceeeeeeeeeeeeeceeeeeseaeeeeneeseneeees 190 STATus QUEStionable LIMit CONDITION 0 0 cccccccccccceeeceeeceeeeeeeeeeeeeeseeeeeeeeeeeees 191 STATus QUEStionable LIMit ENABle Gumbn 191 STATus QUEStionable LIMit NTRansition lt SUMBit gt cc ecceccccceceeeeeeeeeeeeeeeeeeees 191 STATus QUEStio
93. ctivates the GPS receiver Characteristics RST value OFF SCPI device specific SYSTem POSition GPS CONNected This command queries if the R amp S ZVH is currently connected to the GPS receiver Return values 0 no connection to a satellite 1 connection to a satellite established Example SYST POS GPS CONN Characteristics RST value SCPI device specific SYSTem POSition GPS CORRection FREQuency This command queries the frequency correction factor The R amp S ZVH calculates this factor from a reference signal provided by the GPS receiver R amp S HA Z240 The reference signal is used to determine the deviation of the internal clock of the instrument The deviation can be turned into a correction factor for the measured frequency Return values lt floating point value gt If the GPS receiver is inactive this query returns 0 Software Manual 1173 9005 12 05 161 R amp S ZVH Remote Control Commands Configuring the Instrument Example SYST POS GPS CORR FREQ Queries the frequency correction factor Characteristics RST value SCPI device specific SYSTem POSition GPS QUALity This command queries the quality of the GPS signal Return values INSufficient LOW MEDium HIGh EXCellent Example SYST POS GPS QUAL Characteristics RST value SCPI device specific SYSTem POSition GPS SATellites This command queries the number of tracked satellites Return values l
94. d about new application notes related to your instrument please send an e mail to the Customer Support Center stating your instrument and your wish We will take care that you will get the right information Europe Africa Middle East Phone 49 89 4129 12345 customersupport rohde schwarz com North America Phone 1 888 TEST RSA 1 888 837 8772 customer support rsa rohde schwarz com Latin America Phone 1 410 910 7988 customersupport la rohde schwarz com Asia Pacific Phone 65 65 13 04 88 customersupport asia rohde schwarz com China Phone 86 800 810 8228 86 400 650 5896 customersupport china rohde schwarz com ROHDE amp SCHWARZ 1171 0500 22 06 00 R amp S ZVH Table of Contents Table of Contents Documentation OVErVvView ccccccsseesseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeees 4 Conventions Used in the Documentation scsseeeesseseeeeeseeneees 5 1 MM de H e EEN 6 2 Interfaces and Protocols sissiisaicssssssccssicsdsetancnccassisniccssncsacawaasuessdentsicane 7 21 LAN INtGTl aCe nisge E AREE ARAA ASERS 8 2 2 USB Interface eege 8 2 3 Ge E 8 3 Setting Up the Remote Control Connection cccsceeeseeeeeeeeeeees 11 3 1 Preparing for Remote Control cccceeccesccesseeeesneeeneeeesenesesnaesnseeeeseesesseeseseeeenseeeees 11 4 Instrument Model and Command Processing sssssssseeeeeeeeeees 12 zt WT vie a eee ee A Se one oe pn eee pene ee oS ee 12 4 2 Command Recognition
95. d in the status registers and in the error queue The status registers and the error queue can be queried via Ethernet The information is of a hierarchical structure The register status byte STB defined in IEEE 488 2 and its associated mask register service request enable SRE form the uppermost level The STB receives its information from the standard event status register ESR which is also defined in IEEE 488 2 with the associated mask register standard event status enable ESE and registers STATus OPERation and STATus QUEStionable which are defined by SCPI and contain detailed information on the instrument The output buffer contains the messages the instrument returns to the controller It is not part of the status reporting system but determines the value of the MAV bit in the STB 7 9 1 Structure of an SCPI Status Register Each standard SCPI register consists of 5 parts which each have a width of 16 bits and have different functions The individual bits are independent of each other i e each hardware status is assigned a bit number that applies to all five parts For example bit 0 of the STATus OPERation register is assigned to the calibration status of the R amp S ZVH Bit 15 the most significant bit is set to zero for all parts Thus the contents of the register parts can be processed by the controller as positive integer 15 14 13 12 CONDition Par
96. d no query Example CALC DELT3 MAX Moves delta marker 3 to the maximum peak Characteristics RST value SCPI device specific CALCulate lt n gt DELTamarker lt m gt MAXimum NEXT This command positions a delta marker on the next smaller trace maximum If necessary the corresponding delta marker is activated first This command is an event and therefore has no RST value and no query Example CALC DELT2 MAX NEXT Moves delta marker 2 to the next smaller maximum peak Characteristics RST value SCPI device specific CALCulate lt n gt DELTamarker lt m gt MINimum PEAK This command positions a delta marker on the current trace minimum If necessary the corresponding delta marker is activated first This command is an event and therefore has no RST value and no query Software Manual 1173 9005 12 05 48 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer Example CALC DELT3 MIN Moves delta marker 3 to the trace minimum Characteristics RST value SCPI device specific CALCulate lt n gt DELTamarker lt m gt X lt Coordinate gt This command positions a delta marker on a particular coordinate on the horizontal axis Note that it is possible to place the marker outside the visible trace In that case this value is invalid If necessary the corresponding delta marker is activated first Parameter lt Coordinate gt Numeric valu
97. de gt This command the measurement domain frequency or time In the time domain CW and FlXed set the frequency with SENSe FREQuency CENTer lt Frequency gt In the frequency domain SWEep set it with SENSe FREQuency CENTer lt Frequency gt SENSe FREQuency SPAN lt Span gt SENSe FREQuency STARt lt StartFrequency gt SENSe FREQuency STOP lt StopFrequency gt Parameter lt OperationMode gt CW time domain span 0 FlXed time domain span 0 SWEep frequency domain span gt 0 WEE Software Manual 1173 9005 12 05 64 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer Example FREQ MODE SWE Activates frequency domain measurements Characteristics RST value SWEep SCPI conform SENSe FREQuency OFFSet lt FrequencyOffset gt This command defines a frequency offset Parameter lt FrequencyOffset gt Numeric value in the range from 100 GHz to 100 GHz Example FREQ OFFS 1GHZ Defines a frequency offset of 1 GHz Characteristics RST value 0 Hz SCPI conform SENSe FREQuency SPAN lt Span gt This command defines the frequency span If you set a span of 0 Hz in spectrum mode the R amp S ZVH starts a measurement in the time domain Parameter lt Span gt Numeric value in Hz The value range is specified in the data sheet Example FREQ SPAN 10MHz Defines a span of 10 MHz Characteristics RST v
98. e SCPI device specific WEEN Software Manual 1173 9005 12 05 148 R amp S ZVH Remote Control Commands Remote Commands of the Power Meter 7 5 4 2 Forward Power Display Note that the forward power is only available in conjunction with the R amp S ZVH Z14 or R amp S ZVH Z244 SENSe PMETer DETector FUNCtion lt PowerDisplay gt This command selects the forward power display of the power sensor Parameter lt PowerDisplay gt AVERage average power PENVelope peak envelope power Example PMET DET AVER Selects the Average weighting mode Characteristics RST value SCPI device specific 7 5 4 3 Reading Out Measurement Results FETCh lt z gt PMETer This command queries the results of measurements with the power sensor Return value The return values depend on the power sensor in use and the selected suffix at FETCh Measurements with R amp S ZVH Z1 or R amp S ZVH Z18 FETC1 PMET power in dBm FETC2 PMET n a Measurements with R amp S ZVH Z14 or R amp S ZVH Z44 FETC1 PMET forward power in dBm FETC2 PMET reflected power in dBm Example FETC2 PMET Returns nothing for R amp S ZVH Z1 R amp S ZVH Z18 and the reflected power for R amp S ZVH Z14 244 Characteristics RST value SCPI device specific ee Software Manual 1173 9005 12 05 149 R amp S ZVH Remote Control Commands Remote Commands of the Power Meter 7 5 4 4 Selecting a Standard These c
99. e INIT CONT OFF Turns on single sweep mode CALC MARK2 ON CALC MARK2 FUNC NOIS ON Turns on marker 2 and assigns the noise measurement to that marker INIT WAI CALC MARK2 NOIS RES Performs the measurement and queries the noise marker results Characteristics RST value SCPI device specific CALCulate MARKer lt m gt FUNCtion REFerence This command matches the reference level to the power level of a marker If you use a delta marker the R amp S ZVH turns it into a normal marker This command is an event and therefore has no RST value and no query Example CALC MARK1 FUNC REF Matches the reference level to the power level of marker 1 Characteristics RST value SCPI device specific Software Manual 1173 9005 12 05 92 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer 7 3 7 Using Display Lines and Limit Lines 7 3 7 1 Display Lines The following commands define the position of the display line The suffix lt n gt at CALCulate is irrelevant List of commands e CALCulate lt n gt DLINe lt Amplitude gt p 93 e CALCulate lt n gt DLINe STATe lt State gt p 93 CALCulate lt n gt DLINe lt Amplitude gt This command defines the position of a display line Parameter lt Amplitude gt Numeric value with a variable range and unit You can use any unit you want the R amp S ZVH then converts the unit to the currently selected unit If you
100. e and MATH selects the trace the command works on in CAT mode List of commands CALCulate MATH lt t gt COPY MEMory p 43 DISPlay WINDow TRACe lt t gt MEMory STATe lt State gt p 43 DISPlay WINDow TRACe lt t gt MODE lt TraceMode gt p 44 FORMat DATA lt DataFormat gt p 44 MEASurement ISUP lt State gt p 45 MEASurement ISUP APER lt Aperture gt p 45 TRACe lt t gt DATA p 46 UNIT LENGth lt Unit gt p 46 CALCulate MATH lt t gt COPY MEMory This command copies the current trace into the memory of the R amp S ZVH This command is an event and therefore has no query and no RST value Example CALC MATH COPY MEM Copies the trace into the memory Characteristics RST value SCPI device specific DISPlay WINDow TRACect gt MEMory STATe lt State gt This command turns the memory trace on and off Parameter lt State gt ON OFF Example DISP TRAC MEM ON Turns on the memory trace Characteristics RST value OFF SCPI device specific WEE Software Manual 1173 9005 12 05 43 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer DISPlay WINDow TRACe lt t gt MODE lt TraceMode gt This command selects the trace mode If you are using the average max hold or min hold trace mode you can set the number of measurements with SENSe SWEep COUNt lt SweepCount gt Note that synchronization to the end of the average co
101. e gt cccccccceeeeseceeeeeseeeeeseaeeeeeeeesaees 64 SENSe FREQuency OFFSet lt FrequencyOffset gt ccccceceeseeceeeeseeeeeesaeeeeeeesaees 65 SENSe FREQuency SPAN Gpan 32 SENSe FREQuency SPAN Gpan 65 SENSe FREQuency SPAN AUTO Gtate eee eeinesrnesrrssrrssinssrnssrnssrnssrnssrns 33 SENSe FREQuency SPAN AUTO lt State gt ccccccceececceeeeseeeeeeeeeseeeeeseaeeesaeeeeneeseaees 66 IGENZGe IFPREOuencv GPANTEULL 66 SENSe FREQuency STARt lt StartFrequency gt ccccccccccecseeeeeeeeceeeeeseeeeseaeeeeeeeesaees 33 SENSe FREQuency STARt lt StartFrequency gt cccccccccecseeeeeeeeceeeeeeeeeeseaeeeeeeeeeaees 66 SENSe FREQuency STOP lt StopFrequency gt ccccccccccceceeeceeseeseeeeeseeeeseaeeeeeessaees 34 SENSe FREQuency STOP lt StopFrequency gt ccccccccecceeseeceeseeseeeeeseeeeseaeeeeneessaees 67 SENSe PMETer DETector FUNCtion lt PowerDisplay gt ccccceeseeeeeseeeeereeeees 149 SENSe PMETer FREQuency Freouenmcx 145 SENSe PMETer MTIMe Mea Time 147 SENSe POWer ACHannel ACPairs Channelbairs eenen 109 SENSe POWer ACHannel BANDwidth ACHannel Bancdhwidt 109 SENSe POWer ACHannel BANDwidth ALTernate lt y gt lt Bandwidth gt 08 110 SENSe POWer ACHannel BANDwidth CHANnel lt Bandwidth gt 0 ceeeee 109 SENSe POWer ACHannel MODE lt PowerMode gt ssssesseseessessesrresrrrsrresrrrerrrsrree 110 IGENZGe IPOWer AC Hanne D
102. e gt This command creates a file Parameter lt File gt String containing the file name Example MMEM FILE TEST TXT Creates the file TEST TXT Characteristics RST value SCPI conform MMEMory FILE DATE lt FileName gt lt Date gt This command sets the date of a file Parameter lt FileName gt String containing the path and file name lt Date gt Numeric values indicating the date You have to enter the date as comma separated values after the string with the file name The sequence is year month day The available value range is 1980 2099 1 12 1 31 Example MMEM FILE DATE Public Screen Shots Screen0001 png 2006 04 01 Sets the date to April 1st 2006 WESSEN Software Manual 1173 9005 12 05 154 R amp S ZVH Remote Control Commands File Management MMEM FILE DATE Public Screen Shots Screen0001 png Returns the modification date of the file Screen0001 png Characteristics RST value SCPI conform MMEMory FILE TIME lt FileName gt lt Time gt This command sets the time of a file The sequence of entry is hour minute second Parameter lt FileName gt String containing the path and file name lt Time gt Numeric values indicating the time You have to enter the time as comma separated values after the string with the file name The sequence is hour minute second The available value range is 0 23 0 59 0 59
103. e that indicates the coordinate on the horizontal axis The range corresponds to the maximum span The unit depends on the measurement e g Hz for measurements in the frequency domain and seconds for measurements in the time domain Example CALC DELT MOD REL Delta marker positions are relative to marker 1 CALC DELT2 X 10 7MHz Positions delta marker 2 10 7 MHz to the right of marker 1 CALC DELT2 X CALC DELT2 X REL Queries the absolute and relative position of delta marker 2 Characteristics RST value SCPI device specific CALCulate lt n gt DELTamarker lt m gt X RELative lt Distance gt This command positions a delta marker on a position relative to the reference marker If necessary the corresponding delta marker is activated first Parameter lt Distance gt Numeric value that defines the distance of the marker to the reference marker Software Manual 1173 9005 12 05 49 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer The range depends on the current scaling of the horizontal axis The unit depends on the measurement e g Hz for measurements in the frequency domain and seconds for measurements in the time domain Example CALC DELT3 X REL 5 kHz Sets the delta marker at a distance of 5 kHz to the reference position Characteristics RST value SCPI device specific CALCulate lt n gt DELTamarker lt m gt Y Thi
104. ed description is provided only in the CAT commands section Availability of commands The cable and antenna test mode is implemented in the basic unit For the other modes the corresponding options are required Following the remote control commands required to perform specific measurements you will find a description of general commands used to set up and control basic instrument functions These commands are independent of the operating mode Therefore they are listed separately File Management on page 151 Making and Storing Screenshots on page 158 Configuring the Instrument on page 159 Remote Commands of the Status Reporting System on page 188 All chapters begin with a list of commands available in the context of that chapter Following that list you will find a detailed description of all commands All individual descriptions contain e the complete notation and syntax of the command e the description of the effects of the command e alist of all parameters available for that command or the type of data the command returns in case of query commands e anexample of how a program message would look like e the RST value e information on SCPI conformity An alphabetical list of all available commands is provided at the end of this manual WEE Software Manual 1173 9005 12 05 26 R amp S ZVH Remote Control Commands Common Commands 7 1 Common Commands The common commands are taken from the IEEE 488 2 IE
105. edune nasser eege Eege ESO eege EES 174 SYSTem POWer STATUS l eege gedet ege ES age EES AANRAAK 175 SYS Tem PRE SCs cisuitecctdercasstienracctiarsaasiusitaatedurtaaaduuns ARERR AERES 175 SYSTem PRESet CALibration DISCard lt State gt ccccccceeeseeceeeeeceeeeeeeeeeeneeseeeeeeas 60 SYSTem PRESCHFAC T OLY siisii icien iraniar aa 175 SYSTem PRESet MODE Mode 176 SYSTem PRESet USER lt PreSet gt cceccccceeeeeeeeeeeeceeeeeeaeeeeeeeseeeeeseaeeesaeeseeeseneees 176 SYSTem TIME lt i OS gien Cessange eege See Edge deed Aen 176 SYSTem TZONEe lt TimMeShift gt o oo eee cece cneeceeeeseeeeeeceaeeeeesaeeeeesaeeeesssaeeeessnaeeeeeeaas 177 SYSTem VERSION oaaao e egeen eenegen EE ee ee Eed 177 TRACe DATA lt DeStination gt ceecccecceeceeeeeeeeeeeeeeceeeeeaaeeeeaeeseeeeeseaeeesaeeeeeeeeneees 84 TRAC eG DATA sac errienta ei aaa aaa a a da aaa eain 132 TRACe lt t DATA TRACES dirien asane snaa ag die a aa aaraa 46 TRIGger SEQuence HOLDoff TIME lt TriggerDelay gt cscceeeeeeeeeeeeeteeeeneeteeeeees 41 TRIGger SEQuence HOLDoff TIME lt TriggerDelay gt scceeeceeeeteeeetteeeeeeeeeeeeees 79 TRIGger SEQuence LEVel VIDeo Tggoger evel 80 TRiIGger SEQuence SLOPe lt TriggerSlOpe gt c cccececeeeeeeeeeeeceeeeeseneeeseaeeeeaeeseenees 42 TRiIGger SEQuence SLOPe lt TriggerSlOpe gt c ccceccceeseeeeeneeceeeeeeeeeeseaeeeeeeseeeees 80 TRIGger SEQuence SOURCEe lt TriggerSOurce gt
106. eeeaeeeeeeeeeeeeeseaeeesaeeseeeeeeaees 130 DISPlay lt n gt REFLection Y SCALe lt DisplayRange gt ccccsceeeseseeeeseteeeeneeeeees 130 DISPlay lt n gt VSWR Y SCALe MAXimumM Topyalue 38 DISPlay lt n gt VSWR Y SCALe MINimum Bottomyalue ereere 37 DISPlay lt n gt ZOOM AREAJ STAT lt State gt 0 ccceecesceeeeceeeeeeeeeeeeeeeeseeeeseaeeseeeeeaees 135 Software Manual 1173 9005 12 05 195 R amp S ZVH Remote Control Commands Status Reporting System DISPlay lt n gt ZOOM FACTor lt ZoomFactor gt cccceesceceeeeeeeeeeeeeeceeeeeseeeesaeeseeeeeaees 136 DISPlay lt n gt ZOOM X Horzpht ce ceecceceeeeeeeeeeeeeeeceeeeeseaeeeeaaeeeeeeeseaeeesaeeseaeeeeaees 136 DISPlay lt n gt ZOOM2Y lt VerticalShift gt 2 2 ccecceceeeeeeeeeeeeeeeceaeeeeaeeseeeeeseaeeeseaeeeeeeeeaees 136 Ne ER RTE 149 FORMat BORDer lt ByteOrder gt ccceceeeeceeeeeeeeeeeeeeeeeeeeeceaeeesaaeseeeeeseaeeesaeeeeeeseenees 83 FORMat DATA lt DataFormat gt 0 ccccccecececeeeeeeeeeeeeeee scenes eeaeeesaaeeeeeeeseeeeesaeeeeeeeeeneees 44 FORMat DATA lt DataFormat gt 0 cccccceccceceeeeeceeeeeeneeseeeeeseaeeesaaeseeeeeseaeeesaeeseeeseeeees 85 HGCOP Yl IMMGd ate EE 158 INITiate CONTinuous lt SweepMode gt tenets ceeeeeeeaeseeeeeseaeeetaaeeeeeeeeenees 76 MNE ER Ee A E E E 75 INPut ANTenna MEASure Direction 124 INPut ANTenna STATe Giate nenn nenn 125 INPut ATTenuation Aitenuaion erences eeeaeeeeeeaeeeeeeaeeeeeeaeeeeee 3
107. eeeeeeeeeeeeeeeeeteneeees 82 DISPlay WINDow TRACec lt t gt Y SPACing lt Scaling gt ccccceeeeeeeeeeeeeeteeeeneeeeeeeees 68 DISPlay WINDow TRACect gt Y SCALe lt DisplayRange gt cccccceceeeeeeeereees 68 DISPlay WINDow TRACect gt Y SCALe ADUUSt eee eeeccececeeeeeeeeeeeee seer esses ereere nnne 35 DISPlay WINDow TRACect gt Y SCALe RLEVel PHeierencel eye 68 DISPlay WINDow TRACe lt t gt Y SCALe RLEVel OFFSet Otteet 69 DISPlay WINDow TRACe lt t gt Y SCALe RPOSition lt ReferencePosition gt 69 DISPlay WINDow TRACe lt t gt STATe lt State gt cceeccececeeeeeeeeeeeeeeeeeeeeeaeeeeneeeeneee 82 DISPlay lt n gt GDELay REFerence PHefalue 127 DISPlay lt n gt GDELay REFerence POSition lt RefPosition gt eseeeseesseeseeeseeereeer eene 127 DISPlay lt n gt GDELay Y SCALe lt DisplayRange gt cccccceececeeceeseeeeesteeeeeneeesaees 128 DISPlay lt n gt IMPedance REFerence POSition Jmpedamce eeren 135 DISPlay lt n gt PHASe REFerence lt RefValue gt c ccceecceceeeeeseeeeeeeeseeeeeeeaeeeeeeeeaees 128 DISPlay lt n gt PHASe REFerence POSition PHerbostion 129 DISPlay lt n gt PHASe UNWRap lt State gt ccceccceccceeeeneceeeeeceaeeeeaeeseeeeeseaeeesaeeseneeeeaees 129 DISPlay lt n gt PHASe Y SCALe lt DisplayRange gt cccccccceeeeeseceeeeseeeeeseaeeeeneeesaees 129 DISPlay lt n gt REFLection UNIT lt Unit gt 0 ccccecceeceeeeeeeeeeeee
108. eeeeeeeeeeeseaesesaeeenseeeeeeeeesnaesnneeneneeees 159 78 1 Mode Selection isnin ei ete iad iene ele ae 159 7 8 2 Controlling the GPS Heceiver 160 7 8 3 Display Configuration cccccccccceeseeceeeeeceeeeeeaeeeeaaeseeeeeeeaeeesaaeeeeaeeseeeeessaeeesaeeseeeenaes 164 78 4 Audio Ee e EE 165 7 8 5 Setting up a Network Connection cceccceceeeeeeeeeeeeeeeceeeeecaeeseaeeseeeeeseaeeeseaeeseeeeeaes 166 7 8 6 System SettiNgS ssc as een cei eee i et eee 169 7 9 Status Reporting System ccccscccsseeeseeeeeseeesseeeseeeeseeeeseeeseseeeenseeesseesessaeseseenensnaes 178 7 9 1 Structure of an SCPI Status Register ccccecececeeeeeceeeeeeeaeeeeeeeseeeeeseeeesaeeseeeeeaes 178 7 9 2 Overview of the Status Register ccccecccecseeeeeseceeeeeceeeeeeaeeeeaeeseeeeeseeessaeeseaeeeeaes 180 7 9 3 Status Byte STB amp Service Request Enable Register SRE seseenseeereee 181 7 9 4 Event Status Register ESR and Event Status Enable Register ESE 00 00 182 7 9 5 Application of the Status Reporting Systems c cceceeeeeeeeeeeeseeeeeseeeesaeeseneeeeaes 185 7 9 6 Reset Values of the Status Reporting System c cceccceeeeeeeeeceeeeeeeeeeeseaeeseneeeeaes 187 7 9 7 Remote Commands of the Status Reporting Guvsiem 188 Alphabetical List of Remote Commands ccccsssseeesseseeneeees 193 pel he E ee re ee em eee a re 203 eee Software Manual 1173 9005 12 05 3 R amp S ZVH Doc
109. eeeeeeeseaees 99 SENSe CHANnel TABLe SELect Channel able 99 SENSe CORRection TRANsducer lt c gt SELect Transducertactor 71 IGENZGe ICGObechon TPHANSducer ce UNITN 72 SENSe CORRection TRANsducer lt cs STATe lt State gt ccceeeeceseeeeeseeeeeneeeeiees 71 SENSe CORRection TRANsducer lt t gt ISOTropic STAT cccceeeseeeeseeeeereeeees 125 SENSe DETector lt t gt FUNCtion lt DeteCtOr gt eceeececeeeeeeeeeeeeeeeeeeeeteaeeesaeeeeneeesaees 83 SENSe DETector lt t gt FUNCtion AUTO lt State gt ccceccccceeceeeeceeeeeseeeesaeeseneeeeaees 84 SENSe ESPectrum PRESet SETTings ONCE 123 SENSe ESPectrum PRESet STANdard lt Standard gt ccccceeeeeecseeeeeeeeseeeeeees 123 SENSe FREQuency CENTer lt Frequency gt ccccecceseeeeeceeeeeeneeseeeeeseaeeesaeeeeneeesaees 31 SENSe FREQuency CENTer lt Frequency gt cceeccececeeeeeeeeeeaeeseeeeeseaeeesaeeeeneeseaees 63 SENSe FREQuency CENTer STEP lt StepSize gt ceccccceeeeeseeceeeeeseeeeenaeeeeeeeeaees 32 SENSe FREQuency CENTer STEP lt StepSize gt cceccccceeeeeeeeeeeeeteeeeeenaeeeeeeeeeaees 63 SENSe FREQuency CENTer STEP LINK lt StepSizeCoupling gt cccccceeeeeeees 32 SENSe FREQuency CENTer STEP LINK lt StepSizeCoupling gt seeeeeeeeeeee 63 SENSe FREQuency INPut MODE lt lnputMode gt sssssseseesrssiresrresirssrrssrrssrresrrssrns 64 SENSe FREQuency MODE lt OperationMod
110. eeeeieeeeieriesieererireinnrrnernereenes 137 occupied bandwidth Eegen Seed EE EE 101 Measurement Control 41 Measurement Tomat 140 Measurement results cccccccccccesssscceceeeessseeeeeeeeeesaes 104 Measurement time POWEF SCNSOM ce ccecceeseceseeesseeceeesseeseeesseeceeesseesseeeeaes M tte aC Evonne anudes aidai Modernes ane eE E E EE fe Ee WEE VE Noise measurement Occupied bandwidth le e Huele EE Option Reference impedance AAA 135 Reference level adjustment power meter Reference level offset AAA 69 Reference Doelton 69 ee ER 35 ele 127 magnitude ONE Reference value ee EE group dean IAG te EE phase EE power meter Resolution bandwidth Restoring eeeeeeeees EC Te TEE ETC Cable tests delay tiMe EE electrical length power meter SAVING vse cescccaecacgscvesiiestercaanendeleteatiereazibeeciieittcaitene eagles Sale adjUSt ornina EE eta e le EE Slope tigge EE Smith chart Standard compliance check 103 Standard selection cccccccccccecssssseeeeeeessssseeeeees 102 123 Start MEQuenCy ET 33 66 Start MEAaSureMe Nts ites 75 Stop frequency Sweep court Sweep mode SWEEP POINTS iiser i BEEN RdSEEEEE SWOOP E TDMA burst engt 108 TDMA meaeurement 107 Time domain Trace math Trach MOMONY ET RR ene TEE Trace read Out erissa inn eA i Trace selection Tracking generator Transducer
111. eereeceaeeeeaaeeeeeeeseeeesaeeeeaeeseeeeesaas 43 CALCulate PMETer PRESet SELect Giandard 150 CALCulate PMETer PRESet STATe lt State gt cccecececeeeeeeeeeeeeeeeceeeeeseaeeeeneeseeneees 150 CALCulate PMETer RELative MAGNitude Hei alue 146 CALCulate PMETer RELative MAGNitude AUTO ONCE seess 146 CALCulate PMETer RELative MAGNitude OFFSet lt Offset gt ccceeeeeeeeereees 146 CAL CulateTbRACeCAblelENGihREGu ease 140 CALCulate TRACe CABLe LENGth STATe lt State gt 0 00 eeceeeeeeeeeeeseeeeteneeeneees 140 CAL CulateTbRACeCAble iMEREGu ceeeseseaeeeeeeeeeeeeeananeees 141 CALCulate TRACe CABLe TIME STATe Gtate 141 CALCulate VVMeter MAGNitude REFerence ccccccccccecececceessceeeeeeceseesseanaa ease 143 CALCulate VVMeter MAGNitude RESult oo ccc cc cece cece ecessseeaeeeeeeeseeeeeananeees 143 CALCulate VVMeter PHASe REFerence ooo cccecccececccees sees eececeeeeseeaueeeeeeeeeseeananeees 143 CAL CulatevVVMeierbHAGebtGuhy 144 CALCulate VVMeter REFerence STATe lt State gt 0 ccccceeeeeeeeeeeeeeeeeseeeeteneeseneeees 144 CAL Culate n DELTamarker mzAOEF 48 CAL Culate n DEL Tamarker mzMAximum NENT 48 CALCulate lt n gt DELTamarker lt m gt MAXimum PEAK cesceeeeeeeeeeeeeeeeeeeeeteeeeeees 48 CALCulate lt n gt DELTamarker lt m gt MINimum PEAK sccceeceeeeeeeeeeeeeeeeeeeeeeeeees 48 CALCulate lt n gt DELTamarker lt m gt X lt Coordinate gt 0 ccccccccececcee
112. efore no RST value Parameter lt Command gt String containing the command you want to query Example SYST HELP SYNT SYST ERR Returns the full syntax In this case SySTem ERRor NEXT Software Manual 1173 9005 12 05 173 R amp S ZVH Remote Control Commands Configuring the Instrument Characteristics RST value SCPI device specific SYSTem LANGuage lt Language gt This command sets the language of the R amp S ZVH user interface You can query a list of available languages with SySTem LANGuage CATalog Parameter lt Language gt string containing the language Example SYST LANG english Sets the system language to English Characteristics RST value SCPI conform SYSTem LANGuage CATalog This command lists all languages available for the user interface This command is a query and therefore no RST value Example SYST LANG CAT Characteristics RST value SCPI device specific SYSTem POWer SOURce This command queries the current R amp S ZVH power source This command is a query and therefore has no RST value Return values ADAP R amp S ZVH is powered by the AC power supply BATT R amp S ZVH is powered by the battery Example SYST POW SOUR Characteristics RST value SCPI conform WEE Software Manual 1173 9005 12 05 174 R amp S ZVH Remote Control Commands Configuring the Instrument SYSTem POWer STATus This command queries the rem
113. emote commands take effect only if a power sensor is connected 7 5 1 Setting the Frequency The following chapter describes commands necessary to define frequency settings List of commands e SENSe PMETer FREQuency lt Frequency gt p 145 SENSe PMETer FREQuency lt Frequency gt This command sets the frequency of the power sensor Parameter lt Frequency gt Numeric value in Hz The available value range is specified in the data sheet Example PMET FREQ 500 MHZ Sets the power sensor s frequency to 500 MHz Characteristics RST value SCPI device specific 7 5 2 Configuring Power Level Readout The following chapter describes commands that configure the power level readout List of commands CALCulate PMETer RELative MAGNitude lt RefValue gt p 146 CALCulate PMETer RELative MAGNitude AUTO p 146 CALCulate PMETer RELative MAGNitude OFFSet lt Offset gt p 146 UNIT lt z gt PMETer POWer lt Unit gt p 147 Software Manual 1173 9005 12 05 145 R amp S ZVH Remote Control Commands Remote Commands of the Power Meter CALCulate PMETer RELative MAGNitude lt RefValue gt This command sets the reference value for relative measurements Parameter lt RefValue gt Numeric value in dBm Example CALC PMET REL 30 The the reference value to 30 dBm Characteristics RST value SCPI device specific CALCulate PMETer RELative MAGNitude AUTO ONCE This com
114. er lt m gt MINimum PEAK p 52 CALCulate lt n gt MARKer lt m gt X lt Coordinate gt p 52 CALCulate lt n gt MARKer lt m gt X SLIMits STATe lt State gt p 53 CALCulate lt n gt MARKer lt m gt X SLIMits LEFT lt SearchLimit gt p 53 CALCulate lt n gt MARKer lt m gt X SLIMits RIGHt lt Searchlimit gt p 54 CALCulate lt n gt MARKer lt m gt Y p 54 For a detailed description of all commands not included here refer to Using Markers in CAT mode Marker Functions The following commands perform various kinds of analysis at the marker position The suffix lt m gt at MARKer is irrelevant except where noted List of commands CALCulate MARKer lt m gt COUNt FREQuency p 87 CALCulate MARKer lt m gt COUNt STATe lt State gt p 87 CALCulate MARKer lt m gt FREQuency MODE lt InputMode gt p 88 CALCulate MARKer lt m gt FUNCtion CENTer p 88 CALCulate MARKer lt m gt FUNCtion DEModulation STATe lt State gt p 88 CALCulate MARKer lt m gt FUNCtion DEModulation HOLDoff lt Time gt p 89 CALCulate MARKer lt m gt FUNCtion DEModulation SELect lt Demodulation gt p 89 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer CALCulate MARKer lt m gt FUNCtion NDBDown lt Distance gt p 90 CALCulate MARKer lt m gt FUNCtion NDBDown FREQuency p 90 CALCulate MARKer lt m gt FUNCtion NDBDown RESult p 90 CALCulate MARKer lt m gt FUNCtion NDBDown STATe lt State gt
115. eseeseeeseseeeeeeeaeen ease 49 CALCulate lt n gt DELTamarker lt m gt X RELative lt Distances 0 0 cccccccceeececeeeeeeeeeee ees 49 CALCulate lt n gt DELTamarker lt ms Y ou cccccececcccccceeeeeeecececeseaeeeeeeeeeseueeaueeseeeeeeueeananeees 50 CALCulate lt n gt DELTamarker lt m gt STATe Gtaie esenee neer rer reenen 47 CALCulate lt n gt DLINe lt AMplitude gt nenn nenn nenn 93 CALCulate lt n gt DLINe STATe lt State gt oo ccccccceccecceeceseseee eee eeseesseaueeseseeseeeeaneneees 93 CALCulate lt n gt LIMit lt k gt BEEP STATe Gate 94 CAL Culate n LUlMi t zk CGOMMent 94 CALCulate lt n gt LIMit lt k gt DEFiIne oo ccc cece ec ccecce cece cececeesseaeee ease seeseueeaueesesesseseeaneneess 95 CAL Culate n LUlMi t zk DE lere ce cc ccccccce sees eeceeeesseseee ease eeeseueeaueeeeeeeeeeeananeees 96 CAL Culate n LUIM zks EA 96 CALCulate lt n gt LIMit lt k gt LOWer SELect mit mes 96 CALCulate lt n gt LIMit lt k gt STATe lt State gt o ciccccccccecccccsceseeeececeeseuseaueeeeeeeseseeananeees 97 CALCulate lt n gt LlMitek gt UNITA 97 CAL CGulate nLUIMn k UNTTTEWIN 97 CALCulate lt n gt LIMit lt k gt UPPer SELect mn ines 98 CALCulate lt n gt MARKer lt m gt AOFF 0 cccccccececccccsceeeeececeseceseaueaeeseeeeseuaeaueeueeeeeesseananeess 51 CALCulate lt n gt MARKer lt m gt FUNCtion HARMonics DISTortion Total 120 CAL Culate n MAbker m FUNGConcHAbMontce ler 120 CALCulate lt n gt MARKer lt m gt FUNCtion HARMo
116. estion mark to the associated setting command According to SCPI the responses to queries are partly subject to stricter rules than in standard IEEE 488 2 e The requested parameter is transmitted without header Example INPut COUPling Response DC e Maximum values minimum values and all further quantities which are requested via a special text parameter are returned as numerical values Example SENSe FREQuency STOP MAX Response 3 559 e Numerical values are output without a unit Physical quantities are referred to the basic units or to the units set using the Unit command Example SENSe FREQuency CENTer Response 156 for 1 MHz e Truth values lt Boolean values gt are returned as 0 for OFF and 1 for ON Example SENSe BANDwidth AUTO Response 1 for ON e Text character data is returned in a short form Example SYSTem COMMunicate SERial CONTrol RTS Response STAN for standard Software Manual 1173 9005 12 05 24 R amp S ZVH Command Sequence and Command Synchronization ee Responses to Queries 6 Command Sequence and Command synchronization What has been said above makes clear that all commands can potentially be carried out overlapping In order to prevent an overlapping execution of commands one of the commands OPC OPC or WAI must be used All three commands cause a certain action only to be carried out after the hardware has been set By suitable
117. et a logarithmic scaling before you can use this command with DISPlay lt n gt MAGNitude Y SPACing lt Scaling gt Parameter lt DisplayRange gt Numeric value in the range from 1 dB to 150 dB The number you enter is rounded up to the next possible display range For example if you enter 9 the R amp S ZVH automatically sets the display range to 10 Example DISP MAGN Y SCAL 50 DB Defines a display range of 50 dB Characteristics RST value 100 dB SCPI device specific DISPlay MAGNitude Y SPACing lt Scaling gt This command selects the scaling of the vertical axis for the magnitude measurement format Parameter lt Scaling gt LOGarithmic logarithmic scaling dB LINear linear scaling Example DISP MAGN Y SPAC LIN Selects linear scaling Characteristics RST value LOGarithmic SCPI device specific DISPlay lt n gt VSWR Y SCALe MINimum lt BottomValue gt This command defines the bottom value of the vertical axis for the VSWR measurement format Parameter lt BottomValue gt Numeric value in the range from 1 0 to 70 Software Manual 1173 9005 12 05 37 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer Example DISP VSWR Y SCAL MIN 3 Defines a bottom value of 3 for the vertical axis Characteristics RST value 1 0 SCPI device specific DISPlay lt n gt VSWR Y SCALe MAXimum lt TopValue gt This command defines the top value of the vertical axis for
118. etting the instrument hardware Setting commands lead to an alteration in the data set The data set management enters the new values e g frequency into the data set however only passes them on to the hardware when requested by the command recognition This only takes place at the end of a program message The data are checked for compatibility with the current instrument settings before they are transmitted to the instrument hardware If the execution is not possible an execution error is signaled to the status reporting system The corresponding settings are discarded Before passing on the data to the hardware the settling bit in the STATus OPERation register is set refer to section STATus OPERation Register The hardware executes the settings and resets the bit again as soon as the new state has settled This fact can be used to synchronize command servicing Queries induce the data set management to send the desired data to the output unit WEEN Software Manual 1173 9005 12 05 13 R amp S ZVH Instrument Model and Command Processing eee Status Reporting System 4 4 Status Reporting System For detailed information refer to section Status Reporting System 4 5 Output Unit The output unit collects the information requested by the controller which it receives from the data base management It processes it according to the SCPI rules and makes it available in the output buffer If the instrument is addressed as
119. ettings defined by the standard selected with CALCulate MARKer FUNCtion POWer PRESet lt Standard gt Note that the command only checks those parameters that are defined by the standard This command is a query and therefore has no RST value Return value 0 R amp S ZVH settings violate a standard configuration 1 R amp S ZVH setting comply with the standard Example CALC MARK FUNC POW PRES CHEC Queries compliance to the standard currently in use Characteristics RST value SCPI device specific CALCulate MARKer FUNCtion LEVel ONCE This command adjusts the reference level to the measured signal power This automatic routine makes sure that the that the signal power level does not overload the R amp S ZVH or limit the dynamic range by too small a S N ratio To determine the best reference level the R amp S ZVH aborts current measurements and performs a series of test sweeps After it has finished the test it continues with the actual measurement This command is an event and therefore has no RST value and no query Example CALC MARK FUNC LEV ONCE Initiates an automatic level adjust routine Characteristics RST value SCPI device specific Software Manual 1173 9005 12 05 103 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer CALCulate MARKer FUNCtion POWer RESult lt Measurement gt This command queries the results of
120. f all channels RELative shows the power of adjacent and alternate channels in relation to the transmission channel Example POW ACH MODE ABS Shows absolute powers for all channels Characteristics RST value SCPI device specific Software Manual 1173 9005 12 05 110 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer SENSe POWer ACHannel PRESet RLEVel This command adjusts the reference level to the measured signal power This automatic routine makes sure that the that the signal power level does not overload the R amp S ZVH or limit the dynamic range by too small a S N ratio To determine the best reference level the R amp S ZVH aborts current measurements and performs a series of test sweeps After it has finished the test it continues with the actual measurement This command is an event and therefore has no RST value and no query Example POW ACH PRES RLEV Initiates an ACP measurement and adjusts the reference level Characteristics RST value SCPI device specific SENSe POWer ACHannel REFerence TXCHannel AUTO lt RefChannel gt This command automatically selects a reference channel for relative ACLR measurements The number of transmission channels and adjacent alternate channels has to be greater than 0 for the command to work Parameter lt RefChannel gt MINimum transmission power with the lowest power MAXimum transmission channel w
121. for the transmission of large amounts of data A command using a block data parameter has the following structure Example HEADer HEADer 45168xxxxxxxx ASCII character introduces the data block The next number indicates how many of the following digits describe the length of the data block In the example the 4 following digits indicate the length to be 5168 bytes The data bytes follow During the transmission of these data bytes all end or other control signs are ignored until all bytes are transmitted WEE Software Manual 1173 9005 12 05 22 R amp S ZVH SCPI Command Structure and Syntax eee ess Structure of a Program Message 5 3 Structure of a Program Message A program message may consist of one or several commands It is terminated by the program message terminator which is the NL New Line charcter for LAN and USB connections Several commands in a program message must be separated by a semicolon If the next command belongs to a different command system the semicolon is followed by a colon A colon at the beginning of a command marks the root node of the command tree Example CALL InstrWrite analyzer SENSe FREQuency CENTer 100MHz INPut ATTenuation 10 This program message contains two commands The first one is part of the SENSe command system and is used to determine the center frequency of the instrument The second one is part of the INPut command system and sets the input signal
122. ftware Manual 1173 9005 12 05 11 R amp S ZVH Instrument Model and Command Processing aS Input Unit 4 Instrument Model and Command Processing The block diagram in Fig 1 2 shows how SCPI commands are serviced in the instrument The individual components work independently and simultaneously They communicate with each other by means of so called messages USB interface Input unit with Ethernet input buffer Command recognition Instrument settings database Status reporting system Oo gt o gt Instrument hardware USB interface Output unit with Ethernet output buffer Figure 4 1 Instrument model in the case of remote control 4 1 Input Unit The input unit receives commands character by character from the controller and collects them in the input buffer The input unit sends a message to the command recognition as soon as the input buffer is full or as soon as it receives a delimiter lt PROGRAM MESSAGE TERMINATORs as defined in IEEE 488 2 or the interface message DCL If the input buffer is full the traffic is stopped and the data received up to then are processed Subsequently the traffic is continued If however the buffer is not yet full when receiving the delimiter the input unit can already receive the next command during command recognition and execution The receipt of DCL clears the input buffer and immediately resets
123. g containing the file name of the cable model Example CALC DTF CAB PRES HLFR CBLMOD Selects the cable model from the file HLFR CBLMOD Characteristics RST value SCPI device specific 7 2 8 3 Selecting the Measurement Mode The following commands select the measurement mode in CAT mode List of commands e MEASurement lt n gt MODE lt MeasMode gt p 57 MEASurement MODE lt MeasMode gt This command selects the measurement mode for cable measurements Parameter lt MeasMode gt REFLection Reflection S11 measurement DTFault Distance to fault measurement LOSS Cable loss measurement TRANsmission Transmission S21 measurement option R amp S ZVH K39 Example MEAS MODE LOSS Activates cable loss measurement WEE Software Manual 1173 9005 12 05 57 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer Characteristics RST value REFLection SCPI device specific 7 2 8 4 Selecting the Measurement Format The following commands select the measurement format in CAT mode List of commands e MEASurement lt n gt FORMat lt MeasFormat gt p 58 MEASurement lt n gt FORMat lt MeasFormat gt This command selects the measurement format Note For transmission measurements only the Magnitude Phase Magnitude Phase and GDelay formats are available Parameter LOSS cable loss format MAGNitude magnitude format REFLection reflection coefficient format
124. gister sum bit The bit is set if an EVEN bit is set in the OPERation status register and the associated ENABIle bit is set to 1 A set bit indicates that the instrument is just performing an action The type of action can be determined by polling the OPERation status register Software Manual 1173 9005 12 05 181 R amp S ZVH Remote Control Commands Status Reporting System 7 9 4 Event Status Register ESR and Event Status Enable Register ESE The ESR is defined in IEEE 488 2 It can be compared with the EVEN part of a SCPI register The event status register can be read out using command ESR The ESE is the associated ENABle part It can be set using the command ESE and read using the command ESE Table 7 2 Meaning of the bits in the event status register Operation Complete This bit is set on receipt of the command OPC exactly when all previous commands have been executed Query Error This bit is set if either the controller wants to read data from the instrument without having sent a query or if it does not fetch requested data and sends new instructions to the instrument instead The cause is often a query which is faulty and hence cannot be executed Device dependent Error This bit is set if a device dependent error occurs An error message with a number between 300 and 399 or a positive error number which denotes the error in greater detail is entered into the error queue Execution Error This bit is
125. gt ABSolute STATe lt State gt 0 118 CALCulate LIMit lt k gt ACPower ALTernate lt y gt RESuIt eeceeesseeeeeeeeeeeeeneeeeeeeees 119 CALCulate LIMit lt k gt ACPower ALTernate lt y gt RELative Um 117 CALCulate LIMit lt k gt ACPower ALTernate lt y gt RELative STATe Gtate 117 CALCulate LIMit lt k gt ACPower STATe lt State gt cecccccceeeeseeeeeeeeeeeeeestaeeseneeeeeeees 114 CAL CulateMAbkertllNCuonLEVelOkNCk 103 CALCulate MARKer FUNCtion POWer PRESet lt Standard gt cccccccccceeeeeeeeeeees 102 CAL CulateMAbkertUlNGCuonbOwWer bt GercCHECkH 103 CALCulate MARKer FUNCtion POWer RESult lt Measurement gt seeren 104 CALCulate MARKer FUNCtion POWer SELect lt Measurement gt cccccceeeeeeeees 101 CALCulate MARKer FUNCtion POWer STATe lt State gt cececeeeteeesseeeeeneeteeeeees 102 CALCulate MARKer lt m gt COUNt FREQUENCY 0 ccceccceceeeeeeeeeeeeeeeseeeeesaeeeeaaeseeeeeeaas 87 CALCulate MARKer lt m gt COUNT STATe lt State gt 0 c ceceeeeeeceeneeeeeeeeeeaeeeeeeeeeeeeeas 87 CALCulate MARKer lt m gt FREQuency MODE JnputMode 88 CAL CulateMAbker m FUNG onCENTer 88 CALCulate MARKer lt m gt FUNCtion C POWer BANDwidth Bandwidth 105 CALCulate MARKer lt m gt FUNCtion C POWer MODE lt DisplayMode gt n a sscsieeseeen 106 CALCulate MARKer lt m gt FUNCtion CPOWer UNIT nt 106 CALCulate MARKer lt m gt FUNCtion DEModulation HOLDoff Time 89 CALCulate MARKer lt
126. gth of the trigger delay Parameter lt TriggerDelay gt Numeric value in the range from 0 s to 100 s WEEN Software Manual 1173 9005 12 05 41 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer Example TRIG HOLD 500us Defines a trigger delay of 500 us Characteristics RST value 0s SCPI conform TRiIGger SEQuence SLOPe lt TriggerSlope gt This command selects the slope of the trigger signal The trigger slope affects all trigger sources Parameter lt TriggerSlope gt POSitive NEGative Example TRIG SLOP NEG Selects a negative trigger slope Characteristics RST value POSitive SCPI conform TRiIGger SEQuence SOURce lt TriggerSource gt This command selects the trigger source that initiates a measurement Parameter lt TriggerSource gt IMMediate Free Run EXTernal External trigger For more information see R amp S ZVH operating manual chapter Setting the Sweep Example TRIG SOUR EXT Selects the external trigger input as source of the trigger signal Characteristics RST value IMMediate SCPI conform WEEN Software Manual 1173 9005 12 05 42 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer 7 2 5 Working with Traces The following commands set up the trace and the various functions associated with it e g trace mathematics or the selection of the detector The suffix lt t gt at TRAC
127. h PCT lt OBW gt p 107 Software Manual 1173 9005 12 05 106 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer CALCulate MARKer lt m gt FUNCtion OBANdwidth BANDwidth lt Bandwidth gt This command defines the channel bandwidth for occupied bandwidth measurements Instead of OBANwidth you can also use the alias OBWidth Parameter lt Bandwidth Numeric value in Hz Example CALC MARK FUNC OBW BAND 1 MHZ Sets the channel bandwidth to 1 MHz Characteristics RST value 3 84 MHz SCPI device specific CALCulate MARKer lt m gt FUNCtion OBANdwidth BANDwidth PCT lt OBW gt This command defines the percentage of the total power that defines the occupied bandwidth Instead of OBANwidth you can also use the alias OBWidth Parameter lt Percentage gt Numeric value in the range from 10 to 99 9 Example CALC MARK FUNC OBW BAND PCT 95 Sets the power percentage to 95 Characteristics RST value 99 SCPI device specific 7 3 8 5 TDMA Measurements The following commands configure TDMA measurements To perform the actual measurement use the commands described in section Performing and Triggering Measurements The suffix lt m gt at MARKer is irrelevant List of commands e CALCulate MARKer lt m gt FUNCtion TDMA BURSt lt BurstLength gt p 108 Software Manual 1173 9005 12 05 107 Remote Commands of the Spectrum Analyzer CALCulate MARKer lt m gt FUNCtion TD
128. hannel bandwidth for these channels the R amp S ZVH sets the bandwidth of the alternate channels to the same value Instead of BANDwidth you can also use the alias BWIDth Parameter lt Bandwidth gt Numeric value in Hz Example See SENSe POWer ACHannel TXCHannel COUNt lt TxChannels gt WEEN Software Manual 1173 9005 12 05 109 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer Characteristics RST value 14 kHz SCPI device specific SENSe POWer ACHannel BANDwidth ALTernate lt y gt lt Bandwidth gt This command defines the bandwidth of the alternate channels If you set the channel bandwidth for the first alternate channel the R amp S ZVH sets the bandwidth of the other alternate channels to the same value The command works hierarchically to set a bandwidth of the 10th and 8th channel you have to set the bandwidth of the 8th channel first Instead of BANDwidth you can also use the alias BWIDth Parameter lt Bandwidth gt Numeric value in Hz Example See SENSe POWer ACHannel TXCHannel COUNt lt TxChannels gt Characteristics RST value 14 kHz SCPI device specific SENSe POWer ACHannel MODE lt PowerMode gt This command selects the way the R amp S ZVH displays the power of adjacent channels The number of adjacent and alternate channels has to be greater than 0 for the command to work Parameter lt PowerMode gt ABSolute shows the absolute power o
129. he Vertical Axis in CAT mode and Configuring the Vertical Axis in spectrum mode DISPlay lt n gt GDELay REFerence lt RefValue gt DISPlay lt n gt GDELay REFerence POSition lt RefPosition gt This command sets the reference value for the group delay measurement format Parameter lt RefValue gt Numeric value in the range from 1 ns to 1000 ns Example DISP GDEL REF 20 Sets the reference level to 20 nanoseconds Characteristics RST value 0 ns SCPI device specific This command defines the position of the reference value on the display for the group delay measurement format Each step shifts the reference position one grid line up or down R amp S ZVH Remote Control Commands Remote Commands of the Network Analyzer Mode Parameter lt RefPosition gt Numeric value in the range from 0 to 10 Example DISP GDEL REF POS 1 Sets the reference to the first grid line from the bottom Characteristics RST value 5 SCPI device specific DISPlay lt n gt GDELay Y SCALe lt DisplayRange gt This command defines the display range of the vertical axis for the group delay measurement format Parameter lt DisplayRange gt Numeric value in the range from 10 ns to 100000 ns The number you enter is rounded up to the next possible display range For example if you enter 9 the R amp S ZVH automatically sets
130. ic value in the range from 0 to 1 Example SYST BEEP EEN MOL 0 10 Sets of keyboard clicking volume to 10 Characteristics RST value 0 3 830 SCPI conform 7 8 5 Setting up a Network Connection This chapter describes all commands that are used if the R amp S ZVH is part of a network List of commands SYSTem COMMunicate LAN ETHernet p 167 SYSTem COMMunicate LAN GATeway lt Gateway gt p 167 SYSTem COMMunicate LAN SUBMask lt SubnetMask gt p 167 SYSTem COMMunicate SOCKet ADDRess lt IPAddress gt p 167 SYSTem COMMunicate SOCKet DHCP STATe lt State gt p 168 SYSTem COMMunicate SOCKet PORT lt Port gt p 168 IR Software Manual 1173 9005 12 05 166 R amp S ZVH Remote Control Commands Configuring the Instrument SYSTem COMMunicate LAN ETHernet This command queries the MAC address of the R amp S ZVH This command is a query and therefore has no RST value Example SYST COMM LAN ETH Returns the MAC address Characteristics RST value SCPI device specific SYSTem COMMunicate LAN GATeway lt Gateway gt This command sets the gateway in the LAN Parameter lt Gateway gt String containing the identifier of the gateway Characteristics RST value SCPI device specific SYSTem COMMunicate LAN SUBMask lt SubnetMask gt This command sets the subnet mask of the R amp S ZVH Parameter lt SubnetMask gt String containing the subnet mask x x x x
131. ith the command RST and then implement the required settings 2 1 LAN Interface To be integrated in a LAN the instrument is equipped with a standard LAN interface consisting of a connector a network interface and protocols VXI 11 Instrument access via VXI 11 is usually achieved from high level programming platforms by using VISA as an intermediate abstraction layer VISA encapsulates the low level VXI 11 LAN or USB function calls and thus makes the transport interface transparent for the user The necessary VISA library is available as a separate product For details contact your local R amp S sales representative 2 2 USB Interface For remote control via the USB connection the PC and the instrument must be connected via the USB interface The required driver comes with the R amp S ZVHView software package and is automatically installed on the PC with the software package The driver adresses the instrument via the USB interface with the fix IP address 172 16 10 10 In addition a remote control connection via the SCPI interface requires the VISA library to be installed on the PC 2 3 Protocols VXI 11 Basics The VXI 11 standard is based on the ONC RPC protocol which in turn relies on TCP IP as the network transport layer The TCP IP network protocol and the associated network services are preconfigured TCP IP ensures connection oriented communication where the order of the exchanged messages is adhered to and interru
132. ith the highest power LHIGest lowest transmission channel for lower adjacent channels and highest transmission channel for upper adjacent channels Example POW ACH REF TXCH AUTO MIN Sets the TX channel with the lowest power as reference channel Characteristics RST value SCPI device specific SENSe POWer ACHannel REFerence TXCHannel MANual lt RefChannel gt This command defines a reference channel for relative ACLR measurements The number of transmission channels and adjacent alternate channels has to be greater than 0 for the command to work Software Manual 1173 9005 12 05 111 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer Parameter lt RefChannel gt Numeric value from 1 to 12 The actual value range depends on the number of active transmission channels Example See SENSe POWer ACHannel TXCHannel COUNt lt TxChannels gt Characteristics RST value 1 SCPI device specific SENSe POWer ACHannel SPACing ACHannel lt Spacing gt This command defines the spacing between the transmission channel and its adjacent channel A change of the adjacent channel spacing causes a change in the spacing of all alternate channels above the adjacent channel Parameter lt Spacing gt Numeric value in Hz Example See SENSe POWer ACHannel TXCHannel COUNt lt TxChannels gt Characteristics RST value 14 kHz SCPI device specific SENSe POWer ACHannel
133. l TXCHannel COUNt lt TxChannels gt This command defines the number of transmission channels The command is available for measurements with span gt 0 Parameter lt TxChannels gt Numeric value from 1 to 12 Example CALC MARK FUNC POW SEL CPOW Selects the channel power measurement POW ACH TXCH COUN 2 Defines 2 transmission channels POW ACH ACP 2 Defines 2 pairs of neighboring channels to the left and right of the TX channel s POW ACH SPAC CHAN2 20KHZ Defines a distance of 20 kHz between the first and the second Tx channel POW ACH BAND CHAN2 120KHZ Defines a bandwidth of 120 kHz for the second TX channel POW ACH REF TXCH MAN 2 Selects the second Tx channel as reference channel POW ACH SPAC 1LOKHZ Defines a distance of 10 kHz from the TX channel to the adjacent channel Software Manual 1173 9005 12 05 113 Remote Commands of the Spectrum Analyzer POW ACH BAND ACH 120KHZ Defines a bandwidth of 120 kHz for the adjacent channel POW ACH SPAC ALT 20KHZ Defines a distance of 20 kHz from the adjacent to the first alternate channel POW ACH BAND ALT 120KHZ Defines a bandwidth of 120 kHz for the first alternate channel Characteristics RST value 1 SCPI device specific ACLR Limit Check The following commands configure and perform limit checks when measuring the adjacent channel power The suffix lt k gt at LIMit is irrelevant List of commands CALCulate LIMit lt k gt
134. lex For more details refer to the VXI 11 specification Core channel program response control messages Instrument ech gt gt EN Controller Interrupt channel service request Figure 2 2 VXI 11 channels between instrument and controller Software Manual 1173 9005 12 05 9 Protocols The number of controllers that can address an instrument is practically unlimited in the network In the instrument the individual controllers are clearly distinguished This distinction continues up to the application level in the controller i e two applications on a computer are identified by the instrument as two different controllers Controller Instrument gt Controller Controller Figure 2 3 Remote control via LAN from several controllers The controllers can lock and unlock the instrument for exclusive access This regulates access to the instrument of several controllers R amp S ZVH Setting Up the Remote Control Connection Preparing for Remote Control 3 Setting Up the Remote Control Connection 3 1 Preparing for Remote Control The short and simple operating sequence below shows how to put the instrument into operation and quickly set its basic functions The current IP address for LAN operation is shown in the SETUP Instrument Setup Menu In case of USB connection the IP address is fixed to 172 16 10 10 Refer to the Quick Start
135. librating the Measurement The following commands query and control calibration for two port measurements List of commands e CALCulate CALKit USER OFFSet lt p gt LENGth lt ElecLengthOffs gt p 138 e CALibration MODE p 138 e CALibration STATus p 139 CALCulate C ALKit USER OFFSet lt p gt LENGth lt ElecLengthOffs gt This command sets the offset of the electrical length It is taken into account for phase measurements and in the Smith Chart when phase correction for additional cables and adapters has to be performed The offset is taken into account for phase measurements and the Smith chart if you perform phase correction for additional cables and adapters Parameter lt ElecLengthOffset gt Numeric value in the range from 0 mm to 100 m Example CALK USER OFFS2 LENG 500 MM Sets the offset length of port 2 to 500 millimeter Characteristics RST value 0 mm SCPI device specific CALibration MODE This command queries if the current measurement is calibrated This command is a query and therefore has no RST value Return value 0 not calibrated 1 calibrated WEEN Software Manual 1173 9005 12 05 138 R amp S ZVH Remote Control Commands Remote Commands of the Network Analyzer Mode Example CAL MODE Queries the calibration state Characteristics RST value SCPI device specific CALibration STATus This command queries if the R amp S ZVH is fully calibrated for the cur
136. lt Time gt This command sets the internal clock Parameter lt Time gt Numeric value indicating the time You have to enter the time as comma separated values after the string with the file name The sequence is hour minute second The available value range is 0 23 0 59 0 59 Example SYST TIME 12 30 30 Characteristics RST value SCPI conform Software Manual 1173 9005 12 05 176 R amp S ZVH Remote Control Commands Configuring the Instrument SYSTem TZONee lt TimeShift gt This command defines a shift of the system time to select another time zone Parameter lt TimeShift gt Numeric vakue indicating the time shift You have to enter the time shift as comma separated value The equence is hour minute The available value range is 0 23 0 59 Example SYST TZON 01 00 Shifts the time an hour ahead Characteristics RST value 0 0 SCPI device specific SYSTem VERSion This command queries the SCPI version the remote control is based on This command is a query and therefore has no RST value Return value 1999 0 Example SYST VERS Characteristics RST value SCPI conform Software Manual 1173 9005 12 05 177 R amp S ZVH Remote Control Commands Status Reporting System 7 9 Status Reporting System The status reporting system stores all information on the present operating state of the instrument and on errors which have occurred This information is store
137. lt k gt BEEP STATe lt State gt This command turns the beeper that beeps if a limit line is violated on and off Parameter lt State gt ON OFF Example CALC LIM BEEP ON Activates the audio beep Characteristics RST value OFF SCPI device specific CALCulate lt n gt LIMit lt k gt COMMent This command queries the description of a limit line This command is a query and therefore has no RST value Return value lt Comment gt String containing the description of the limit line Example CALC LIM COMM Queries the description of limit line 1 WEE Software Manual 1173 9005 12 05 94 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer Characteristics RST value SCPI device specific CALCulate lt n gt LIMit lt k gt DEFine lt Name gt lt Comment gt lt Unit gt lt Scale gt lt Unit gt lt x1 gt lt y1 gt lt xn gt lt yn gt This command defines the shape of a limit line After you have defined the shape of the limit line you still have to activate it with CALCulate lt n gt LIMit lt k gt UPPer SELect lt LimitLine gt before it takes effect Parameters lt Name gt String containing the name of the limit line Note if a limit line with the same name already exists it will be overwritten lt Comment gt String containing a comment for the limit line lt X unit gt Unit of the x axis HZ S M lt Scale gt Scale of the x
138. lt n gt GDELay REFerence lt RefValue gt p 127 DISPlay lt n gt GDELay REFerence POSition lt RefPosition gt p 127 DISPlay lt n gt GDELay Y SCALe lt DisplayRange gt p 128 DISPlay lt n gt IMPedance REFerence POSition lt Impedance gt p 135 DISPlay lt n gt LOSS REFerence lt RefValue gt p 35 DISPlay lt n gt LOSS REFerence POSition lt RefPosition gt p 35 DISPlay lt n gt LOSS Y SCALe lt DisplayRange gt p 36 DISPlay lt n gt MAGNitude REFerence lt RefValue gt p 36 DISPlay lt n gt MAGNitude REFerence POSition lt RefPosition gt p 36 DISPlay lt n gt MAGNitude Y SCALe lt DisplayRange gt p 37 DISPlay lt n gt MAGNitude Y SPACing lt Scaling gt p 37 DISPlay lt n gt PHASe REFerence lt RefValue gt p 128 DISPlay lt n gt PHASe REFerence POSition lt RefPosition gt p 129 DISPlay lt n gt PHASe Y SCALe lt DisplayRange gt p 129 DISPlay lt n gt PHASe UNWRap lt State gt p 129 DISPlay lt n gt REFLection Y SCALe lt DisplayRange gt p 130 DISPlay lt n gt REFLection UNIT lt Unit gt p 130 DISPlay lt n gt VSWR Y SCALe MINimum lt BottomValue gt p 37 DISPlay lt n gt VSWR Y SCALe MAXimum lt TopValue gt p 38 DISPlay lt n gt VSWR Y SCALe lt DisplayRange gt p 38 INPut AT Tenuation lt Attenuation gt p 39 SOURce TG AT Tenuation lt TGAttenuation gt p 39 UNIT POWer lt Unit gt p 72 For a detailed description of commands not described below refer to Configuring t
139. lues can be entered in any form i e with sign decimal point and exponent Values exceeding the resolution of the instrument are rounded up or down The mantissa may comprise up to 255 characters the exponent must lie inside the value range 32000 to 32000 The exponent is introduced by an E or e Entry of the exponent alone is not permissible In the case of physical quantities the unit can be entered Permissible unit prefixes are G giga MA mega MOHM and MHZ are also possible K kilo M milli U micro and N nano If the unit is missing the basic unit is used Example SENSe FREQuency STOP 1 5GHz SENSe FREQuency STOP 1 559 5 2 2 Special Numeric Values The texts MINimum MAXimum DEFault UP and DOWN are interpreted as special numeric values In case of a query the numeric value is returned e MIN MAX MINimum and MAXimum denote the minimum and maximum value e DEF DEFault denotes a preset value which has been stored in the EPROM This value conforms to the default setting as it is called by the RST command e UP DOWN UP DOWN increases or reduces the numerical value by one step The step width can be specified via an allocated step command for each parameter which can be set via UP DOWN e INF NINF INFinity Negative INFinity NINF Negative INFinity NINF represent the numerical values 9 9E37 or 9 9E37 respectively INF and NINF are only sent as device reponses e NAN No
140. mand limits the evaluation range on the trace The numeric suffix at MARKer is irrelevant Parameter lt State gt ON OFF Example CALC MARK X SLIM ON Turns on search limits Characteristics RST value OFF SCPI device specific CALCulate lt n gt MARKer lt m gt X SLIMits LEFT lt SearchLimit gt This command defines the left limit of the marker search range To use the command you first have to turn on search limits with CALCulate lt n gt MARKer lt m gt X SLIMits STATe lt State gt If you perform a measurement in zero span this command this command limits the evaluation range on the trace The numeric suffix at MARKer is irrelevant Parameter lt SearchLimit gt Numeric value that sets the left marker search limit The value range corresponds to the maximum span The unit in spectrum analyzer mode depends on the measurement e g Hz for measurements in the frequency domain and seconds for measurements in the time domain Software Manual 1173 9005 12 05 53 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer Example CALC MARK X SLIM ON CALC MARK X SLIM LEFT 10MHz CALC MARK X SLIM RIGH 100MHz Turns search limits on and defines a search range from 10 MHz to 100 MHz Characteristics RST value is set to the left diagram border when switching on search limits SCPI device specific CALCulate lt n gt MARKer lt m gt X SLIMits
141. mand sets the current measurement result as the reference level for relative measurements This command is an event and therefore has no RST value and no query Parameter ONCE Example CALC PMET REL ONCE Characteristics RST value SCPI device specific CALCulate PMETer RELative MAGNitude OFFSet lt Offset gt This command sets an offset for the reference value Parameter lt Offset gt Numeric value in dB Example CALC PMET REL 10 Characteristics RST value SCPI device specific WEEN Software Manual 1173 9005 12 05 146 R amp S ZVH Remote Control Commands Remote Commands of the Power Meter UNIT lt z gt PMETer POWer lt Unit gt This command selects the unit of the power sensor The suffix lt z gt at UNIT has the following effects Power Measurement with R amp S ZVH Z1 and R amp S ZVH Z218 Unit 1 Power unit Unit 2 not available Power Measurement with R amp S ZVH Z14 and R amp S ZVH Z44 Unit 1 Forward Power Unit2 Reflected Power Parameter lt Unit gt DBM WATT W DB VSWR Note on the parameter DB when applied to UNIT1 the power is relative to the reference level when applied to UNIT2 the return loss is displayed Note on the parameter VSWR the parameter is only available if applied to UNIT2 Example UNIT1 PMET POW DBM When measuring with the R amp S ZVH Z1 or R amp S ZVH Z18 sets unit to dBm When measuring with the R amp S
142. mand turns the audio demodulator on and off when the measurement hits a marker position With a span greater than 0 you can define a hold time at the marker position with CALCulate MARKer lt m gt FUNCtion DEModulation HOLDoff lt Time gt Software Manual 1173 9005 12 05 88 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer In zero span the demodulation is on permanently Parameter lt State gt ON OFF Example CALC MARK3 FUNC DEM ON Switches on the demodulation for marker 3 Characteristics RST value OFF SCPI device specific CALCulate MARKer lt m gt FUNCtion DEModulation HOLDoff lt Time gt This command defines the hold time at the marker position for the demodulation with span gt 0 Parameter lt Time gt Numeric value in the range from 10 ms to 500 s Example CALC MARK FUNC DEM HOLD 3s Sets a hold time of 3 seconds Characteristics RST value DEModulation is set to OFF SCPI device specific CALCulate MARKer lt m gt FUNCtion DEModulation SELect lt Demodulation gt This command selects the type of demodulation type for the audio demodulator Parameter lt Demodulation gt AM FM Example CALC MARK FUNC DEM SEL FM Selects FM demodulation Characteristics RST value AM SCPI device specific Software Manual 1173 9005 12 05 89 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum
143. measurements Parameter lt Bandwidth gt Numeric value in Hz Example CALC MARK FUNC CPOW BAND 4 MHZ Sets the channel bandwidth to 4 MHz Characteristics RST value 3 84 MHz SCPI device specific WEEN Software Manual 1173 9005 12 05 105 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer CALCulate MARKer lt m gt FUNCtion CPOWer MODE lt DisplayMode gt This command selects the display mode for channel power measurements Parameter lt DisplayMode gt CLR Clear Write MAX Max Hold Example CALC MARK FUNC CPOW MODE CLR Selects clear write trace mode Characteristics RST value CLR SCPI device specific CALCulate MARKer lt m gt FUNCtion CPOWer UNIT lt Unit gt This command selects the unit of the vertical axis for channel power measurements Parameter lt Unit gt DBM DBMV DBUV VOLT WATT V W Example CALC MARK FUNC CPOW UNIT DBM Sets the unit to dBm Characteristics RST value dBm SCPI device specific 7 3 8 4 Measuring the Occupied Bandwidth The following commands configure the measurement of the Occupied Bandwidth To perform the actual measurement use the commands described in section Performing and Triggering Measurements The suffix lt m gt at MARKer is irrelevant List of commands e CALCulate MARKer lt m gt FUNCtion OBANdwidth BANDwidth lt Bandwidth gt p 107 e CALCulate MARKer lt m gt FUNCtion OBANdwidth BANDwidt
144. meter lt State gt ON OFF Example CALC MARK3 ON Turns on marker 3 Characteristics RST value OFF SCPI device specific CALCulate lt n gt MARKer lt m gt AOFF This command turns off all active markers delta markers and active marker measurement functions This command is an event and therefore has no query and no RST value Example CALC MARK AOFF Turns off all markers Characteristics RST value SCPI device specific CALCulate lt n gt MARKer lt m gt MAXimum PEAK This command positions a marker on the current trace maximum If necessary the corresponding marker is activated first This command is an event and therefore has no RST value and no query Example CALC MARK2 MAX Moves marker 2 to the maximum peak Characteristics RST value SCPI device specific Software Manual 1173 9005 12 05 51 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer CALCulate lt n gt MARKer lt m gt MAXimum NEXT This command positions a marker on the next smaller trace maximum If necessary the corresponding marker is activated first This command is an event and therefore has no RST value and no query Example CALC MARK2 MAX NEXT Moves marker 2 to the next smaller maximum peak Characteristics RST value SCPI device specific CALCulate lt n gt MARKer lt m gt MINimum PEAK This command positions a marker on the current tr
145. mmand Example MMEMory NETWork MAP lt string gt lt string gt string gt lt string gt lt boolean gt Entries in square brackets are optional or can be omitted Parameters in curly brackets are optional and can be inserted once or several times or omitted Example ENSe LIST FREQuency lt numeric value gt lt numeric value gt he following are valid commands ENS LIST FREQ 10 ENS LIST FREQ 10 20 ENS LIST FREQ 10 20 30 40 S T S S S 5 1 2 7 Numeric Suffix If a device features several functions or features of the same kind e g inputs the desired function can be selected by a suffix added to the command Entries without suffix are interpreted like entries with the suffix 1 Optional keywords must be specified if they select a function with the suffix Example SYSTem COMMunicate SERial2 BAUD 9600 This command sets the baud rate of a second serial interface Suffix counting In case of remote control suffix counting may differ from the numbers of the corresponding selection used in manual operation SCPI prescribes that suffix counting starts with 1 Suffix 1 is the default state and used when no specific suffix is specified Some standards define a fixed numbering starting with 0 With GSM for instance slots are counted from 0 to 7 In the case of remote control the slots are selected with the suffixes 1 to 8 If the numbering differs in manual operation and remote co
146. mple MMEM NAME Public Screeshots Test png Stores the screenshot under D Test Characteristics RST value SCPI device specific Software Manual 1173 9005 12 05 158 R amp S ZVH Remote Control Commands Configuring the Instrument 7 8 Configuring the Instrument The following commands configure general instrument settings These commands are independent from the operating mode Contents Mode Selection on page 159 Controlling the GPS Receiver on page 160 Display Configuration on page 164 Audio Settings on page 165 Setting up a Network Connection on page 166 System Settings on page 169 7 8 1 Mode Selection This chapter describes all commands that select the operating mode of the R amp S ZVH List of commands e INSTrument SELect lt OperatingMode gt p 159 e INSTrument NSELect lt OperatingMode gt p 160 INSTrument SELect lt OperatingMode gt This command selects the operating mode Parameter lt OperatingMode gt CAT cable and antenna analyzer NAN network analyzer PM power meter RECeiver receiver SANalyzer spectrum analyzer VVMeter vector voltmeter Example INST SAN Selects spectrum analyzer mode Characteristics RST value ACT SCPI conform WEE Software Manual 1173 9005 12 05 159 R amp S ZVH Remote Control Commands Configuring the Instrument INSTrument NSELect lt OperatingMode gt This command selects the operating mode Parameter 1
147. n a set file This command is an event and therefore has no RST value and no query Parameter 1 lt FileName gt String containing the path and name of the destination file Example MMEM STOR STAT 1 DATASETO01 SET Saves the current device settings in the file DATASET001 SET Characteristics RST value SCPI conform WEE Software Manual 1173 9005 12 05 157 R amp S ZVH Remote Control Commands Making and Storing Screenshots 7 7 Making and Storing Screenshots The following commands manage screenshots These commands are independent from the operating mode List of commands e HCOPyf IMMediate p 158 e MMEMory NAME lt FileName gt p 158 HCOPy IMMediate This command makes a screenshot of the current trace and stores it on the R amp S ZVH internal memory This command is an event and therefore has no RST value and no query Example MMEM NAME Public Screenshots Test png Defines the file name of the screenshot HCOP Makes and stores a screenshot of the current screen Characteristics RST value SCPI device specific MMEMory NAME lt FileName gt This command defines the path and file name that the R amp S FSH uses for storing screenshots see HCOPy IMMediate The path and file name comply with DOS conventions This command is an event and therefore has no RST value and no query Parameter lt FileName gt String containing the file name Exa
148. n complex format real imaginary Example CALC MARK MODE ADM Selects admittance in complex format with real and imaginary components Characteristics RST value NORMal SCPI device specific CALCulate lt n gt MARKer lt m gt Y This command queries the measurement results at the marker position If necessary the corresponding marker is activated first To get a valid result you have to perform a complete sweep with synchronization to the sweep end between activating the delta marker and reading out the result This is only possible in single sweep mode Return value The return value depends on the marker format you have selected with CALCulate lt n gt MARKer lt m gt MODE ADMittance lt real part gt lt imaginary part gt IMPedance lt real part gt lt imaginary part gt NADMittance lt real part gt lt imaginary part gt NiIMPedance lt real part gt lt imaginary part gt NORMal lt value gt trace value RPDB lt magnitude in dB gt lt phase gt RPL lt magnitude linear gt lt phase gt RSCalar lt real part gt lt imaginary part gt Example INIT CONT OFF CALC MARK2 ON Turns on single sweep mode and marker 2 INIT WAI CALC MARK2 Y Performs a measurement and queries the marker position Characteristics RST value SCPI device specific Software Manual 1173 9005 12 05 134 R amp S ZVH Remote Control Commands Remote Commands of the Network Analyzer Mode 7 4 6 2 M
149. n the datasheet Example FREQ STOP 2000MHz Defines a stop frequency of 2 GHz Characteristics RST value fmax SCPI conform 7 3 2 Configuring the Vertical Axis The following commands configure the vertical level axis and level parameters of the active display The suffix lt t gt at TRACe is irrelevant for these commands The suffix lt c gt at TRANsducer selects the primary or secondary transducer The range is lt 1 2 gt List of commands DISPlay WINDow TRACect gt Y SCALe ADuust p 35 DISPlay WINDow TRACec lt t gt Y SPACing lt Scaling gt p 68 DISPlay WINDow TRACect gt Y SCALe lt DisplayRange gt p 68 DISPlay WINDow TRACec lt t gt Y SCALe RLEVel lt ReferenceLevel gt p 68 DISPlay WINDow TRACect gt Y SCALe RLEVel OFFSet lt Offset gt p 69 DISPlay WINDow TRACect gt Y SCALe RPOSition lt ReferencePosition gt p 69 INPut AT Tenuation lt Attenuation gt p 39 INPut AT Tenuation MODE lt AttenuationMode gt p 70 INPut AT Tenuation AUTO lt State gt p 70 INPut GAIN STATe lt State gt p 70 INPut IMPedance lt Impedance gt p 71 SENSe CORRection TRANsducer lt c gt STATe lt State gt p 71 SENSe CORRection TRANsducer lt c gt SELect lt TransducerFactor gt p 71 SENSe CORRection TRANsducer lt c gt UNIT p 72 UNIT POWer lt Unit gt p 72 For a detailed description of all commands not included here refer to Configuring the Vertical A
150. nable LIMit PTRansition Gummi 192 SGTATusOUEGgonable LUIM EVEN 190 STATus QUEStionable NTRansition Gumb r 191 STATus QUEStionable POWer CONDItION 0 0 cccccccccceceeeeeeeeeeeeeeseeeseeeeeseeeeeees 191 STATus QUEStionable POWer ENABle Gumb 191 STATus QUEStionable POWer NT Ransition lt SUMBit gt c cccecccceeesesseseeeeeeeeeeees 191 STATus QUEStionable POWer PTRansition Gumb n 192 STATus QUEStionable POWer EVENt ccccccceecceceeeeeeeee cesses senses seaeeesaeeeeaeeeeeeeess 190 STATus QUEStionable PT Ransition lt SUMBit gt 0 0 0 cc ccccccceceeeceeseeeeeeeeeeeeeseneeeees 192 GIATusOUEG gonablel EVEN 190 SGTATusOUEuel NET 189 SYSTeMm AUDIO VOLUME lt VOIUMES cccccccccccccccccccceceeeceeeceeeeeeeceeceeeceeeeeeeeeeeseeeseneees 165 SYSTem BEEPer KEY VOLUME Molume nnna 166 SYSTem BEEPer VOLUME lt VOIUMES ccccccccccccccccceceeeeececeeeceeeceeceeeeeeeseeeeeeeseeeeeeeees 166 SYSTem BNC lt 1 2 gt MODE lt BNCFUN ction c cccccccccccceceecceeeceeeeeeeeeeseeeeeeeseeeees 170 GvVGTemCOMMunicatel AN ETHemer 167 SYSTem COMMunicate LAN GAT eway lt Gateway gt ccccecseeeseseteeesteeeeneeseeeeees 167 SYSTem COMMunicate LAN SUBMask lt SubnetMasks ccccccccccccececeeeeeeeeeeeeeeees 167 SYSTem COMMunicate SOCKet ADDRess lt IPACdreSS gt cccccccccsssssseceseeeeeeees 167 SYSTem COMMunicate SOCKet DHCP STATe lt State gt oo eeeeeeeeeeeeeeeeneeeeeeees 1
151. nd returns 0 Example STAT ERR CODE Characteristics RST value SCPI conform SYSTem ERRor CODE ALL This command queries the complete error queue This command is a query and therefore no RST value Return value lt error number gt number that contains information about the error Negative number error as defined in the SCPI standard Positive number error that is specific to the R amp S ZVH The number of values depends on the length of the queue If the error queue is empty the command returns 0 no error Software Manual 1173 9005 12 05 172 R amp S ZVH Remote Control Commands Configuring the Instrument Example SYST ERR CODE ALL Characteristics RST value SCPI device specific SYSTem ERRor COUNt This command queries the number of errors currently in the error queue This command is a query and therefore no RST value Return value lt numeric_value gt number of the errors in the queue Example SYST ERR COUN Characteristics RST value SCPI device specific SYSTem HELP HEADers This command returns a list of all available remote control commands This command is a query and therefore no RST value Example SYST HELP HEAD Returns the syntax of all available commands Characteristics RST value SCPI conform SYSTem HELP SYNTax This command returns the full syntax of the specified command This command is a query and ther
152. nics STATe lt State gt p 119 CALCulate lt n gt MARKer lt m gt FUNCtion HARMonics DISTortion p 120 CALCulate lt n gt MARKer lt m gt FUNCtion HARMonics LIST p 120 CALCulate lt n gt MARKer lt m gt FUNCtion HARMonics NHARmonics lt Harmonics gt p 121 e CALCulate lt n gt MARKer lt m gt FUNCtion HARMonics PRESet p 121 CALCulate lt n gt MARKer lt m gt FUNCtion HARMonics STATe lt State gt This command turns the harmonic distortion measurement on and off Parameter lt State gt ON OFF Software Manual 1173 9005 12 05 119 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer Example See CALCulate lt n gt MARKer lt m gt FUNCtion HARMonics PRESet Characteristics RST value OFF SCPI device specific CALCulate lt n gt MARKer lt m gt FUNCtion HARMonics D ISTortion TOTal This command queries the total harmonic distortion of the signal To get a valid result you have to perform a complete sweep with synchronization to the sweep end before reading out the result This is only possible in single sweep mode This command is a query and therefore has no RST value Parameter TOTal Return value lt Distortion gt lt DistortiondB gt Pair of values one showing the THD in one in dB Example See CALCulate lt n gt MARKer lt m gt FUNCtion HARMonics PRESet Characteristics RST value SCPI device specific CALCulate lt n gt MARKer lt m gt
153. nics NHARmonics lt Harmonics gt 121 CALCulate lt n gt MARKer lt m gt FUNCtion HARMonics PRESet canne 121 CALCulate lt n gt MARKer lt m gt FUNCtion HARMonics STATe lt State gt 1 001100110000 119 CAL Culate n MAbker m FUNGCHoncM DtEbubREGuh eeee cease eee 122 CALCulate lt n gt MARKer lt m gt FUNCtion MDEPth STATe lt State gt 0 ceeeeeeeee 122 WEEN Software Manual 1173 9005 12 05 194 R amp S ZVH Remote Control Commands Status Reporting System CAL CGulate n MAbker m MAvimum NENT 52 CAL CGulate n MAbker m MAvimumf PEART 51 CALCulate lt n gt MARKer lt m gt MINimUm PEAK cccccccceeeeeeeeeeeeeeeeeeeeaeeeeaeeseeeeeeaas 52 CALCulate lt n gt MARKer lt m gt MODE lt MarkerMode gt sssssssesnesresresresrrssrrssrresns 133 CALCulate lt n gt MARKer lt m gt X lt Coordinate gt ccccccccceceeeeeeeeeeeeeeceeeeeseaeeeeaeeseeeeeeaas 52 CALCulate lt n gt MARKer lt m gt X SLIMits LEFT earch Wm 53 CALCulate lt n gt MARKer lt m gt X SLIMits RIGHt Gearchlmtt 54 CALCulate lt n gt MARKer lt m gt X SLIMits STATe lt State gt cceccceeeeeeeseeeeeteseeeeeees 53 CAL CGulate n MAPker omz NA 134 CAL CGulate n MAPker omz NA 54 CALCulate lt n gt MARKer lt m gt STATe lt State gt cccccccceceeeeesseeeeeeeseeeeeseaeeeseeseeneeeaas 51 CALibration MODE inisesin dail aa a 138 CALibration MODE ET 59 CALibration PMETer ZERO AUTO ONCE scenes eeeeesaeeeeeeeeeeees 148 Be
154. nitiates all actions in the currently active test screen expecting a trigger event This command corresponds to INT Tiate IMMediate TST SELF TEST QUERY initiates the self test of the instrument and outputs an error code in decimal form Parameter 0 no error WA WAIT TO CONTINUE permits servicing of subsequent commands only after all preceding commands have been executed and all signals have settled IR Software Manual 1173 9005 12 05 29 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer 7 2 Remote Commands of the Cable and Antenna Analyzer This section provides a detailed description of all remote control commands required to configure and perform measurements in Cable and Antenna Test CAT mode Contents Configuring the Horizontal Axis on page 30 Configuring the Vertical Axis on page 34 Setting the Bandwidth on page 40 Performing and Triggering Measurements on page 41 Working with Traces on page 43 Using Markers on page 47 Configuring and Using Measurement Functions on page 56 7 2 1 Configuring the Horizontal Axis The following commands configure the horizontal axis of the active display O Commands independent of the operating mode Note that some of the commands for configuring the horizontal axis are also valid for other operating modes If a command is available in another mode it is indicated by the list in the respective section List
155. nna Analyzer DISPlay LOSS Y SCALe lt DisplayRange gt This command defines the display range of the vertical axis for the cable loss measurement format Parameter lt DisplayRange gt Numeric value in the range from 1 dB to 100 dB Example DISP LOSS Y SCAL 20 Defines a display range of 20 dB Characteristics RST value 100 dB SCPI device specific DISPlay MAGNitude REFerence lt RefValue gt This command defines the reference value for the magnitude measurement format Parameter lt RefValue gt Numeric value in the range from 80 dB to 30 dB Example DISP MAGN REF 10 Defines a reference level of 10 dB Characteristics RST value 0 dB SCPI device specific DISPlay MAGNitude REFerence POSition lt RefPosition gt This command defines the position of the reference value in the diagram for the magnitude measurement format Each step shifts the reference position one grid line up or down Parameter lt RefPosition gt Numeric value in the range from 0 to 10 Example DISP MAGN REF POS 5 Moves the reference to the fifth grid line from the bottom Characteristics RST value 10 SCPI device specific Software Manual 1173 9005 12 05 36 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer DISPlay MAGNitude Y SCALe lt DisplayRange gt This command defines the display range of the vertical axis for the magnitude measurement format Note that you have to s
156. nna Analyzer Return values lt MarkerPosition gt numeric value of the marker position In CAT mode the unit depends on the measurement format In spectrum mode the unit depends on UNIT POWer Example INIT CONT OFF Switches to single sweep mode CALC MARK2 ON Switches marker 2 INIT WAI Starts a sweep and waits for the end CALC MARK2 Y Outputs the measured value of marker 2 Characteristics RST value SCPI device specific 7 2 7 Using Limit Lines The following commands define limit lines and perform the corresponding limit checks The suffix lt n gt at CALCulate is irrelevant The suffix lt k gt at LIMit selects the limit line and is in the range lt 1 2 gt List of commands CALCulate lt n gt LIMit lt k gt BEEP STATe lt State gt p 94 CALCulate lt n gt LIMit lt k gt COMMent p 94 CALCulate lt n gt LIMit lt k gt DELete p 96 CALCulate lt n gt LIMit lt k gt FAIL p 96 CALCulate lt n gt LIMit lt k gt LOWer SELect lt LimitLine gt p 96 CALCulate lt n gt LIMit lt k gt STATe lt State gt p 97 CALCulate lt n gt LIMit lt k gt UNIT X p 97 CALCulate lt n gt LIMit lt k gt UNIT Y p 97 CALCulate lt n gt LIMit lt k gt UPPer SELect lt LimitLine gt p 98 For a detailed description of all commands not included here refer to Using Display Lines and Limit Lines in spectrum mode WEEN Software Manual 1173 9005 12 05 55 R amp S ZVH Remote Cont
157. ntiuous sweep Conventions Data format TE Delay tite TEE Delta marker deactivation horizontal position i VertiGal Posten siirsin aniraa iia anive ini BET Display EE Display line TTT Display range el elei EE leit E DEE eebe eebe SES Distance DTF list DTF threshold SS Electrical length iisi iaaa Bee EE SIE Frequency e EE power meter SPAN AWlO wes cccceetecccecvncary hivcacessneattiavsactstincardaasaed nines EE FrEQUENCY Counter ieaiaia aaa aana aiaa iiaiai 87 FFOQUENCY COMAIM iiris adaa iaeei EEEa 64 Frequency mode Frequency mode marker Frequency offset Ss Frequency span 65 Frequency step slze eee eeceeeeeeeeeeeeeeeeeeeeeeeseaeeeeeeseanersaee 63 Frequency step size couplmg 63 F l Spaintis Gate delay Gate length Gated trigger a EE Elei EE Harmonic distortion ccccceeeseeeeeeeeeeeeeeeeeeneeeeseeeeees Impedamce Input attenuation Interference suppression Set Isotropic apntepng icien LAWN TEE Language EE Length unitis ea esiaine a aaia ed RR Limit check horizontal position search limits vertical position AM modulation depth ceeceeeeeeeeeeeeeneeeeeeeeneeeeeeeeee 122 Channel power 105 Software Manual 1173 9005 12 05 201 R amp S ZVH Index harmonic distortion cccccceeeeseeeeeeeeeeeeeeeeeeeeeeeeenees 119 network analysis eee
158. ntrol it is indicated with the respective command WEE Software Manual 1173 9005 12 05 19 R amp S ZVH SCPI Command Structure and Syntax eee UUULUUUMMMI Parameters 5 1 3 Overview of Syntax Elements The following table offers an overview of the syntax elements The colon separates the key words of a command In a program message the separating semicolon marks the uppermost command level The semicolon separates two commands within a program message It does not alter the path The comma separates several parameters of a command The question mark forms a query The asterisk marks a common command Quotation marks introduce a string and terminate it The hash symbol introduces binary octal hexadecimal and block data e Binary 810110 e Octal 07612 e Hexa HF3A7 e Block 21312 A white space ASCII Code 0 to 9 11 to 32 decimal e g blank separates header and parameter 5 2 Parameters For most commands a parameter needs to be supplemented The parameter has to be separated from the header by a white space Possible parameters are Numeric values Special numeric values Boolean parameters Text Character strings Block data The type of parameter required for each command and the allowed range of values are specified in the command description Software Manual 1173 9005 12 05 20 R amp S ZVH SCPI Command Structure and Syntax nnn eee UULU Parameters 5 2 1 Numeric Values Numeric va
159. nual 1173 9005 12 05 130 R amp S ZVH Remote Control Commands Remote Commands of the Network Analyzer Mode 7 4 3 Setting the Bandwidths The following commands configure the filter bandwidths of the R amp S ZVH Note that both groups of commands BANDwidth and BWIDth are the same List of commands e SENSe BANDwidth BWIDth RESolution lt MeasBW gt p 40 e SENSe BANDwidth BWIDth RESolution AUTO lt State gt p 40 For a detailed description of commands refer to Setting the Bandwidth in CAT mode 7 4 4 Performing and Triggering the Measurement The following commands configure the sweep List of commands WAI p 29 ABORt p 75 INITiate IMMediate p 75 INITiate CONTinuous lt SweepMode gt p 76 SENSe SWEep COUNt lt SweepCount gt p 76 SENSe SWEep POINts lt Points gt p 41 SENSe SWEep TIME lt SweepTime gt p 77 SENSe SWEep TIME AUTO lt State gt p 77 TRIGger SEQuence HOLDoff TIME lt TriggerDelay gt p 41 TRIGger SEQuence SLOPe lt TriggerSlope gt p 42 TRIGger SEQuence SOURCce lt TriggerSource gt p 42 For a detailed description of commands refer to Performing and Triggering Measurements in CAT mode and Performing and Triggering Measurements in spectrum analyzer mode 7 4 5 Working with Traces The following commands set up the trace and the various functions associated with it e g the selection of the detector List of commands DISPlay WINDo
160. of commands SENSe FREQuency CENTer lt Frequency gt p 31 SENSe FREQuency CENTer STEP lt StepSize gt p 32 SENSe FREQuency CENTer STEP LINK lt StepSizeCoupling gt p 32 SENSe FREQuency SPAN lt Span gt p 32 SENSe FREQuency SPAN AUTO lt State gt p 33 SENSe FREQuency STARt lt StartFrequency gt p 33 SENSe FREQuency STOP lt StopFrequency gt p 34 CALCulate DTF DISTance STARt lt StartDistance gt p 31 CALCulate DTF DISTance STOP lt StopDistance gt p 31 Software Manual 1173 9005 12 05 30 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer CALCulate DTF DISTance STARt lt StartDistance gt This command defines the start distance of the cable measurement Parameter lt StartDistance gt Numeric value in the range from 3 m 10 ft to 1500 m 4921 ft The unit is either meter or feet depending on your selection Example CALC DTF DIST STAR 50m Sets the starting point of the measurement to 50 m Characteristics RST value 3 m 10 ft SCPI device specific CALCulate DTF DISTance STOP lt StopDistance gt This command defines the end point of the cable measurement Parameter lt StopDistance gt numeric value in the range from 3 m 10 ft to 1500 m 4921 ft The unit is either meter or feet depending on your selection Example CALC DTF DIST STAR 500m Sets the end point of the measurement to 500 m Characteristics RST value
161. of the CONDition part of the higher order register The instrument automatically generates the sum bit for each register Thus an event e g a PLL that has not locked can lead to a service request throughout all levels of the hierarchy ENABle part of the STB if the STB is structured according to SCPI By analogy the O The service request enable register SRE defined in IEEE 488 2 can be taken as ESE can be taken as the ENABle part of the ESR 7 9 2 Overview of the Status Register The following figure shows the status registers used by the R amp S ZVH 0 reserved 1 reserved 0 reserved 2 IF_Overioad 1 reserved 3 reserved 2 BATTeryLow 4 reserved 3 POWer 5 reserved 4 TEMPerature 6 reserved 5 FREQuency 7 reserved 6 reserved 8 reserved 7 reserved 9 reserved 8 reserved reserved 9 LiMit reserved CALibration UNCal iaaii SYNC reserved reserved reserved oa not used reserv a IST Message not used QUE Stionable POWer QUE Stionable Status reserved reserved reserved reserved Message Queue Query Error reserved Device Dependent Error reserved Execution Error EXTemalREF erence Command Error reserved reserved reserved Power On reserved Event Status Register reserved SRQ Message Event Status Enable on not used T CALibrating QUE Stionable FREQuency 1 reserved 2 reserved LN FAIL 3 reserved LIMit2 FAIL 4 reserved reserved 5 reserved reserved 6 reserved reserved
162. of the QUEStionable register Setting a bit causes a 0 to 1 transition in the corresponding bit of the associated register The transition also writes a 1 into the associated bit of the corresponding EVEN register Parameter lt SumBit gt 0 to 65535 Characteristics RST value SCPI conform IR Software Manual 1173 9005 12 05 192 R amp S ZVH Remote Control Commands Status Reporting System Alphabetical List of Remote Commands EE 27 ESE EE 27 ESRT os a EEA AEA A A E 27 ION KEE 28 E EE 28 POPO EE 28 OPT aeaa ne i a E Ea 28 ROT ee ees 28 Bo ni N E es EE 29 H EE 29 MRO EE 29 e KEEN 29 RU EEN 29 BOP EE 75 CALCulate CALKit USER OFFSet lt p gt LENGth lt ElecLengthOffs gt 0 c eeeee 138 CALCulate DTF CABle PRESet lt CableModel gt cccccccccccccccceeeeeeeeeeeseeeeeeeeeseeeees 57 CALCulate DTF DISTance STARt lt StartDistanCes ccccccccccccccecceeseeeeeeeeeeeeeeeeeees 31 CALCulate DTF DISTance STOP toptetance eerren rsrreeenees 31 CALCulate LIMit lt k gt AC Power ACHannel ABSolute mr 116 CALCulate LIMit lt k gt ACPower ACHannel ABSolute STATe lt State gt eeeees 116 CAL Culatel Mt k ACPowerACHannelRtEGun 116 CALCulate LIMit lt k gt AC Power ACHannel RELative Um 115 CALCulate LIMit lt k gt AC Power ACHannel RELative STATe lt State gt 0 ceeee 115 CALCulate LIMit lt k gt ACPower ALTernate lt y gt ABSolute mit 118 CALCulate LIMit lt k gt ACPower ALTernate lt y
163. ol via a local area network LAN or directly via USB SCPI SCPI Standard Commands for Programmable Instruments commands messages are used for remote control Commands that are not taken from the SCPI standard follow the SCPI syntax rules The instrument supports the SCPI version 1999 The SCPI standard is based on standard IEEE 488 2 and aims at the standardization of device specific commands error handling and the status registers The tutorial Automatic Measurement Control A tutorial on SCPI and IEEE 488 2 from John M Pieper R amp S order number 0002 3536 00 offers detailed information on concepts and definitions of SCPI The requirements that the SCPI standard places on command syntax error handling and configuration of the status registers are explained in detail in the following sections Tables provide a fast overview of the bit assignment in the status registers The tables are supplemented by a comprehensive description of the status registers VISA VISA is a standardized software interface library providing input and output functions to communicate with instruments The I O channel LAN or USB is selected at initialization time by means of a channel specific resource string For more information about VISA refer to its user documentation The programming examples for remote control are all written in Microsoft VISUAL BASIC Access to the VISA functions require the declaration of the functions and constants prior
164. olated 1 LIMit 2 FAIL This bit is set if limit line 2 is violated This bit is always 0 7 9 4 5 STATus QUEStionable POWer Register This register contains information about possible overload states It can be read using the commands STATus QUEStionable POWer CONDition and STATus QUEStionable POWer EVENt Table 7 7 Meaning of bits in STATus QUEStionable POWer register 2 IF_Overload This bit is set if the IF path is overloaded IFOVL is displayed This bit is always 0 Software Manual 1173 9005 12 05 184 R amp S ZVH Remote Control Commands Status Reporting System 7 9 5 Application of the Status Reporting Systems In order to be able to effectively use the status reporting system the information contained there must be transmitted to the controller and further processed there There are several methods which are represented in the following 7 9 5 1 Service Request Under certain circumstances the instrument can send a service request SRQ to the controller Usually this service request initiates an interrupt at the controller to which the control program can react appropriately As evident from Fig 1 4 an SRQ is always initiated if one or several of bits 2 3 4 5 or 7 of the status byte are set and enabled in the SRE Each of these bits combines the information of a further register the error queue or the output buffer The ENABle parts of the status registers can be set so that arbitrary bits in
165. ommands apply radio communication standards to measurements with the power sensor Note that the selection of a standard is available only for the power sensors R amp S FSH Z1 214 Z18 and 244 CALCulate PMETer PRESei STATe lt State gt This command turns the use of a standard on and off Parameters lt State gt ON OFF Example CALC PMET PRES ON Activates usage of a standard Characteristics RST value SCPI device specific CALCulate PMETer PRESet SELect lt Standard gt This command selects the standard for power sensor measurements Parameter lt Standard gt GSM EDGE WCDMA CDMAOne CDMA2000 DVBT DAB TETRA USER Example CALC PMET PRES SEL GSM Selects the GSM standard for power sensor measurements Characteristics RST value SCPI device specific WEEN Software Manual 1173 9005 12 05 150 R amp S ZVH Remote Control Commands File Management 7 6 File Management The following commands perform various tasks in the context of file management These commands are independent from the operating mode List of commands MMEMory CATalog p 151 MMEMory CATalog DIRectories p 152 MMEMory CDIRectory lt Directory gt p 152 MMEMory COPY lt SourceFile gt lt DestinationFile gt p 152 MMEMory DATA lt FileNames lt BlockData gt p 153 MMEMory DELete lt File gt p 154 MMEMory FILE lt File gt p 154 MMEMory FILE DATE lt
166. on gt This command selects the link direction for measurements with channel tables Parameter lt Direction gt DOWN Downlink UP Uplink Example See SENSe CHANnel TABLe SELect lt ChannelTable gt Characteristics RST value UP SCPI device specific 7 3 8 2 Power Measurements The following commands configure power measurements To perform the actual measurement use the commands described in section Performing and Triggering Measurements List of commands CALCulate MARKer FUNCtion POWer SELect lt Measurement gt p 101 CALCulate MARKer FUNCtion POWer STATe lt State gt p 102 CALCulate MARKer FUNCtion POWer PRESet lt Standard gt p 102 CALCulate MARKer FUNCtion POWer PRESet CHECk p 103 CALCulate MARKer FUNCtion LEVel ONCE p 103 CALCulate MARKer FUNCtion POWer RESult lt Measurement gt p 104 CALCulate MARKer FUNCtion POWer SELect lt Measurement gt This command selects a power measurement and turns the measurement on lt Standard gt Parameter ACPower Adjacent channel leakage ratio ACLR MCACpower aka adjacent channel power or multi carrier adjacent channel CPOWer Channel power measurement OBANdwicth Occupied bandwidth OBWidth TDMA TDMA power Example CALC MARK FUNC POW SEL CPOW Selects the channel power measurement WEE Software Manual 1173 9005 12 05 101 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer Characteristics
167. ote that some of the listed remote commands take effect only if options R amp S ZVH K42 Vector Reflection and Transmission Measurements and or R amp S ZVH K45 Vector Voltmeter are installed Contents Configuring the Horizontal Axis on page 126 Configuring the Vertical Axis on page 126 Setting the Bandwidths on page 131 Performing and Triggering the Measurement on page 131 Working with Traces on page 131 Using Markers and Deltamarkers on page 133 Configuring the Measurement on page 137 7 4 1 Configuring the Horizontal Axis The following commands configure the horizontal axis of the active display List of commands SENSe FREQuency CENTer lt Frequency gt p 31 SENSe FREQuency CENTer STEP lt StepSize gt p 32 SENSe FREQuency CENTer STEP LINK lt StepSizeCoupling gt p 32 SENSe FREQuency SPAN lt Span gt p 32 SENSe FREQuency SPAN FULL p 66 SENSe FREQuency STARt lt StartFrequency gt p 33 SENSe FREQuency STOP lt StopFrequency gt p 34 For a detailed description of the commands refer to Configuring the Horizontal Axis in CAT mode 7 4 2 Configuring the Vertical Axis The following commands configure the level axis y axis and level parameters of the active display The suffix lt n gt at DISPlay selects the measurement screen in dual trace mode The range is lt 1 2 gt Software Manual 1173 9005 12 05 126 Remote Commands of the Network Analyzer Mode List of commands DISPlay
168. p OFF Single sweep Example INIT CONT OFF Turns on single sweep mode Characteristics RST value ON SCPI conform SENSe SWEep COUNt lt SweepCount gt This command defines the number of sweeps included in a single sweep It also defines the number of sweeps the R amp S ZVH uses to average traces or calculate maximum values The R amp S ZVH performs one sweep for sweep count 0 or 1 Parameter lt SweepCount gt 0 to 999 Example SWE COUN 64 Defines a sweep count of 64 sweeps INIT CONT OFF INIT WAI Turns on single sweep mode starts the sweep and waits for its end Software Manual 1173 9005 12 05 76 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer Characteristics RST value 1 SCPI conform SENSe SWEep POINts This command queries the number of measurement points in a single sweep This command is a query and therefore has no RST value Return value Number of sweep points Example SWE POIN Returns the number of sweep points Characteristics RST value SCPI conform SENSe SWEep TIME lt SweepTime gt This command defines the sweep time If you set a Sweep time in spectrum mode with this command the R amp S ZVH decouples the sweep time from the span and the resolution and video bandwidths Parameter lt Sweep Time gt Numeric value in seconds The available value range is specified in the datasheet Example SWE TIME 1
169. pTime gt p 77 SENSe SWEep TIME AUTO lt State gt p 77 ABORt This command aborts the current measurement and resets the trigger system This command is an event and therefore has no query and no RST value Example ABOR INIT IMM Aborts a measurement and starts a new one Characteristics RST value SCPI conform INITiate IMMediate The command initiates a new measurement sequence With sweep count gt 0 or average count gt 0 this means a restart of the indicated number of measurements With trace functions MAXHold MINHold and AVERage the previous results are reset on restarting the measurement In single sweep mode synchronization to the end of the indicated number of measurements can be achieved with the command OPC OPC or WAI In continuous sweep mode synchronization to the sweep end is not possible since the overall measurement never ends This command is an event and therefore has no query and no RST value Software Manual 1173 9005 12 05 75 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer Example INIT CONT OFF DISP WIND TRAC MODE AVER Turns single sweep mode and trace averaging on INIT WAI Starts the measurement and waits for the end of the sweep Characteristics RST value SCPI conform INITiate CONTinuous lt SweepMode gt This command selects the sweep mode Parameter lt SweepMode gt ON Continuous swee
170. power measurements To get a valid result you have to perform a complete sweep with synchronization to the sweep end before reading out the result This is only possible in single sweep mode Before you can use this command you have to select the power measurement with CALCulate MARKer FUNCtion POWer SELect lt Measurement gt and activate it with CALCulate MARKer FUNCtion POWer STATe lt State gt This command is a query and therefore has no RST value Parameter and return value ACPower Returns the results for ACLR measurements MCACpower aka adjacent channel power or multi carrier adjacent channel The number of return values depends on the number of TX and adjacent channel The order of return values is power of the transmission channel power of the lower adjacent channel power of the upper adjacent channel power of the lower alternate channel 1 power of the upper alternate channel 2 etc The unit of the return values depends on the scaling of the vertical axis e logarithmic scaling returns the power in the currently selected unit see UNIT POWer e linear scaling returns the power in W CPOWer Returns the results for channel power measurements The return value is the power of the channel The unit depends on the scaling of the vertical axis e logarithmic scaling returns the power in the currently selected unit see UNIT POWer e linear scaling returns the power in W OBANdwidth Returns the results
171. programming the controller can be forced to wait for the respective action to occur For more information see Table 6 1 Table 6 1 Synchronization using OPC OPC and WAI Command Action Programming the controller OPC Sets the Operation Complete bit in the Setting bit 0 in the ESE ESR after all previous commands have _ Setting bit 5 in the SRE been ex c ted Waiting for service request SRQ OPC Stops command processing until 1 is Sending oPC directly after the command returned This is only the case after the whose processing should be terminated before Operation Complete bit has been set in other commands can be executed the ESR This bit indicates that the previous setting has been completed WAI Stops further command processing until Sending wAI directly after the command whose all commands sent before WAI have processing should be terminated before other been executed commands are executed For a couple of commands the synchronization to the end of command execution is mandatory in order to obtain the desired result The affected commands require either more than one measurement in order to accomplish the desired instrument setting e g auto range functions or they require a longer period of time for execution If a new command is received during execution of the corresponding function this may either lead to either to an aborted measurement or to incorrect measurement data
172. pted links are identified With this protocol messages cannot be lost Remote control of an instrument via a network is based on standardized protocols which follow the OSI reference model see Fig below ees Software Manual 1173 9005 12 05 8 R amp S ZVH Interfaces and Protocols Protocols Application SCPI Presentation XDR VXI 11 Session ONC RPC Transport TCP UDP Figure 2 1 Example for LAN remote control based on the OSI reference model Based on TCP UDP messages between the controller and the instrument are exchanged via open network computing ONC remote procedure calls RPC With XDR VXI 11 legal RPC messages are known as VXI 11 standard Based on this standard messages are exchanged between the controller and the instrument The messages are identical with SCPI commands They can be organized in four groups program messages control command to the instrument response messages values returned by the instrument service request spontaneous queries of the instrument low level control messages interface messages A VXI 11 link between a controller and an instrument uses three channels core abort and interrupt channel Instrument control is mainly performed on the core channel program response and low level control messages The abort channel is used for immediate abort of the core channel the interrupt channel transmits spontaneous service requests of the instrument Link setup itself is very comp
173. r error as defined in the SCPI standard positive number error that is specific to the R amp S ZVH lt error description gt string containing a short error description If the error queue is empty the command returns 0 no error Example STAT ERR Characteristics RST value SCPI conform SYSTem ERRor ALL This command queries the complete error queue This command is a query and therefore no RST value Return value lt error number gt lt error description gt Software Manual 1173 9005 12 05 171 R amp S ZVH Remote Control Commands Configuring the Instrument lt error number gt number that contains information about the error negative number error as defined in the SCPI standard positive number error that is specific to the R amp S ZVH lt error description gt string containing a short error description The number of values depends on the length of the queue If the error queue is empty the command returns 0 no error Example SYST ERR ALL Characteristics RST value SCPI device specific SYSTem ERRor CODE NEXT This command queries the code of the next error in the error queue This command is a query and therefore has no RST value Return value lt error number gt number that contains information about the error Negative number error as defined in the SCPI standard Positive number error that is specific to the R amp S ZVH If the error queue is empty the comma
174. rent measurement This command is a query and therefore has no RST value Return value NORMalized full factory or user calibration APPRoximate approximate calibration measurement uncertainty must be anticipated Example CAL STAT Queries the calibration status of the R amp S ZVH Characteristics RST value SCPI device specific 7 4 7 4 Selecting the Result Display The following commands select the result display for two port measurements List of commands e MEASurement lt n gt FUNCtion SELect lt ResultDisplay gt p 139 MEASurement lt n gt FUNCtion SELect lt ResultDisplay gt This command selects the result display Parameter lt ResultDisplay gt S11 S12 S21 S22 Example MEAS FUNC SEL S11 Characteristics RST value S11 SCPI device specific WEEN Software Manual 1173 9005 12 05 139 R amp S ZVH Remote Control Commands Remote Commands of the Network Analyzer Mode 7 4 7 5 Selecting the Measurement Format The following commands are for selecting and configuring the measurement formats available for two port measurements List of commands CALCulate TRACe CABLe LENGth STATe lt State gt p 140 CALCulate TRACe CABLe LENGth RESult p 140 CALCulate TRACe CABLe TIME STATe lt State gt p 141 CALCulate TRACe CABLe TIME RESult p 141 DISPlay GDELay APERture STEP lt Aperture gt p 141 MEASurement lt n gt FORMat lt MeasFormat gt p 142 CALCulate TR
175. rmonic distortion measurement This command is an event and therefore has no query and no RST value Example CALC MARK FUNC HARM ON Activates the harmonic distortion measurement CALC MARK FUNC HARM NHAR 4 Sets the number of harmonics to 4 CALC MARK FUNC HARM PRES Adjusts the settings of the measurement CALC MARK FUNC HARM LIST CALC MARK FUNC HARM DIST TOT Queries the position of the harmonics and the total harmonic distortion Characteristics RST value SCPI device specific Software Manual 1173 9005 12 05 121 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer 7 3 8 8 Measuring the AM Modulation Depth The following commands configure AM Modulation Depth measurements To perform the actual measurement use the commands described in section Performing and Triggering Measurements The numeric suffixes lt n gt and lt m gt at CALCulate and MARKer are irrelevant List of commands e CALCulate lt n gt MARKer lt m gt FUNCtion MDEPth STATe lt State gt p 122 e CALCulate lt n gt MARKer lt m gt FUNCtion MDEPth RESult p 122 CALCulate lt n gt MARKer lt m gt FUNCtion MDEPth STATe lt State gt This command turns the AM Modulation Depth measurement on and off The numeric suffixes at CALCulate and MARKer are irrelevant Parameter lt State gt ON OFF Example CALC MARK FUNC MDEP ON Activates the h
176. rol Commands Remote Commands of the Cable and Antenna Analyzer 7 2 8 Configuring and Using Measurement Functions This chapter provides information on how to configure two port measurements with the tracking generator The structure follows the order of the actual operation sequence used when performing a measurement e Selecting the Cable Characteristics on page 57 e Selecting the Measurement Mode on page 57 e Calibrating the Measurement on page 59 To perform the actual measurement use the commands described in section Performing and Triggering Measurements 7 2 8 1 Selecting the Measurement Port The following commands select the measurement port List of commands e MEASurement PORT lt Port gt p 56 MEASurement PORT lt Port gt This command selects the measurement port Parameter lt Port gt Numeric value in the range from 1 to 2 Example MEAS PORT 1 Selects port 1 Characteristics RST value 1 SCPI device specific me a Software Manual 1173 9005 12 05 56 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer 7 2 8 2 Selecting the Cable Characteristics The following commands define the cable characteristics for the cable you are testing in CAT mode List of commands e CALCulate DTF CABle PRESet lt CableModel gt p 57 CALCulate DTF CABle PRESet lt CableModel gt This command selects the cable model Parameter lt CableModel gt Strin
177. s RST value off SCPI device specific SENSe SWEep EGATe HOLDoff lt GateDelay gt This command defines the length of the gate delay Parameter lt GateDelay gt Numeric value in the range from 0 s to 100 s WEE Software Manual 1173 9005 12 05 78 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer Example SWE EGAT HOLD 2 5 Sets a gate delay of 2 5 seconds Characteristics RST value 0s SCPI device specific SENSe SWEep EGATe LENGth lt GateLength gt This command defines the gate length Parameter lt GateLength gt Numeric value in the range from 10 us to 100 s Example SWE EGAT LENG 2 5 Sets a gate length of 2 5 seconds Characteristics RST value 400 us SCPI device specific SENSe SWEep EGATe TIME lt SweepTime gt This command defines the sweep time for the gated trigger Parameter lt Sweep Time gt Numeric value in seconds Example SWE GATE TIME 4ms Sets a sweep time of 4 ms for the gated trigger Characteristics RST value 400 us SCPI device specific TRiIGger SEQuence HOLDoff TIME lt TriggerDelay gt This command defines the length of the trigger delay Parameter lt TriggerDelay gt Numeric value in the range from 0 s to 100 s Software Manual 1173 9005 12 05 79 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer Example TRIG HOLD 500us Set
178. s 2524 corresponds to the 631 sweep points of the R amp S ZVH lt value gt 4 byte floating point value Example FORM ASC Selects the ASCii data format Characteristics RST value ASCii SCPI conform Software Manual 1173 9005 12 05 85 7 3 6 7 3 6 1 7 3 6 2 Remote Commands of the Spectrum Analyzer Using Markers e Markers and Delta Markers on page 86 e Marker Functions on page 86 Markers and Delta Markers The following commands are for setting and controlling markers and deltamarkers In spectrum mode mode the suffix lt n gt at CALCulate selects the trace The suffix lt m gt at MARKer is in the range 1 6 and selects the marker or deltamarker List of commands CALCulate lt n gt DELTamarker lt m gt STATe lt State gt p 47 CALCulate lt n gt DELTamarker lt m gt AOFF p 48 CALCulate lt n gt DELTamarker lt m gt MAXimum PEAK p 48 CALCulate lt n gt DELTamarker lt m gt MAXimum NEXT p 48 CALCulate lt n gt DELTamarker lt m gt MINimum PEAK p 48 CALCulate lt n gt DELTamarker lt m gt X lt Coordinate gt p 49 CALCulate lt n gt DELTamarker lt m gt X RELative lt Distance gt p 49 CALCulate lt n gt DELTamarker lt m gt Y p 50 CALCulate lt n gt MARKer lt m gt STATe lt State gt p 51 CALCulate lt n gt MARKer lt m gt AOFF p 51 CALCulate lt n gt MARKer lt m gt MAXimum PEAK p 51 CALCulate lt n gt MARKer lt m gt MAXimum NEXT p 52 CALCulate lt n gt MARK
179. s if lt file_destination gt contains no path Otherwise the file is moved to the indicated path and stored under the file name specified there This command is an event and therefore has no RST value and no query Parameter lt SourceFile gt String containing the path and file name of the source file lt DestinationFile gt String containing the path and name of the destination file WEE Software Manual 1173 9005 12 05 156 R amp S ZVH Remote Control Commands File Management Example MMEM MOVE Public Screen Shots Screen0002 png Public Screen Shots Screen0001 png Renames Screen0002 png to Screen0001 png MMEM MOVE Public Screen Shots Screen0001 png Public Test Picl png Moves file Screen0006 png to the Test folder and renames the file Pic1 png Characteristics RST value SCPI conform MMEMory RD IRectory lt Directory gt This command deletes the indicated directory The directory name includes the path and may also include the drive name The path name complies with DOS conventions This command is an event and therefore has no RST value and no query Parameter lt Directory gt String containing the path of the directory to delete Example MMEM RDIR Public Screen Shots Deletes the directory Screen Shots Characteristics RST value SCPI device specific MMEMory STORe STATe 1 lt FileName gt This command stores the current device settings i
180. s command optimizes the settings for the SEM measurement This command is an event and therefore has no query and no RST value Parameter ONCE Example ESP PRES SET ONCE Initializes an adjustment of the settings Characteristics RST value SCPI device specific Software Manual 1173 9005 12 05 123 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer SENSe SWEep MODE lt State gt This command turns the spectrum emission mask measurement on and off Parameter AUTO turns spectrum mode on ESPectrum turns the SEM on Example SWE MODE ESP Starts the SEM measurement Characteristics RST value AUTO SCPI device specific 7 3 8 10 Using an Isotropic Antenna This chapter describes all commands available to set up measurements with an isotropic antenna You can use an isotropic antenna with all measurement modes that are described above List of commands e INPut ANTenna MEASure lt Direction gt p 124 e INPut ANTenna STATe lt State gt p 125 e SENSe CORRection TRANsducerc lt t gt ISOTropic STATe p 125 INPut ANTenna MEASure lt Direction gt This command selects the direction that the isotropic antenna measures Parameter lt Direction gt AUTO automatically selects the direction X Y Z measures the corresponding direction only Example INP ANT MEAS X Measures in x direction Characteristics RST value AUTO
181. s command queries the vertical position of a delta marker The result is always a relative value in relation to marker 1 If necessary the corresponding delta marker is activated first To get a valid result you have to perform a complete sweep with synchronization to the sweep end between activating the delta marker and reading out the result This is only possible in single sweep mode Return value lt MarkerPosition gt In NA and CAT mode the unit depends on the measurement format In spectrum analyzer mode the unit depends on the unit you have set and the scaling of the vertical axis Parameter or measuring functions Output unit DBM DBPW DBUV DBMV DBUA dB lin log WATT VOLT AMPere dB lin log Example INIT CONT OFF Switches to single sweep mode CALC DELT2 ON Switches on delta marker 2 INIT WAI Starts a sweep and waits for its end CALC DELT2 Y Queries the horizontal position of delta marker 2 Characteristics RST value SCPI device specific Software Manual 1173 9005 12 05 50 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer CALCulate lt n gt MARKer lt m gt STATe lt State gt This command turns markers on and off If you do not use a suffix at MARKer marker 1 is selected If one or more delta markers 2 to 6 are already active the command turns these delta markers into normal markers Para
182. s the step size to 10 of the span Characteristics RST value DIVTen SCPI device specific SENSe FREQuency SPAN lt Span gt This command defines the frequency span If you set a span of 0 Hz in spectrum mode the R amp S ZVH starts a measurement in the time domain Software Manual 1173 9005 12 05 32 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer Parameter lt Span gt Numeric value in Hz The value range is specified in the data sheet Example FREQ SPAN 10MHz Defines a span of 10 MHz Characteristics RST value fmax With fmax Maximum frequency SCPI conform SENSe FREQuency SPAN AUTO lt State gt This command turns the automatic calculation of the ideal span on and off Parameter lt State gt ON OFF Example FREQ SPAN AUTO ON Turns automatic span determination on and off Characteristics RST value OFF SCPI device specific SENSe FREQuency STARt lt StartFrequency gt This command defines the start frequency for measurements in the frequency domain span gt 0 Parameter lt StartFrequency gt Numeric value in Hz The range depends on the operating mode and is specified in the datasheet Example FREQ STAR 20MHz Defines a start frequency of 20 MHz Characteristics RST value 0 SCPI conform WEEN Software Manual 1173 9005 12 05 33 Remote Commands of the Cable and Antenna Analyzer SENSe FREQ
183. s the trigger delay to 500 us Characteristics RST value 0s SCPI conform TRiIGger SEQuence LEVel VIDeo lt TriggerLevel gt This command defines the level of the video trigger Video trigger is available for time domain measurements span 0 Parameter lt TriggerLevel gt Numeric value in the range from 0 to 100 Example TRIG LEV VID 50PCT Sets the trigger level to 50 Characteristics RST value 50 PCT SCPI device specific TRiIGger SEQuence SLOPe lt TriggerSlope gt This command selects the slope of the trigger signal The trigger slope applies to all trigger sources Parameter lt TriggerSlope gt POSitive NEGative Example TRIG SLOP NEG Characteristics RST value POSitive SCPI conform TRiIGger SEQuence SOURce lt TriggerSource gt This command selects the trigger source Parameter lt TriggerSource gt WEEN Software Manual 1173 9005 12 05 80 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer IMMediate Free Run EXTernal External trigger ViDeo Video trigger For more information see R amp S ZVH operating manual chapter Setting the Sweep Example TRIG SOUR EXT Selects the external trigger input as source of the trigger signal Characteristics RST value IMMediate SCPI conform 7 3 5 Working with Traces The following commands set up the trace and the various functions associated with it e g trace mathematics or
184. sition is valid Return values 0 GPS position is not valid 1 GPS position is valid Example SYST POS VAL Characteristics RST value SCPI device specific WEEN Software Manual 1173 9005 12 05 163 R amp S ZVH Remote Control Commands Configuring the Instrument 7 8 3 Display Configuration This chapter describes commands to set up the display of the R amp S ZVH via remote control List of Commands DISPlay BRIGhtness lt Brightness gt p 164 DISPlay CMAP lt ColorScheme gt p 164 DISPlay CMAP DEFault p 165 DISPlay DATE FORMat lt DateFormat gt p 165 DISPlay BRIGhtness lt Brightness gt This command sets the brightness of the display backlight Parameter lt Brightness gt Numeric value in the range from 0 to 1 Example DISP BRIG 0 80 Sets the brightness of the display to 80 Characteristics RST value 0 5 50 SCPI device specific DISPlay CMAP lt ColorScheme gt This command sets the color scheme of the display Parameter lt ColorScheme gt COLor color BW black amp white PF printer friendly Example DISP CMAP BW Sets the screen colors to black and white Characteristics RST value COLor SCPI conform WEEN Software Manual 1173 9005 12 05 164 R amp S ZVH Remote Control Commands Configuring the Instrument DISPlay CMAP DEFault This command sets the display to the default state This command is an event and therefore has no query and no RST
185. srseneseresennesnnes 98 7 4 Remote Commands of the Network Analyzer Mode ccseceeseesseseseeeeeeeees 126 7 4 1 Configuring the Horizontal AxiS 0 eccceecceceeeeeeeeeeeeeeeeeaeeeeaaeeeeaeeseneeesaeeesaeeseaeeeeaes 126 7 4 2 Configuring the Vertical Avis 126 7 4 3 Setting the Bandwidths ccccesceecee eens eeeaeeeeaae scenes seaeeeseaeseeaeeseeeeeseaeessaeeseaeeeeaes 131 7 4 4 Performing and Triggering the Measurement ec ceeeeseeeeeenteeeeeeeteeeeetaeeeeeeneeeenens 131 7 4 5 Working with Traces 0 0 cccceeeeneeeeeene cece ences ee eeaeee neurie AUE NENNE AKAS AEAEE NES 131 7 4 6 Using Markers and Deltamarkers AA 133 7 4 7 Configuring the Measurement 137 7 5 Remote Commands of the Power Metet csseccssecssesesseeenseeeeeeesesseeseseeneeseees 145 7 5 1 Setting the Freouency 145 7 5 2 Configuring Power Level Headout 145 7 5 3 Defining the Measurement Time cccceeeeeeeeeeeeneeeeeeeeeeeeeeaeeeeeeaaeeeeeeaeeeeeeaeeeeneaa 147 WEEN Software Manual 1173 9005 12 05 2 R amp S ZVH Table of Contents 7 5 4 Performing Measurements with the Power Sensor sssssssessssiesrssresriesrrssreesren 148 7 6 File Manageme ntt cccccseeeceeeseeeceeesneeeeeesneeeeensneeeeensneeeeeesneeeeeeaneeeeeesneeseessnaeeeseanoes 151 7 7 Making and Storing Screenshots s cccssccsseeeseeeeseeeseeesesseeenseeeeeeeeesneseseenenseaes 158 7 8 Configuring the Instrument cceecceseeeeeseeeseeee
186. t 3 2 1 0 yvy att 15 14 13 12 PTRansition Part 3 2 10 15114113112 NTRansition Part 3 2 1 0 y yvy yyy yY 15 14 13 12 EVENt Part 3 2 10 to higher order register vvv Y vvvyv Z A A A amp BE amp EEBEE gt AAAA AAAA amp logical AND Sum bit logical OR 15 14 13 12 ENABle Part 3 2 1 0 of all bits Figure 7 1 The status register model 7 9 1 1 CONDition part The CONDition part is directly written into by the hardware or the sum bit of the next lower register Its contents reflects the current instrument status This register part can only be read but not written into or cleared Its contents is not affected by reading WEEN Software Manual 1173 9005 12 05 178 R amp S ZVH Remote Control Commands Status Reporting System 7 9 1 2 PTRansition part The Positive TRansition part acts as an edge detector When a bit of the CONDition part is changed from 0 to 1 the associated PTR bit decides whether the EVEN bit is set to 1 PTR bit 1 the EVENt bit is set PTR bit 0 the EVENt bit is not set This part can be written into and read at will Its contents is not affected by reading 7 9 1 3 NTRansition part The Negative TRansition part also acts as an edge detector When a bit of the CONDition part is changed from 1 to 0 the associated NTR bit decides whether the EVENt bit is set to 1 NTR Bit 1 the EVENt bit is set NTR Bit 0 the EVENt bit is not set
187. t A Number NAN represents the value 9 91E37 NAN is only sent as device response This value is not defined Possible causes are the division of zero by zero the subtraction of infinite from infinite and the representation of missing values Example Setting command SENSe FREQuency STOP MAXimum Query SENSe FREQuency STOP Response 3 5E9 WEEN Software Manual 1173 9005 12 05 21 R amp S ZVH SCPI Command Structure and Syntax eee UUULUUUMMMI Parameters 5 2 3 Boolean Parameters Boolean parameters represent two states The ON state logically true is represented by ON or a numerical value unequal to 0 The OFF state logically untrue is represented by OFF or the numerical value 0 The numerical values are provided as response for query Example Setting command CALCulate MARKer STATe ON Query CALCulate MARKer STATe Response 1 5 2 4 Text Text parameters observe the syntactic rules for key words 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 In the case of a query the short form of the text is provided Example Setting command INPut COUPling GROund Query INPut COUPling Response GRO 5 2 5 Strings Strings must always be entered in quotation marks or Example SYSTem LANGuage SCPI or SYSTem LANGuage SCPI 5 2 6 Block Data Block data are a transmission format which is suitable
188. t DisplayRange gt p 38 INPut AT Tenuation lt Attenuation gt p 39 SOURce TG AT Tenuation lt TGAttenuation gt p 39 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer DISPlay WINDow TRACect gt Y SCALe ADJust This command automatically scales the vertical axis for ideal display results This command is an event and therefore has no query and no RST value Example DISP TRAC Y ADJ Determines the ideal scaling for the y axis Characteristics RST value SCPI device specific DISPlay LOSS REFerence lt RefValue gt This command defines the reference value for the cable loss measurement format Parameter lt RefValue gt Numeric value in the range from 100 dB to 100 dB Example DISP LOSS REF 10 Defines a reference level of 10 dB Characteristics RST value 0 dB SCPI device specific DISPlay LOSS REFerence POSition lt RefPosition gt This command defines the position of the reference value in the diagram for the cable loss measurement format Each step shifts the reference position one grid line up or down Parameter lt RefPosition gt Numeric value in the range from 0 to 10 Example DISP LOSS REF POS 5 Moves the reference to the fifth grid line from the bottom Characteristics RST value 10 SCPI device specific WEE Software Manual 1173 9005 12 05 35 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Ante
189. t RefSource gt p 170 SYSTem BNC lt 1 2 gt MODE lt BNCFunction gt p 170 SYSTem DATE lt Date gt p 171 SYSTem ERRor NEXT p 171 SYSTem ERRor ALL p 171 SYSTem ERRor COUNt p 173 SYSTem ERRor CODE NEXT p 172 SYSTem ERRor CODE ALL p 172 SYSTem HELP HEADers p 173 SYSTem HELP SYNTax p 173 SYSTem LANGuage CATalog p 174 SYSTem POWer SOURCe p 174 SYSTem POWer STATus p 175 SYSTem PRESet p 175 SYSTem PRESet FACTory p 175 SYSTem PRESet MODE lt Mode gt p 176 SYSTem PRESet USER lt Preset gt p 176 SYSTem TIME lt Time gt p 176 SYSTem TZONee lt TimeShift gt p 177 SYSTem VERSion p 177 INPut IMPedance PAD lt MatchingPad gt This command selects the matching pad connected to the R amp S ZVH Parameter lt MatchingPad gt RAM RAZ HZTE Example INPut IMP 75 PAD RAZ Selects 75 Q input impedance and the R amp S RAZ as the matching pad Characteristics RST value SCPI device specific R amp S ZVH Remote Control Commands Configuring the Instrument SENSe ROSCilator SOURce lt RefSource gt This command selects the source of the frequency reference oscillator If you use an external reference signal make sure to connect the signal to the Ext Ref BNC connector of the R amp S ZVH Parameter lt RefSource gt INTernal internal reference EXTernal external reference Example ROSC SOUR EXT Activates external source as reference signal
190. t number of satellites gt Example SYST POS GPS SAT Characteristics RST value SCPI device specific SYSTem POSition LATitude This command queries the latitude of the current position of the R amp S ZVH Return values lt sign gt lt degrees gt lt minutes gt lt seconds gt lt sign gt no sign northern hemisphere negative sign southern hemisphere lt degrees gt degrees of latitude integer value lt minutes gt minutes of latitude integer value lt seconds gt seconds of latitude floating point value Software Manual 1173 9005 12 05 162 R amp S ZVH Remote Control Commands Configuring the Instrument Example SYST POS LAT Return value would be for example 48 7 40 0 for 48 7 40 0 in the northern hemisphere Characteristics RST value SCPI device specific SYSTem POSition LONGitude This command queries the longitude of the current position of the R amp S ZVH Return values lt sign gt lt degrees gt lt minutes gt lt seconds gt lt sign gt no sign east negative sign west lt degrees gt degrees of longitude integer value lt minutes gt minutes of longitude integer value lt seconds gt seconds of longitude floating point value Example SYST POS LONG Return value would be for example 11 36 46 2 for 11 36 46 2 East Characteristics RST value SCPI device specific SYSTem POSition VALid This command queries if the current po
191. tains the different commands and events causing the status reporting system to be reset None of the commands except RST and SYSTem PRESet influences the functional instrument settings In particular DCL does not change the instrument settings Table 7 8 Resetting the status reporting system Event Switching on supply voltage DCL SDC Power On Status Clear Device Clear RST or STATus PRESet CLS Selected Device SYSTem PRESet Clear ClearPPE O PPE Clear EVENt parts of the registers Clear ENABle parts of all OPERation and QUEStionable registers Fill ENABle parts of all other registers with 1 Fill PTRansition parts with 4 Clear NTRansition parts Clear Clear output buffer buffer Clear command processing yes and input buffer Every command being the first in a program message i e immediately following a KE MESSAGE TERMINATORs clears the output buffer WEE Software Manual 1173 9005 12 05 187 R amp S ZVH Remote Control Commands Status Reporting System 7 9 7 Remote Commands of the Status Reporting System The following commands control the status reporting system RST does not influence the status registers The OPERation status register contains information about the calibration status of the instrument The QUEStionable status register contains information about the status of the reference and local oscillator possible overloads of the instrument and the status of limit checks and
192. te gt ON OFF Example CALC MARK FUNC NDBD STAT ON Turns on the n dB marker function CALC MARK FUNC NDBD 3 Positions two temporary markers 3 dB below a reference marker CALC MARK FUNC NDBD FREQ Queries the frequency position of the n dB Down markers would return e g 100000000 200000000 CALC MARK FUNC NDBD RES Queries the measurement result would return e g 100000000 Characteristics RST value OFF SCPI device specific CALCulate MARKer lt m gt FUNCtion NOISe STATe lt State gt This command turns the noise measurement for all markers on and off You can query the results of the noise power density at the marker position with CALCulate MARKer lt m gt FUNCtion NOISe RESult Parameter lt State gt ON OFF Example See CALCulate MARKer lt m gt FUNCtion NOISe RESult Characteristics RST value OFF SCPI device specific Software Manual 1173 9005 12 05 91 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer CALCulate MARKer lt m gt FUNCtion NOISe RESult This command queries the result of the noise measurement To get a valid result you have to perform a complete sweep with synchronization to the sweep end before reading out the result This is only possible in single sweep mode This command is an event and therefore has no RST value and no query Return value lt NoiseLevel gt The unit depends on UNIT POWer Exampl
193. the VSWR measurement format Parameter lt TopValue gt Numeric value in the range from 1 1 to 71 Example DISP VSWR Y SCAL MAX 25 Defines a top value of 25 for the vertical axis Characteristics RST value 21 SCPI device specific DISPlay VSWR Y SCALe lt DisplayRange gt This command defines the display range of the vertical axis for the VSWR measurement format Parameter lt DisplayRange gt Numeric value in the range from 1 1 to 71 The number you enter is rounded up to the next possible display range For example if you enter 5 the R amp S ZVH automatically sets the display range to 1 6 Example DISP VSWR Y SCAL 50 Defines a display range of 1 71 Characteristics RST value 1 21 SCPI device specific Software Manual 1173 9005 12 05 38 R amp S ZVH Remote Control Commands ee IIMA Remote Commands of the Cable and Antenna Analyzer INPut ATTenuation lt Attenuation gt This command defines the input attenuation In spectrum mode the attenuation is coupled to the reference level If you set the attenuation independently the R amp S ZVH turns off this coupling The R amp S ZVH adjusts the reference level if it can not be set for the current RF attenuation Parameter lt Attenuation gt Numeric value in in the range from 0 dB to 40 dB in 5 GB steps Example INP ATT 30dB Defines an attenuation of 30 dB and deactivates coupling to the reference level Characteristics R
194. the associated bit of the corresponding EVEN register Parameter lt SumBit gt 0 to 65535 Characteristics RST value SCPI conform STATus OPERation PTRansition lt SumBit gt This command controls the Positive TRansition part of the OPERation register Setting a bit causes a 0 to 1 transition in the corresponding bit of the associated register The transition also writes a 1 into the associated bit of the corresponding EVEN register Parameter lt SumBit gt 0 to 65535 Characteristics RST value SCPI conform STATus QUEStionable EVENt STATus QUEStionable FREQuency EVENt STATus QUEStionable LIMit EVENt STATus QUEStionable POWer EVENt This command reads out the EVENt section of the QUEStionable register The command at the same time deletes the contents of the EVENt section Characteristics RST value SCPI conform Software Manual 1173 9005 12 05 190 R amp S ZVH Remote Control Commands Status Reporting System STATus QUEStionable CONDition STATus QUEStionable FREQuency CONDition STATus QUEStionable LIMit CONDition STATus QUEStionable POWer CONDition This command reads out the CONDition section of the QUEStionable register The command does not delete the contents of the EVENt section Characteristics RST value SCPI conform STATus QUEStionable ENABle lt SumBit gt STATus QUEStionable FREQuency ENABle lt SumBit gt STATus QUEStionable LIMit ENABle lt SumBit gt STA
195. the current trace from trace in the memory Characteristics RST value SCPI conform CALCulate MATH STATe lt State gt This command turns trace mathematics on and off Parameter lt State gt ON OFF Example CALC MATH STAT ON Switches on the trace mathematics Characteristics RST value OFF SCPI conform DISPlay WINDow TRACe lt t gt STATe lt State gt This command turns a trace on and off Parameter lt State gt ON OFF Example DISP TRAC2 ON Turns the trace on Characteristics RST value ON for TRACe1 OFF for TRACe2 SCPI conform DISPlay WINDow TRACe lt t gt MODE lt TraceMode gt This command selects the trace mode If you are using the average max hold or min hold trace mode you can set the number of measurements with SENSe SWEep COUNt lt SweepCount gt Note that synchronization to the end of the average count is possible only in single sweep mode Software Manual 1173 9005 12 05 82 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer Parameter lt TraceMode gt AVERage MAXHold MINHold VIEW WRITe You can turn off the trace with DISPlay WINDow TRACe lt t gt STATe lt State gt For more information see the operating manual chapter Trace Mode Example SWE CONT OFF SWE COUN 16 Turn on single sweep mode and sets the number of measurements to 16 DISP TRAC MODE MAXH Activates MAXHold mode for the tr
196. to their use in the project This can be accomplished either by adding the modules VISA32 BAS and VPPTYPE BAS or a reference to the VISA32 DLL to the project References Simple vbp Available References Visual Basic For Applications Cancel b 2 visual Basic runtime objects and procedures Project Simple MV Visual Basic objects and procedures OLE Automation Browse ES VISA Library m SES TAS Helper COM Component 1 0 Type Library rE 7 TAS RADIUS Protocol 1 0 Type Library Simple Simple vbp 1 ComponentOne AwkOne Control Priority CH Forms VideoSoft vsOcx Controls aActEmail 1 0 Type Library fea Frain Main Frm ABManager 1 0 Type Library aboutlook 1 0 Type Library 59 Modules aboutlookex 1 0 Type Library s 154832 visa32 bas Arress2NNNDesinner 1 0 Tyne lihrary lt ei VPPTYPE vpptype bas VISA Library Location C WINNT System32 visa32 dll Language Standard Software Manual 1173 9005 12 05 7 R amp S ZVH Interfaces and Protocols LAN Interface The modules visa32 bas and vpptype bas can be found in the following location lt VXIpnpPath gt WinNT include typically C VXlpnp WinNit include Resetting the R amp S ZVH Manual operation is designed for maximum possible operating convenience In contrast the priority of remote control is the predictability of the device status Therefore control programs should always define an initial device status e g w
197. trum Analyzer CALCulate lt n gt LIMit lt k gt UPPer SELect lt LimitLine gt This command selects the upper limit line This command is an event and therefore has no RST value and no query Parameter lt LimitLine gt string containing the file name of the upper limit line Example CALC LIM UPP SEL GSM Upper rellim Selects the upper limit line Characteristics RST value SCPI conform 7 3 8 Configuring and Using Measurement Functions The R amp S ZVH provides measurement functions that allow you to perform advanced measurements and can also be controlled remotely General measurement functions e Working with Channel Tables on page 99 Power measurements Power Measurements on page 101 Measuring the Channel Power on page 105 Measuring the Occupied Bandwidth on page 106 TDMA Measurements on page 107 Measuring the Adjacent Channel on page 108 Measuring the Spectrum Emission Mask on page 123 Other measurements e Measuring the Harmonic Distortion on page 119 e Measuring the AM Modulation Depth on page 122 Isotropic Antenna e Using an Isotropic Antenna on page 124 Software Manual 1173 9005 12 05 98 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer 7 3 8 1 Working with Channel Tables Use the following commands to work with channel tables List of commands SENSe CHANnel lt ChannelNumber gt p 99 SENSe CHANnel TABLe SELect lt ChannelTable gt p 99
198. tters Additional text in lower case characters is for information only IR Software Manual 1173 9005 12 05 5 R amp S ZVH Introduction LAN Interface 1 Introduction With the software application R amp S ZVH K40 installed on the instrument it is possible to operate your R amp S ZVH via remote control In this manual you will find all information necessary to remotely control the R amp S ZVH Enabling the Option The Remote Control Option R amp S ZVH K40 is enabled by entering a key code The key code is based on the unique serial number of the instrument To retrofit an option enable it with a key code gt Press the SETUP key gt Press the Installed Options softkey gt Select Install Option under the Option Administration header gt Confirm with ENTER An entry box in the lower right corner of the screen is displayed gt Type in the the appropriate option key gt Confirm with ENTER If the correct key code is entered the R amp S ZVH displays If an invalid key code is entered the R amp S ZVH displays Software Manual 1173 9005 12 05 6 R amp S ZVH Interfaces and Protocols LAN Interface 2 Interfaces and Protocols The R amp S ZVH supports two different interfaces for remote control e LAN Interface The protocol is based on TCP IP and supports the VXI 11 standard e USB Interface The connectors are located at the side of the instrument and permit a connection to a controller for remote contr
199. ucer factor on and off Before turning it on you have to select a transducer factor with SENSe CORRection TRANSducer lt c gt SELect Parameter lt State gt ON OFF Example CORR TRAN1 ON Activates the primary transducer Characteristics RST value OFF SCPI device specific SENSe CORRection TRANsducer lt c gt SELect lt TransducerFactor gt This command selects a transducer factor If lt name gt does not exist yet a new transducer factor is created The suffix lt 1 2 gt specifies the primary or secondary transducer Parameter lt Transducerfactor gt string containing the file name of the transducer factor WEE Software Manual 1173 9005 12 05 71 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer If the file does not exist the R amp S ZVH creates a new transducer factor Example CORR TRAN2 SEL FSH Z38 sectrd Selects the FSH Z38 secondary transducer factor Characteristics RST value SCPI device specific SENSe CORRection TRANsducer lt c gt UNIT This command queries the unit of the current transducer factor Example CORR TRAN2 UNIT Queries the unit of the primary transducer Characteristics RST value SCPI device specific UNIT POWer lt Unit gt This command selects the unit of the vertical axis The availability of units depends on the operating mode and type of measurement Parameter lt Unit gt DBM DBUV DBM
200. uency STOP lt StopFrequency gt es mmer zz This command defines the stop frequency for measurements in the frequency domain span gt 0 Parameter lt StopFrequency gt Numeric value in Hz The range depends on the operating mode and is specified in the datasheet Example FREQ STOP 2000MHz Defines a stop frequency of 2 GHz Characteristics RST value fmax SCPI conform 7 2 2 Configuring the Vertical Axis The following commands configure the horizontal axis of the active display O Commands independent of the operating mode Note that some of the commands for configuring the vertical axis are also valid for other operating modes If a command is available in another mode it is indicated by the list in the respective section List of commands DISPlay WINDow TRACect gt Y SCALe ADuust p 35 DISPlay lt n gt LOSS REFerence lt RefValue gt p 35 DISPlay lt n gt LOSS REFerence POSition lt RefPosition gt p 35 DISPlay lt n gt LOSS Y SCALe lt DisplayRange gt p 36 DISPlay lt n gt MAGNitude REFerence lt RefValue gt p 36 DISPlay lt n gt MAGNitude REFerence POSition lt RefPosition gt p 36 DISPlay lt n gt MAGNitude Y SCALe lt DisplayRange gt p 37 DISPlay lt n gt MAGNitude Y SPACing lt Scaling gt p 37 DISPlay lt n gt VSWR Y SCALe MINimum lt BottomValue gt p 37 DISPlay lt n gt VSWR Y SCALe MAXimum lt TopValue gt p 38 DISPlay lt n gt VSWR Y SCALe l
201. uency gt p 31 SENSe FREQuency CENTer STEP lt StepSize gt p 32 SENSe FREQuency CENTer STEP LINK lt StepSizeCoupling gt p 32 SENSe FREQuency INPut MODE lt InputMode gt p 64 SENSe FREQuency MODE lt OperationMode gt p 64 SENSe FREQuency OFFSet lt FrequencyOffset gt p 65 SENSe FREQuency SPAN lt Span gt p 32 SENSe FREQuency SPAN AUTO lt State gt p 33 SENSe FREQuency SPAN FULL p 66 SENSe FREQuency STARt lt StartFrequency gt p 33 SENSe FREQuency STOP lt StopFrequency gt p 34 For a detailed description of all commands not included here refer to Configuring the Horizontal Axis in CAT mode Software Manual 1173 9005 12 05 62 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer SENSe FREQuency CENTer lt Frequency gt This command defines the center frequency of the R amp S ZVH In spectrum analyzer mode the command also defines the measuring frequency for time domain measurements span 0 Parameter lt Frequency gt Numeric value in Hz The range depends on the operating mode and is specified in the data sheet Example FREQ CENT 100MHz Defines a center frequency of 100 MHz Characteristics RST value fmax 2 with fmax Maximum frequency SCPI conform SENSe FREQuency CENTer STEP lt StepSize gt This command defines the center frequency step size Parameter lt StepSize gt Numeric value in Hz
202. um Analyzer Return value The return value consists of two values one for the lower and one for the upper adjacent channel FAILed limit check failed PASSed limit check passed Example CALC LIM ACP ACH RES Queries the limit check results The command would return e g FAILED FAILED Upper and lower adjacent channels violate a limit Characteristics RST value SCPI device specific CALCulate LIMit lt k gt ACPower ALTernate lt y gt RELative lt Limit gt This command defines the relative limit of the alternate channels The reference value for the relative limit value is the measured channel power Note that the relative limit has no effect on the limit check if it is below the absolute limit value See CALCulate LIMit lt k gt ACPower ALTernate lt y gt ABSolute lt Limit gt This mechanism allows automatic checking of the absolute basic values of adjacent channel power as defined in mobile radio standards Parameter lt Limit gt Numeric value in the range from 0 dB to 100 dB Example CALC LIM ACP ALT3 30 Defines a limit of 30 dB for the third alternate channel Characteristics RST value SCPI device specific CALCulate LIMit lt k gt ACPower ALTernate lt y gt RELative STATe lt State gt This command turns the relative limit check for an alternate channels on and off You have to activate the general ACLR limit check before using this command with CALCulate LIMit lt k gt ACPo
203. umentation Overview Documentation Overview The user documentation for the R amp S ZVH is divided as follows Quick Start Guide The Quick Start Guide provides basic information on the instrument s functions It covers the following topics overview of all elements of the front and rear panels basic information on how to set up the R amp S ZVH information on how to operate the R amp S ZVH in a network instructions on how to perform measurements Operating Manual The Operating Manual provides a detailed description on the instrument s functions It covers the following topics e instructions on how to set up and operate the R amp S ZVH in its various operating modes instructions on how to perform measurements with the R amp S ZVH instructions on how to work with the available software options and applications Service Manual The Service Manual provides information on maintenance It covers the following topics e instructions on how to perform a performance test e instructions on how to repair the R amp S ZVH including a spare parts list e mechanical drawings Release Notes The release notes describe the installation of the firmware new and modified functions eliminated problems and last minute changes to the documentation The corresponding firmware version is indicated on the title page of the release notes The current release notes are provided on the internet Internet Site The internet site at http www rohde schwarz
204. unt is possible only in single sweep mode Parameter lt TraceMode gt AVERage MAXHold MINHold VIEW WRITe Example SWE CONT OFF SWE COUN 16 Turn on single sweep mode and defines a sweep count of 16 measurements DISP TRAC MODE MAXH Activates MAXHold mode for the trace INIT WAI Performs a measurement with synchronization after 16 sweeps Characteristics RST value WRITe SCPI device specific FORMai DATA lt DataFormat gt This command selects the data format that is used for transmission of trace data from the R amp S ZVH to the controlling computer Note that the command has no effect for data that you send to the R amp S ZVH The R amp S ZVH automatically recognizes the data it receives regardless of the format Parameter lt DataFormat gt AGCH ASCii format separated by commas REAL 32 32 bit IEEE 754 floating point numbers in the definite length block format In REAL 32 format a string of return values would look like 42524 lt value 1 gt lt value 2 gt lt value n gt with 4 Number of digits of the following number of data bytes 4 in this example 2524 Number of following data bytes 2524 corresponds to the 631 sweep points of the R amp S ZVH lt value gt 4 byte floating point value Software Manual 1173 9005 12 05 44 R amp S ZVH Remote Control Commands Remote Commands of the Cable and Antenna Analyzer Example FORM ASC Selects the ASCII data format Ch
205. value Example DISP CMPA DEF Restores the original color scheme Characteristics RST value SCPI conform DISPlay DATE FORMat lt DateFormat gt This command sets the display date format Parameter lt DateFormat gt DDMMyyyy MMDDyyyy Example DISP DATE FORM DDMMyyyy Characteristics RST value DDMMyyyy SCPI device specific 7 8 4 Audio Settings This chapter describes all commands to control the audio functions of the R amp S ZVH List of commands e SYSTem AUDio VOLume lt Volume gt p 165 e SYSTem BEEPer VOLume lt Volume gt p 166 e SYSTem BEEPer KEY VOLume lt Volume gt p 166 SYSTem AUDio VOLume lt Volume gt This command sets the volume of the internal speaker Parameter lt Volume gt Numeric value in the range from 0 to 1 Example SYST AUD VOL 0 40 Sets the volume to 40 WEEN Software Manual 1173 9005 12 05 165 R amp S ZVH Remote Control Commands Configuring the Instrument Characteristics RST value 0 3 30 SCPI device specific SYSTem BEEPer VOLume lt Volume gt This command sets the volume of the system beeper Parameter lt Volume gt Numeric value in the range from 0 to 1 Example SYST BEEP VOL 0 50 Sets the volume of the beeper to 50 Characteristics RST value 0 6 60 SCPI conform SYSTem BEEPer KEY VOLume lt Volume gt This command sets the volume of the keyboard click noise Parameter lt Volume gt Numer
206. vice specific CALCulate LIMit lt k gt ACPower ACHannel RELative lt Limit gt This command defines the relative limit of the adjacent channels The reference value for the relative limit value is the measured channel power Note that the relative limit has no effect on the limit check if it is below the absolute limit value See CALCulate LIMit lt k gt ACPower ACHannel ABSolute lt Limit gt This mechanism allows automatic checking of the absolute basic values of adjacent channel power as defined in mobile radio standards Parameter lt Limit gt Numeric value in the range from 0 dB to 100 dB Example CALC LIM ACP ACH 30 Defines a limit of 30 dB Characteristics RST value SCPI device specific CALCulate LIMit lt k gt ACPower ACHannel RELative STATe lt State gt This command turns the relative limit check for the adjacent channels on and off You have to activate the general ACLR limit check before using this command with CALCulate LIMit lt k gt ACPower STATe lt State gt first Parameter lt State gt ON OFF Example CALC LIM ACP ACH STAT ON Activates the relative limit check Characteristics RST value OFF SCPI device specific Software Manual 1173 9005 12 05 115 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer CALCulate LIMit lt k gt ACPower ACHannel ABSolute lt Limit gt This command defines the absolute limit for the adjacent channels
207. w TRACe lt t gt MEMory STATe lt State gt p 43 DISPlay WINDow TRACe lt t gt MODE lt TraceMode gt p 44 FORMat DATA lt DataFormat gt p 44 FORMat BORDer lt ByteOrder gt p 83 SENSe DETector lt t gt FUNCtion lt Detector gt p 83 SENSe DETector lt t gt FUNCtion AUTO lt State gt p 84 TRACe DATA p 132 For a detailed description of commands not described here refer to Working with Traces in CAT mode and Working with Traces in spectrum analyzer mode Software Manual 1173 9005 12 05 131 R amp S ZVH Remote Control Commands Remote Commands of the Network Analyzer Mode TRACe DATA This command reads out the trace data of the current measurement With the FORMat DATA lt DataFormat gt command you can set the data format Parameter The available parameters depend on the format of the result display Display of one S parameter TRACE1 queries the data of the currently displayed data Display of two S parameters split screen mode TRACE1 queries the data of the upper screen TRACE2 queries the data of the lower screen Display of four S parameters split screen mode TRACE1 queries the data of S11 TRACE2 queries the data of S21 TRACE3 queries the data of S22 TRACE4 queries the data of S12 Return value The R amp S ZVH returns 631 values Each value corresponds to one pixel of a trace The result and unit depends on the measurement format Note that for the MPHase format
208. wer STATe lt State gt first Parameter lt State gt ON OFF WEE Software Manual 1173 9005 12 05 117 R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer Example CALC LIM ACP ALT3 STAT ON Activates the relative limit check for the third alternate channel Characteristics RST value OFF SCPI device specific CALCulate LIMit lt k gt ACPower ALTernate lt y gt ABSolute lt Limit gt This command defines the absolute limit for the alternate channels Note that the absolute limit has no effect on the limit check if it is below the relative limit See CALCulate LIMit lt k gt ACPower ALTernate lt y gt RELative lt Limit gt This mechanism allows automatic checking of the absolute basic values of adjacent channel power as defined in mobile radio standards Parameters lt Limit gt Numeric value in the range from 200 dBm to 200 dBm Example CALC LIM ACP ALT3 ABS 30 Sets the absolute limit to 30 dBm for the third alternate channel Characteristics RST value SCPI device specific CALCulate LIMit lt k gt ACPower ALTernate lt y gt ABSolute STATe lt State gt This command turns the absolute limit check for an alternate channel on and off You have to activate the general ACLR limit check before using this command with CALCulate LIMit lt k gt ACPower STATe lt State gt first Parameter lt State gt ON OFF Example CALC LIM ACP ALT3 ABS STAT
209. xis in CAT mode R amp S ZVH Remote Control Commands Remote Commands of the Spectrum Analyzer DISPlay WINDow TRACec lt t gt Y SPACing lt Scaling gt This command selects the scaling of the vertical axis Parameter lt Scaling gt LOGarithmic logarithmic scaling LINear linear scaling Example DISP TRAC Y SPAC LIN Selects linear scaling of the level axis Characteristics RST value LOGarithmic SCPI conform DISPlay WINDow TRACect gt Y SCALe lt DisplayRange gt This command defines the display range of the vertical axis Note that you have to set a logarithmic scaling before you can use this command with DISPlay WINDow TRACe lt t gt Y SPACing Fora linear scale you can not modify the display range as it is fixed Parameter lt DisplayRange gt numeric value in the range from 10 dB to 200 dB Example DISP TRAC Y 110dB Sets the display range to 110 dB Characteristics RST value 100dB SCPI device specific DISPlay WINDow TRACect gt Y SCALe RLEVel lt ReferenceLevel gt This command defines the reference level With a reference level offset 0 the value range of the reference level is modified by the offset Parameter lt ReferenceLevel gt numeric value that sets the reference level the unit depends on UNIT POWer The available value range is specified in the data sheet Software Manual 1173 9005 12 05 68 R amp S ZVH Remote Control Commands Remote
210. y requests the maximal value for the stop frequency 5 1 2 6 Special Characters A vertical stroke in parameter definitions indicates alternative possibilities in the sense of or The effect of the command differs depending on which parameter is used Example DISPlay FORMat SINGle SPLit If parameter SING1e is selected full screen is displayed in the case of SPLit split screen is displayed A selection of key words with an identical effect exists for several commands These keywords are indicated in the same line they are separated by a vertical stroke Only one of these keywords needs to be included in the header of the command The effect of the command is independent of which of the keywords is used Example ENSe BANDwidth BWIDth RESolution he two following commands with identical meaning can be created They set the requency of the fixed frequency signal to 1 kHz SENSe BAND 1 SENSe BWID 1 gt l D Key words in square brackets can be omitted when composing the header The full command length must be accepted by the instrument for reasons of compatibility with the SCPI standards Example SENSe BANDwidth BWIDth RESolution SENS BAND RES is equivalent to BAND Parameters in square brackets can be incorporated optionally in the command or omitted as well Software Manual 1173 9005 12 05 18 R amp S ZVH SCPI Command Structure and Syntax eee Structure of a Co
211. zoom function in a Smith chart Parameter lt ZoomFactor gt 2 4 8 Example DISP ZOOM FACT 4 Sets the zoom factor to 4 Characteristics RST value SCPI device specific DISPlay lt n gt ZOOM X lt HorizShift gt This command shifts the zoom window horizontally in the Smith chart 0 marks the center on the horizontal axis Parameter lt HorizShift gt Numeric value in the range from 50 to 50 Example DISP ZOOM X 10 Shift the zoom window 10 to the right Characteristics RST value 0 SCPI device specific DISPlay lt n gt ZOOM Y lt VerticalShift gt This command shifts the zoom window vertically in the Smith chart 0 marks the center on the vertical axis Parameter lt VerticalShift gt Numeric value in the range from 50 to 50 Example DISP ZOOM Y 25 Shifts the zoom window 25 down Characteristics RST value 0 SCPI device specific Software Manual 1173 9005 12 05 136 R amp S ZVH Remote Control Commands Remote Commands of the Network Analyzer Mode 7 4 7 Configuring the Measurement This chapter provides information on how to configure two port measurements with the tracking generator The structure follows the order of the actual operation sequence used when performing a measurement The suffix lt n gt at MEASurement selects the measurement screen in dual trace mode and is in the range from lt 1 2 gt Selecting the Measurement Port on page 137 Calibr

Download Pdf Manuals

image

Related Search

Related Contents

技術英語講読 2 Reading on Technical English 専門・自然科学系基礎    連続鋳造モールド振動監視  Camera Accessories - Kaiser Fototechnik  取扱い説明書 - エレス株式会社  Samsung GALAXY  351 - IMPRESSORA MATRICIAL  de - FEZER  Samsung SAMSUNG Candy Bar CDMA Phone Seri SCH-E189 User Manual  Radio Shack 12-1655 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file