kokolopr

Capture system digital states by PI-SDK

Discussion created by kokolopr on Apr 27, 2014
Latest reply on Feb 4, 2015 by aljovinj

Good Afternoon

 

I am trying to read values in VB.NET with

 

myvalues = mypoint.Data.RecordedValues("-30d", "*", Nothing)

 

And iterate one-by-one and capture the failed status.

 

If myvalues.Item(CInt(i)).Value Is Nothing Or myvalues.Item(CInt(i)).IsGood = False Then

 

     strcomments = strcomments & 'capture the reson for failure like Intf Failed etc

 

Quesiotn is how to do it?

 

Thanks & Regards

 

Prabhakar

Outcomes