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 RsSmcv.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 RsSmcv.Output. State.value.

Same as clear, but waits for the operation to complete before continuing further. Use the RsSmcv.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()

No command help available

return:

state: No help available

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)

No command help available

param state:

No help available