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

AVEVA™ Plant SCADA

TrnEcho

  • Last UpdatedJul 18, 2023
  • 1 minute read

Enables and disables the echo of the trend display. Use this function when you need to make many changes to a trend display, so that the display updates only once. You should first disable the trend echo, do all the trend changes, and then enable the echo to show the changes.

Syntax

TrnEcho(nAN, nMode)

nAN:

The animation number of the trend.

nMode:

The mode of the echo:

0 - Disable echo of the trend display.

1 - Enable echo of the trend display, to show changes.

Return Value

The current echo mode, otherwise 0 (zero) is returned, and an error code is set. You can call the IsError() function to get the actual error code.

TrnSetScale, TrnSetPeriod

Example

! Disable echo of trend display at AN40

TrnEcho(40,0);

! Change the scales on pens 1 and 2

TrnSetScale(40,1,0,-1000);

TrnSetScale(40,1,100,-1000);

TrnSetScale(40,2,0,-1000);

TrnSetScale(40,2,100,-1000);

! Enable echo to show changes to the display

TrnEcho(40,1);

See Also

Trend Functions

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