Frequency#

SCPI Commands :

[SOURce<HW>]:FREQuency:CENTer
[SOURce<HW>]:FREQuency:FREQuency
[SOURce<HW>]:FREQuency:MANual
[SOURce<HW>]:FREQuency:MODE
[SOURce<HW>]:FREQuency:MULTiplier
[SOURce<HW>]:FREQuency:OFFSet
[SOURce<HW>]:FREQuency:SPAN
[SOURce<HW>]:FREQuency:STARt
[SOURce<HW>]:FREQuency:STOP
Commands in total: 36
Subgroups: 6
Direct child commands: 9
get_center ( ) → float
set_center ( center: float ) → None
# [SOURce<HW>]:FREQuency:CENTer
# get:
value: float = driver.source.frequency.get_center()
# set:
driver.source.frequency.set_center(center = 1.0)

Sets the center frequency of the sweep. The maximum value depends on the installed hardware options. For more information, refer to the specifications document.

Parameters:

center – float Range: 300 kHz to depends on options, Unit: Hz

get_frequency ( ) → float
set_frequency ( frequency: float ) → None
# [SOURce<HW>]:FREQuency:FREQuency
# get:
value: float = driver.source.frequency.get_frequency()
# set:
driver.source.frequency.set_frequency(frequency = 1.0)

No help available

get_manual ( ) → float
set_manual ( manual: float ) → None
# [SOURce<HW>]:FREQuency:MANual
# get:
value: float = driver.source.frequency.get_manual()
# set:
driver.source.frequency.set_manual(manual = 1.0)

Sets the frequency and triggers a sweep step manually if SWEep:MODE MAN.

Parameters:

manual – float You can select any frequency within the setting range, where: STARt is set with method RsSmw.source.frequency.start() STOP is set with method RsSmw.source.frequency.stop() OFFSet is set with method RsSmw.source.frequency.offset() Range: (STARt + OFFSet) to (STOP + OFFSet) , Unit: Hz

get_mode ( ) → FreqMode
set_mode ( mode: FreqMode ) → None
# [SOURce<HW>]:FREQuency:MODE
# get:
value: enums.FreqMode = driver.source.frequency.get_mode()
# set:
driver.source.frequency.set_mode(mode = enums.FreqMode.COMBined)

Sets the frequency mode for generating the RF output signal. The selected mode determines the parameters to be used for further frequency settings.

Parameters:

mode – CW | FIXed | SWEep | LIST CW | FIXed Sets the fixed frequency mode. CW and FIXed are synonyms. The instrument operates at a defined frequency, set with command method RsSmw.source.frequency.cw.value() . SWEep Sets sweep mode. The instrument processes frequency (and level) settings in defined sweep steps. Set the range and current frequency with the commands: method RsSmw.source.frequency.start() and method RsSmw.source.frequency.stop() , method RsSmw.source.frequency.center() , method RsSmw.source.frequency.span() , method RsSmw.source.frequency.manual() LIST Sets list mode. The instrument processes frequency and level settings by means of values loaded from a list. To configure list mode settings, use the commands of the ‘SOURce:LIST subsystem’.

get_multiplier ( ) → float
set_multiplier ( multiplier: float ) → None
# [SOURce<HW>]:FREQuency:MULTiplier
# get:
value: float = driver.source.frequency.get_multiplier()
# set:
driver.source.frequency.set_multiplier(multiplier = 1.0)

Sets the multiplication factor NFREQ:MULT of a subsequent downstream instrument. The parameters offset fFREQ:OFFSer and multiplier NFREQ:MULT affect the frequency value set with the method RsSmw.source.frequency.cw.value() . The query method RsSmw.source.frequency.cw.value() returns the value corresponding to the formula: fFREQ = fRFout * NFREQ:MULT + fFREQ:OFFSer See ‘Displayed RF frequency and level values with downstream instruments’.

Parameters:

multiplier – float Range: -10000 to 10000

get_offset ( ) → float
set_offset ( offset: float ) → None
# [SOURce<HW>]:FREQuency:OFFSet
# get:
value: float = driver.source.frequency.get_offset()
# set:
driver.source.frequency.set_offset(offset = 1.0)

Sets the frequency offset fFREQ:OFFSet of a downstream instrument. The parameters offset fFREQ:OFFSer and multiplier NFREQ:MULT affect the frequency value set with the method RsSmw.source.frequency.cw.value() . The query method RsSmw.source.frequency.cw.value() returns the value corresponding to the formula: fFREQ = fRFout * NFREQ:MULT + fFREQ:OFFSer See ‘Displayed RF frequency and level values with downstream instruments’. Note: The offset also affects RF frequency sweep.

Parameters:

offset – float

get_span ( ) → float
set_span ( span: float ) → None
# [SOURce<HW>]:FREQuency:SPAN
# get:
value: float = driver.source.frequency.get_span()
# set:
driver.source.frequency.set_span(span = 1.0)

Sets the span of the frequency sweep range.

Parameters:

span – float Full frequency range

get_start ( ) → float
set_start ( start: float ) → None
# [SOURce<HW>]:FREQuency:STARt
# get:
value: float = driver.source.frequency.get_start()
# set:
driver.source.frequency.set_start(start = 1.0)

Sets the start frequency for the RF sweep. The maximum value depends on the installed hardware options. For more information, refer to the specifications document.

Parameters:

start – float Range: 300 kHz to depends on options

get_stop ( ) → float
set_stop ( stop: float ) → None
# [SOURce<HW>]:FREQuency:STOP
# get:
value: float = driver.source.frequency.get_stop()
# set:
driver.source.frequency.set_stop(stop = 1.0)

Sets the stop frequency range for the RF sweep. The maximum value depends on the installed hardware options. For more information, refer to the specifications document.

Parameters:

stop – float Range: 300 kHz to depends on options, Unit: Hz

Cloning the Group

# Create a copy of the original group, that exists independently
frequency_copy = driver.source.frequency.clone()

Subgroups