Fm<GeneratorIx>

SCPI Commands :

[SOURce<HW>]:FM:MODE
[SOURce<HW>]:FM:RATio
[SOURce<HW>]:FM:SENSitivity
Commands in total: 10
Subgroups: 5
Direct child commands: 3

Repeated Capability Setting:

# Range: Nr1 .. Nr8

driver.source.fm.repcap_generatorIx_set(repcap.GeneratorIx.Nr1)
get_mode() FmMode[source]
# [SOURce<HW>]:FM:MODE
value: enums.FmMode = driver.source.fm.get_mode()

Selects the mode for the frequency modulation.

Returns:

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]
# [SOURce<HW>]:FM:RATio
value: float = driver.source.fm.get_ratio()

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

Returns:

ratio: float Range: 0 to 100

get_sensitivity() float[source]
# [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.

Returns:

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: FmMode) None[source]
# [SOURce<HW>]:FM:MODE
driver.source.fm.set_mode(mode = enums.FmMode.HBANdwidth)

Selects the mode for the frequency modulation.

Parameters:

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]
# [SOURce<HW>]:FM:RATio
driver.source.fm.set_ratio(ratio = 1.0)

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

Parameters:

ratio – float Range: 0 to 100

Cloning the Group

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

Subgroups