EasyManua.ls Logo

R&S ESU Series - Limit Lines and Limit Test

R&S ESU Series
855 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Operating Manual 1302.6163.12 - 03 7.13
R&S ESU Remote Control – Programming Examples
More Complex Programming Examples
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 ESU 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

Table of Contents

Related product manuals