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

AVEVA™ InTouch HMI

ptSetTrendType() 函数

  • Last UpdatedSep 24, 2024
  • 1 minute read

在脚本中,ptSetTrendType() 函数可用于指定趋势是显示历史还是实时数据。

类别

笔趋势

语法

ptSetTrendType(TrendName, TrendType);

参数

TrendName

趋势对象的名称。必须是字符串常量或消息标记。

TrendType

值为 1 时指定历史趋势。值为 2 时指定实时趋势。

示例

ptSetTrendtype() 函数指定 PumpPress 趋势显示实时数据。

ptSetTrendType("PumpPress",2);

In This Topic