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

AVEVA™ InTouch HMI

ptSetTrendType() function

  • Last UpdatedJun 17, 2024
  • 1 minute read

The ptSetTrendType() function can be used in a script to specify whether the trend shows historical or real-time data.

Category

Pen trend

Syntax

ptSetTrendType(TrendName, TrendType);

Arguments

TrendName

The name of the trend object. Must be either a string constant or Message tag.

TrendType

The value 1 indicates a historical trend. The value 2 specifies a real-time trend.

Example

The ptSetTrendtype() function specifies the PumpPress trend shows real-time data.

ptSetTrendType("PumpPress",2);

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