AnsweredAssumed Answered

how to get PI point - tag values - 1 day interval [ Recorded Values]

Question asked by Kathysan on Jun 15, 2017
Latest reply on Jun 15, 2017 by rdavin

I want to get the tag values in 1 day interval. Here is my code.

 

recorded_values = pi_point.Data.RecordedValues('01-01-2010','02-01-2010',3 ,"",0,None)

 

Output Sample:

Value = 0.05414949357509613  (timestamp = 2010-01-01 00:00:00+00:00 )

Value = 0.05413901433348656  (timestamp = 2010-01-01 00:01:08+00:00 )

Value = 0.05433737859129906  (timestamp = 2010-01-01 00:01:14+00:00 )

Value = 0.05433737859129906  (timestamp = 2010-01-01 00:06:08+00:00 )

Value = 0.05413901433348656  (timestamp = 2010-01-01 00:06:14+00:00 )

Value = 0.05409323051571846  (timestamp = 2010-01-01 00:16:08+00:00 )

Value = 0.05438315495848656  (timestamp = 2010-01-01 00:16:14+00:00 )

Value = 0.05438315495848656  (timestamp = 2010-01-01 00:21:14+00:00 )

 

I want in 1 day time interval instead of all the values. Any help would be appreciated.

Outcomes