Protection

SCPI Commands :

OUTPut<HW>:PROTection:CLEar
OUTPut<HW>:PROTection:STATe
OUTPut<HW>:PROTection:TRIPped
class ProtectionCls[source]

Protection commands group definition. 3 total commands, 0 Subgroups, 3 group commands

clear() None[source]
# SCPI: OUTPut<HW>:PROTection:CLEar
driver.output.protection.clear()

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(opc_timeout_ms: int = - 1) None[source]
# SCPI: OUTPut<HW>:PROTection:CLEar
driver.output.protection.clear_with_opc()

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

Same as clear, but waits for the operation to complete before continuing further. Use the RsSmw.utilities.opc_timeout_set() to set the timeout value.

param opc_timeout_ms

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

get_state() bool[source]
# SCPI: OUTPut<HW>:PROTection:STATe
value: bool = driver.output.protection.get_state()

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

return

state: 1| ON| 0| OFF

get_tripped() bool[source]
# SCPI: OUTPut<HW>:PROTection:TRIPped
value: bool = driver.output.protection.get_tripped()

Queries the state of the protective circuit.

return

tripped: 1| ON| 0| OFF

set_state(state: bool) None[source]
# SCPI: OUTPut<HW>:PROTection:STATe
driver.output.protection.set_state(state = False)

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

param state

1| ON| 0| OFF