
Operating Manual 1302.6163.12 - 03
7.9
R&S ESU
Remote Control – Programming Examples
More Complex Programming Examples
'Activate search limit and set to ±400 kHz about center
frequency
status = viWrite(analyzer, "CALC:THR:STAT ON", 16, retCnt)
status = viWrite(analyzer, "CALC:THR -60DBM", 15, retCnt)
'Activate threshold and set to –60 dBm
'--------- Activate search for spurious ---------------------
status = viWrite(analyzer, "CALC:MARK:FUNC:FPE:SORT X", 25, retCnt)
'Sort according to frequency
status = viWrite(analyzer, "INIT;*WAI", 9, retCnt)
'Perform sweep with sync
status = viWrite(analyzer, "CALC:MARK:FUNC:FPE 10", 21, retCnt)
'Search for 10 highest peaks
status = viWrite(analyzer, "CALC:MARK:FUNC:FPE:COUN?", 24, retCnt)
'Call number of peaks, check it,
status = viRead(analyzer, countstr$, 30, retCnt)
'and read it in
status = viWrite(analyzer, "CALC:MARK:FUNC:FPE:X?", 21, retCnt)
'Query and read
status = viRead(analyzer, freqlist$, 1000, retCnt)
'frequency list
status = viWrite(analyzer, "CALC:MARK:FUNC:FPE:Y?", 21, retCnt)
'Query and read
status = viRead(analyzer, powerlist$, 1000, retCnt)
'level list
Print "# of spurious: ";countstr$
'Output number of results
Print "Frequencies: ";freqlist$
'Output frequency list
Print "Power: ";powerlist$
'Output level list
END SUB
REM ************************************************************************
7.3.1.2
Shape Factor Measurement (Using n dB Down)
The n-dB-down function of the R&S ESU is used twice to determine the shape factor
of a filter (ratio of bandwidths at 60 dB and 3 dB below the filter maximum).
The following example is again based on a signal with a level of –30 dBm at 100
MHz. The shape factor is determined for the 30 kHz resolution bandwidth. The
default setting of the R&S ESU is used for measurements (SetupInstrument).
REM ************************************************************************
Public Sub ShapeFactor()
result$ = Space$(100)
'--------- R&S ESU default setting --------------------------
CALL SetupInstrument
'Default setting
status = viWrite(analyzer, "INIT:CONT OFF", 13, retCnt)
'Single sweep
'--------- Set frequency ------------------------------------
Summary of Contents for ESU Series
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...