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
class FrequencyCls[source]

Frequency commands group definition. 19 total commands, 4 Subgroups, 9 group commands

get_center() float[source]
# SCPI: [SOURce<HW>]:FREQuency:CENTer
value: float = driver.source.frequency.get_center()

Sets the center frequency of the sweep. See ‘Correlating parameters in sweep mode’.

return

center: float Range: 300 kHz to RFmax, Unit: Hz

get_frequency() float[source]
# SCPI: [SOURce<HW>]:FREQuency:FREQuency
value: float = driver.source.frequency.get_frequency()

No command help available

return

frequency: No help available

get_manual() float[source]
# SCPI: [SOURce<HW>]:FREQuency:MANual
value: float = driver.source.frequency.get_manual()

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

return

manual: float You can select any frequency within the setting range, where: STARt is set with [:SOURcehw]:FREQuency:STARt STOP is set with [:SOURcehw]:FREQuency:STOP OFFSet is set with [:SOURcehw]:FREQuency:OFFSet Range: (STARt + OFFSet) to (STOP + OFFSet) , Unit: Hz

get_mode() RsSmbv.enums.FreqMode[source]
# SCPI: [SOURce<HW>]:FREQuency:MODE
value: enums.FreqMode = driver.source.frequency.get_mode()

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

return

mode: CW| FIXed | SWEep| LIST | COMBined CW|FIXed Sets the fixed frequency mode. CW and FIXed are synonyms. The instrument operates at a defined frequency, set with command [:SOURcehw]:FREQuency[:CW|FIXed]. SWEep Sets sweep mode. The instrument processes frequency (and level) settings in defined sweep steps. Set the range and current frequency with the commands: [:SOURcehw]:FREQuency:STARt and [:SOURcehw]:FREQuency:STOP, [:SOURcehw]:FREQuency:CENTer, [:SOURcehw]:FREQuency:SPAN, [:SOURcehw]: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’. COMBined Sets the combined RF frequency / level sweep mode. The instrument processes frequency and level settings in defined sweep steps. Set the range and current frequency with the commands: [:SOURcehw]:COMBined:FREQuency:STARt and [:SOURcehw]:COMBined:FREQuency:STOP, [:SOURcehw]:COMBined:POWer:STARt and [:SOURcehw]:COMBined:POWer:STOP

get_multiplier() float[source]
# SCPI: [SOURce<HW>]:FREQuency:MULTiplier
value: float = driver.source.frequency.get_multiplier()

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 command [:SOURce<hw>]:FREQuency[:CW|FIXed]. The query [:SOURce<hw>]:FREQuency[:CW|FIXed] returns the value corresponding to the formula: fFREQ = fRFout * NFREQ:MULT + fFREQ:OFFSer See ‘RF frequency and level display with a downstream instrument’.

return

multiplier: float Range: -10000 to 10000

get_offset() float[source]
# SCPI: [SOURce<HW>]:FREQuency:OFFSet
value: float = driver.source.frequency.get_offset()

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 command [:SOURce<hw>]:FREQuency[:CW|FIXed]. The query [:SOURce<hw>]:FREQuency[:CW|FIXed] returns the value corresponding to the formula: fFREQ = fRFout * NFREQ:MULT + fFREQ:OFFSer See ‘RF frequency and level display with a downstream instrument’. Note: The offset also affects RF frequency sweep.

return

offset: float

get_span() float[source]
# SCPI: [SOURce<HW>]:FREQuency:SPAN
value: float = driver.source.frequency.get_span()

Sets the sapn of the frequency sweep range. See ‘Correlating parameters in sweep mode’.

return

span: float Full freqeuncy range

get_start() float[source]
# SCPI: [SOURce<HW>]:FREQuency:STARt
value: float = driver.source.frequency.get_start()

Sets the start frequency for the RF sweep. See ‘Correlating parameters in sweep mode’.

return

start: float Range: 300kHz to RFmax

get_stop() float[source]
# SCPI: [SOURce<HW>]:FREQuency:STOP
value: float = driver.source.frequency.get_stop()

Sets the stop frequency range for the RF sweep. See ‘Correlating parameters in sweep mode’.

return

