from typing import List
from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup
from ....Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class HlableCls:
"""
| Commands in total: 2
| Subgroups: 0
| Direct child commands: 2
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("hlable", core, parent)
[docs]
def get_catalog(self) -> List[str]:
"""
``SYSTem:UNDO:HLABle:CATalog`` \n
Snippet: ``value: List[str] = driver.system.undo.hlable.get_catalog()`` \n
No help available
"""
response = self._core.io.query_str('SYSTem:UNDO:HLABle:CATalog?')
return Conversions.str_to_str_list(response)
[docs]
def set_select(self, label: str) -> None:
"""
``SYSTem:UNDO:HLABle:SELect`` \n
Snippet: ``driver.system.undo.hlable.set_select(label = 'abc')`` \n
No help available
"""
param = Conversions.value_to_quoted_str(label)
self._core.io.write(f'SYSTem:UNDO:HLABle:SELect {param}')