NextVal
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server 2018
- PI Server
Find the value of a point's next Archive event after a given time.
Syntax
NextVal(tagname, time)
Arguments
tagname
A tagname.
time
A time expression.
Returns
The value of the next Archive event for tagname after time.
Exceptions
If point has no Archive data after time, returns an error value.
Example
NextVal('tag1','*-1h')
NextVal('digitaltag', '14-Dec-97')
NextEvent (page ), PrevEvent (page ), PrevVal (page ), TagVal (page )