Quantcast
Channel: OSIsoft Users Community
Viewing all articles
Browse latest Browse all 1120

PIPoint Value returning "COM Object"

$
0
0

Hello,

I have a point which is a status text value I believe should display "ON" or "OFF"

when I add the point in a value box through processbook the value shows correctly

 

however, when trying to retrieve the value through the SDK the snapshot is returning "COM Object" with no children

any ideas why?

 

I am retrieving the point and debugging it through two different options, both are returning the same value

 

var Objval1 = piServer.PIPoints["" + tag + ""].Data.Snapshot.Value;

var Objval = piServer.PIPoints["" + tag + ""].Data.ArcValue(timeNow, RetrievalTypeConstants.rtAtOrBefore, null).Value;


Viewing all articles
Browse latest Browse all 1120

Trending Articles