AnsweredAssumed Answered

PI SDK C# code to get recorded values

Question asked by Syncrude on Feb 20, 2018
Latest reply on Feb 21, 2018 by jyi

Can anyone share C#code sample(s) for getting the recorded values over a period of time?  I cannot use AF SDK for reasons beyond my control.  Any help much appreciated!  I need to get the values from the PI archive over a period of time to do custom calculations.  I assume some of the values can be returned from the archive as "Bad Data", "No Data", etc.?  I have had this experience in the past with PI Data.  For the Summaries2 method, can the duration be null or empty?  I am interested in values calculated over all values between the start and end times, not over a small interval or duration.


Thanks for the patience with a newbie.