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

AVEVA™ InTouch HMI

HTUpdateToCurrentTime() Function

  • Last UpdatedFeb 22, 2017
  • 1 minute read

The HTUpdateToCurrentTime() function retrieves and shows the data with an end time equal to the current time. The start time is equal to end time minus the width of the chart.

Category

Historical

Syntax

HTUpdateToCurrentTime(Hist_Tag);

Argument

Hist_Tag

HistTrend tag assigned the name of the historical trend.

Example

The following statement retrieves and shows data for the Trend1 historical tag at the current time:

HTUpdateToCurrentTime("Trend1");

If the current time is 3:04 PM and the width of the trend is 60 seconds, the new end time is 3:04 PM. The new trend start time is 3:03 PM.

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