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

AVEVA™ Plant SCADA

PageProcessAnalyst

  • Last UpdatedJul 18, 2023
  • 2 minute read

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

Syntax

PageProcessAnalyst(sPage, sPAVFile1 [, iFileLocation1 [, iButtonMask1 [, sObjName1 [, sPAVFile2 [, iFileLocation2 [, iButtonMask2 [, sObjName2 ]]]]]]])

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.

sPAVFile1:

Name of the 1st PAV file

iFileLocation1:

PAV file location code for the 1st PAV file, see PA doc LoadFromFile() for details.

iButtonMask1:

Bit mask for removing command buttons from the 1st 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

sObjName1:

Name of the PA object on the given Page where the 1st 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".

sPAVFile2:

Name of the 2nd PAV file

iFileLocation2:

PAV file location code for the 2nd PAV file

iButtonMask2:

Bit mask for removing command buttons from the 2nd PA, refer iButtonMask1 for details

sObjName2:

Name of the PA object on the given Page where the 2nd 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 "_templatePA2".

Return Value

Zero (0) if the page is successfully displayed. Otherwise an error is returned.

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

See Also

Page Functions

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