from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup
from ....Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class ReleaseCls:
"""
| Commands in total: 2
| Subgroups: 0
| Direct child commands: 2
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("release", core, parent)
[docs]
def set_all(self, pseudo_string: str) -> None:
"""
``SYSTem:LOCK:RELease:ALL`` \n
Snippet: ``driver.system.lock.release.set_all(pseudo_string = 'abc')`` \n
Revokes the exclusive access to the instrument.
"""
param = Conversions.value_to_quoted_str(pseudo_string)
self._core.io.write(f'SYSTem:LOCK:RELease:ALL {param}')
[docs]
def set_value(self, pseudo_string: str) -> None:
"""
``SYSTem:LOCK:RELease`` \n
Snippet: ``driver.system.lock.release.set_value(pseudo_string = 'abc')`` \n
No help available
"""
param = Conversions.value_to_quoted_str(pseudo_string)
self._core.io.write(f'SYSTem:LOCK:RELease {param}')