Getting all previous values from a DCI
-
So like a few others I'm trying to get the 95th percentile for a interface, the way I'm trying to solve this would be to make a new DCI which takes all the values of a DCI, bubblesorts them and lops off the top 5% and then takes the next item.
The roadblock i'm running into :- is there a function to get a array of all previous DCI values?
If there isn't I don't suppose I can put in a feature request could I? GetDCIValues(nodeID, startTime, endTime) which just accepts a node id, a unix timestamp start time and a unix timestamp end time and all it does is spit out an array of all the DCI Values between the two values?
Thanks!
mitch -
Hi!
Yes, it is a feature request. It is not hard to implement, I'll make it for 1.2.10 release.
Best regards,
Victor -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login