AnsweredAssumed Answered

PIACE : I got an error when debugging "Conversion from Digitalstate to type Double is not valid"

Question asked by weeranuch on Dec 16, 2014
Latest reply on Jan 5, 2015 by weeranuch

I would like to get time in second when tag captured  "Comm Fail" or "I/O Timeout"

I try to code as below and got an error when debugging "Conversion from Digitalstate to type Double is not valid"

 

Dim temp As Object

temp = tag.TimeEQ("*-1h", "*", "Comm Fail")

 

I try to change temp to double also and got the same error ,too

 

anyone who can help me ,pls

Outcomes