Hi,
Is it possible to access ‘associated data’ with the system.alarm.queryStatus() function?
If so then a programming example would be much appreciated.
Thanks
Hi,
Is it possible to access ‘associated data’ with the system.alarm.queryStatus() function?
If so then a programming example would be much appreciated.
Thanks
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()