Analogsummary
- Last UpdatedMar 20, 2025
- 5 minute read
|
Description |
Retrieves analog statistics for the specified tags. |
|
URL |
/AnalogSummary |
|
Method |
GET |
|
Required Parameters |
|
|
Optional Parameters |
|
|
|
|
|
|
Sample Query |
Scenario 1 This query produces a list of tags that end with "level". In this case, the user doesn’t know the fully qualified name (FQN) of a specific tag and wants a short list of possible matches.
https://online.wonderware.[DOMAINSUFFIX]/apis/historian/v2/AnalogSummary?TagFilter= Scenario 2 This query produces a list of values with analog summary for the tank_level tag. Notice that this example uses a fully qualified name ("Baytown.tank_level"), which is a combination of a data source name ("Baytown") and a tagname ("tank_level").
https://online.wonderware.[DOMAINSUFFIX]/s/ik97r5/apis/historian/v2/AnalogSummary Because this query specifies no start or end time and no resolution, these defaults are used for the returned results:
|
|
Scenario 3 This query produces a list of tag values with analog summary data. The "$filter" clause narrows the results further by specifying these parameters:
Scenario 4 This query specifies only StartTime and Resolution (600000 ms, or 10 minutes), but no EndTime.
https://online.wonderware.[DOMAINSUFFIX]/s/ik97r5/apis/historian/v2/AnalogSummary In this case, Insight assumes:
The number of rows returned (Count) depends on the StartTime and EndTime. Scenario 5 This query specifies only EndTime, but no StartTime or Resolution.
https://online.wonderware.[DOMAINSUFFIX]/s/ik97r5/apis/historian/v2/AnalogSummary In this case, Insight assumes:
|
|
|
Scenario 6 This query specifies uses SliceBy. https://online.wonderware.com/apis/Historian/v2/AnalogSummary?$ In this case, Insight calculates an analog summary for the Baytown..R21.Level tag and batches the results per value for the Baytown.R21.Batch tag. |