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

AVEVA™ Historian

TOTALS

  • Last UpdatedMar 20, 2025
  • 1 minute read

The TOTALS() function produces a stream of results calculating the statistical total for a stream or array of streams.

Syntax

Format

Stream = TOTALS(Stream or ArrayOfStreams)

Arguments

Stream - A time-ordered vector of values.

ArrayOfStreams - An array of streams. See Selecting an array of streams.

Description

Calculates the statistical total for a stream or array of streams during the query period. The query period is based on local time.

Format

Stream = TOTALS( Stream or ArrayOfStreams, TimeInterval )

Arguments

Stream - A time-ordered vector of values.

ArrayOfStreams - An array of streams. See Selecting an array of streams.

TimeInterval - The time interval over which value totals are calculated

Description

Calculates the statistical total for a stream or array of streams over the specified time interval during the query period. The query period is based on local time. The returned start time is rounded down to the time interval's unit. For example, if the interval is hourly, the time stamps of all values end with "00:00.000".

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