State

SCPI Command :

SYSTem:PROTect<CH>:[STATe]
class StateCls[source]

State commands group definition. 1 total commands, 0 Subgroups, 1 group commands

get(level=Level.Default) bool[source]
# SCPI: SYSTem:PROTect<CH>:[STATe]
value: bool = driver.system.protect.state.get(level = repcap.Level.Default)

Activates and deactivates the specified protection level.

param level

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Protect’)

return

state: 1| ON| 0| OFF

set(state: bool, key: Optional[int] = None, level=Level.Default) None[source]
# SCPI: SYSTem:PROTect<CH>:[STATe]
driver.system.protect.state.set(state = False, key = 1, level = repcap.Level.Default)

Activates and deactivates the specified protection level.

param state

1| ON| 0| OFF

param key

integer The respective functions are disabled when the protection level is activated. No password is required for activation of a level. A password must be entered to deactivate the protection level. The default password for the first level is 123456. This protection level is required to unlock internal adjustments for example.

param level

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Protect’)