Quick Start
R&S
®
ESR
128
User Manual 1175.7068.02 ─ 12
'--------- Default setting f the R&S FSV ---------------------------------
CALL SetupStatusReg 'Configure status registers
CALL InstrWrite(analyzer,"*RST") 'Reset instrument
CALL InstrWrite(analyzer,"SYST:DISP:UPD ON")
'ON: screen display on
'OFF: off (improved performance)
CALL InstrWrite(analyzer,"INIT:CONT OFF")
'Single sweep mode
'--------- Frequency setting -----------------------------------------------
CALL InstrWrite(analyzer,"FREQUENCY:CENTER 100MHz")
'Center frequency
CALL InstrWrite(analyzer,"FREQ:SPAN 1 MHz")
'Span
'--------- Level setting ---------------------------------------------------
CALL InstrWrite(analyzer,"DISP:WIND:TRAC:Y:RLEV -20dBm")
'Reference level
CALL InstrWrite(analyzer,"INP:ATT 10dB")
'Input attenuation (*)
'--------- Level scaling ---------------------------------------------------
CALL InstrWrite(analyzer,"DISP:WIND:TRAC:Y:SPAC LOG")
'Log level axis
CALL InstrWrite(analyzer,"DISP:WIND:TRAC:Y:SCAL 100dB")
'Level range
CALL InstrWrite(analyzer,"DISP:WIND:TRAC:Y:SCAL:MODE ABS")
'Absolute scaling
CALL InstrWrite(analyzer,"CALC:UNIT:POW DBM")
'y meas. unit
'--------- Trace and detector setting --------------------------------------
CALL InstrWrite(analyzer,"DISP:TRAC1:MODE AVER")
'Trace1 average
CALL InstrWrite(analyzer,"AVER:TYPE VID")
'Average mode video; "LIN" for linear
CALL InstrWrite(analyzer,"SWE:COUN 10")
'Sweep count
CALL InstrWrite(analyzer,"DISP:TRAC2 OFF")
'Trace2 blank
CALL InstrWrite(analyzer,"DISP:TRAC3 OFF")
'Trace3 blank
CALL InstrWrite(analyzer,"DISP:TRAC4 OFF")
'Trace4 blank
CALL InstrWrite(analyzer,"DISP:TRAC5 OFF")
'Trace5 blank
CALL InstrWrite(analyzer,"DISP:TRAC6 OFF")
'Trace6 blank
CALL InstrWrite(analyzer,"CALC:MATH:STAT OFF")
'Trace difference off
CALL InstrWrite(analyzer,"DET1 RMS")
'Detector Trace1 (*)
CALL InstrWrite(analyzer,"DET2:AUTO ON")
Brief Introduction to Remote Control