Power
SCPI Commands :
[SOURce<HW>]:POWer:AATTenuation
[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. 46 total commands, 8 Subgroups, 11 group commands
- get_aattenuation() float [source]
# SCPI: [SOURce<HW>]:POWer:AATTenuation value: float = driver.source.power.get_aattenuation()
Queries the currently active level attenuation.
- return
active_att: float Range: 0 to 110
- 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() RsSmw.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| 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) CVSWr Constant VSWR CPHase Continuous phase CONStant Constant phase
- get_lmode() RsSmw.enums.PowLevMode [source]
# SCPI: [SOURce<HW>]:POWer:LMODe value: enums.PowLevMode = driver.source.power.get_lmode()
Sets the RF level mode.
- return
lev_mode: NORMal| LOWNoise| LOWDistortion NORMal Supplies the RF signal with the standard power level of the instrument. LOWNoise Supplies a very low noise sinewave signal. LOWDistortion Supplies a very pure sinewave signal.
- 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() RsSmw.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 ‘Displayed RF frequency and level values with downstream instruments’.
- 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()
No command help available
- return
state: No help available
- set_lbehaviour(behaviour: RsSmw.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| 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) CVSWr Constant VSWR CPHase Continuous phase CONStant Constant phase
- set_lmode(lev_mode: RsSmw.enums.PowLevMode) None [source]
# SCPI: [SOURce<HW>]:POWer:LMODe driver.source.power.set_lmode(lev_mode = enums.PowLevMode.LOWDistortion)
Sets the RF level mode.
- param lev_mode
NORMal| LOWNoise| LOWDistortion NORMal Supplies the RF signal with the standard power level of the instrument. LOWNoise Supplies a very low noise sinewave signal. LOWDistortion Supplies a very pure sinewave signal.
- 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: RsSmw.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 ‘Displayed RF frequency and level values with downstream instruments’.
- 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)
No command help available
- param state
No help available
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.source.power.clone()
Subgroups