Analysis of Collected Data

This example demonstrates how to analyze collected data to determine the amount of time that a condition was true and had good quality in the last day.

Example Code

Dim tagName, startTime, endTime
tagName = "testTag"
startTime = "Now 1Day" 
endTime = "Now"
Result = CalculationFilter(tagName, "TotalTimeGood", startTime, endTime, 100, tagName, "AfterTime", "Equal", 1)