Fm<GeneratorIx>

RepCap Settings

# Range: Nr1 .. Nr8
rc = driver.source.fm.repcap_generatorIx_get()
driver.source.fm.repcap_generatorIx_set(repcap.GeneratorIx.Nr1)

SCPI Commands :

[SOURce<HW>]:FM:MODE
[SOURce<HW>]:FM:RATio
[SOURce<HW>]:FM:SENSitivity
class FmCls[source]

Fm commands group definition. 10 total commands, 5 Subgroups, 3 group commands Repeated Capability: GeneratorIx, default value after init: GeneratorIx.Nr1

get_mode() RsSmbv.enums.FmMode[source]
# SCPI: [SOURce<HW>]:FM:MODE
value: enums.FmMode = driver.source.fm.get_mode()

Selects the mode for the frequency modulation.

return

mode: HBANdwidth| LNOise HBANdwidth Selects maximum range for modulation bandwidth. LNOise Selects optimized phase noise and spurious characteristics with reduced modulation bandwidth and FM deviation.

get_ratio() float[source]
# SCPI: [SOURce<HW>]:FM:RATio
value: float = driver.source.fm.get_ratio()

Sets the deviation ratio (path2 to path1) in percent.

return

ratio: float Range: 0 to 100

get_sensitivity() float[source]
# SCPI: [SOURce<HW>]:FM:SENSitivity
value: float = driver.source.fm.get_sensitivity()

Queries the sensitivity of the externally supplied signal for frequency modulation. The sensitivity depends on the set modulation deviation.

return

sensitivity: float Sensitivity in Hz/V. It is assigned to the voltage value for full modulation of the input. Range: 0 to max

set_mode(mode: RsSmbv.enums.FmMode) None[source]
# SCPI: [SOURce<HW>]:FM:MODE
driver.source.fm.set_mode(mode = enums.FmMode.HBANdwidth)

Selects the mode for the frequency modulation.

param mode

HBANdwidth| LNOise HBANdwidth Selects maximum range for modulation bandwidth. LNOise Selects optimized phase noise and spurious characteristics with reduced modulation bandwidth and FM deviation.

set_ratio(ratio: float) None[source]
# SCPI: [SOURce<HW>]:FM:RATio
driver.source.fm.set_ratio(ratio = 1.0)

Sets the deviation ratio (path2 to path1) in percent.

param ratio

float Range: 0 to 100

Cloning the Group

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

Subgroups