Source code for RsSmbv.Implementations.Source.Bb.Eutra.LogGen.Uplink

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class UplinkCls: """Uplink commands group definition. 12 total commands, 3 Subgroups, 9 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("uplink", core, parent) @property def dall(self): """dall commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_dall'): from .Dall import DallCls self._dall = DallCls(self._core, self._cmd_group) return self._dall @property def eall(self): """eall commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_eall'): from .Eall import EallCls self._eall = EallCls(self._core, self._cmd_group) return self._eall @property def logPoint(self): """logPoint commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_logPoint'): from .LogPoint import LogPointCls self._logPoint = LogPointCls(self._core, self._cmd_group) return self._logPoint
[docs] def get_eu_logging(self) -> bool: """SCPI: [SOURce<HW>]:BB:EUTRa:LOGGen:UL:EULogging \n Snippet: value: bool = driver.source.bb.eutra.logGen.uplink.get_eu_logging() \n No command help available \n :return: ext_uci_log: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:LOGGen:UL:EULogging?') return Conversions.str_to_bool(response)
[docs] def set_eu_logging(self, ext_uci_log: bool) -> None: """SCPI: [SOURce<HW>]:BB:EUTRa:LOGGen:UL:EULogging \n Snippet: driver.source.bb.eutra.logGen.uplink.set_eu_logging(ext_uci_log = False) \n No command help available \n :param ext_uci_log: No help available """ param = Conversions.bool_to_str(ext_uci_log) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:LOGGen:UL:EULogging {param}')
[docs] def get_prach(self) -> bool: """SCPI: [SOURce<HW>]:BB:EUTRa:LOGGen:UL:PRACh \n Snippet: value: bool = driver.source.bb.eutra.logGen.uplink.get_prach() \n No command help available \n :return: prach_log_state: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:LOGGen:UL:PRACh?') return Conversions.str_to_bool(response)
[docs] def set_prach(self, prach_log_state: bool) -> None: """SCPI: [SOURce<HW>]:BB:EUTRa:LOGGen:UL:PRACh \n Snippet: driver.source.bb.eutra.logGen.uplink.set_prach(prach_log_state = False) \n No command help available \n :param prach_log_state: No help available """ param = Conversions.bool_to_str(prach_log_state) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:LOGGen:UL:PRACh {param}')
[docs] def get_pucch(self) -> bool: """SCPI: [SOURce<HW>]:BB:EUTRa:LOGGen:UL:PUCCh \n Snippet: value: bool = driver.source.bb.eutra.logGen.uplink.get_pucch() \n No command help available \n :return: pucch_log_state: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:LOGGen:UL:PUCCh?') return Conversions.str_to_bool(response)
[docs] def set_pucch(self, pucch_log_state: bool) -> None: """SCPI: [SOURce<HW>]:BB:EUTRa:LOGGen:UL:PUCCh \n Snippet: driver.source.bb.eutra.logGen.uplink.set_pucch(pucch_log_state = False) \n No command help available \n :param pucch_log_state: No help available """ param = Conversions.bool_to_str(pucch_log_state) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:LOGGen:UL:PUCCh {param}')
[docs] def get_pucdrs(self) -> bool: """SCPI: [SOURce<HW>]:BB:EUTRa:LOGGen:UL:PUCDrs \n Snippet: value: bool = driver.source.bb.eutra.logGen.uplink.get_pucdrs() \n No command help available \n :return: pusch_drs_log: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:LOGGen:UL:PUCDrs?') return Conversions.str_to_bool(response)
[docs] def set_pucdrs(self, pusch_drs_log: bool) -> None: """SCPI: [SOURce<HW>]:BB:EUTRa:LOGGen:UL:PUCDrs \n Snippet: driver.source.bb.eutra.logGen.uplink.set_pucdrs(pusch_drs_log = False) \n No command help available \n :param pusch_drs_log: No help available """ param = Conversions.bool_to_str(pusch_drs_log) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:LOGGen:UL:PUCDrs {param}')
[docs] def get_pusch(self) -> bool: """SCPI: [SOURce<HW>]:BB:EUTRa:LOGGen:UL:PUSCh \n Snippet: value: bool = driver.source.bb.eutra.logGen.uplink.get_pusch() \n No command help available \n :return: pusch_log_state: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:LOGGen:UL:PUSCh?') return Conversions.str_to_bool(response)
[docs] def set_pusch(self, pusch_log_state: bool) -> None: """SCPI: [SOURce<HW>]:BB:EUTRa:LOGGen:UL:PUSCh \n Snippet: driver.source.bb.eutra.logGen.uplink.set_pusch(pusch_log_state = False) \n No command help available \n :param pusch_log_state: No help available """ param = Conversions.bool_to_str(pusch_log_state) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:LOGGen:UL:PUSCh {param}')
[docs] def get_pusdrs(self) -> bool: """SCPI: [SOURce<HW>]:BB:EUTRa:LOGGen:UL:PUSDrs \n Snippet: value: bool = driver.source.bb.eutra.logGen.uplink.get_pusdrs() \n No command help available \n :return: pusch_drs_log: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:LOGGen:UL:PUSDrs?') return Conversions.str_to_bool(response)
[docs] def set_pusdrs(self, pusch_drs_log: bool) -> None: """SCPI: [SOURce<HW>]:BB:EUTRa:LOGGen:UL:PUSDrs \n Snippet: driver.source.bb.eutra.logGen.uplink.set_pusdrs(pusch_drs_log = False) \n No command help available \n :param pusch_drs_log: No help available """ param = Conversions.bool_to_str(pusch_drs_log) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:LOGGen:UL:PUSDrs {param}')
[docs] def get_sl(self) -> bool: """SCPI: [SOURce<HW>]:BB:EUTRa:LOGGen:UL:SL \n Snippet: value: bool = driver.source.bb.eutra.logGen.uplink.get_sl() \n No command help available \n :return: log_sidelink: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:LOGGen:UL:SL?') return Conversions.str_to_bool(response)
[docs] def set_sl(self, log_sidelink: bool) -> None: """SCPI: [SOURce<HW>]:BB:EUTRa:LOGGen:UL:SL \n Snippet: driver.source.bb.eutra.logGen.uplink.set_sl(log_sidelink = False) \n No command help available \n :param log_sidelink: No help available """ param = Conversions.bool_to_str(log_sidelink) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:LOGGen:UL:SL {param}')
[docs] def get_sld(self) -> bool: """SCPI: [SOURce<HW>]:BB:EUTRa:LOGGen:UL:SLD \n Snippet: value: bool = driver.source.bb.eutra.logGen.uplink.get_sld() \n No command help available \n :return: log_sidelink_drs: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:LOGGen:UL:SLD?') return Conversions.str_to_bool(response)
[docs] def set_sld(self, log_sidelink_drs: bool) -> None: """SCPI: [SOURce<HW>]:BB:EUTRa:LOGGen:UL:SLD \n Snippet: driver.source.bb.eutra.logGen.uplink.set_sld(log_sidelink_drs = False) \n No command help available \n :param log_sidelink_drs: No help available """ param = Conversions.bool_to_str(log_sidelink_drs) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:LOGGen:UL:SLD {param}')
[docs] def get_srs(self) -> bool: """SCPI: [SOURce<HW>]:BB:EUTRa:LOGGen:UL:SRS \n Snippet: value: bool = driver.source.bb.eutra.logGen.uplink.get_srs() \n No command help available \n :return: srs_state: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:LOGGen:UL:SRS?') return Conversions.str_to_bool(response)
[docs] def set_srs(self, srs_state: bool) -> None: """SCPI: [SOURce<HW>]:BB:EUTRa:LOGGen:UL:SRS \n Snippet: driver.source.bb.eutra.logGen.uplink.set_srs(srs_state = False) \n No command help available \n :param srs_state: No help available """ param = Conversions.bool_to_str(srs_state) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:LOGGen:UL:SRS {param}')
def clone(self) -> 'UplinkCls': """Clones the group by creating new object from it and its whole existing subgroups Also copies all the existing default Repeated Capabilities setting, which you can change independently without affecting the original group""" new_group = UplinkCls(self._core, self._cmd_group.parent) self._cmd_group.synchronize_repcaps(new_group) return new_group