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

Finding maximum values over a period of time

$
0
0
Hello everyone, I was asked to gather the operation time of an exchanger over a period of one month. Time of operation of the exchanger ranges from ~10 to ~50 hours over that period of time. I have a tag number 'EGP.958TmI-0514B:Value' that records the total amount of time of that exchanger in operation. The raw data would look something like this...(note: counter resets everytime the exchanger is regenerated) 02-Dec-13 08:30:00 1 02-Dec-13 08:30:00 2 02-Dec-13 09:30:00 3 02-Dec-13 10:30:00 4 <- 02-Dec-13 11:30:00 0 02-Dec-13 12:30:00 1 02-Dec-13 13:30:00 2 <- 02-Dec-13 14:30:00 0 02-Dec-13 15:30:00 1 02-Dec-13 16:30:00 2 02-Dec-13 17:30:00 3 <- 02-Dec-13 18:30:00 0 02-Dec-13 19:30:00 1 02-Dec-13 20:30:00 2 02-Dec-13 21:30:00 3 02-Dec-13 22:30:00 4 02-Dec-13 23:30:00 5 <- 03-Dec-13 00:30:00 0 I want to retrieve just the maximum values over that time period (e.g. in this case [4;2;3;5]). How do I do that? Thanks.

Viewing all articles
Browse latest Browse all 1120

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>