Source code for RsFsw.Implementations.Applications.K7_AnalogDemod.Layout.Catalog.Window

from typing import List

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


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

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

[docs] def get(self) -> List[str]: """ ``LAYout:CATalog[:WINDow]`` \n Snippet: ``value: List[str] = driver.applications.k7AnalogDemod.layout.catalog.window.get()`` \n Queries the name and index of all active windows in the active channel from top left to bottom right. The result is a comma-separated list of values for each window, with the syntax: <WindowName_1>,<WindowIndex_1>..<WindowName_n>, <WindowIndex_n> """ response = self._core.io.query_str_with_opc(f'LAYout:CATalog:WINDow?') return Conversions.str_to_str_list(response)