Protection

SCPI Commands

SOURce:CURRent:PROTection:STATe
SOURce:CURRent:PROTection:UNLink
SOURce:CURRent:PROTection:TRIPped
SOURce:CURRent:PROTection:CLEar
class ProtectionCls[source]

Protection commands group definition. 7 total commands, 2 Subgroups, 4 group commands

clear() None[source]
# SCPI: [SOURce]:CURRent:PROTection:CLEar
driver.source.current.protection.clear()

Resets the OCP state of the selected channel. If an OCP event has occurred before, the reset also erases the message on the display.

clear_with_opc(opc_timeout_ms: int = -1) None[source]
# SCPI: [SOURce]:CURRent:PROTection:CLEar
driver.source.current.protection.clear_with_opc()

Resets the OCP state of the selected channel. If an OCP event has occurred before, the reset also erases the message on the display.

Same as clear, but waits for the operation to complete before continuing further. Use the RsNgx.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: [SOURce]:CURRent:PROTection[:STATe]
value: bool = driver.source.current.protection.get_state()

Sets or queries the OCP state.

return

arg_0: 1 Activates the OCP state. 0 deactivates the OCP state.

get_tripped() bool[source]
# SCPI: [SOURce]:CURRent:PROTection:TRIPped
value: bool = driver.source.current.protection.get_tripped()

Queries the OCP state of the selected channel.

return

result: No help available

set_state(arg_0: bool) None[source]
# SCPI: [SOURce]:CURRent:PROTection[:STATe]
driver.source.current.protection.set_state(arg_0 = False)

Sets or queries the OCP state.

param arg_0

1 Activates the OCP state. 0 deactivates the OCP state.

set_unlink(arg_0: int) None[source]
# SCPI: [SOURce]:CURRent:PROTection:UNLink
driver.source.current.protection.set_unlink(arg_0 = 1)

Unlink fuse linking from the other channel (Ch1 or Ch2) . See Example ‘Configuring fuses’.

param arg_0

1 | 2

Subgroups