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

AVEVA™ Plant SCADA

ProcessAnalystSelect

  • Last UpdatedJul 18, 2023
  • 2 minute read

Works like the existing Cicode Function TrnSelect(). It allows a set of pens to be selected before displaying the PA page. When PageProcessAnalystPens() is called after ProcessAnalystSelect(), the pens specified by both functions will be available in the final PA display. You can also repeat the call sequence of ProcessAnalystSelect() and ProcessAnalystSetPen() multiple times to set up multiple PA objects for the same page before displaying the page.

Syntax

ProcessAnalystSelect((iWindow, sPage [, sObjName [, sClusterName [, iButtonMask [, sPAVFile [, iFileLocation]]]]]) )

iWindow:

The window number (returned from the WinNumber() function):

-3 - for the current window

-2 - For the next window displayed

sPage:

The name of the page that displays the PA.

sObjName:

The name of the PA object. If this is not specified, it is defaulted to "_TemplatePA1" which is the name used by the built-in templates.

sClusterName:

The name of the cluster that is associated with any trend tag for this PA. This is optional if you have one cluster or are resolving the trend via the current cluster context. The argument is enclosed in quotation marks "".

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

sPAVFile:

Name of the PAV file

iFileLocation:

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

Return Value

0 (zero) if successful, otherwise an error code is returned.

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

See Also

Process Analyst Functions

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