Power

SCPI Commands :

[SOURce<HW>]:POWer:IQPep
[SOURce<HW>]:POWer:LBEHaviour
[SOURce<HW>]:POWer:LMODe
[SOURce<HW>]:POWer:MANual
[SOURce<HW>]:POWer:MODE
[SOURce<HW>]:POWer:PEP
[SOURce<HW>]:POWer:POWer
[SOURce<HW>]:POWer:STARt
[SOURce<HW>]:POWer:STOP
[SOURce]:POWer:WIGNore
class PowerCls[source]

Power commands group definition. 40 total commands, 8 Subgroups, 10 group commands

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

No command help available

return

ipart_qpep: No help available

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

Selects the level behavior at the RF output over time.

return

behaviour: AUTO| UNINterrupted| MONotone| CVSWr| USER| CPHase UNINterrupted|MONotone Do not use the uninterrupted level settings and strictly monotone modes in combination with the high-quality optimization mode (see [:SOURcehw]:BB:IMPairment:OPTimization:MODE) . CWSWr Constant VSWR

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

No command help available

return

lev_mode: No help available

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

Sets the level for the subsequent sweep step if [:SOURce<hw>]:SWEep:POWer:MODE. Use a separate command for each sweep step.

return

manual: float You can select any level within the setting range, where: STARt is set with [:SOURcehw]:POWer:STARt STOP is set with [:SOURcehw]:POWer:STOP OFFSet is set with [:SOURcehw]:POWer[:LEVel][:IMMediate]:OFFSet Range: (STARt + OFFSet) to (STOP + OFFSet) , Unit: dBm

get_mode() RsSmbv.enums.LfFreqMode[source]
# SCPI: [SOURce<HW>]:POWer:MODE
value: enums.LfFreqMode = driver.source.power.get_mode()

Selects the operating mode of the instrument to set the output level.

return

mode: CW| FIXed| SWEep CW|FIXed Operates at a constant level. CW and FIXed are synonyms. To set the output level value, use the command [:SOURcehw]:POWer[:LEVel][:IMMediate][:AMPLitude]. SWEep Sets sweep mode. Set the range and current level with the commands: [:SOURcehw]:POWer:STARt and [:SOURcehw]:POWer:STOP, [:SOURcehw]:POWer:MANual.

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

Queries the PEP ‘Peak Envelope Power) of digital modulation or digital standards at the RF output. This value corresponds to the level specification, displayed in the status bar (header) .

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<hw>]:POWer[:LEVel][:IMMediate][:AMPLitude] sets the level of the ‘Level’ display, that means the level containing offset. See ‘RF frequency and level display with a downstream instrument’.

return

power: float Level at the RF output, without level offset Range: See data sheet , Unit: dBm

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

Sets the RF start/stop level in sweep mode.

return

start: No help available

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

Sets the RF start/stop level in sweep mode.

return

stop: float Sets the setting range calculated as follows: (Level_min + OFFSet) to (Level_max + OFFSet) Where the values are set with the commands: [:SOURcehw]:POWer[:LEVel][:IMMediate]:OFFSet [:SOURcehw]:POWer:STARt [:SOURcehw]:POWer:STOP Range: Minimum level to maximum level , Unit: dBm

get_wignore() bool[source]
# SCPI: [SOURce]:POWer:WIGNore
value: bool = driver.source.power.get_wignore()

Ignores level range warnings.

return

state: 1| ON| 0| OFF

set_lbehaviour(behaviour: RsSmbv.enums.PowLevBehaviour) None[source]
# SCPI: [SOURce<HW>]:POWer:LBEHaviour
driver.source.power.set_lbehaviour(behaviour = enums.PowLevBehaviour.AUTO)

Selects the level behavior at the RF output over time.

param behaviour

AUTO| UNINterrupted| MONotone| CVSWr| USER| CPHase UNINterrupted|MONotone Do not use the uninterrupted level settings and strictly monotone modes in combination with the high-quality optimization mode (see [:SOURcehw]:BB:IMPairment:OPTimization:MODE) . CWSWr Constant VSWR

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

No command help available

param lev_mode

No help available

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

Sets the level for the subsequent sweep step if [:SOURce<hw>]:SWEep:POWer:MODE. Use a separate command for each sweep step.

param manual

float You can select any level within the setting range, where: STARt is set with [:SOURcehw]:POWer:STARt STOP is set with [:SOURcehw]:POWer:STOP OFFSet is set with [:SOURcehw]:POWer[:LEVel][:IMMediate]:OFFSet Range: (STARt + OFFSet) to (STOP + OFFSet) , Unit: dBm

set_mode(mode: RsSmbv.enums.LfFreqMode) None[source]
# SCPI: [SOURce<HW>]:POWer:MODE
driver.source.power.set_mode(mode = enums.LfFreqMode.CW)

Selects the operating mode of the instrument to set the output level.

param mode

CW| FIXed| SWEep CW|FIXed Operates at a constant level. CW and FIXed are synonyms. To set the output level value, use the command [:SOURcehw]:POWer[:LEVel][:IMMediate][:AMPLitude]. SWEep Sets sweep mode. Set the range and current level with the commands: [:SOURcehw]:POWer:STARt and [:SOURcehw]:POWer:STOP, [:SOURcehw]:POWer:MANual.

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

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

param power

float Level at the RF output, without level offset Range: See data sheet , Unit: dBm

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

Sets the RF start/stop level in sweep mode.

param start

float Sets the setting range calculated as follows: (Level_min + OFFSet) to (Level_max + OFFSet) Where the values are set with the commands: [:SOURcehw]:POWer[:LEVel][:IMMediate]:OFFSet [:SOURcehw]:POWer:STARt [:SOURcehw]:POWer:STOP Range: Minimum level to maximum level , Unit: dBm

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

Sets the RF start/stop level in sweep mode.

param stop

float Sets the setting range calculated as follows: (Level_min + OFFSet) to (Level_max + OFFSet) Where the values are set with the commands: [:SOURcehw]:POWer[:LEVel][:IMMediate]:OFFSet [:SOURcehw]:POWer:STARt [:SOURcehw]:POWer:STOP Range: Minimum level to maximum level , Unit: dBm

set_wignore(state: bool) None[source]
# SCPI: [SOURce]:POWer:WIGNore
driver.source.power.set_wignore(state = False)

Ignores level range warnings.

param state

1| ON| 0| OFF

Cloning the Group

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

Subgroups