Remote Control
R&S
®
ESRP
980
User Manual 1175.7445.02 ─ 08
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):"Print result$
'--------- Active limit check ----------------------------------------------
result$ = Space$(100)
CALL InstrWrite (analyzer, "CALC:LIM:ACP:ACH 30 DB, 30 DB")
'Set relative limit
CALL InstrWrite (analyzer, "CALC:LIM:ACP:ACH:ABS -35 DBM,-35 DBM")
'Set absolute limit
CALL InstrWrite (analyzer, "CALC:LIM:ACP:ACH:STAT ON")
'Rel. limit check on
CALL InstrWrite (analyzer, "CALC:LIM:ACP:ACH:ABS:STAT ON")
'Abs. limit check on
CALL InstrWrite (analyzer, "CALC:LIM:ACP ON")
'Limit check on
'--------- Start measurement and query result ------------------------------
CALL InstrWrite (analyzer, "INIT;*WAI") 'Perform sweep with sync
CALL InstrWrite (analyzer, "CALC:LIM:ACP:ACH:RES?")
'Query result of limit check
CALL InstrRead(analyzer, result$)
'--------- Read out result -------------------------------------------------
Print "Result Limit Check:";result$
END SUB
REM ************************************************************************
Example of channel/adjacent-channel power measurement
POW:ACH:ACP 3
Sets the number of adjacent/alternate channels to 3.
POW:ACH:BAND 30 KHZ
Sets the bandwidth of the transmission channel to 30 kHz.
POW:ACH:BAND:ACH 40 KHZ
Sets the bandwidth of each adjacent channel to 40 kHz.
POW:ACH:BAND:ALT1 50 KHZ
Sets the bandwidth of each alternate channel to 50 kHz.
POW:ACH:BAND:ALT2 60 KHZ
Sets the bandwidth of alternate channel 2 to 60 kHz.
POW:ACH:SPAC 30 KHZ
Sets the spacing between the transmission channel and the adjacent channel to 30
kHz, the spacing between the transmission channel and alternate channel 1 to 60 kHz,
and the spacing between the transmission channel and alternate channel 2 to 90 kHz.
Remote Control – Programming Examples