from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal.Utilities import trim_str_response
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class StartsCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("starts", core, parent)
[docs]
def get(self) -> str:
"""
``FETCh:BURSt:STARts`` \n
Snippet: ``value: str = driver.applications.k91Wlan.fetch.burst.starts.get()`` \n
Returns the start position of each analyzed PPDU in the current capture buffer.
:return: position: list Comma-separated list of sample numbers indicating the start position of each PPDU. Tip: To obtain the result in seconds, divide the sample number by the input sample rate. This value is indicated as 'Sample Rate Fs' in the channel bar.
"""
response = self._core.io.query_str(f'FETCh:BURSt:STARts?')
return trim_str_response(response)