from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class StoreCls:
"""
| Commands in total: 2
| Subgroups: 0
| Direct child commands: 2
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("store", core, parent)
[docs]
def get_fast(self) -> bool:
"""
``[SOURce<HW>]:BB:PRAMp:SETTing:STORe:FAST`` \n
Snippet: ``value: bool = driver.source.bb.pramp.setting.store.get_fast()`` \n
No help available
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:PRAMp:SETTing:STORe:FAST?')
return Conversions.str_to_bool(response)
[docs]
def set_fast(self, fast: bool) -> None:
"""
``[SOURce<HW>]:BB:PRAMp:SETTing:STORe:FAST`` \n
Snippet: ``driver.source.bb.pramp.setting.store.set_fast(fast = False)`` \n
No help available
"""
param = Conversions.bool_to_str(fast)
self._core.io.write(f'SOURce<HwInstance>:BB:PRAMp:SETTing:STORe:FAST {param}')
[docs]
def set_value(self, filename: str) -> None:
"""
``[SOURce<HW>]:BB:PRAMp:SETTing:STORe`` \n
Snippet: ``driver.source.bb.pramp.setting.store.set_value(filename = 'abc')`` \n
No help available
"""
param = Conversions.value_to_quoted_str(filename)
self._core.io.write(f'SOURce<HwInstance>:BB:PRAMp:SETTing:STORe {param}')