Source code for RsFsw.Implementations.Applications.K9x_11ad.Fetch.Burst.Count

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


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

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

[docs] def get(self) -> float: """ ``FETCh:BURSt:COUNt`` \n Snippet: ``value: float = driver.applications.k9X11Ad.fetch.burst.count.get()`` \n Returns the number of analyzed PPDUs from the current capture buffer. If multiple measurements are required because the number of PPDUs to analyze is greater than the number of PPDUs that can be captured in one buffer, this command only returns the number of captured PPDUs in the current capture buffer (as opposed to method ``RsFsw.applications.k91Wlan.fetch.burst.count.all.get()`` ) . """ response = self._core.io.query_str(f'FETCh:BURSt:COUNt?') return Conversions.str_to_float(response)