from typing import List
from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class SettingCls:
"""Setting commands group definition. 4 total commands, 0 Subgroups, 4 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("setting", core, parent)
[docs] def get_catalog(self) -> List[str]:
"""SCPI: [SOURce<HW>]:BB:DAB:SETTing:CATalog \n
Snippet: value: List[str] = driver.source.bb.dab.setting.get_catalog() \n
No command help available \n
:return: catalog: No help available
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:DAB:SETTing:CATalog?')
return Conversions.str_to_str_list(response)
[docs] def delete(self, file: str) -> None:
"""SCPI: [SOURce<HW>]:BB:DAB:SETTing:DELete \n
Snippet: driver.source.bb.dab.setting.delete(file = 'abc') \n
No command help available \n
:param file: No help available
"""
param = Conversions.value_to_quoted_str(file)
self._core.io.write(f'SOURce<HwInstance>:BB:DAB:SETTing:DELete {param}')
[docs] def load(self, load: str) -> None:
"""SCPI: [SOURce<HW>]:BB:DAB:SETTing:LOAD \n
Snippet: driver.source.bb.dab.setting.load(load = 'abc') \n
No command help available \n
:param load: No help available
"""
param = Conversions.value_to_quoted_str(load)
self._core.io.write(f'SOURce<HwInstance>:BB:DAB:SETTing:LOAD {param}')
[docs] def set_store(self, store: str) -> None:
"""SCPI: [SOURce<HW>]:BB:DAB:SETTing:STORe \n
Snippet: driver.source.bb.dab.setting.set_store(store = 'abc') \n
No command help available \n
:param store: No help available
"""
param = Conversions.value_to_quoted_str(store)
self._core.io.write(f'SOURce<HwInstance>:BB:DAB:SETTing:STORe {param}')