The following will get the Associated Data item called "Alarm Number" and print it's value. Event data is available from the object returned from the queryAlarmStatus function.
propertyName = "Alarm Number" for p in eventData: -> print type(p.getProperty()),p.getValue() -> if str(p.getProperty()) == propertyName: ->-> print p.getValue()