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

AVEVA™ InTouch HMI

ptLoadTrendCfg() function

  • Last UpdatedJun 17, 2024
  • 1 minute read

The ptLoadTrendCfg() function can be used in a script to load trend configuration values from a file.

Category

Pen trend

Syntax

ptGetTrendCfg(TrendName,FileName);

Arguments

TrendName

The name of the trend object. The value assigned to TrendName must be either a string constant or a message tag.

FileName

Name of the configuration file. The folder path to the configuration file must be included with the FileName argument.

Example

The TankFarm trend is configured with values from the C:\TrendCfg.txt file.

ptLoadTrendCfg("TankFarm","C:\TrendCfg.txt");

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