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

PI Manual Logger

CurrentTime

  • Last UpdatedNov 22, 2022
  • 1 minute read

Syntax

CurrentTime(TagName)

Arguments

Argument

Data Type

Description

TagName

String

The name of any PI tag in the current tour. The tag must be surrounded by double or single quotes.

Returns

Returns the current timestamp for the value collected in the tour for the TagName argument. The tag must be part of the current tour. If the timestamp cannot be determined, unknown is returned.

Examples

CurrentTime("PimlDemoTag")

This example returns the timestamp for the current value for the tag named PimlDemoTag. If the timestamp for the current value for the tag cannot be found, Unknown is returned.

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