Source code for RsSmbv.Implementations.System.ExtDevices.Update.Tselected

from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
from .....Internal.Utilities import trim_str_response


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class TselectedCls: """Tselected commands group definition. 2 total commands, 0 Subgroups, 2 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("tselected", core, parent)
[docs] def get_catalog(self) -> str: """SCPI: SYSTem:EXTDevices:UPDate:TSELected:CATalog \n Snippet: value: str = driver.system.extDevices.update.tselected.get_catalog() \n No command help available \n :return: catalog: No help available """ response = self._core.io.query_str('SYSTem:EXTDevices:UPDate:TSELected:CATalog?') return trim_str_response(response)
[docs] def get_step(self) -> str: """SCPI: SYSTem:EXTDevices:UPDate:TSELected:STEP \n Snippet: value: str = driver.system.extDevices.update.tselected.get_step() \n No command help available \n :return: sel_string: No help available """ response = self._core.io.query_str('SYSTem:EXTDevices:UPDate:TSELected:STEP?') return trim_str_response(response)
[docs] def set_step(self, sel_string: str) -> None: """SCPI: SYSTem:EXTDevices:UPDate:TSELected:STEP \n Snippet: driver.system.extDevices.update.tselected.set_step(sel_string = 'abc') \n No command help available \n :param sel_string: No help available """ param = Conversions.value_to_quoted_str(sel_string) self._core.io.write(f'SYSTem:EXTDevices:UPDate:TSELected:STEP {param}')