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

AVEVA™ InTouch HMI

HTGetTimeAtScooter() 函数

  • Last UpdatedMar 21, 2018
  • 1 minute read

HTGetTimeAtScooter() 返回某个样本时间(使用自 GMT 时间 1970 年 1 月 1 日 00:00:00 以来经过的秒数来表示),该样本在 ScootNumScootLoc 参数所指定的指示器位置上。

类别

历史

语法

IntegerResult=HTGetTimeAtScooter(Hist_Tag, UpdateCount,ScootNum,ScootLoc);

参数

Hist_Tag

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

UpdateCount

代表趋势的 .UpdateCount 点域的整数。

ScootNum

代表左指示器或右指示器的整数:
1 = 左指示器
2 = 右指示器

ScootLoc

代表趋势中 .ScooterPosRight 或 .ScooterPosLeft 位置上的值的实数。

附注

指定给 UpdateCount、ScootNum、及 ScootLoc 参数的值所发生的任何变化都会导致对该表达式重新求值。这确保了在检索新的数据或移动指示器之后会对表达式重新进行求值。

示例

以下语句检索 Trend1 趋势的当前左指示器位置上的值的时间(以秒为单位):

HTGetTimeAtScooter("Trend1",Trend1.UpdateCount,1, Trend1.ScooterPosLeft);