Rohde & Schwarz 1157.3458.02 User manual

1157.3564.12-08- 1
Test and Measurement
Division
Operating Manual
Remote Control for R&SFSH
R&SFSH-K1
1157.3458.02
R&S FSH – Firmware Version 11.0

1157.3564.12-08- 2
Dear Customer,
R&S® is a registered trademark of Rohde & Schwarz GmbH & Co. KG.
Trade names are trademarks of the owners.

R&S FSH-K1 Table of Contents
1157.3564.12 I.1 E-8
Contents
Enabling Remote Control Option R&S FSH-K1................................................................................1
Connecting PCs...................................................................................................................................2
Installation of the driver for the USB optical cable (R&S FSH-Z37) ..............................................2
Serial Port Configuration ...............................................................................................................2
Notational Conventions......................................................................................................................3
Starting Remote Control Operation ...............................................................................................3
Device Messages.................................................................................................................................4
Acknowledge Response <ack> .....................................................................................................4
Timeout..........................................................................................................................................4
Functional Description of Commands ...........................................................................................5
Parameter Overview............................................................................................................................7
Get / Set Parameter.......................................................................................................................7
Get Parameter .............................................................................................................................10
CMD Commands .........................................................................................................................11
Command Description ......................................................................................................................12
General Commands ....................................................................................................................12
Frequency and Span Settings .....................................................................................................16
Amplitude Settings.......................................................................................................................18
Bandwidth Settings......................................................................................................................21
Sweep Settings............................................................................................................................24
Trace Settings..............................................................................................................................26
Marker..........................................................................................................................................32
Measurement...............................................................................................................................40
Tracking Generator......................................................................................................................46
Power Sensor ..............................................................................................................................50
Channel Power ............................................................................................................................52
Occupied Bandwidth....................................................................................................................54
TDMA Power ...............................................................................................................................56
Distance To Fault Measurement .................................................................................................58
Receiver Mode.............................................................................................................................60
Carrier / Noise Measurement ......................................................................................................63
WCDMA BTS CDP Measurement ...............................................................................................67
Programming Examples ...................................................................................................................72


R&S FSH-K1 Table of Contents
1157.3564.12 I.1 E-8


R&S FSH-K1 Enabling Remote Control Option R&S FSH-K1
1157.3564.12 1 E-8
Enabling Remote Control Option R&S FSH-K1
The R&S FSH spectrum analyzer can be fitted with the Remote Control Option R&S FSH-K1, which 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.
Operation
Press the GENERAL key.
Use the Rotary knob or the Cursor keys to select the OPTIONS... menu item and confirm the entry
with the ENTER key.
Enter the key code (ten-digit number) for the option with the decimal keys and confirm with the ENTER
key.
If the correct key code is entered, the R&S FSH displays "Remote Control enabled".
If an invalid key code is entered, the R&S FSH displays "Option key error".
The correct key code can then be entered.

Connecting PCs R&S FSH-K1
1157.3564.12 2 E-8
Connecting PCs
The R&S FSH can be remote controlled by a PC or Laptop equipped with an USB interface or a RS232
interface.
RS232 optical interface
The RS232 optical interface is used for connecting a PC or Laptop. The interface connector is located
at the right-hand side of the R&S FSH, it can be accessed by folding out the support.
The USB Optical Interface Cable R&S FSH-Z37 (supplied with the R&S FSH) or the RS232 Optical
Interface Cable R&S FSH-Z34 are used to make the connection. The optical connection prevents
spurious measurements being caused by interference from these devices.
Fold out the support at the rear of the
R&S FSH.
Connect the optical connector of the
RS-232 cable to the optical interface
on the right-hand side of the
R&S FSH.
Connect the USB connector of the
cable to the USB connector of the PC
(R&S FSH-Z37) or the 9-pin D-Sub
connector of the cable to the RS-232
connector of the PC (R&S FSH-Z34).
For the USB cable R&S FSH-Z37:
Install the USB driver supplied on the
R&S FSH CD-ROM.
Installation of the driver for the USB optical cable (R&S FSH-Z37)
The USB driver available on the R&S FSH CD-ROM emulates a serial COM port on the PC. In order to
install the driver on a PC equiped with Windows XP or Windows 2000 please proceed as follows:
Connect the optical USB cable to the PC. The hardware installation wizzard will pop up and state
that it has found a USB to serial bridge.
Insert the R&S FSH CD-ROM.
Select “automatic software installation” and press “Next”. The installation wizzard will automatically
search for the necessary driver and install it.
In case that the wizzard does not find the driver files you will be prompted for manual entry of the
corresponding path. The driver is located on the CD-ROM in folder “\drivers\USB”.
Press “Finish” in order to finalize the installation. The USB cable is now ready for use.
Serial Port Configuration
The serial interface configuration on the PC should be set to
8data bits, 1 stop bit, no parity
The baud rate can be configured via the Setup menu on the R&S FSH or the SET BAUD command.
The baud rates can be 9.600, 19.200, 38.400, 57.600 or 115.200 Baud. The default baud rate is 19.200
Baud

