Quantcast
Channel: OSIsoft Users Community
Viewing all articles
Browse latest Browse all 1120

Pulling Specific Time Data

$
0
0

Hi,

 

I am trying to work out how to put specific times into PI expressions. The tag I am analysing returns flow data, sampled at 15 minute intervals. I want to create two arrays in PI Excel, one covering mean flow received between 01:00 and 03:45 and the other between 04:00 to 12:45 the next day. Previously I have returned array for the entire period (five years) and then done the "heavy lifting" in Excel. With all the various formulae, the spreadsheet gets very large quite quickly and I have now been asked to produce the same piece covering a decade of data, so this method is no longer practical and I would like to shift the workload into PI and off my machine.

 

Is there a way to put specific times into expressions please? I am comfortable using relative times and the usual sorts of things using a start and end date, but can't find how to return data for a long time period while only looking at specific sections of the day. I was wondering about using the Time Filtered option, but that seems to evaluate the state of the data, rather than the state of the timestamp.

 

Thanks in advance for any help.

 

 


Viewing all articles
Browse latest Browse all 1120

Trending Articles