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)

NextVal

  • Last UpdatedJan 11, 2023
  • 1 minute read

Find the next recorded value after a specified time.

Syntax

NextVal(attname, t1)

Arguments

  • attname

    The name of an attribute, enclosed in single quotation marks

  • t1

    A time expression

Returns

The next recorded value after the specified time for the specified attribute

Exceptions

If there is no recorded value after the specified time, the function returns an error.

Example

  • NextVal('att1', 't')

    [Find and return the next recorded value of 'att1' since the start of day (12am) today]

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