[docs]classWindowCls:"""Window commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("window",core,parent)
[docs]defget(self,window_name:str)->int:"""SCPI: LAYout:IDENtify[:WINDow] \n Snippet: value: int = driver.applications.k50Spurious.layout.identify.window.get(window_name = 'abc') \n Queries the index of a particular display window in the active channel. Note: to query the name of a particular window, use the LAYout:WINDow<n>:IDENtify? query. \n :param window_name: String containing the name of a window. :return: window_index: Index number of the window."""param=Conversions.value_to_quoted_str(window_name)response=self._core.io.query_str_with_opc(f'LAYout:IDENtify:WINDow? {param}')returnConversions.str_to_int(response)