Source code for RsFsw.Implementations.Applications.K91_Wlan.Configure.Standard

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


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

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

[docs] def set(self, standard: float) -> None: """ ``CONFigure:STANdard`` \n Snippet: ``driver.applications.k91Wlan.configure.standard.set(standard = 1.0)`` \n This remote control command specifies which WLAN standard the option is configured to measure. The availability of many commands depends on the selected standard! :param standard: 0 IEEE 802.11a 1 IEEE 802.11b 2 IEEE 802.11j (10 MHz) 3 IEEE 802.11j (20 MHz) 4 IEEE 802.11g To distinguish between OFDM and DSSS use the command method ``RsFsw.applications.k91Wlan.sense.demod.formatPy.banalyze.btype.set()`` . By default, the R&S FSW WLAN application selects the most recently defined PPDU type. 6 IEEE 802.11n 7 IEEE 802.11n (MIMO) 8 IEEE 802.11ac 9 IEEE 802.11p 10 IEEE 802.11ax 11 IEEE 802.11be 12 IEEE 802.11bn """ param = Conversions.decimal_value_to_str(standard) self._core.io.write(f'CONFigure:STANdard {param}')
[docs] def get(self) -> float: """ ``CONFigure:STANdard`` \n Snippet: ``value: float = driver.applications.k91Wlan.configure.standard.get()`` \n This remote control command specifies which WLAN standard the option is configured to measure. The availability of many commands depends on the selected standard! :return: standard: 0 IEEE 802.11a 1 IEEE 802.11b 2 IEEE 802.11j (10 MHz) 3 IEEE 802.11j (20 MHz) 4 IEEE 802.11g To distinguish between OFDM and DSSS use the command method ``RsFsw.applications.k91Wlan.sense.demod.formatPy.banalyze.btype.set()`` . By default, the R&S FSW WLAN application selects the most recently defined PPDU type. 6 IEEE 802.11n 7 IEEE 802.11n (MIMO) 8 IEEE 802.11ac 9 IEEE 802.11p 10 IEEE 802.11ax 11 IEEE 802.11be 12 IEEE 802.11bn """ response = self._core.io.query_str(f'CONFigure:STANdard?') return Conversions.str_to_float(response)