Good morning,
I have a UDT that has a boolean tag with an alarm enabled on it (MOTOR_FAULT). Ive created an associated data parameter called “Area” that I bound to a string expression tag (OPCName) which is just a toStr of the the OPCName UDT parameter.
When I try to filter based on this though, I get a blank return on the alarm status table. However, If I do the exact same associated data parameter on a non-UDT based tag and trigger the alarm it shows up.
Is there something with how I have the associated data parameter mapped that is causing this? I checked the UA video on vision associated data alarm filtering but cant see where I am messing up - when checking the console I get no errors in the script.
Filter script below:
def filterAlarm(self, alarmEvent):
group = alarmEvent.get('Area')
if group == 'Silo1':
return True
return False