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: 5
Subgroups: 0
Direct child commands: 5
get(lfOutput=LfOutput.Default) float[source]
# [SOURce<HW>]:LFOutput<CH>:FREQuency
value: float = driver.source.lfOutput.frequency.get(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:

lfOutput – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘LfOutput’)

Returns:

frequency: float Range: 0.1 to depends on options (R&S SMW-K24) , Unit: Hz

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

Sets the frequency of the subsequent sweep step if LFO:SWE:MODE MAN. Use a separate command for each sweep step.

Returns:

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 method RsSmw.source.lfOutput.frequency.stop() Range: STARt to STOP

get_mode() LfFreqMode[source]
# [SOURce<HW>]:LFOutput:FREQuency:MODE
value: enums.LfFreqMode = driver.source.lfOutput.frequency.get_mode()

Sets the mode for the output of the LF generator frequency, and determines the commands to be used for frequency settings.

Returns:

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: method RsSmw.source.lfOutput.frequency.start() and method RsSmw.source.lfOutput.frequency.stop() Or method RsSmw.source.lfOutput.frequency.manual()

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

Sets the start/stop frequency for method RsSmw.source.lfOutput.frequency.mode() SWEep.

Returns:

start: float Range: 0.1 Hz to 1 MHz

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

Sets the start/stop frequency for method RsSmw.source.lfOutput.frequency.mode() SWEep.

set(frequency: float, lfOutput=LfOutput.Default) None[source]
# [SOURce<HW>]:LFOutput<CH>:FREQuency
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’)

set_manual(manual: float) None[source]
# [SOURce<HW>]:LFOutput:FREQuency:MANual
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 method RsSmw.source.lfOutput.frequency.stop() Range: STARt to STOP

set_mode(mode: LfFreqMode) None[source]
# [SOURce<HW>]:LFOutput:FREQuency:MODE
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: method RsSmw.source.lfOutput.frequency.start() and method RsSmw.source.lfOutput.frequency.stop() Or method RsSmw.source.lfOutput.frequency.manual()

set_start(start: float) None[source]
# [SOURce<HW>]:LFOutput:FREQuency:STARt
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

set_stop(stop: float) None[source]
# [SOURce<HW>]:LFOutput:FREQuency:STOP
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