vkrejc

How to get given count of last values from archive using PI SDK

Discussion created by vkrejc on Oct 26, 2012
Latest reply on Oct 28, 2012 by vkrejc

Hi,

 

I would like to ask if is it possible to get given count of last values from archive using PI SDK. I found this functionality in SMT under Data -> Archive Editor. You can provide either start time and end time or start time and event count. I'm able to retrieve recorded values through recordedValues function using start time and end time. But I'm not able to provide event count functionality. For this purpose there is another function? Or can I provide some filter expression as parameter of recordedValues method?

 

Thank you,

 

Vlad

Outcomes