AnsweredAssumed Answered

Converting a tag value of type double into string or digital type

Question asked by vdhar1992 on Jun 11, 2015
Latest reply on Jun 12, 2015 by dng

I have tag which is calculating values from two tags of type double in PI ACE.  I want to implement a condition in which if the input tags display "no data" then the output tag should also write "no data" after calculation.

I have tried this using an if condition in which (input_tag_1.value = " no data" ) or (input_tag_1.value = " no data") then output_tag.value = "no data".


But in this case when I am debugging, it is not going inside if statement and thus displaying bad input. I have also tried converting the input tags values to string and digital. But it failed. Can anyone help with this?