Window

SCPI Command :

LAYout:ADD[:WINDow]
class WindowCls[source]

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

get(window_name: str, direction: RsFsw.enums.WindowDirection, window_type: RsFsw.enums.WindowTypeK40) str[source]
# SCPI: LAYout:ADD[:WINDow]
value: str = driver.applications.k40PhaseNoise.layout.add.window.get(window_name = 'abc', direction = enums.WindowDirection.ABOVe, window_type = enums.WindowTypeK40.FrequencyDrift=FDRift)

Adds a window to the display in the active channel. 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 RsFsw.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 RsFsw.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.