Power

SCPI Commands :

[SOURce<HW>]:POWer:LMODe
[SOURce<HW>]:POWer:PEP
[SOURce<HW>]:POWer:POWer
[SOURce<HW>]:POWer:SCHaracteristic
class PowerCls[source]

Power commands group definition. 24 total commands, 6 Subgroups, 4 group commands

get_lmode() PowLevMode[source]
# SCPI: [SOURce<HW>]:POWer:LMODe
value: enums.PowLevMode = driver.source.power.get_lmode()

Selects the level mode.

return:

lev_mode: NORMal| LOWNoise| LOWDistortion NORM automatic selection of the best settings LNOISe settings for lowest noise LDIStortion settings for lowest distortions

get_pep() float[source]
# SCPI: [SOURce<HW>]:POWer:PEP
value: float = driver.source.power.get_pep()

Queries the RF signal peak envelope power.

return:

pep: float

get_power() float[source]
# SCPI: [SOURce<HW>]:POWer:POWer
value: float = driver.source.power.get_power()

Sets the level at the RF output connector. This value does not consider a specified offset. The command [:SOURce]:POWer[:LEVel][:IMMediate][:AMPLitude] sets the level of the ‘Level’ display, that means the level containing offset.

return:

amplitude: float Range: -20 to 25

get_scharacteristic() PowLevBehaviour[source]
# SCPI: [SOURce<HW>]:POWer:SCHaracteristic
value: enums.PowLevBehaviour = driver.source.power.get_scharacteristic()

Selects the characteristic for the level setting.

return:

characteristic: AUTO| UNINterrupted| CVSWr| USER| MONotone UNINterrupted uninterrupted level setting CVSWr constant-VSWR MONotone strictly monotone

set_lmode(lev_mode: PowLevMode) None[source]
# SCPI: [SOURce<HW>]:POWer:LMODe
driver.source.power.set_lmode(lev_mode = enums.PowLevMode.LOWDistortion)

Selects the level mode.

param lev_mode:

NORMal| LOWNoise| LOWDistortion NORM automatic selection of the best settings LNOISe settings for lowest noise LDIStortion settings for lowest distortions

set_power(amplitude: float) None[source]
# SCPI: [SOURce<HW>]:POWer:POWer
driver.source.power.set_power(amplitude = 1.0)

Sets the level at the RF output connector. This value does not consider a specified offset. The command [:SOURce]:POWer[:LEVel][:IMMediate][:AMPLitude] sets the level of the ‘Level’ display, that means the level containing offset.

param amplitude:

float Range: -20 to 25

set_scharacteristic(characteristic: PowLevBehaviour) None[source]
# SCPI: [SOURce<HW>]:POWer:SCHaracteristic
driver.source.power.set_scharacteristic(characteristic = enums.PowLevBehaviour.AUTO)

Selects the characteristic for the level setting.

param characteristic:

AUTO| UNINterrupted| CVSWr| USER| MONotone UNINterrupted uninterrupted level setting CVSWr constant-VSWR MONotone strictly monotone

Cloning the Group

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

Subgroups