Good morning mates, I have a problem which I do not know how to solve in PI AF 2014 R2.
I have an attribute that is a string, for example:
Where X are numbers, sometimes more numbers and sometimes less (so the number of chars is variable)
I want to read this string and make a new attribute:
- If it is connected, the value will be 1.
- If it is disconnected, the value will be 0.
My problem is that I do not know any function in PI to do this. I have tried several things but I get nothing.
Any ideas? I think this issue could be useful to everybody.
Thanks a lot for your help.