Deviation

SCPI Commands :

[SOURce<HW>]:FM:DEViation:MODE
[SOURce<HW>]:FM:DEViation:SUM
[SOURce<HW>]:FM<CH>:[DEViation]
class DeviationCls[source]

Deviation commands group definition. 3 total commands, 0 Subgroups, 3 group commands

get(generatorIx=GeneratorIx.Default) float[source]
# SCPI: [SOURce<HW>]:FM<CH>:[DEViation]
value: float = driver.source.fm.deviation.get(generatorIx = repcap.GeneratorIx.Default)

Sets the modulation deviation of the frequency modulation in Hz.

param generatorIx

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

return

deviation: float The maximum deviation depends on the RF frequency and the selected modulation mode (see data sheet) . Range: 0 to max

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

Selects the coupling mode. The coupling mode parameter also determines the mode for fixing the total deviation.

return

fm_dev_mode: UNCoupled| TOTal| RATio UNCoupled Does not couple the LF signals. The deviation values of both paths are independent. TOTal Couples the deviation of both paths. RATio Couples the deviation ratio of both paths

get_sum() float[source]
# SCPI: [SOURce<HW>]:FM:DEViation:SUM
value: float = driver.source.fm.deviation.get_sum()

Sets the total deviation of the LF signal when using combined signal sources in frequency modulation.

return

fm_dev_sum: float Range: 0 to 40E6

set(deviation: float, generatorIx=GeneratorIx.Default) None[source]
# SCPI: [SOURce<HW>]:FM<CH>:[DEViation]
driver.source.fm.deviation.set(deviation = 1.0, generatorIx = repcap.GeneratorIx.Default)

Sets the modulation deviation of the frequency modulation in Hz.

param deviation

float The maximum deviation depends on the RF frequency and the selected modulation mode (see data sheet) . Range: 0 to max

param generatorIx

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

set_mode(fm_dev_mode: RsSmbv.enums.ModulationDevMode) None[source]
# SCPI: [SOURce<HW>]:FM:DEViation:MODE
driver.source.fm.deviation.set_mode(fm_dev_mode = enums.ModulationDevMode.RATio)

Selects the coupling mode. The coupling mode parameter also determines the mode for fixing the total deviation.

param fm_dev_mode

UNCoupled| TOTal| RATio UNCoupled Does not couple the LF signals. The deviation values of both paths are independent. TOTal Couples the deviation of both paths. RATio Couples the deviation ratio of both paths

set_sum(fm_dev_sum: float) None[source]
# SCPI: [SOURce<HW>]:FM:DEViation:SUM
driver.source.fm.deviation.set_sum(fm_dev_sum = 1.0)

Sets the total deviation of the LF signal when using combined signal sources in frequency modulation.

param fm_dev_sum

float Range: 0 to 40E6