PointValueQuery using where conditions
-
Hi All,
I am trying to get a sum of PointA for defined period where the value of PointB meets a given condition. These Point A and B are logged at the same interval.
e.g. if it was SQL Statement, I believe it would be something like below
SELECT SUM(PointA)
FROM TableName
WHERE PointB IN (1,5);Is it possible to put a condition in the PointValueQuery object or is there any other way to achieve this?
Thanks.
AR