R&S FSH-K1 Notational Conventions
1157.3564.12 3 E-8
Notational Conventions
The following section describes the notational conventions as they are used throughout this document.
Meta Symbol Specification
:= Equals
|Separator for selectable items
“...” Characters between “ “ are taken as they are, but the “ “ are excluded
(example “,” means an ASCII comma).
[...] Specifies an optional element
{...} Specifies an element that may be repeated.
Item Description
<character> ‘0’ .. ‘9’, ‘a’ .. ‘z’, ‘A’ .. ‘Z’
<string> <character> { <character> }
<sign> ( ‘+’ | ‘-’ )
<digit> ‘0’ .. ‘9’
<numeric value> [ <sign> ] <digit> { <digit> } [ . { <digit> } ] [ e | E [ <sign> ] { <digit>} ]
Starting Remote Control Operation
On power-on, the R&S FSH is always in the manual operation state (“LOCAL” state) and can be
operated via the front panel.
If the R&S FSH receives a remote command the
instrument remains in local state. It is switched to
remote state as soon as it receives the command
“REMOTE” from the PC.
In remote state the front panel access is disabled.
The R&S FSH can be switched back to local state
by sending the LOCAL command.

Device Messages R&S FSH-K1
1157.3564.12 4 E-8
Device Messages
The remote control command set of the R&S FSH can be grouped into three categories:
•SET commands
SET commands are used to program parameters of the instrument like
center frequency, span, etc.
•GET commands
GET commands are used to query current settings and data from the instrument like
center frequency, marker, trace data, etc.
•CMD commands
CMD commands are used to initiate an action or a state transition in the instrument like
marker-to-peak, preset, remote state, etc.
Acknowledge Response <ack>
After receiving a SET, GET or CMD command the R&S FSH responds with an “acknowledge”
message. The acknowledge message consists of an ASCII digit (“0” for no error) followed by a Carriage
Return <cr>. The response message indicates if the command or parameter is valid.
Asecond acknowledge response is generated after the command parameter.
<ack> response:
“0” No Error.
“1” Syntax Error. This response is generated when the command sent to the instrument is not
known or when the timeout on data reception expired. It is also generated, when the
parameter or value for the command are in the wrong data format.
“2” Execution Error. The command sent is not allowed in the current measurement mode.
“3” Dataset Storage Full. This response is generated when the dataset storage is full.
“4” Not Allowed. In the current state of the R&S FSH setting this parameter or value is not
allowed.
“5” Out Of Range. The parameter value is out of range and cannot be programmed.
Timeout
To prevent any lockups in the communication between PC and instrument the data transfer via the
serial interface is monitored by the R&S FSH. There is a timeout time of 60 seconds on every byte
received by the instrument. When the time between 2 bytes in a command or parameter send exceeds
60 seconds the R&S FSH will respond with a ‘Syntax Error’ acknowledge message (“1”<cr>).
Note: When using remote control commands and the sweep time is less than 30 ms (e.g. Zero
span) the measurement will stop until the complete command is received (in this case all
interrupts are switched off due to the processing of all data points).

