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. 9 total commands, 4 Subgroups, 3 group commands Repeated Capability: GeneratorIx, default value after init: GeneratorIx.Nr1
- get_mode() FmMode [source]
# SCPI: [SOURce<HW>]:FM:MODE value: enums.FmMode = driver.source.fm.get_mode()
Selects the mode for the frequency modulation.
- return:
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]
# 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: FmMode) None [source]
# SCPI: [SOURce<HW>]:FM:MODE driver.source.fm.set_mode(mode = enums.FmMode.LNOise)
Selects the mode for the frequency modulation.
- param 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]
# 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