Power
SCPI Commands :
[SOURce<HW>]:SWEep:POWer:DWELl
[SOURce<HW>]:SWEep:POWer:POINts
[SOURce<HW>]:SWEep:POWer:RETRace
[SOURce<HW>]:SWEep:POWer:RUNNing
[SOURce<HW>]:SWEep:POWer:SHAPe
- class PowerCls[source]
Power commands group definition. 11 total commands, 5 Subgroups, 5 group commands
- get_dwell() float [source]
# SCPI: [SOURce<HW>]:SWEep:POWer:DWELl value: float = driver.source.sweep.power.get_dwell()
Sets the dwell time for a level sweep step.
- return
dwell: float Range: 0.001 to 100
- get_points() int [source]
# SCPI: [SOURce<HW>]:SWEep:POWer:POINts value: int = driver.source.sweep.power.get_points()
Sets the number of steps within the RF level sweep range. See ‘Correlating parameters in sweep mode’.
- return
points: integer Range: 2 to Max
- get_retrace() bool [source]
# SCPI: [SOURce<HW>]:SWEep:POWer:RETRace value: bool = driver.source.sweep.power.get_retrace()
Activates that the signal changes to the start frequency value while it is waiting for the next trigger event. You can enable this feature, when you are working with sawtooth shapes in sweep mode ‘Single’ or ‘External Single’.
- return
state: 1| ON| 0| OFF
- get_running() bool [source]
# SCPI: [SOURce<HW>]:SWEep:POWer:RUNNing value: bool = driver.source.sweep.power.get_running()
Queries the current sweep state.
- return
state: 1| ON| 0| OFF
- get_shape() RsSmbv.enums.SweCyclMode [source]
# SCPI: [SOURce<HW>]:SWEep:POWer:SHAPe value: enums.SweCyclMode = driver.source.sweep.power.get_shape()
Determines the waveform shape for a frequency sweep sequence.
- return
shape: SAWTooth| TRIangle
- set_dwell(dwell: float) None [source]
# SCPI: [SOURce<HW>]:SWEep:POWer:DWELl driver.source.sweep.power.set_dwell(dwell = 1.0)
Sets the dwell time for a level sweep step.
- param dwell
float Range: 0.001 to 100
- set_points(points: int) None [source]
# SCPI: [SOURce<HW>]:SWEep:POWer:POINts driver.source.sweep.power.set_points(points = 1)
Sets the number of steps within the RF level sweep range. See ‘Correlating parameters in sweep mode’.
- param points
integer Range: 2 to Max
- set_retrace(state: bool) None [source]
# SCPI: [SOURce<HW>]:SWEep:POWer:RETRace driver.source.sweep.power.set_retrace(state = False)
Activates that the signal changes to the start frequency value while it is waiting for the next trigger event. You can enable this feature, when you are working with sawtooth shapes in sweep mode ‘Single’ or ‘External Single’.
- param state
1| ON| 0| OFF
- set_shape(shape: RsSmbv.enums.SweCyclMode) None [source]
# SCPI: [SOURce<HW>]:SWEep:POWer:SHAPe driver.source.sweep.power.set_shape(shape = enums.SweCyclMode.SAWTooth)
Determines the waveform shape for a frequency sweep sequence.
- param shape
SAWTooth| TRIangle
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.source.sweep.power.clone()
Subgroups