Source code for RsSmbv.Implementations.Source.Bb.Nr5G.Trigger.Obaseband

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class ObasebandCls: """Obaseband commands group definition. 4 total commands, 0 Subgroups, 4 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("obaseband", core, parent)
[docs] def get_delay(self) -> float: """SCPI: [SOURce<HW>]:BB:NR5G:TRIGger:OBASeband:DELay \n Snippet: value: float = driver.source.bb.nr5G.trigger.obaseband.get_delay() \n No command help available \n :return: trig_int_oth_delay: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:TRIGger:OBASeband:DELay?') return Conversions.str_to_float(response)
[docs] def set_delay(self, trig_int_oth_delay: float) -> None: """SCPI: [SOURce<HW>]:BB:NR5G:TRIGger:OBASeband:DELay \n Snippet: driver.source.bb.nr5G.trigger.obaseband.set_delay(trig_int_oth_delay = 1.0) \n No command help available \n :param trig_int_oth_delay: No help available """ param = Conversions.decimal_value_to_str(trig_int_oth_delay) self._core.io.write(f'SOURce<HwInstance>:BB:NR5G:TRIGger:OBASeband:DELay {param}')
[docs] def get_inhibit(self) -> int: """SCPI: [SOURce<HW>]:BB:NR5G:TRIGger:OBASeband:INHibit \n Snippet: value: int = driver.source.bb.nr5G.trigger.obaseband.get_inhibit() \n No command help available \n :return: int_oth_inhibit: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:TRIGger:OBASeband:INHibit?') return Conversions.str_to_int(response)
[docs] def set_inhibit(self, int_oth_inhibit: int) -> None: """SCPI: [SOURce<HW>]:BB:NR5G:TRIGger:OBASeband:INHibit \n Snippet: driver.source.bb.nr5G.trigger.obaseband.set_inhibit(int_oth_inhibit = 1) \n No command help available \n :param int_oth_inhibit: No help available """ param = Conversions.decimal_value_to_str(int_oth_inhibit) self._core.io.write(f'SOURce<HwInstance>:BB:NR5G:TRIGger:OBASeband:INHibit {param}')
[docs] def get_rdelay(self) -> float: """SCPI: [SOURce<HW>]:BB:NR5G:TRIGger:OBASeband:RDELay \n Snippet: value: float = driver.source.bb.nr5G.trigger.obaseband.get_rdelay() \n No command help available \n :return: int_oth_rdelay_sec: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:TRIGger:OBASeband:RDELay?') return Conversions.str_to_float(response)
[docs] def get_tdelay(self) -> float: """SCPI: [SOURce<HW>]:BB:NR5G:TRIGger:OBASeband:TDELay \n Snippet: value: float = driver.source.bb.nr5G.trigger.obaseband.get_tdelay() \n No command help available \n :return: int_oth_delay_sec: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:TRIGger:OBASeband:TDELay?') return Conversions.str_to_float(response)
[docs] def set_tdelay(self, int_oth_delay_sec: float) -> None: """SCPI: [SOURce<HW>]:BB:NR5G:TRIGger:OBASeband:TDELay \n Snippet: driver.source.bb.nr5G.trigger.obaseband.set_tdelay(int_oth_delay_sec = 1.0) \n No command help available \n :param int_oth_delay_sec: No help available """ param = Conversions.decimal_value_to_str(int_oth_delay_sec) self._core.io.write(f'SOURce<HwInstance>:BB:NR5G:TRIGger:OBASeband:TDELay {param}')