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

AVEVA™ Plant SCADA

TrnGetCursorValue

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the value at a trend cursor for a specified pen.

Syntax

TrnGetCursorValue(nAN, Pen)

nAN:

The AN where the trend is located.

Pen:

The trend pen number:

0 - The pen currently in focus

1...8 - Pen1. . .Pen8

Return Value

The trend value. If the actual value is gated or invalid, the standard invalid or gated values are returned (no error is set). You can check this return value using TrnIsValidValue().

TrnGetBufValue

Example

! For the trend at AN20

DspText(31,0,TrnGetCursorValue(20,0));

! Displays the value at the trend cursor for the focus pen.

See Also

Trend Functions

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