AnsweredAssumed Answered

PI-SDK & VB.NET - PiValue return as system.__comobject in some cases

Question asked by ruud_kruithof on Oct 15, 2015
Latest reply on Oct 26, 2015 by ruud_kruithof

I am creating an application in VB.NET that gets recordedvalues for a specific PIPoint and then loops through the PIValues adding it to a datagrid.

These recordedvalues can be doubles, singles or an asterisk (*).

 

When the value is an asterisk, the returned value is of the type system.__comobject and it gives me an error because it cannot be converted.

 

How can I get the asterisk value from this PiValue?

 

Kind regards,

 

Ruud Kruithof

Outcomes