Source code for RsSmw.Implementations.Source.Bb.Eutra.Setting.Tmod

from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal import Conversions
from ......Internal.Utilities import trim_str_response


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class TmodCls:
	"""
	| Commands in total: 2
	| Subgroups: 0
	| Direct child commands: 2
	"""

	def __init__(self, core: Core, parent):
		self._core = core
		self._cmd_group = CommandsGroup("tmod", core, parent)







[docs] def get_tdd(self) -> str: """ ``[SOURce<HW>]:BB:EUTRa:SETTing:TMOD:TDD`` \n Snippet: ``value: str = driver.source.bb.eutra.setting.tmod.get_tdd()`` \n Selects a predefined test model as defined in . """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:SETTing:TMOD:TDD?') return trim_str_response(response)
[docs] def set_tdd(self, tdd: str) -> None: """ ``[SOURce<HW>]:BB:EUTRa:SETTing:TMOD:TDD`` \n Snippet: ``driver.source.bb.eutra.setting.tmod.set_tdd(tdd = 'abc')`` \n Selects a predefined test model as defined in . :param tdd: test_model_name """ param = Conversions.value_to_quoted_str(tdd) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:SETTing:TMOD:TDD {param}')