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

AVEVA™ Plant SCADA

ProcessAnalystWin

  • Last UpdatedJul 18, 2023
  • 1 minute read

Displays a Process Analyst page (in a new window) preloaded with the pre-defined Process Analyst View (PAV) file.

Syntax

ProcessAnalystWin(sPage, iX, iY, iMode [, sPAVFile [, iFileLocation [, iButtonMask [, sObjName ]]]])

sPage:

The name of the page that contains Process Analyst object(s). For example, pages based on the Process Analyst templates found in the Tab_Style_Include project.

iX:

The X pixel coordinate

iY:

The Y pixel coordinate

iMode:

The mode of the window (see WinNewAt() for details).

sPAVFile:

Name of the PAV file

iFileLocation:

PAV file location code for the PAV file, see PA doc LoadFromFile for details.

iButtonMask:

Bit mask for removing command buttons from the PA, bit flags as shown below:

1 - Load View

2 - Save View

4 - Print

8 - Copy to Clipboard

16 - Copy to File

32 - Add Pens

64 - Remove Pens

128 - Show Properties

256 - Help

sObjName:

Name of the PA object on the given Page where the PAV file will be loaded. If this parameter is not specified or empty string, it is defaulted to the object name used in the tab style templates, that is "_templatePA1".

Return Value

Window number if the window is successfully displayed. Otherwise -1 is returned.

PageProcessAnalyst, PageProcessAnalystPens, ProcessAnalystLoadFile, ProcessAnalystPopup, ProcessAnalystSelect, ProcessAnalystWin, TrnSetPen, WinNewAt

See Also

Process Analyst Functions

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