R&S FSH-K1 Device Messages
1157.3564.12 5 E-8
Functional Description of Commands
The command strings and parameter strings are not case sensitive, eg ‘Freq’ is similar to ‘FREQ’.
GET Command
GET commands are used to query parameter settings or measured data from the instrument.
Program syntax: get<cr>
Response syntax: <ack><cr>
Program syntax: <parameter><cr>
<parameter> := <string>
This is one of the parameters defined in the following section.
Response syntax: <ack><cr>
<value><cr>
<value>:= This field depends on the type of parameter, see the specific value
descriptions
Example: This command queries the unit from the instrument.
get<cr> (send ‘get’ command)
0<cr> (responds ‘command ok’)
UNIT<cr> (send parameter ‘UNIT’)
0<cr> (responds ‘parameter ok’)
6<cr> (responds UNIT value ‘Volt’)
SET Command
SET commands are used to program parameter and setup settings of the instrument.
Program syntax: set<cr>
Response syntax: <ack><cr>
Program syntax: <parameter>,<value><cr>
<parameter> := <string>
This is one of the parameters defined in the following section.
<value>:= This field depends on the type of parameter, see the specific value
descriptions
Response syntax: <ack><cr>
Example: This command sets the unit to Watt.
set<cr> (send ‘set’ command)
0<cr> (responds ‘command ok’)
UNIT,7<cr> (send parameter ‘UNIT’ value is ‘Watt’)
0<cr> (responds ‘parameter ok’)

Device Messages R&S FSH-K1
1157.3564.12 6 E-8
CMD Command
CMD commands are used to initiate an action or a state transition on the instrument.
Program syntax: cmd<cr>
Response syntax: <ack><cr>
Program syntax: <parameter>,<value><cr>
<parameter> := <string>
This is one of the commands defined in the following section
<value>:= This field depends on the type of parameter, see the specific value
descriptions
Response syntax: <ack><cr>
Example 1: This command sets the instrument in Remote Controlled.
cmd<cr> (send ‘cmd’ command)
0<cr> (responds ‘command ok’)
REMOTE<cr> (send parameter ‘REMOTE’)
0<cr> (responds ‘parameter ok’)
Example 2: This command saves a dataset on the instrument with the name ‘test’.
cmd<cr> (send ‘cmd’ command)
0<cr> (responds ‘command ok’)
SAVE,test<cr> (send parameter ‘SAVE’ with name ‘test’)
0<cr> (responds ‘parameter ok’)

R&S FSH-K1 Parameter Overview
1157.3564.12 7 E-8
Parameter Overview
In the following tables all parameters and commands are listed with the different measurement modes
they are active in.
Note: Parameters are not always available, this depends on the type of measurement selected
and other settings.
Get / Set Parameter
Parameter
Analyzer
Receiver Mode
Tracking Gen.
Isotropic Antenna
Power Sensor
Carrier Noise
Channel Power
Occupied BW
TDMA Power
Distance to Fault
WCDMA BTS CDP
ACCESSORY * * * * * * * * * * *
ANTDIV *
AUTOCISPRBW *
AUTODET * * * * * * *
AUTORBW * * * * * *
AUTOSPAN * * * *
AUTOSWPTIME * * * * * * *
AUTOVBW * * * * * *
BAUD * * * * * * * * * *
CABLELEN *
CABLEMOD *
CHANNEL * * * * * * *
CHMODE * * * * * * *
CHPWRBW *
CHPWRSTD *
CHPWRCSTD *
CHPWRUNIT *
CHTABLE * * * * * * *
CISPRBW *
CNCHBW *
CNMANREFPWR *
CNMEASMODE *
CNMODE *
CNNORM *
CNPILOTFRQ *
CNPWRDISP *
CNREFPWR *
CNUNIT *
CNVISIONFRQ *
DELTA1 * * * * *
DELTA * * * * *
DELTAALLON * * * * *
DELTA1ON * * * * *
DELTAON * * * * *

