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
- Commands in total: 40Subgroups: 8Direct child commands: 10
- get_iq_pep ( ) float
# [SOURce<HW>]:POWer:IQPep value: float = driver.source.power.get_iq_pep()No help available
- get_lbehaviour ( ) PowLevBehaviour
- set_lbehaviour ( behaviour: PowLevBehaviour ) None
# [SOURce<HW>]:POWer:LBEHaviour # get: value: enums.PowLevBehaviour = driver.source.power.get_lbehaviour() # set: driver.source.power.set_lbehaviour(behaviour = enums.PowLevBehaviour.AUTO)
Selects the level behavior at the RF output over time.
- Parameters:
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 ( ) PowLevMode
- set_lmode ( lev_mode: PowLevMode ) None
# [SOURce<HW>]:POWer:LMODe # get: value: enums.PowLevMode = driver.source.power.get_lmode() # set: driver.source.power.set_lmode(lev_mode = enums.PowLevMode.LOWDistortion)
No help available
- get_manual ( ) float
- set_manual ( manual: float ) None
# [SOURce<HW>]:POWer:MANual # get: value: float = driver.source.power.get_manual() # set: driver.source.power.set_manual(manual = 1.0)
Sets the level for the subsequent sweep step if method
RsSmbv.source.sweep.power.mode.value(). Use a separate command for each sweep step.- Parameters:
manual – You can select any level within the setting range, where: STARt is set with method
RsSmbv.source.power.start()STOP is set with methodRsSmbv.source.power.stop()OFFSet is set with methodRsSmbv.source.power.level.immediate.offset()
- get_mode ( ) LfFreqMode
- set_mode ( mode: LfFreqMode ) None
# [SOURce<HW>]:POWer:MODE # get: value: enums.LfFreqMode = driver.source.power.get_mode() # set: driver.source.power.set_mode(mode = enums.LfFreqMode.CW)
Selects the operating mode of the instrument to set the output level.
- Parameters:
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<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) .
- Returns:
pep: float
- get_power ( ) float
- set_power ( power: float ) None
# [SOURce<HW>]:POWer:POWer # get: value: float = driver.source.power.get_power() # set: 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 method
RsSmbv.source.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’.- Parameters:
power – Level at the RF output, without level offset
- get_start ( ) float
- set_start ( start: float ) None
# [SOURce<HW>]:POWer:STARt # get: value: float = driver.source.power.get_start() # set: driver.source.power.set_start(start = 1.0)
Sets the RF start/stop level in sweep mode.
- Parameters:
start – Sets the setting range calculated as follows: (Level_min + OFFSet) to (Level_max + OFFSet) Where the values are set with the commands: method
RsSmbv.source.power.level.immediate.offset()methodRsSmbv.source.power.start()methodRsSmbv.source.power.stop()
- get_stop ( ) float
- set_stop ( stop: float ) None
# [SOURce<HW>]:POWer:STOP # get: value: float = driver.source.power.get_stop() # set: driver.source.power.set_stop(stop = 1.0)
Sets the RF start/stop level in sweep mode.
- Parameters:
stop – Sets the setting range calculated as follows: (Level_min + OFFSet) to (Level_max + OFFSet) Where the values are set with the commands: method
RsSmbv.source.power.level.immediate.offset()methodRsSmbv.source.power.start()methodRsSmbv.source.power.stop()
- get_wignore ( ) bool
- set_wignore ( state: bool ) None
# [SOURce]:POWer:WIGNore # get: value: bool = driver.source.power.get_wignore() # set: driver.source.power.set_wignore(state = False)
Ignores level range warnings.
- Parameters:
state – 1 | ON | 0| OFF
Cloning the Group
# Create a copy of the original group, that exists independently
power_copy = driver.source.power.clone()
Subgroups