NextEvent
- Last UpdatedJan 11, 2023
- 1 minute read
- PI System
- PI Server 2024 R2
- PI Server
Find the timestamp of the next recorded value after a specified time.
Syntax
NextEvent(attname, t1)
Arguments
-
attname
The name of an attribute, enclosed in single quotation marks
-
t1
A time expression
Returns
The timestamp of the next recorded value after the specified time for the specified attribute
Exceptions
If there is no recorded value after the specified time, then the function returns
Example
-
NextEvent('att1', 't')
[Find and return the timestamp of the next recorded value of 'att1' since the start of day (12am) today]