Window

SCPI Commands

LAYout:ADD:WINDow
class WindowCls[source]

Window commands group definition. 1 total commands, 0 Subgroups, 1 group commands

get(window_name: str, direction: WindowDirection, window_type: WindowTypeIq) str[source]
# SCPI: LAYout:ADD[:WINDow]
value: str = driver.applications.iqAnalyzer.layout.add.window.get(window_name = '1', direction = enums.WindowDirection.ABOVe, window_type = enums.WindowTypeIq.Diagram=DIAGram)

This command adds a window to the display in the active channel. This command is always used as a query so that you immediately obtain the name of the new window as a result. To replace an existing window, use the method RsFswp.Layout. Replace.Window.set command.

param window_name

String containing the name of the existing window the new window is inserted next to. By default, the name of a window is the same as its index. To determine the name and index of all active windows, use the method RsFswp.Layout.Catalog.Window.get_ query.

param direction

LEFT | RIGHt | ABOVe | BELow Direction the new window is added relative to the existing window.

param window_type

(enum or string) text value Type of result display (evaluation method) you want to add. See the table below for available parameter values.

return

new_window_name: When adding a new window, the command returns its name (by default the same as its number) as a result.