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: 19Subgroups: 4Direct 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. See ‘Correlating parameters in sweep mode’.
- Parameters:
center – float
- 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 – You can select any frequency within the setting range, where: STARt is set with method
RsSmbv.source.frequency.start()STOP is set with methodRsSmbv.source.frequency.stop()OFFSet is set with methodRsSmbv.source.frequency.offset()
- 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 | 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
- 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
RsSmbv.source.frequency.cw.value(). The query methodRsSmbv.source.frequency.cw.value()returns the value corresponding to the formula: fFREQ = fRFout * NFREQ:MULT + fFREQ:OFFSer See ‘RF frequency and level display with a downstream instrument’.- Parameters:
multiplier – float
- 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
RsSmbv.source.frequency.cw.value(). The query methodRsSmbv.source.frequency.cw.value()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.- 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 sapn of the frequency sweep range. See ‘Correlating parameters in sweep mode’.
- Parameters:
span – Full freqeuncy 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. See ‘Correlating parameters in sweep mode’.
- Parameters:
start – float
- 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. See ‘Correlating parameters in sweep mode’.
- Parameters:
stop – float
Cloning the Group
# Create a copy of the original group, that exists independently
frequency_copy = driver.source.frequency.clone()
Subgroups