![Rohde & Schwarz R&S FSP Series Operating Manual Download Page 746](http://html.mh-extra.com/html/rohde-and-schwarz/rands-fsp-series/rands-fsp-series_operating-manual_1477864746.webp)
R&S FSP
Remote Control – Programming Examples
More Complex Programming Examples
7.12
Operating Manual 1164.4556.12 - 06
7.3.2
Limit Lines and Limit Test
The example below shows the definition and use of a new limit line 5 for trace 1 on
screen A and trace 2 on screen B with the following characteristics:
• Upper limit line
• Absolute x-axis in the frequency range
• 5 reference values: 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 FSP default setting --------------------------
CALL SetupInstrument
'Default setting
status = viWrite(analyzer, "FREQUENCY:CENTER 128MHz;Span 10MHz", 34, retCnt)
'Span
status = viWrite(analyzer, "Diag:Serv:Inp Cal;CSO -30dBm", 28, retCnt)
'Cal signal on
'--------- Definition of limit lines ------------------------
status = viWrite(analyzer, "CALC:LIM5:NAME 'TEST1'", 22, retCnt)
'Define name
status = viWrite(analyzer, "CALC:LIM5:COMM 'Upper limit'", 28, retCnt)
'Define comment
status = viWrite(analyzer, "CALC1:LIM5:TRAC 1", 17, retCnt)
'Assign trace in screen A
status = viWrite(analyzer, "CALC2:LIM5:TRAC 2", 17, retCnt)
'Assign trace in screen B
status = viWrite(analyzer, "CALC:LIM5:CONT:DOM FREQ", 23, retCnt)
'Define x-axis range
status = viWrite(analyzer, "CALC:LIM5:CONT:MODE ABS", 23, retCnt)
'Define x-axis scaling
status = viWrite(analyzer, "CALC:LIM5:UNIT DB", 17, retCnt)
'Define y-axis unit
status = viWrite(analyzer, "CALC:LIM5:UPP:MODE REL", 22, retCnt)
'Define y-axis scaling
Summary of Contents for R&S FSP Series
Page 1: ...R S FSP Spectrum Analyzer Operating Manual 1164 4556 12 06 Test Measurement Operating Manual ...
Page 24: ...R S FSP Putting into Operation 1 2 Operating Manual 1164 4556 12 06 ...
Page 72: ...R S FSP Manual Operation 3 2 Operating Manual 1164 4556 12 06 ...
Page 793: ...R S FSP Index Operating Manual 1164 4556 12 06 4 11 ...
Page 794: ...R S FSP 4 12 Operating Manual 1164 4556 12 06 ...
Page 795: ...Operating Manual 1164 4556 12 06 4 13 R S FSP ...
Page 796: ...R S FSP 4 14 Operating Manual 1164 4556 12 06 ...