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

AVEVA™ Historian

Bounding value retrieval - query examples

  • Last UpdatedFeb 06, 2025
  • 1 minute read

You can use the Bounding Value retrieval mode to return a start bound point or an end bound point for a specified date and time. If no time is specified, Historian returns the bounding point at the current time.

To return a start bound point, set the following parameter in your query.

wwRetrievalMode = 'StartBound'

To return an end bound point, set the following parameter in your query.

wwRetrievalMode = 'EndBound'

Example 1 - Retrieve start bound point

select DateTime,TagName,Value

where TagName 'Plant2.R31.BatchNum'

and wwRetrievalMode = 'StartBound'

and DateTime >= '2019-04-24 12:00:00'

The results are:

DateTime

TagName

Value

2019-04-24 11:53:08.5430000

Plant2.R31.BatchNum

912

Example 2 - Retrieve end bound point

select DateTime,TagName,Value

where TagName in 'Plant2.R31.BatchNum'

and wwRetrievalMode = 'EndBound'

and DateTime >= '2019-04-24 12:00:00'

The results are:

DateTime

TagName

Value

2019-04-24 14:11:13.3840000

Plant2.R31.BatchNum

926

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