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: 36Subgroups: 6Direct child commands: 9
- get_center() float[source]
# [SOURce<HW>]:FREQuency:CENTer value: float = driver.source.frequency.get_center()
Sets the center frequency of the sweep. The maximum value depends on the installed hardware options. For more information, refer to the specifications document.
- Returns:
center: float Range: 300 kHz to depends on options, Unit: Hz
- get_frequency() float[source]
# [SOURce<HW>]:FREQuency:FREQuency value: float = driver.source.frequency.get_frequency()
No help available
- get_manual() float[source]
# [SOURce<HW>]:FREQuency:MANual value: float = driver.source.frequency.get_manual()
Sets the frequency and triggers a sweep step manually if SWEep:MODE MAN.
- Returns:
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 methodRsSmw.source.frequency.stop()OFFSet is set with methodRsSmw.source.frequency.offset()Range: (STARt + OFFSet) to (STOP + OFFSet) , Unit: Hz
- get_mode() FreqMode[source]
# [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.
- Returns:
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: methodRsSmw.source.frequency.start()and methodRsSmw.source.frequency.stop(), methodRsSmw.source.frequency.center(), methodRsSmw.source.frequency.span(), methodRsSmw.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[source]
# [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 method
RsSmw.source.frequency.cw.value(). The query methodRsSmw.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’.- Returns:
multiplier: float Range: -10000 to 10000
- get_offset() float[source]
# [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 method
RsSmw.source.frequency.cw.value(). The query methodRsSmw.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.- Returns:
offset: float
- get_span() float[source]
# [SOURce<HW>]:FREQuency:SPAN value: float = driver.source.frequency.get_span()
Sets the span of the frequency sweep range.
- Returns:
span: float Full frequency range
- get_start() float[source]
# [SOURce<HW>]:FREQuency:STARt value: float = driver.source.frequency.get_start()
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.
- Returns:
start: float Range: 300 kHz to depends on options
- get_stop() float[source]
# [SOURce<HW>]:FREQuency:STOP value: float = driver.source.frequency.get_stop()
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.
- Returns:
stop: float Range: 300 kHz to depends on options, Unit: Hz
- set_center(center: float) None[source]
# [SOURce<HW>]:FREQuency:CENTer 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
- set_frequency(frequency: float) None[source]
# [SOURce<HW>]:FREQuency:FREQuency driver.source.frequency.set_frequency(frequency = 1.0)
No help available
- set_manual(manual: float) None[source]
# [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.
- 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 methodRsSmw.source.frequency.stop()OFFSet is set with methodRsSmw.source.frequency.offset()Range: (STARt + OFFSet) to (STOP + OFFSet) , Unit: Hz
- set_mode(mode: FreqMode) None[source]
# [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.
- 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: methodRsSmw.source.frequency.start()and methodRsSmw.source.frequency.stop(), methodRsSmw.source.frequency.center(), methodRsSmw.source.frequency.span(), methodRsSmw.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’.
- set_multiplier(multiplier: float) None[source]
# [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 method
RsSmw.source.frequency.cw.value(). The query methodRsSmw.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
- set_offset(offset: float) None[source]
# [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 method
RsSmw.source.frequency.cw.value(). The query methodRsSmw.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
- set_span(span: float) None[source]
# [SOURce<HW>]:FREQuency:SPAN driver.source.frequency.set_span(span = 1.0)
Sets the span of the frequency sweep range.
- Parameters:
span – float Full frequency range
- set_start(start: float) None[source]
# [SOURce<HW>]:FREQuency:STARt 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
- set_stop(stop: float) None[source]
# [SOURce<HW>]:FREQuency:STOP 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