Source code for RsFsw.Implementations.Applications.K91_Wlan.Sense.Demod.FormatPy.Banalyze

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 BanalyzeCls:
	"""
	| Commands in total: 15
	| Subgroups: 4
	| Direct child commands: 1
	"""

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

	@property
	def btype(self):
		"""
		| Commands in total: 2
		| Subgroups: 1
		| Direct child commands: 1
		"""
		if not hasattr(self, '_btype'):
			from .Btype import BtypeCls
			self._btype = BtypeCls(self._core, self._cmd_group)
		return self._btype

	@property
	def symbols(self):
		"""
		| Commands in total: 6
		| Subgroups: 5
		| Direct child commands: 0
		"""
		if not hasattr(self, '_symbols'):
			from .Symbols import SymbolsCls
			self._symbols = SymbolsCls(self._core, self._cmd_group)
		return self._symbols

	@property
	def dbytes(self):
		"""
		| Commands in total: 3
		| Subgroups: 3
		| Direct child commands: 0
		"""
		if not hasattr(self, '_dbytes'):
			from .Dbytes import DbytesCls
			self._dbytes = DbytesCls(self._core, self._cmd_group)
		return self._dbytes

	@property
	def duration(self):
		"""
		| Commands in total: 3
		| Subgroups: 3
		| Direct child commands: 0
		"""
		if not hasattr(self, '_duration'):
			from .Duration import DurationCls
			self._duration = DurationCls(self._core, self._cmd_group)
		return self._duration

[docs] def set(self, format_py: str) -> None: """ ``[SENSe]:DEMod:FORMat:BANalyze`` \n Snippet: ``driver.applications.k91Wlan.sense.demod.formatPy.banalyze.set(format_py = 'abc')`` \n Specifies which PSDUs are to be analyzed depending on their modulation. Only PSDUs using the selected modulation are considered in result analysis. Note: to analyze all PPDUs that are identical to the first detected PPDU (corresponds to 'Auto, same type as first PPDU') , use the command: SENS:DEMO:FORM:BANA:BTYP:AUTO:TYPE FBUR. To analyze all PPDUs regardless of their format and modulation (corresponds to 'Auto, individually for each PPDU') , use the command: SENS:DEMO:FORM:BANA:BTYP:AUTO:TYPE ALL. To analyze all PPDUs using the same modulation (corresponds to 'Demod all as...', use the command: SENS:DEMO:FORM:BANA:BTYP:AUTO:TYPE ... See method ``RsFsw.applications.k91Wlan.sense.demod.formatPy.banalyze.btype.auto.typePy.set()`` . """ param = Conversions.value_to_quoted_str(format_py) self._core.io.write(f'SENSe:DEMod:FORMat:BANalyze {param}')
[docs] def get(self) -> str: """ ``[SENSe]:DEMod:FORMat:BANalyze`` \n Snippet: ``value: str = driver.applications.k91Wlan.sense.demod.formatPy.banalyze.get()`` \n Specifies which PSDUs are to be analyzed depending on their modulation. Only PSDUs using the selected modulation are considered in result analysis. Note: to analyze all PPDUs that are identical to the first detected PPDU (corresponds to 'Auto, same type as first PPDU') , use the command: SENS:DEMO:FORM:BANA:BTYP:AUTO:TYPE FBUR. To analyze all PPDUs regardless of their format and modulation (corresponds to 'Auto, individually for each PPDU') , use the command: SENS:DEMO:FORM:BANA:BTYP:AUTO:TYPE ALL. To analyze all PPDUs using the same modulation (corresponds to 'Demod all as...', use the command: SENS:DEMO:FORM:BANA:BTYP:AUTO:TYPE ... See method ``RsFsw.applications.k91Wlan.sense.demod.formatPy.banalyze.btype.auto.typePy.set()`` . """ response = self._core.io.query_str(f'SENSe:DEMod:FORMat:BANalyze?') return trim_str_response(response)
def clone(self) -> 'BanalyzeCls': """ 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 = BanalyzeCls(self._core, self._cmd_group.parent) self._cmd_group.synchronize_repcaps(new_group) return new_group