More Complex Programming Examples
R&S FSMR
1166.3363.12 7.14
E-1
Default Setting for Measurements
REM ************************************************************************
Public Sub SetupInstrument()
'-------------------- R&S FSMR default setting -----------------------------
-----
CALL SetupStatusReg
'Set status registers
CALL IBWRT(analyzer%,"*RST")
'Reset instrument
CALL IBWRT(analyzer%,"SYST:DISP:UPD ON")
'ON: display on
'OFF:
off(improved
' performance)
CALL IBWRT(analyzer%,"DISP:FORM SINGle")
'Full screen
CALL IBWRT(analyzer%,"DISP:WIND1:SEL")
'Active screen A
CALL IBWRT(analyzer%,"INIT:CONT OFF")
'Single sweep
'--------- Set frequency --------------------------------------------------
CALL IBWRT(analyzer%,"FREQUENCY:CENTER 100MHz")
'Center frequency
CALL IBWRT(analyzer%,"FREQ:SPAN 1 MHz")
'Span
'--------- Set level ------------------------------------------------------
CALL IBWRT(analyzer%,"DISP:WIND:TRAC:Y:RLEV –20dBm") 'Reference level
CALL IBWRT(analyzer%,"INP:ATT 10dB")
'Input attenuation (*)
'--------- Scale y axis ----------------------------------------------------
CALL IBWRT(analyzer%,"DISP:WIND:TRAC:Y:SPAC LOG")
'Log level axis
CALL IBWRT(analyzer%,"DISP:WIND:TRAC:Y:SCAL 100dB")
'Level range
CALL IBWRT(analyzer%,"DISP:WIND:TRAC:Y:SCAL:MODE ABS") 'Absolute scaling
CALL IBWRT(analyzer%,"CALC:UNIT:POW DBM")
'Unit of y axis
'--------- Trace and detector settings -------------------------------------
CALL IBWRT(analyzer%,"DISP:WIND:TRAC1:MODE AVER")
'Trace1 average
CALL IBWRT(analyzer%,"AVER:TYPE VID")
'Average mode video;
'"LIN"
for
linear
CALL IBWRT(analyzer%,"SWE:COUN 10")
'Sweep count
CALL IBWRT(analyzer%,"DISP:WIND:TRAC2:STAT OFF")
'Trace2 blank
CALL IBWRT(analyzer%,"DISP:WIND:TRAC3:STAT OFF")
'Trace3 blank
CALL IBWRT(analyzer%,"CALC:MATH:STAT OFF")
'Trace mathematics off
CALL IBWRT(analyzer%,"DETECTOR1 RMS")
'Detector Trace1 (*)
CALL IBWRT(analyzer%,"DET2:AUTO ON")
'Detector Trace2 (*)
CALL IBWRT(analyzer%,"DET3:AUTO ON")
'Detector Trace3 (*)
'--------- Band width and sweep time ---------------------------------------
CALL IBWRT(analyzer%,"BAND:RES 100KHz")
'Resolution BW (*)
CALL IBWRT(analyzer%,"BAND:VID 1MHz")
'Video bandwidth (*)
CALL IBWRT(analyzer%,"SWE:TIM 100ms")
'Sweep time (*)
END SUB
REM ************************************************************************
Содержание FSMR
Страница 1: ...R S FSMR Measuring Receiver Operating Manual Test Measurement Operating Manual 1313 9723 12 01...
Страница 4: ......
Страница 22: ......
Страница 26: ...Contents Preparing for Operation R S FSMR 1155 5047 12 I 1 2 E 2 Fig 1 1 Front View...
Страница 28: ...Front View R S FSMR 1166 3363 12 1 2 E 2 Fig 1 1 Front View...
Страница 30: ...Front View R S FSMR 1166 3363 12 1 4 E 2 Fig 1 1 Front View...
Страница 32: ...Front View R S FSMR 1166 3363 12 1 6 E 2 Fig 1 1 Front View...
Страница 34: ...Front View R S FSMR 1166 3363 12 1 8 E 2 Fig 1 1 Front View...
Страница 66: ......
Страница 86: ......
Страница 130: ...Menu Overview R S FSMR 1166 3363 12 3 42 E 3 Menu Overview another Keys MKR Key...
Страница 141: ...R S FSMR Menu Overview 1166 3363 12 3 53 E 3 LOCAL Menu LOCAL...
Страница 144: ......
Страница 150: ......
Страница 156: ......
Страница 202: ......
Страница 208: ......
Страница 216: ......
Страница 230: ......
Страница 254: ......
Страница 280: ......
Страница 348: ......
Страница 376: ...Configuration Setup R S FSMR 1166 3363 12 4 19 28 E 2...
Страница 390: ......
Страница 408: ......
Страница 428: ......
Страница 446: ......
Страница 536: ......
Страница 799: ......
Страница 921: ......
Страница 935: ......
Страница 937: ...Contents Error Messages R S FSMR 1166 3363 12 I 9 2 E 1...