Source code for RsSmbv.Implementations.Source.Bb.Gnss.Logging.Category.Umotion.Csv.Acceleration

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class AccelerationCls: """Acceleration commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("acceleration", core, parent)
[docs] def get_ecef(self) -> bool: """SCPI: [SOURce<HW>]:BB:GNSS:LOGGing:CATegory:UMOTion:[CSV]:ACCeleration:ECEF \n Snippet: value: bool = driver.source.bb.gnss.logging.category.umotion.csv.acceleration.get_ecef() \n Enables the parameter for logging. \n :return: state: 1| ON| 0| OFF """ response = self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:LOGGing:CATegory:UMOTion:CSV:ACCeleration:ECEF?') return Conversions.str_to_bool(response)
[docs] def set_ecef(self, state: bool) -> None: """SCPI: [SOURce<HW>]:BB:GNSS:LOGGing:CATegory:UMOTion:[CSV]:ACCeleration:ECEF \n Snippet: driver.source.bb.gnss.logging.category.umotion.csv.acceleration.set_ecef(state = False) \n Enables the parameter for logging. \n :param state: 1| ON| 0| OFF """ param = Conversions.bool_to_str(state) self._core.io.write(f'SOURce<HwInstance>:BB:GNSS:LOGGing:CATegory:UMOTion:CSV:ACCeleration:ECEF {param}')