Hello,
I am trying to read a property of ana alarm however the alarm name has a special character in it.
Like, if an alarm is called Speed > 10 and I want to read the enabled property of this alarm using the readBlocking() function, I get an error stating Illegal character '>'.
How do I tackle this?
Thanks
Don't use special characters in names.
While you can argue that the designer doesn't stop you from using such names, so it should Just Work™, there are so many corner cases that you are just asking for trouble.
Make tag and object names compliant with java/jython method/attribute names for uniformly reliable results throughout Ignition.
AFAIK the only solution in this case is to read the entire configuration of the tag and then index into the alarm you want.
Which is another way of saying 'do what Phil suggests'.