Remote Control
R&S
®
ESR
1009User Manual 1175.7068.02 ─ 12
– 120 MHz/-70 dB,
– 126 MHz/-40 dB,
– 127 MHz/-40 dB,
– 128 MHz/-10 dB,
– 129 MHz/-40 dB,
– 130 MHz/-40 dB,
– 136 MHz/-70 dB
●
Relative y-axis with unit dB
●
Absolute threshold at –75 dBm
●
No margin
The signal of the integrated calibration source (128 MHz, -30 dBm) is used to check
the limit test.
REM ************************************************************************
Public Sub LimitLine()
result$ = Space$(100)
'--------- R&S FSV default setting ----------------------------------------
CALL SetupInstrument 'Default setting
CALL InstrWrite (analyzer, "FREQUENCY:CENTER 128 MHz;Span 10 MHz")
'Span
CALL InstrWrite (analyzer, "Diag:Serv:Inp Cal")
'Cal signal on
'--------- Definition of limit lines ---------------------------------------
CALL InstrWrite (analyzer, "CALC:LIM5:NAME 'TEST1'")
'Define name
CALL InstrWrite (analyzer, "CALC:LIM5:COMM 'Upper limit'")
'Define comment
CALL InstrWrite (analyzer, "CALC:LIM5:TRAC 1")
'Assign trace
CALL InstrWrite (analyzer, "CALC:LIM5:CONT:DOM FREQ")
'Define x-axis range
CALL InstrWrite (analyzer, "CALC:LIM5:CONT:MODE ABS")
'Define x-axis scaling
CALL InstrWrite (analyzer, "CALC:LIM5:UNIT DB")
'Define y-axis unit
CALL InstrWrite (analyzer, "CALC:LIM5:UPP:MODE REL")
'Define y-axis scaling
'--------- Definition of data points and threshold -------------------------
xlimit$ = "CALC:LIM5:CONT 120 MHZ,126 MHZ,127 MHZ,128 MHZ,129 MHZ,130 MHz,136 MHz"
CALL InstrWrite (analyzer, xlimit$) 'Set values for x-axis
CALL InstrWrite (analyzer, "CALC:LIM5:UPP -70,-40,-40,-20,-40,-40,-70")
'Set values for y-axis
CALL InstrWrite (analyzer, "CALC:LIM5:UPP:THR -75 DBM")
'Set y threshold (only
'possible for relative
'y-axis)
'--------- Definition of margin or x/y offset-----------------------------
'A margin or an x/y offset can be defined here.
Remote Control – Programming Examples