TagStats Calculation Mode
The TagStats calculation mode returns multiple values for a tag in a single query. The TagStats calculation mode returns the values by appending the calculation mode to the tagname. For example, when you query tag1
the result will be tag1.Min
which is the result of the minimum calculation mode and tag1.Max
, the result of the maximum calculation mode. The calculation mode is appended to the tagname.
- Value
-
A query will return multiple values for the same timestamp. They are the results of each individual calculation mode.
For more information on different Calculation Modes, refer to the corresponding sections
- Quality
-
There is no single overall quality for the query, only a quality per calculation mode
- Example: Using TagStats Calculation Mode
This image displays the TagStats calculation mode example in the Proficy Historian Interactive SQL Application.
In this example we perform the calculations for a single interval by giving
numberofsamples=1
.