Source code for RsFsw.Implementations.Applications.K91_Wlan.Configure.Wlan.Mimo.Osp.Address

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 AddressCls:
	"""
	| Commands in total: 1
	| Subgroups: 0
	| Direct child commands: 1
	"""

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

[docs] def set(self, address: str) -> None: """ ``CONFigure:WLAN:MIMO:OSP:ADDRess`` \n Snippet: ``driver.applications.k91Wlan.configure.wlan.mimo.osp.address.set(address = 'abc')`` \n Specifies the TCP/IP address of the switch unit to be used for automated sequential MIMO measurements. The supported unit is Rohde & Schwarz OSP 1505.3009.03 with module option 1505.5101.02 """ param = Conversions.value_to_quoted_str(address) self._core.io.write(f'CONFigure:WLAN:MIMO:OSP:ADDRess {param}')
[docs] def get(self) -> str: """ ``CONFigure:WLAN:MIMO:OSP:ADDRess`` \n Snippet: ``value: str = driver.applications.k91Wlan.configure.wlan.mimo.osp.address.get()`` \n Specifies the TCP/IP address of the switch unit to be used for automated sequential MIMO measurements. The supported unit is Rohde & Schwarz OSP 1505.3009.03 with module option 1505.5101.02 """ response = self._core.io.query_str(f'CONFigure:WLAN:MIMO:OSP:ADDRess?') return trim_str_response(response)