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

PI SDK filtered summaries total

$
0
0

Hello,

 

I am trying to get the amount of time a digital tag had the state "ON" in the last 24 hrs using the SDK, I am trying this but its saying

 

"System.ArgumentException: Cannot do summary calculation on non-numeric data"

 

 

summaries = ipidata2.FilteredSummaries(SearchStart, SearchEnd, "", "('tag' =\"ON\")",ArchiveSummariesTypeConstants.asAll, PISDK.CalculationBasisConstants.cbTimeWeighted, PISDK.FilterSampleTypeConstants.fstExpRecordedValues);


Viewing all articles
Browse latest Browse all 1120

Trending Articles



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