Remote Control
R&S
®
ESRP
979
User Manual 1175.7445.02 ─ 08
'OFF: off
'--------- Set frequency ---------------------------------------------------
CALL InstrWrite (analyzer, "FREQ:CENT 800 MHz")
'Set frequency
'--------- Set level -------------------------------------------------------
CALL InstrWrite (analyzer, "DISP:WIND:TRAC:Y:RLEV 10 dBm")
'Reference level
'--------- Example 1: Configure CP/ACP for CDMA----------------------------
CALL InstrWrite (analyzer, "CALC:MARK:FUNC:POW:SEL ACP")
'ACP measurement on
CALL InstrWrite (analyzer, "CALC:MARK:FUNC:POW:PRES F8CDMA")
'Select CDMA800 FWD
CALL InstrWrite (analyzer, "SENS:POW:ACH:ACP 2")
'Select 2 adjacent channels
CALL InstrWrite (analyzer, "SENS:POW:ACH:PRES ACP")
'Optimize settings
CALL InstrWrite (analyzer, "SENS:POW:ACH:PRES:RLEV")
'Optimize reference level
CALL InstrWrite (analyzer, "SENS:POW:ACH:MODE ABS")
'Absolute measurement
CALL InstrWrite (analyzer, "SENS:POW:HSP ON")
'Fast ACP measurement
'--------- Perform measurement and query results --------------------------
CALL InstrWrite (analyzer, "INIT;*WAI") 'Perform sweep with sync
CALL InstrWrite (analyzer, "CALC:MARK:FUNC:POW:RES? ACP")
'Query result CALL InstrRead(analyzer, result$)
'--------- Read out result -------------------------------------------------
Print "Result (CP, ACP low, ACP up, Alt low, Alt up):"Print result$
'--------- Example 2: Configure CP/ACP manually for GSM--------------------
result$ = Space$(100)
CALL InstrWrite (analyzer, "FREQ:CENT 935.2 MHz")
'Set frequency
CALL InstrWrite (analyzer, "CALC:MARK:FUNC:POW:SEL ACP")
'ACP measurement on
CALL InstrWrite (analyzer, "SENS:POW:ACH:ACP 1")
'1 adjacent channel
CALL InstrWrite (analyzer, "SENS:POW:ACH:BAND 200 KHZ")
'Channel bandw. 200 kHz
CALL InstrWrite (analyzer, "SENS:POW:ACH:BAND:ACH 200 KHZ")
'Adjacent channel band-
'width 200 kHz
CALL InstrWrite (analyzer, "SENS:POW:ACH:SPAC 200 KHZ")
'Channel spacing 200 kHz
CALL InstrWrite (analyzer, "SENS:POW:ACH:PRES ACP")
'Optimize settings
CALL InstrWrite (analyzer, "SENS:POW:ACH:PRES:RLEV")
'Optimize reference level
CALL InstrWrite (analyzer, "SENS:POW:ACH:MODE ABS")
'Absolute measurement
'--------- Start measurement and query result ------------------------------
Remote Control – Programming Examples