Operating instructions

R&S ESCI More Complex Programming Examples
1166.6004.12 7.27 E-1
'--------- Example 2: Configure CP/ACP manually for GSM -------------------
result$ = Space$(100)
CALL IBWRT(receiver%,"FREQ:CENT 935.2MHz") 'Set frequency
CALL IBWRT(receiver%,"CALC:MARK:FUNC:POW:SEL ACP") 'ACP measurement on
CALL IBWRT(receiver%,"SENS:POW:ACH:ACP 1") '1 adjacent channel
CALL IBWRT(receiver%,"SENS:POW:ACH:BAND 200KHZ") 'Channel bandw. 200 kHz
CALL IBWRT(receiver%,"SENS:POW:ACH:BAND:ACH 200KHZ")'Adjacent channel band-
'width 200 kHz
CALL IBWRT(receiver%,"SENS:POW:ACH:SPAC 200KHZ") 'Channel spacing 200 kHz
CALL IBWRT(receiver%,"SENS:POW:ACH:PRES ACP") 'Optimize settings
CALL IBWRT(receiver%,"SENS:POW:ACH:PRES:RLEV") 'Optimize reference level
CALL IBWRT(receiver%,"SENS:POW:ACH:MODE ABS") 'Absolute measurement
'--------- Start measurement and query result ------------------------------
CALL IBWRT(receiver%,"INIT;*WAI") 'Perform sweep with sync
CALL IBWRT(receiver%,"CALC:MARK:FUNC:POW:RES? ACP") 'Query result
CALL IBRD(receiver%, result$)
'--------- Read out result -------------------------------------------------
Print "Result (CP, ACP low, ACP up): "
Print result$
'--------- Active limit check ----------------------------------------------
result$ = Space$(100)
CALL IBWRT(receiver%,"CALC:LIM:ACP:ACH 30DB, 30DB") 'Set relative limit
CALL IBWRT(receiver%,"CALC:LIM:ACP:ACH:ABS –35DBM,-35DBM")
'Set absolute limit
CALL IBWRT(receiver%,"CALC:LIM:ACP:ACH:STAT ON") 'Rel. limit check on
CALL IBWRT(receiver%,"CALC:LIM:ACP:ACH:ABS:STAT ON") 'Abs. limit check on
CALL IBWRT(receiver%,"CALC:LIM:ACP ON") 'Limit check on
'--------- Start measurement and query result ------------------------------
CALL IBWRT(receiver%,"INIT;*WAI") 'Perform sweep with
sync
CALL IBWRT(receiver%,"CALC:LIM:ACP:ACH:RES?") 'Query result of
CALL IBRD(receiver%, result$) 'limit check
'--------- Read out result -------------------------------------------------
Print "Result Limit Check: ";result$
END SUB
REM
************************************************************************