Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

WinNumber

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the window number of the active Plant SCADA window. This number can be used with other functions to control the window.

Syntax

WinNumber([sName])

sName:

String name previously associated with a window number using WinSetName().

Return Value

Window Number associated with the Name provided. If no Name is specified then the active window number is returned. If there isn't a valid window number associated with the name provided then -1 is returned.

WinNew, WinGoto, WinSetName

Example

! Create a new window, but keep the active window the same:

Window=WinNumber();

WinNew("Alarm");

WinGoto(Window);

See Also

Window Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in