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

AVEVA™ Historian

Daily retrieval - query example

  • Last UpdatedMar 19, 2025
  • 1 minute read

To use the daily retrieval mode, set the following parameter in your query.

wwRetrievalMode = 'Daily'

For example, the following query returns the average for the analog tag 'ReactLevel'. Note that on the 2021-11-06, daylight saving time ends, so the resolution reflects that the cycle is 25 hours rather than 24.

SELECT StartDateTime, wwResolution, TagName, Average

FROM AnalogSummaryHistory

WHERE TagName = 'ReactLevel'

AND StartDateTime >= '2021-11-04 08:00:00am'

AND EndDateTime <= '2001-11-08 08:00:00am'

AND wwRetrievalMode = 'Daily'

The results are:

StartDateTime

wwResolution

TagName

Average

2021-11-04 08:00:00.000

86400000

ReactLevel

1738.0

2021-11-05 08:00:00.000

86400000

ReactLevel

1654.0

2021-11-06 08:00:00.000

90000000

ReactLevel

1804.0

2021-11-07 08:00:00.000

86400000

ReactLevel

1682.0

Related Links
TitleResults for “How to create a CRG?”Also Available in