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

PI System Management Tools

PrevVal (Tag-based PE function)

  • Last UpdatedOct 04, 2024
  • 1 minute read

Find the value of a point's previous Archive event before a given time.

Syntax

PrevVal(tagname, time)

Arguments

tagname

A tagname

time

A time expression

Returns

The value of the previous Archive event for tagname before time

Exceptions

If point has no Archive data before time, returns an error value

Example

PrevVal('tag1', '*')

PrevVal('tag1', '14-Dec-97')

NextEvent (page ), NextVal (page ), PrevEvent (page ), TagVal (page )

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