Remote Control
R&S
®
ESR
1029
User Manual 1175.7068.02 ─ 12
Rem independent from the set measurement mode.
'--------- Deleting all ranges ---------------------------------------------
Rem Delete all ranges to prepare for setting up a new measurement
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe4:DELete")
'Delete range 4
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe3:DELete")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe2:DELete")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:DELete")
'--------- Defining the start frequency for all ranges ---------------------
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:FREQuency:STARt 1000000")
Rem Setting the start frequency of range 1 will create the ranges and
Rem every other range value will be set to the default value.
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe2:FREQuency:STARt 2000000")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe3:FREQuency:STARt 3000000")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe4:FREQuency:STARt 4000000")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe5:FREQuency:STARt 5000000")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe:COUNT?")
'Queries the number of defined
'ranges
'--------- Querying the parameters of range 1 ------------------------------
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:FREQuency:STARt?")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:FREQuency:STOP?")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:FILTer:TYPE?")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:BANDwidth:RESolution?")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:BANDwidth:VIDeo?")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:SWEep:TIME:AUTO?")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:DETector?")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:RLEVel?")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:INPut:ATTenuation:AUTO?")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:INPut:GAIN:STATe?")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:BREak?")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:TRANsducer?")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:SWEep:TIME?")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:INPut:ATTenuation?")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:POINts?")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:LIMit:STARt?")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:LIMit:STOP?")
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:LIMit:STATe?")
'--------- Changing into the Spurious Emissions measurement mode -----------
CALL InstrWrite (analyzer, ":SENSe1:SWEEP:MODE LIST")
Rem In continuous sweep mode, editing the ranges is not allowed.
Rem You have to stop the measurement first.
Rem In single sweep mode, you can edit the ranges at the end of the sweep.
'--------- Single sweep version --------------------------------------------
CALL InstrWrite (analyzer, "INIT:CONT OFF") 'Switch to single sweep
CALL InstrWrite (analyzer, "SENSe1:LIST:RANGe1:FREQuency:STARt 500000")
'Change the start frequency
CALL InstrWrite (analyzer, "INIT;*WAI") 'Perform sweep, wait for sweep
'end
'--------- Continuous sweep version ----------------------------------------
Remote Control – Programming Examples