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

AVEVA™ InTouch HMI

ptSetTimeAxisToCurrent() function

  • Last UpdatedJun 17, 2024
  • 1 minute read

The ptSetTimeAxisToCurrent() function can be used in a script to calculate the current chart span and the chart's ending time.

Category

Pen trend

Syntax

ptSetTimeAxisToCurrent(TrendName);

Argument

TrendName

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

Example

The ptSetTimeAxisToCurrent() function sets the ending date and time of the PumpPress trend to the current date and time.

ptSetTimeAxisToCurrent("PumpPress");

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