Remote Control
R&S
®
ESR
1030
User Manual 1175.7068.02 ─ 12
CALL InstrWrite (analyzer, "INIT:CONT ON") 'Switch to continuous sweep
CALL InstrWrite (analyzer, "ABORt") 'Stop the measurement
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:FREQuency:STARt 500000")
'Change the start frequency
CALL InstrWrite (analyzer, ":INITiate1:SPURious") 'Restart the measurement
'--------- Defining the range settings in single sweep mode ----------------
CALL InstrWrite (analyzer, "INIT:CONT OFF") 'Switch to single sweep
CALL InstrWrite (analyzer, "INIT;*WAI") 'Perform sweep, wait for sweep
'end
Rem Edit one range at a time. Make sure to edit the ranges in a correct
Rem order to prevent limit violations. Ranges cannot overlap.
Rem The best way is to start with range 1.
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:FREQuency:STARt 500000")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:FREQuency:STOP 550000")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:FILTer:TYPE NORM")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:BANDwidth:RESolution 3000000")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:BANDwidth:VIDeo 10000000")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:SWEep:TIME:AUTO ON")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:DETector RMS")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:RLEVel -10")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:INPut:ATTenuation:AUTO ON")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:POINts 8001")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:INPut:GAIN:STATe OFF")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:BREak OFF")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:LIMit:STARt -20")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:LIMit:STOP -20")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:LIMit:STATe ON")
Rem Proceed with range 2.
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe2:FREQuency:STARt 1000000")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe2:FREQuency:STOP 200000000")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe2:FILTer:TYPE CFILter")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe2:BANDwidth:RESolution 5000000")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe2:DETector POS")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe2:RLEVel -20")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe2:INPut:ATTenuation 0")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe2:POINts 32001")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe2:INPut:GAIN:STATe ON")
Rem Proceed with range 3.
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe3:FREQuency:STARt 250000000")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe3:FREQuency:STOP 1000000000")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe3:FILTer:TYPE RRC")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe3:POINts 32001")
Rem Proceed with range 4.
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe4:FREQuency:STARt 1200000000")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe4:FREQuency:STOP 4000000000")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe4:FILTer:TYPE PULSe")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe4:POINts 251")
Rem Proceed with range 5.
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe5:FREQuency:STARt 5000000000")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe5:FREQuency:STOP 6000000000")
Remote Control – Programming Examples