I need to obtain the substituted flag in a VB Net application in order to put the value "SUBSTITUTED" in other tag, Then, if is possible, how can I obtain the substituted flag?
Thank you very much in advance.
Using the AF SDK when retrieving a value you'll get back an AFValue object which has a Substituted property.
Dim value As OSIsoft.AF.Asset.AFValue '= ... Get your AFValue object
Dim bIsSubstituted As Boolean = value.Substituted
Thank you so much Rhys Kirk, but we can't use AF SDK for this application, it is needed PISDK.
Take a look at this thread and see if it is what you are needing
Olga Sanchez wrote: Thank you so much Rhys Kirk, but we can't use AF SDK for this application, it is needed PISDK.
Olga Sanchez wrote:
No AF SDK... *faints*
Some worthwhile reading: Deprecating the PI SDK
Retrieving data ...