Immediate#
SCPI Commands :
- [SOURce<HW>]:POWer:[LEVel]:[IMMediate]:OFFSet
- [SOURce<HW>]:POWer:[LEVel]:[IMMediate]:RCL
- [SOURce<HW>]:POWer:[LEVel]:[IMMediate]:REFLevel
- [SOURce<HW>]:POWer:[LEVel]:[IMMediate]:[AMPLitude]
- Commands in total: 4Subgroups: 0Direct child commands: 4
- get_amplitude ( ) float
- set_amplitude ( amplitude: float ) None
# [SOURce<HW>]:POWer:[LEVel]:[IMMediate]:[AMPLitude] # get: value: float = driver.source.power.level.immediate.get_amplitude() # set: driver.source.power.level.immediate.set_amplitude(amplitude = 1.0)
Sets the RF level applied to the DUT. To activate the RF output use method
RsSmbv.output.state.value()(RF On/RF Off) . The following applies POWer = RF output level + OFFSet, where:POWer is the values set with method
RsSmbv.source.power.level.immediate.amplitude()RF output level is set with method
RsSmbv.source.power.power()OFFSet is set with method
RsSmbv.source.power.level.immediate.offset()
- Parameters:
amplitude – The following settings influence the value range: OFFSet set with the method
RsSmbv.source.power.level.immediate.offset()Numerical value: Sets the level
UP | DOWN: Varies the level step by step.The level is increased or decreased by the value set with the command [:SOURcehw]:POWer:STEP[:INCRement].
- get_offset ( ) float
- set_offset ( offset: float ) None
# [SOURce<HW>]:POWer:[LEVel]:[IMMediate]:OFFSet # get: value: float = driver.source.power.level.immediate.get_offset() # set: driver.source.power.level.immediate.set_offset(offset = 1.0)
Sets the level offset of a downstream instrument. The level at the RF output is not changed. To query the resulting level, as it is at the output of the downstream instrument, use the command method
RsSmbv.source.power.level.immediate.amplitude(). See ‘RF frequency and level display with a downstream instrument’. Note: The level offset also affects the RF level sweep.- Parameters:
offset – float
- get_recall ( ) InclExcl
- set_recall ( rcl: InclExcl ) None
# [SOURce<HW>]:POWer:[LEVel]:[IMMediate]:RCL # get: value: enums.InclExcl = driver.source.power.level.immediate.get_recall() # set: driver.source.power.level.immediate.set_recall(rcl = enums.InclExcl.EXCLude)
Determines whether the current level is retained or if the stored level setting is adopted when an instrument configuration is loaded.
- Parameters:
rcl – INCLude | EXCLude
INCLude: Takes the current level when an instrument configuration is loaded.
EXCLude: Retains the current level when an instrument configuration is loaded.
- get_ref_level ( ) float
- set_ref_level ( reference_level: float ) None
# [SOURce<HW>]:POWer:[LEVel]:[IMMediate]:REFLevel # get: value: float = driver.source.power.level.immediate.get_ref_level() # set: driver.source.power.level.immediate.set_ref_level(reference_level = 1.0)
Queries the reference level of the user correction. The reference level is the sum of the amplitude and the level offset, set with the commands .
- Parameters:
reference_level – float