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

AVEVA™ Plant SCADA

TrnGetPenComment

  • Last UpdatedFeb 19, 2024
  • 1 minute read

Retrieves the comment of a pen.

Syntax

TrnGetPenComment(nAN, Pen)

AN

The AN of the chosen trend.

Pen:

The trend pen number:

0 - The pen currently in focus

1...8 - Pen1. . .Pen8

Return Value

The comment of the pen as a string.

TrnGetPen

Example

! For the trend at AN18

DspText(31,0,TrnGetPenComment(18,0));

! Displays the trend comment of the focus pen.

See Also

Trend Functions

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