Source code for RsFsw.Implementations.Applications.K60_Transient.Display.Wselect

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


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

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

[docs] def get(self) -> int: """ ``DISPlay:WSELect`` \n Snippet: ``value: int = driver.applications.k60Transient.display.wselect.get()`` \n Queries the currently active window (the one that is focused) in the currently selected measurement channel. :return: active_window: Index number of the currently active window. Range: 1 to 16 """ response = self._core.io.query_str(f'DISPlay:WSELect?') return Conversions.str_to_int(response)