Fm<GeneratorIx>

SCPI Commands :

[SOURce<HW>]:FM:MODE
[SOURce<HW>]:FM:RATio
[SOURce<HW>]:FM:SENSitivity
Commands in total: 9
Subgroups: 4
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: NORMal | LNOise NORMal The maximum range for modulation bandwidth and FM deviation is available. LNOise Frequency modulation with phase noise and spurious characteristics close to CW mode. The range for modulation bandwidth and FM deviation is reduced (see the specifications document) .

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.LNOise)

Selects the mode for the frequency modulation.

Parameters:

mode – NORMal | LNOise NORMal The maximum range for modulation bandwidth and FM deviation is available. LNOise Frequency modulation with phase noise and spurious characteristics close to CW mode. The range for modulation bandwidth and FM deviation is reduced (see the specifications document) .

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