Parameter Overview R&S FSH-K1
1157.3564.12 8 E-8
Parameter
Analyzer
Receiver Mode
Tracking Gen.
Isotropic Antenna
Power Sensor
Carrier Noise
Channel Power
Occupied BW
TDMA Power
Distance to Fault
WCDMA BTS CDP
DISPLAY * * * * * * * * * * *
DTFMODE *
DYNRANGE * * * * * * * * * *
EXTINPUT * * * * * * * * * *
FREQ * * * * * * * * * * *
FREQOFFS * * * * * *
FREQSTART *
FREQSTOP *
LENUNIT * * * * * * * * * *
LIMDEF * * * * * * * * *
LIMLOW * * * * * * * * *
LIMUPP * * * * * * * * *
MARK1 * * * * *
MARK * * * * *
MARKALLON * * * * *
MARK1ON * * * * *
MARKON * * * * *
MARKMODE * * * * *
MARKDEMOD * * *
MARKTIME * * *
MARKVOL * * *
MARKIMPREF *
MARKMEASY *
MATHMODE *
MEAS * * * * * * * * * * *
MEASTIME * * *
OBWSTD *
OBWCSTD *
OBWCHBW *
PREAMP * * * * * * * * *
PSCRCD *
PWRSSTD *
RANGE * * * * * * * * *
RBW * * * * * * * *
REFLUNIT *
REFLVL * * * * * * * * * *
REFLVLOFFS * * * * * * * * * * *
RFINPUT * * * * * * * * *
SCANMODE *
SCANSTART *
SCANSTOP *
SCANSTEP *
SPAN * * * * * *
SSCRCD *
SWPCONT * * * * * * * * *

R&S FSH-K1 Parameter Overview
1157.3564.12 9 E-8
Parameter
Analyzer
Receiver Mode
Tracking Gen.
Isotropic Antenna
Power Sensor
Carrier Noise
Channel Power
Occupied BW
TDMA Power
Distance to Fault
WCDMA BTS CDP
SWPTIME * * * * * * * *
TDMASTD *
TDMACSTD *
TGATT *
TGLVL *
TGMODE *
THRLOW *
THRUPP *
TRACEAVG * * * * * * *
TRACEDET * * * * * * * *
TRACEMODE * * * * * * * *
TRD1 * * * * * *
TRD1X *
TRD1Y *
TRD1Z *
TRD2 * * * * * * *
TRIGDEL * * * * * * *
TRIGLVL * * * * * * *
TRIGSRC * * * * * * * *
UNIT * * * * * * * * * *
VBW * * * * * * *

Parameter Overview R&S FSH-K1
1157.3564.12 10 E-8
Get Parameter
Parameter
Analyzer
Receiver Mode
Tracking Gen.
Isotropic Antenna
Power Sensor
Carrier Noise
Channel Power
Occupied BW
TDMA Power
Distance to Fault
WCDMA BTS CDP
CABLELOSS *
CARRFREQERR *
CCORRTRACE * *
CCORRTRACEBIN * *
CHPWR *
CNVALUE *
CPICHPWR *
CPICHSLOTNR *
CPICHSYMEVM *
CTRACE * *
CTRACEBIN * *
DELTAALL? * * * * *
ELCABLENVAL *
EXTREF * * * * * * * * * *
IDN? * * * * * * * * * *
LEVEL *
LIMCHKREMOTE *
LIMLIST * * * * * * * * *
LIMPASS * * * * * * * * *
MARKALL? * * * * *
MTRACE * * * * * * * * *
MTRACEBIN * * * * * * * * *
OCCBW *
PCCPCHPWR *
PCCPCHSYMEVM *
PSCHPWR *
PWR *
REFL *
REFLCAL * *
REFLVECTCAL * *
SSCHPWR *
STB? * * * * * * * * * *
SYNCRESULT *
TDMAPWR *
TEMP * * * * * * * * * * *
THRPASS *
TOTPWR *
TRACE * * * * * * * * *
TRACEBIN * * * * * * * * *
TRANSCAL *
TRANSVECTCAL *

R&S FSH-K1 Parameter Overview
1157.3564.12 11 E-8
CMD Commands
Parameter
Analyzer
Receiver Mode
Tracking Gen.
Isotropic Antenna
Power Sensor
Carrier Noise
Channel Power
Occupied BW
TDMA Power
Distance to Fault
WCDMA BTS CDP
CAL_DTF *
CAL_TGSCLRFL *
CAL_TGSCLTRN *
CAL_TGVECRFL *
CAL_TGVECTRN *
INIT * * * * * * * * * * *
LOCAL * * * * * * * * * * *
LVLADJUST * * * * *
MARKNXTPK * * * * *
MARKPK * * * * *
MARKMIN * * * * *
MARKTOCENT * * * *
LIMDEL * * * * * * * * *
MARKTOLVL * * * * *
PRESET * * * * * * * * * * *
PWRTOREF *
RECALL * * * * * * * * * * *
REMOTE * * * * * * * * * * *
RESTART
SAVE * * * * * * * * * * *
THROFF *
TRACETOMEM *
WAIT * * * * * * * * * *
ZERO *
Note: When the instrument is in the state standby (Off) only the parameters IDN?, BAUD and
MEAS are available.