stop: float Range: 300kHz to RFmax, Unit: Hz

set_center(center: float) None[source]
# SCPI: [SOURce<HW>]:FREQuency:CENTer
driver.source.frequency.set_center(center = 1.0)

Sets the center frequency of the sweep. See ‘Correlating parameters in sweep mode’.

param center

float Range: 300 kHz to RFmax, Unit: Hz

set_frequency(frequency: float) None[source]
# SCPI: [SOURce<HW>]:FREQuency:FREQuency
driver.source.frequency.set_frequency(frequency = 1.0)

No command help available

param frequency

No help available

set_manual(manual: float) None[source]
# SCPI: [SOURce<HW>]:FREQuency:MANual
driver.source.frequency.set_manual(manual = 1.0)

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

param manual

float You can select any frequency within the setting range, where: STARt is set with [:SOURcehw]:FREQuency:STARt STOP is set with [:SOURcehw]:FREQuency:STOP OFFSet is set with [:SOURcehw]:FREQuency:OFFSet Range: (STARt + OFFSet) to (STOP + OFFSet) , Unit: Hz

set_mode(mode: RsSmbv.enums.FreqMode) None[source]
# SCPI: [SOURce<HW>]:FREQuency:MODE
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.

param mode

CW| FIXed | SWEep| LIST | COMBined CW|FIXed Sets the fixed frequency mode. CW and FIXed are synonyms. The instrument operates at a defined frequency, set with command [:SOURcehw]:FREQuency[:CW|FIXed]. SWEep Sets sweep mode. The instrument processes frequency (and level) settings in defined sweep steps. Set the range and current frequency with the commands: [:SOURcehw]:FREQuency:STARt and [:SOURcehw]:FREQuency:STOP, [:SOURcehw]:FREQuency:CENTer, [:SOURcehw]:FREQuency:SPAN, [:SOURcehw]: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’. COMBined Sets the combined RF frequency / level sweep mode. The instrument processes frequency and level settings in defined sweep steps. Set the range and current frequency with the commands: [:SOURcehw]:COMBined:FREQuency:STARt and [:SOURcehw]:COMBined:FREQuency:STOP, [:SOURcehw]:COMBined:POWer:STARt and [:SOURcehw]:COMBined:POWer:STOP

set_multiplier(multiplier: float) None[source]
# SCPI: [SOURce<HW>]:FREQuency:MULTiplier
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 command [:SOURce<hw>]:FREQuency[:CW|FIXed]. The query [:SOURce<hw>]:FREQuency[:CW|FIXed] returns the value corresponding to the formula: fFREQ = fRFout * NFREQ:MULT + fFREQ:OFFSer See ‘RF frequency and level display with a downstream instrument’.

param multiplier

float Range: -10000 to 10000

set_offset(offset: float) None[source]
# SCPI: [SOURce<HW>]:FREQuency:OFFSet
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 command [:SOURce<hw>]:FREQuency[:CW|FIXed]. The query [:SOURce<hw>]:FREQuency[:CW|FIXed] returns the value corresponding to the formula: fFREQ = fRFout * NFREQ:MULT + fFREQ:OFFSer See ‘RF frequency and level display with a downstream instrument’. Note: The offset also affects RF frequency sweep.

param offset

float

set_span(span: float) None[source]
# SCPI: [SOURce<HW>]:FREQuency:SPAN
driver.source.frequency.set_span(span = 1.0)

Sets the sapn of the frequency sweep range. See ‘Correlating parameters in sweep mode’.

param span

float Full freqeuncy range

set_start(start: float) None[source]
# SCPI: [SOURce<HW>]:FREQuency:STARt
driver.source.frequency.set_start(start = 1.0)

Sets the start frequency for the RF sweep. See ‘Correlating parameters in sweep mode’.

param start

float Range: 300kHz to RFmax

set_stop(stop: float) None[source]
# SCPI: [SOURce<HW>]:FREQuency:STOP
driver.source.frequency.set_stop(stop = 1.0)

Sets the stop frequency range for the RF sweep. See ‘Correlating parameters in sweep mode’.

param stop

float Range: 300kHz to RFmax, Unit: Hz

Cloning the Group

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

Subgroups