Spc
SCPI Commands :
[SOURce<HW>]:POWer:SPC:CRANge
[SOURce<HW>]:POWer:SPC:DELay
[SOURce<HW>]:POWer:SPC:MODE
[SOURce<HW>]:POWer:SPC:PEAK
[SOURce<HW>]:POWer:SPC:SELect
[SOURce<HW>]:POWer:SPC:STATe
[SOURce<HW>]:POWer:SPC:TARGet
[SOURce<HW>]:POWer:SPC:WARNing
- class SpcCls[source]
Spc commands group definition. 10 total commands, 2 Subgroups, 8 group commands
- get_crange() float [source]
# SCPI: [SOURce<HW>]:POWer:SPC:CRANge value: float = driver.source.power.spc.get_crange()
Defines the capture range of the power control system. Within the range: Target Level +/- Catch Range the power control locks and tries to achieve the target level. Readings outside the range are not considered.
- return
pow_cntrl_crange: float Range: 0 to 50
- get_delay() int [source]
# SCPI: [SOURce<HW>]:POWer:SPC:DELay value: int = driver.source.power.spc.get_delay()
Sets a waiting time for the generator to adjust the output level. After the delay time has elapsed, the power sensor measures the next value.
- return
pow_cntrl_delay: integer Range: 0 to 1000
- get_mode() RsSmbv.enums.SensorModeAll [source]
# SCPI: [SOURce<HW>]:POWer:SPC:MODE value: enums.SensorModeAll = driver.source.power.spc.get_mode()
Selects the measurement mode for the power sensor.
- return
control_mode: AUTO| SINGle AUTO Measures the level values continuously. SINGle Executes one measurement, triggered by the command [:SOURcehw]:POWer:SPC:SINGle.
- get_peak() bool [source]
# SCPI: [SOURce<HW>]:POWer:SPC:PEAK value: bool = driver.source.power.spc.get_peak()
Activates power control by means of the peak power values, provided the power sensor supports this function.
- return
pow_cntrl_peak: 1| ON| 0| OFF
- get_select() RsSmbv.enums.PowCntrlSelect [source]
# SCPI: [SOURce<HW>]:POWer:SPC:SELect value: enums.PowCntrlSelect = driver.source.power.spc.get_select()
Selects the power sensor used for power control.
- return
pow_cntrl_select: SENS1| SENS2| SENS3| SENS4| SENSor1| SENSor2| SENSor3| SENSor4
- get_state() bool [source]
# SCPI: [SOURce<HW>]:POWer:SPC:STATe value: bool = driver.source.power.spc.get_state()
Starts power control using the selected sensor. The control loop periodically adjusts the output level of the signal generator. After switching off, the running loop is completed.
- return
pow_cntrl_state: 1| ON| 0| OFF
- get_target() float [source]
# SCPI: [SOURce<HW>]:POWer:SPC:TARGet value: float = driver.source.power.spc.get_target()
Sets the target level required at the DUT. To define the unit of the power value, use command method RsSmbv.Unit.power.
- return
pow_cntrl_target: float Range: -50 to 30
- get_warning_py() bool [source]
# SCPI: [SOURce<HW>]:POWer:SPC:WARNing value: bool = driver.source.power.spc.get_warning_py()
Queries if the activated power control works properly. If the power control does not work, the query returns warning state 1. On the screen, the R&S SMBV100B indicates a warning icon.
- return
warning_state: 1| ON| 0| OFF
- set_crange(pow_cntrl_crange: float) None [source]
# SCPI: [SOURce<HW>]:POWer:SPC:CRANge driver.source.power.spc.set_crange(pow_cntrl_crange = 1.0)
Defines the capture range of the power control system. Within the range: Target Level +/- Catch Range the power control locks and tries to achieve the target level. Readings outside the range are not considered.
- param pow_cntrl_crange
float Range: 0 to 50
- set_delay(pow_cntrl_delay: int) None [source]
# SCPI: [SOURce<HW>]:POWer:SPC:DELay driver.source.power.spc.set_delay(pow_cntrl_delay = 1)
Sets a waiting time for the generator to adjust the output level. After the delay time has elapsed, the power sensor measures the next value.
- param pow_cntrl_delay
integer Range: 0 to 1000
- set_mode(control_mode: RsSmbv.enums.SensorModeAll) None [source]
# SCPI: [SOURce<HW>]:POWer:SPC:MODE driver.source.power.spc.set_mode(control_mode = enums.SensorModeAll.AUTO)
Selects the measurement mode for the power sensor.
- param control_mode
AUTO| SINGle AUTO Measures the level values continuously. SINGle Executes one measurement, triggered by the command [:SOURcehw]:POWer:SPC:SINGle.
- set_peak(pow_cntrl_peak: bool) None [source]
# SCPI: [SOURce<HW>]:POWer:SPC:PEAK driver.source.power.spc.set_peak(pow_cntrl_peak = False)
Activates power control by means of the peak power values, provided the power sensor supports this function.
- param pow_cntrl_peak
1| ON| 0| OFF
- set_select(pow_cntrl_select: RsSmbv.enums.PowCntrlSelect) None [source]
# SCPI: [SOURce<HW>]:POWer:SPC:SELect driver.source.power.spc.set_select(pow_cntrl_select = enums.PowCntrlSelect.SENS1)
Selects the power sensor used for power control.
- param pow_cntrl_select
SENS1| SENS2| SENS3| SENS4| SENSor1| SENSor2| SENSor3| SENSor4
- set_state(pow_cntrl_state: bool) None [source]
# SCPI: [SOURce<HW>]:POWer:SPC:STATe driver.source.power.spc.set_state(pow_cntrl_state = False)
Starts power control using the selected sensor. The control loop periodically adjusts the output level of the signal generator. After switching off, the running loop is completed.
- param pow_cntrl_state
1| ON| 0| OFF
- set_target(pow_cntrl_target: float) None [source]
# SCPI: [SOURce<HW>]:POWer:SPC:TARGet driver.source.power.spc.set_target(pow_cntrl_target = 1.0)
Sets the target level required at the DUT. To define the unit of the power value, use command method RsSmbv.Unit.power.
- param pow_cntrl_target
float Range: -50 to 30
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.source.power.spc.clone()
Subgroups