Command Description R&S FSH-K1
1157.3564.12 12 E-8
Command Description
General Commands
Command Parameters Unit Comment
IDN? GET command only
BAUD 0...4 SET command only
REMOTE
LOCAL
PRESET
INIT
WAIT
STB? GET command only
EXTINPUT 0, 1
SAVE <string>
RECALL <string>
EXTREF 0…3 GET command only
DISPLAY 0...1
TEMP GET command only
IDN?
This command returns the instrument ID string.
This string contains: <manufacturer>,<model number>,<serial number>,<software version>.
<model number>: 03, 13, 23 for the according FSH3 model
06, 26 for the according FSH6 model
Example: get<cr>
0<cr>
idn?<cr> ‘query ID string
0<cr> ‘responds parameter ok
Rohde&Schwarz,23,100212,V11.0‘instrument ID string

R&S FSH-K1 Command Description
1157.3564.12 13 E-8
BAUD (Serial baud rate)
This command sets the serial interface baud rate. The default baud rate is 19.200 Baud.
Value Baud rate
019.200
138.400
257.600
3115.200
49.600
Example: set<cr>
0<cr>
baud,3<cr> ‘set baud rate on 115.200
0<cr> ‘responds ok with current baud rate
‘instrument is set to new baud rate
REMOTE
This command sets the instrument to remote state. Front panel interaction is disabled.
Example: cmd<cr>
0<cr>
remote<cr> ‘set instrument to remote
0<cr> ‘responds parameter ok
LOCAL
This command sets the instrument to local state. Front panel operation is enabled.
Example: cmd<cr>
0<cr>
local<cr> ‘set instrument to local
0<cr> ‘responds parameter ok
PRESET
This command sets the instrument to the preset settings.
Example: cmd<cr>
0<cr>
preset<cr> ‘set instrument to preset
0<cr> ‘responds parameter ok
INIT
This command starts / re-starts a new sweep.
Example: cmd<cr>
0<cr>
init<cr> ‘start new sweep
0<cr> ‘responds parameter ok

Command Description R&S FSH-K1
1157.3564.12 14 E-8
WAIT
This command is used to synchronize with the end of a sweep. After sending the WAIT command the
<ack> acknowledge is holdoff until the sweep is complete.
Example: cmd<cr>
0<cr>
wait<cr> ‘wait for end of sweep
0<cr> ‘responds parameter ok, sweep complete
STB?
This command returns the instrument status. The status indicates any settings/conditions that causes
measurements to be questionable (response: ‘1’) or not (response ‘0’).
Example: get<cr>
0<cr>
stb?<cr> ‘query status
0<cr> ‘responds parameter ok
0<cr> ‘status: o.k.
EXTINPUT (External Input)
This command switches between external trigger input and external reference input on the external
input connector. Default is ‘External Trigger’.
Value External Input Connector
0External Trigger
1External Reference
Example: set<cr>
0<cr>
extinput,1<cr> ‘enable external reference on input connector
0<cr> ‘responds parameter ok
SAVE
This command saves the current setting and measurement in the specified dataset. If the dataset exists
it will be overwritten. Dataset names are not case sensitive.
Example: cmd<cr>
0<cr>
save,mydata.001<cr> ‘save settings to dataset “MYDATA.001”
0<cr> ‘responds parameter ok
RECALL
This command recalls a stored dataset. Dataset names are not case sensitive.
Example: cmd<cr>
0<cr>
recall,mydata.001<cr> ‘recall settings from dataset “MYDATA”
0<cr> ‘responds parameter ok
Table of contents
Other Rohde & Schwarz Remote Control manuals