NextEvent (Tag-based PE function)
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server 2023
- PI Server
Find the time of a point's next Archive event after a given time.
Syntax
NextEvent(tagname, time)
Arguments
tagname
A tagname.
time
A time expression.
Returns
The timestamp of the next Archive event for tagname after time.
Exceptions
If point has no Archive data after time, returns an error value.
Example
NextEvent('tag1','*')
NextEvent('digitaltag', '*')
NextEvent('tag1','*')
NextEvent('digitaltag', '*')