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

PI System Management Tools

PrevEvent (Tag-based PE function)

  • Last UpdatedOct 04, 2024
  • 1 minute read

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

Syntax

PrevEvent(tagname, time)

Arguments

tagname

A tagname.

time

A time expression.

Returns

The timestamp of the previous Archive event for tagname before time.

Exceptions

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

Example

PrevEvent('tag1', '*')

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

NextEvent (page ), NextVal (page ), PrevVal (page ), TagVal (page )

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