Source code for RsFsw.Implementations.Applications.K14x_Nr5G.Sense.Nr5G.Demod.SbTransient

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 SbTransientCls:
	"""
	| Commands in total: 1
	| Subgroups: 0
	| Direct child commands: 1
	"""

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

[docs] def set(self, symbol: str) -> None: """ ``[SENSe]:NR5G:DEMod:SBTRansient`` \n Snippet: ``driver.applications.k14Xnr5G.sense.nr5G.demod.sbTransient.set(symbol = 'abc')`` \n Selects the symbol right before the transient period. Prerequisites for this command \n - Select a transient period != 10 us (method ``RsFsw.applications.k14Xnr5G.sense.nr5G.demod.tperiod.set()`` ) . :param symbol: String containing the symbol numbers as a comma separated list. """ param = Conversions.value_to_quoted_str(symbol) self._core.io.write(f'SENSe:NR5G:DEMod:SBTRansient {param}')
[docs] def get(self) -> str: """ ``[SENSe]:NR5G:DEMod:SBTRansient`` \n Snippet: ``value: str = driver.applications.k14Xnr5G.sense.nr5G.demod.sbTransient.get()`` \n Selects the symbol right before the transient period. Prerequisites for this command \n - Select a transient period != 10 us (method ``RsFsw.applications.k14Xnr5G.sense.nr5G.demod.tperiod.set()`` ) . :return: symbol: String containing the symbol numbers as a comma separated list. """ response = self._core.io.query_str(f'SENSe:NR5G:DEMod:SBTRansient?') return trim_str_response(response)