AnsweredAssumed Answered

AF SDK fetch digital tag value

Question asked by SyedHussain on Apr 19, 2018
Latest reply on Apr 22, 2018 by SyedHussain
Branched to a new discussion

AF SDK fetch digital tag value


Hi Rick


I thank you very much. My objective is to get all recorded values of digital tag for a day and total the number of hours the valve was OPEN. I am using AFSDK and could not get any function to fetch the digital tags name from its associated digital set. I checked PIStateSets and tried to use

Dim setValue As OSIsoft.AF.PI.PIStateSets = TryCast(myvalue.Value, PI.PIStateSets)

and get but its not avilable


Appreciate for any help please.