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
Summary of Contents for 1129.7246.03
Page 1: ...R S ESU EMI Test Receiver Operating Manual 1302 6163 12 03 Test Measurement Operating Manual ...
Page 25: ......
Page 27: ...R S ESU Putting into Operation 1 2 Operating Manual 1302 6163 12 03 ...
Page 29: ...R S ESU Getting Started 2 2 Operating Manual 1302 6163 12 03 ...
Page 31: ...R S ESU Manual Operation 3 2 Operating Manual 1302 6163 12 03 ...
Page 349: ...R S ESU Instrument Functions Basic Settings 4 318 Operating Manual 1302 6163 12 03 ...
Page 405: ...R S ESU Instrument Functions User Port 4 374 Operating Manual 1302 6163 12 03 ...
Page 439: ...R S ESU Remote Control Basics Status Reporting System 5 34 Operating Manual 1302 6163 12 03 ...
Page 841: ...R S ESU Error Messages Device Specific Messages 9 10 Operating Manual 1302 6163 12 03 ...
Page 854: ...Operating Manual 1302 6163 12 03 10 13 R S ESU ...
Page 855: ...R S ESU 10 14 Operating Manual 1302 6163 12 03 ...