AnsweredAssumed Answered

Is there a way to calculate the number of points between a specified starttime and endtime using  python?

Question asked by unagaswamy on Mar 26, 2016
Latest reply on May 2, 2016 by gregor

I would like to validate data uploaded to PI server by getting the total counts of data points in a specified duration.  Is there a way to get this count using pi web api using python?

 

I am looking for something like

 

SELECT COUNT(*) FROM table_name
WHERE date between "2015-01-01" and "2015-12-31"

Outcomes