Source code for RsCmwBluetoothSig.Implementations.Configure_.Debug_.Rx_.Correlation

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 Correlation: """Correlation commands group definition. 2 total commands, 0 Sub-groups, 2 group commands""" def __init__(self, core: Core, parent): self._core = core self._base = CommandsGroup("correlation", core, parent)
[docs] def get_threshold(self) -> str: """SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:DEBug:RX:CORRelation:THReshold \n Snippet: value: str = driver.configure.debug.rx.correlation.get_threshold() \n No command help available \n :return: threshold: No help available """ response = self._core.io.query_str('CONFigure:BLUetooth:SIGNaling<Instance>:DEBug:RX:CORRelation:THReshold?') return trim_str_response(response)
[docs] def set_threshold(self, threshold: str) -> None: """SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:DEBug:RX:CORRelation:THReshold \n Snippet: driver.configure.debug.rx.correlation.set_threshold(threshold = r1) \n No command help available \n :param threshold: No help available """ param = Conversions.value_to_str(threshold) self._core.io.write(f'CONFigure:BLUetooth:SIGNaling<Instance>:DEBug:RX:CORRelation:THReshold {param}')
[docs] def get_timeout(self) -> str: """SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:DEBug:RX:CORRelation:TIMeout \n Snippet: value: str = driver.configure.debug.rx.correlation.get_timeout() \n No command help available \n :return: timeout: No help available """ response = self._core.io.query_str('CONFigure:BLUetooth:SIGNaling<Instance>:DEBug:RX:CORRelation:TIMeout?') return trim_str_response(response)
[docs] def set_timeout(self, timeout: str) -> None: """SCPI: CONFigure:BLUetooth:SIGNaling<Instance>:DEBug:RX:CORRelation:TIMeout \n Snippet: driver.configure.debug.rx.correlation.set_timeout(timeout = r1) \n No command help available \n :param timeout: No help available """ param = Conversions.value_to_str(timeout) self._core.io.write(f'CONFigure:BLUetooth:SIGNaling<Instance>:DEBug:RX:CORRelation:TIMeout {param}')