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

Analytics and Notifications for PI System Explorer (PI Server 2018)

SecSinceChange

  • Last UpdatedJan 11, 2023
  • 1 minute read

Return the time in seconds since an attribute value or the timestamp was updated.

Syntax

SecSinceChange(attname)

Arguments

  • attname

    The name of an attribute, enclosed in single quotation marks

Returns

The number of seconds since the last update of the value or a timestamp for an attribute

Example

  • SecSinceChange('att1')

    [Return the number of seconds since the value of 'att1' or the timestamp was updated]

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