Source code for RsSmbv.Implementations.Source.Bb.Gbas.FilterPy.Ilength

from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal import Conversions


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class IlengthCls: """Ilength commands group definition. 2 total commands, 0 Subgroups, 2 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("ilength", core, parent)
[docs] def get_auto(self) -> bool: """SCPI: [SOURce<HW>]:BB:GBAS:FILTer:ILENgth:AUTO \n Snippet: value: bool = driver.source.bb.gbas.filterPy.ilength.get_auto() \n No command help available \n :return: auto: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:GBAS:FILTer:ILENgth:AUTO?') return Conversions.str_to_bool(response)
[docs] def set_auto(self, auto: bool) -> None: """SCPI: [SOURce<HW>]:BB:GBAS:FILTer:ILENgth:AUTO \n Snippet: driver.source.bb.gbas.filterPy.ilength.set_auto(auto = False) \n No command help available \n :param auto: No help available """ param = Conversions.bool_to_str(auto) self._core.io.write(f'SOURce<HwInstance>:BB:GBAS:FILTer:ILENgth:AUTO {param}')
[docs] def get_value(self) -> float: """SCPI: [SOURce<HW>]:BB:GBAS:FILTer:ILENgth \n Snippet: value: float = driver.source.bb.gbas.filterPy.ilength.get_value() \n No command help available \n :return: ilength: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:GBAS:FILTer:ILENgth?') return Conversions.str_to_float(response)
[docs] def set_value(self, ilength: float) -> None: """SCPI: [SOURce<HW>]:BB:GBAS:FILTer:ILENgth \n Snippet: driver.source.bb.gbas.filterPy.ilength.set_value(ilength = 1.0) \n No command help available \n :param ilength: No help available """ param = Conversions.decimal_value_to_str(ilength) self._core.io.write(f'SOURce<HwInstance>:BB:GBAS:FILTer:ILENgth {param}')