Source code for RsFsw.Implementations.Applications.K9x_11ad.Sense.Burst.Select.State

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


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

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

[docs] def set(self, state: bool) -> None: """ ``[SENSe]:BURSt:SELect:STATe`` \n Snippet: ``driver.applications.k9X11Ad.sense.burst.select.state.set(state = False)`` \n Defines the evaluation basis for result displays. Note that this setting is only applicable after a measurement has been performed. :param state: ON | OFF | 0 | 1 OFF | 0 All detected PPDUs in the current capture buffer are evaluated. ON | 1 The WLAN 802.11 I/Q results are based on one individual PPDU only, namely the defined using method ``RsFsw.applications.k91Wlan.sense.burst.select.set()`` . As soon as a new measurement is started, the evaluation range is reset to all PPDUs in the current capture buffer. """ param = Conversions.bool_to_str(state) self._core.io.write(f'SENSe:BURSt:SELect:STATe {param}')
[docs] def get(self) -> bool: """ ``[SENSe]:BURSt:SELect:STATe`` \n Snippet: ``value: bool = driver.applications.k9X11Ad.sense.burst.select.state.get()`` \n Defines the evaluation basis for result displays. Note that this setting is only applicable after a measurement has been performed. :return: state: ON | OFF | 0 | 1 OFF | 0 All detected PPDUs in the current capture buffer are evaluated. ON | 1 The WLAN 802.11 I/Q results are based on one individual PPDU only, namely the defined using method ``RsFsw.applications.k91Wlan.sense.burst.select.set()`` . As soon as a new measurement is started, the evaluation range is reset to all PPDUs in the current capture buffer. """ response = self._core.io.query_str(f'SENSe:BURSt:SELect:STATe?') return Conversions.str_to_bool(response)