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

AVEVA™ Insight

COUNTALL

  • Last UpdatedMar 03, 2025
  • 1 minute read

The COUNTALL() function returns a count of all data points for a stream.

See also COUNT.

Syntax

Format

Stream = COUNTALL(Stream)

Arguments

Stream - A time-ordered vector of values

Description

Returns a count of all data points during the query period.

Format

Stream = COUNTALL(Stream, TimeInterval)

Arguments

Stream - A time-ordered vector of values

TimeInterval - The time interval over which the points are counted

Description

Returns a count of all data points 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".

Example 1

The following expression returns the number of values reported from a check weigher.

COUNTALL( Filler03.Weight )

Example 2

The following expression returns the total number of samples that exceeded a threshold each day.

COUNTALL( R21.Temp > 140.0, 1 day )

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