AnsweredAssumed Answered

ProcessBook SDK Reference Library: Can't make PIPoint conducive to PIData methods

Question asked by jbrady3 on Oct 4, 2018

I've just tried to write a simple sub that takes a tag name and reports its most recent value. Along the way, I found that I was unable to use the "pt" variable (after the yellow mark) because its typeName is a PIPoint--for some reason, this doesn't work with the .Snapshot member, .ArcValue() member, .Collecting member, etc.
Is there a way to get VBA to recognize "pt" as a reference from which it can extract archive info?

 

 

Outcomes