Frequency#
SCPI Commands :
- [SOURce<HW>]:LFOutput<CH>:FREQuency
- [SOURce<HW>]:LFOutput:FREQuency:MANual
- [SOURce<HW>]:LFOutput:FREQuency:MODE
- [SOURce<HW>]:LFOutput:FREQuency:STARt
- [SOURce<HW>]:LFOutput:FREQuency:STOP
- Commands in total: 5Subgroups: 0Direct child commands: 5
- get ( lfOutput=LfOutput.Default ) float
- set ( frequency: float, lfOutput=LfOutput.Default ) None
# [SOURce<HW>]:LFOutput<CH>:FREQuency # get: value: float = driver.source.lfOutput.frequency.get(lfOutput = repcap.LfOutput.Default) # set: driver.source.lfOutput.frequency.set(frequency = 1.0, lfOutput = repcap.LfOutput.Default)
Sets the frequency of the LF signal in method
RsSmw.source.lfOutput.frequency.mode()CW | FIXed mode. Note:If the LF generator is used as a signal source, the instrument performs the analog modulations (AM/FM/FiM/PM) with this frequency.
In sweep mode (method
RsSmw.source.lfOutput.frequency.mode()SWE) , the frequency is coupled with the sweep frequency.
- Parameters:
frequency – float Range: 0.1 to depends on options (R&S SMW-K24) , Unit: Hz
lfOutput – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘LfOutput’)
- get_manual ( ) float
- set_manual ( manual: float ) None
# [SOURce<HW>]:LFOutput:FREQuency:MANual # get: value: float = driver.source.lfOutput.frequency.get_manual() # set: driver.source.lfOutput.frequency.set_manual(manual = 1.0)
Sets the frequency of the subsequent sweep step if LFO:SWE:MODE MAN. Use a separate command for each sweep step.
- Parameters:
manual – float You can select any value within the setting range, where: STARt is set with method
RsSmw.source.lfOutput.frequency.start()STOP is set with methodRsSmw.source.lfOutput.frequency.stop()Range: STARt to STOP
- get_mode ( ) LfFreqMode
- set_mode ( mode: LfFreqMode ) None
# [SOURce<HW>]:LFOutput:FREQuency:MODE # get: value: enums.LfFreqMode = driver.source.lfOutput.frequency.get_mode() # set: driver.source.lfOutput.frequency.set_mode(mode = enums.LfFreqMode.CW)
Sets the mode for the output of the LF generator frequency, and determines the commands to be used for frequency settings.
- Parameters:
mode – CW | FIXed | SWEep CW | FIXed Sets the fixed-frequency mode. CW and FIXed are synonyms. To set the output frequency, use method
RsSmw.source.lfOutput.frequency.set()SWEep Sets sweep mode. To set the frequency, use the commands: methodRsSmw.source.lfOutput.frequency.start()and methodRsSmw.source.lfOutput.frequency.stop()Or methodRsSmw.source.lfOutput.frequency.manual()
- get_start ( ) float
- set_start ( start: float ) None
# [SOURce<HW>]:LFOutput:FREQuency:STARt # get: value: float = driver.source.lfOutput.frequency.get_start() # set: driver.source.lfOutput.frequency.set_start(start = 1.0)
Sets the start/stop frequency for method
RsSmw.source.lfOutput.frequency.mode()SWEep.- Parameters:
start – float Range: 0.1 Hz to 1 MHz
- get_stop ( ) float
- set_stop ( stop: float ) None
# [SOURce<HW>]:LFOutput:FREQuency:STOP # get: value: float = driver.source.lfOutput.frequency.get_stop() # set: driver.source.lfOutput.frequency.set_stop(stop = 1.0)
Sets the start/stop frequency for method
RsSmw.source.lfOutput.frequency.mode()SWEep.- Parameters:
stop – float Range: 0.1 Hz to 1 MHz