Source code for RsSmbv.Implementations.Source.Bb.Eutra.Tcw.Rtf

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class RtfCls: """Rtf commands group definition. 10 total commands, 0 Subgroups, 10 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("rtf", core, parent) # noinspection PyTypeChecker
[docs] def get_ack_definition(self) -> enums.LowHigh: """SCPI: [SOURce<HW>]:BB:EUTRa:TCW:RTF:ACKDefinition \n Snippet: value: enums.LowHigh = driver.source.bb.eutra.tcw.rtf.get_ack_definition() \n No command help available \n :return: ack_definition: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:TCW:RTF:ACKDefinition?') return Conversions.str_to_scalar_enum(response, enums.LowHigh)
[docs] def set_ack_definition(self, ack_definition: enums.LowHigh) -> None: """SCPI: [SOURce<HW>]:BB:EUTRa:TCW:RTF:ACKDefinition \n Snippet: driver.source.bb.eutra.tcw.rtf.set_ack_definition(ack_definition = enums.LowHigh.HIGH) \n No command help available \n :param ack_definition: No help available """ param = Conversions.enum_scalar_to_str(ack_definition, enums.LowHigh) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:TCW:RTF:ACKDefinition {param}')
[docs] def get_aus_delay(self) -> float: """SCPI: [SOURce<HW>]:BB:EUTRa:TCW:RTF:AUSDelay \n Snippet: value: float = driver.source.bb.eutra.tcw.rtf.get_aus_delay() \n No command help available \n :return: add_user_delay: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:TCW:RTF:AUSDelay?') return Conversions.str_to_float(response)
[docs] def set_aus_delay(self, add_user_delay: float) -> None: """SCPI: [SOURce<HW>]:BB:EUTRa:TCW:RTF:AUSDelay \n Snippet: driver.source.bb.eutra.tcw.rtf.set_aus_delay(add_user_delay = 1.0) \n No command help available \n :param add_user_delay: No help available """ param = Conversions.decimal_value_to_str(add_user_delay) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:TCW:RTF:AUSDelay {param}')
[docs] def get_bb_smue(self) -> int: """SCPI: [SOURce<HW>]:BB:EUTRa:TCW:RTF:BBSMue \n Snippet: value: int = driver.source.bb.eutra.tcw.rtf.get_bb_smue() \n No command help available \n :return: bb_select_mov_ue: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:TCW:RTF:BBSMue?') return Conversions.str_to_int(response)
[docs] def set_bb_smue(self, bb_select_mov_ue: int) -> None: """SCPI: [SOURce<HW>]:BB:EUTRa:TCW:RTF:BBSMue \n Snippet: driver.source.bb.eutra.tcw.rtf.set_bb_smue(bb_select_mov_ue = 1) \n No command help available \n :param bb_select_mov_ue: No help available """ param = Conversions.decimal_value_to_str(bb_select_mov_ue) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:TCW:RTF:BBSMue {param}')
[docs] def get_bb_ssue(self) -> int: """SCPI: [SOURce<HW>]:BB:EUTRa:TCW:RTF:BBSSue \n Snippet: value: int = driver.source.bb.eutra.tcw.rtf.get_bb_ssue() \n No command help available \n :return: bb_select_stat_ue: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:TCW:RTF:BBSSue?') return Conversions.str_to_int(response)
[docs] def set_bb_ssue(self, bb_select_stat_ue: int) -> None: """SCPI: [SOURce<HW>]:BB:EUTRa:TCW:RTF:BBSSue \n Snippet: driver.source.bb.eutra.tcw.rtf.set_bb_ssue(bb_select_stat_ue = 1) \n No command help available \n :param bb_select_stat_ue: No help available """ param = Conversions.decimal_value_to_str(bb_select_stat_ue) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:TCW:RTF:BBSSue {param}')
[docs] def get_bb_selector(self) -> int: """SCPI: [SOURce<HW>]:BB:EUTRa:TCW:RTF:BBSelector \n Snippet: value: int = driver.source.bb.eutra.tcw.rtf.get_bb_selector() \n No command help available \n :return: bb_selector: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:TCW:RTF:BBSelector?') return Conversions.str_to_int(response)
[docs] def set_bb_selector(self, bb_selector: int) -> None: """SCPI: [SOURce<HW>]:BB:EUTRa:TCW:RTF:BBSelector \n Snippet: driver.source.bb.eutra.tcw.rtf.set_bb_selector(bb_selector = 1) \n No command help available \n :param bb_selector: No help available """ param = Conversions.decimal_value_to_str(bb_selector) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:TCW:RTF:BBSelector {param}')
# noinspection PyTypeChecker
[docs] def get_conmue(self) -> enums.EutraTcwConnector: """SCPI: [SOURce<HW>]:BB:EUTRa:TCW:RTF:CONMue \n Snippet: value: enums.EutraTcwConnector = driver.source.bb.eutra.tcw.rtf.get_conmue() \n No command help available \n :return: connector_mov_ue: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:TCW:RTF:CONMue?') return Conversions.str_to_scalar_enum(response, enums.EutraTcwConnector)
[docs] def set_conmue(self, connector_mov_ue: enums.EutraTcwConnector) -> None: """SCPI: [SOURce<HW>]:BB:EUTRa:TCW:RTF:CONMue \n Snippet: driver.source.bb.eutra.tcw.rtf.set_conmue(connector_mov_ue = enums.EutraTcwConnector.LEVatt) \n No command help available \n :param connector_mov_ue: No help available """ param = Conversions.enum_scalar_to_str(connector_mov_ue, enums.EutraTcwConnector) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:TCW:RTF:CONMue {param}')
# noinspection PyTypeChecker
[docs] def get_connector(self) -> enums.EutraTcwConnector: """SCPI: [SOURce<HW>]:BB:EUTRa:TCW:RTF:CONNector \n Snippet: value: enums.EutraTcwConnector = driver.source.bb.eutra.tcw.rtf.get_connector() \n No command help available \n :return: connector: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:TCW:RTF:CONNector?') return Conversions.str_to_scalar_enum(response, enums.EutraTcwConnector)
[docs] def set_connector(self, connector: enums.EutraTcwConnector) -> None: """SCPI: [SOURce<HW>]:BB:EUTRa:TCW:RTF:CONNector \n Snippet: driver.source.bb.eutra.tcw.rtf.set_connector(connector = enums.EutraTcwConnector.LEVatt) \n No command help available \n :param connector: No help available """ param = Conversions.enum_scalar_to_str(connector, enums.EutraTcwConnector) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:TCW:RTF:CONNector {param}')
# noinspection PyTypeChecker
[docs] def get_consue(self) -> enums.EutraTcwConnector: """SCPI: [SOURce<HW>]:BB:EUTRa:TCW:RTF:CONSue \n Snippet: value: enums.EutraTcwConnector = driver.source.bb.eutra.tcw.rtf.get_consue() \n No command help available \n :return: connector_stat_ue: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:TCW:RTF:CONSue?') return Conversions.str_to_scalar_enum(response, enums.EutraTcwConnector)
[docs] def set_consue(self, connector_stat_ue: enums.EutraTcwConnector) -> None: """SCPI: [SOURce<HW>]:BB:EUTRa:TCW:RTF:CONSue \n Snippet: driver.source.bb.eutra.tcw.rtf.set_consue(connector_stat_ue = enums.EutraTcwConnector.LEVatt) \n No command help available \n :param connector_stat_ue: No help available """ param = Conversions.enum_scalar_to_str(connector_stat_ue, enums.EutraTcwConnector) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:TCW:RTF:CONSue {param}')
# noinspection PyTypeChecker
[docs] def get_mode(self) -> enums.EutraTcwrtfMode: """SCPI: [SOURce<HW>]:BB:EUTRa:TCW:RTF:MODE \n Snippet: value: enums.EutraTcwrtfMode = driver.source.bb.eutra.tcw.rtf.get_mode() \n No command help available \n :return: mode: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:TCW:RTF:MODE?') return Conversions.str_to_scalar_enum(response, enums.EutraTcwrtfMode)
[docs] def set_mode(self, mode: enums.EutraTcwrtfMode) -> None: """SCPI: [SOURce<HW>]:BB:EUTRa:TCW:RTF:MODE \n Snippet: driver.source.bb.eutra.tcw.rtf.set_mode(mode = enums.EutraTcwrtfMode.BIN) \n No command help available \n :param mode: No help available """ param = Conversions.enum_scalar_to_str(mode, enums.EutraTcwrtfMode) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:TCW:RTF:MODE {param}')
# noinspection PyTypeChecker
[docs] def get_ser_rate(self) -> enums.EutraSerialRate: """SCPI: [SOURce<HW>]:BB:EUTRa:TCW:RTF:SERRate \n Snippet: value: enums.EutraSerialRate = driver.source.bb.eutra.tcw.rtf.get_ser_rate() \n No command help available \n :return: serial_rate: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:TCW:RTF:SERRate?') return Conversions.str_to_scalar_enum(response, enums.EutraSerialRate)
[docs] def set_ser_rate(self, serial_rate: enums.EutraSerialRate) -> None: """SCPI: [SOURce<HW>]:BB:EUTRa:TCW:RTF:SERRate \n Snippet: driver.source.bb.eutra.tcw.rtf.set_ser_rate(serial_rate = enums.EutraSerialRate.SR1_6M) \n No command help available \n :param serial_rate: No help available """ param = Conversions.enum_scalar_to_str(serial_rate, enums.EutraSerialRate) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:TCW:RTF:SERRate {param}')