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

AVEVA™ Plant SCADA

TrnFlush

  • Last UpdatedJul 18, 2023
  • 1 minute read

Writes acquired trend data to disk without waiting for the trend buffer to be filled. Plant SCADA normally buffers the trend data in memory and only writes to disk when required, to give optimum performance. Because this function reduces the performance of the Trends Server, use it only when necessary.

Syntax

TrnFlush(sName [, sClusterName] )

sName:

The name of the logging tag (can be prefixed by the name of the cluster that is ClusterName.Tag). Set to " * " to flush all trend data.

sClusterName:

The name of the cluster in which the trend tag resides. 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 "".

Return Value

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

TrnSetTable

Example

TrnFlush("Trend1", "ClusterXYZ");
! Forces the Trend1 data to be written to disk.

See Also

Trend Functions

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