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

AVEVA™ InTouch HMI

HTUpdateToCurrentTime() 函数

  • Last UpdatedMar 21, 2018
  • 1 minute read

HTUpdateToCurrentTime() 函数检索并显示结束时间等于当前时间的数据。开始时间等于结束时间减去图表的宽度。

类别

历史

语法

HTUpdateToCurrentTime(Hist_Tag);

参数

Hist_Tag

指定了历史趋势的名称的历史趋势标记

示例

以下语句检索并显示当前时间 Trend1 历史标记的数据:

HTUpdateToCurrentTime("Trend1");

如果当前时间是下午 3:04,趋势的宽度是 60 秒,则新的结束时间是下午 3:04。新的趋势开始时间是下午 3:03。

In This Topic