Protection#

SCPI Commands :

OUTPut<HW>:PROTection:CLEar
OUTPut<HW>:PROTection:STATe
OUTPut<HW>:PROTection:TRIPped
Commands in total: 3
Subgroups: 0
Direct child commands: 3
clear ( ) → None
clear_with_opc ( opc_timeout_ms: int = -1 ) → None
# OUTPut<HW>:PROTection:CLEar
driver.output.protection.clear()
driver.output.protection.clear_with_opc(opc_timeout_ms = 3000)

Resets the protective circuit after it has been tripped. To define the output state, use the command method RsSmw.output.state.value() .

clear_with_opc() does the same as clear(), but waits for the operation to complete before continuing further. Use the RsSmw.utilities.opc_timeout to set the timeout value.

Parameters:

opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.

get_state ( ) → bool
set_state ( state: bool ) → None
# OUTPut<HW>:PROTection:STATe
# get:
value: bool = driver.output.protection.get_state()
# set:
driver.output.protection.set_state(state = False)

Attenuates the RF output signal for about 40 dB to protect external devices against internal signals.

Parameters:

state – 1 | ON | 0| OFF

get_tripped ( ) → bool
# OUTPut<HW>:PROTection:TRIPped
value: bool = driver.output.protection.get_tripped()

Queries the state of the protective circuit.

Returns:

tripped: 1 | ON | 0| OFF