Hello, Im having some trouble attempting to take the history of a tag and average it and i guess store it in another tag. I know theres more then one way to do it but i cant figure anything out. Thanks in advance
Depending on if you plan to use scripting or not, system.tag.queryTagHistory accepts an “aggregationMode” parameter. You can simply pass in your start and ent time and “Average” or “SimpleAverage” as the aggregationMode paramter.
Documentation can be found here