Researching/looking into the feasibility of setting up an ignition vision application to have alarm notifications customizable by user. If possible users would be able to view a list of configured alarms in the current application and select whether they want to receive alarm notifications for that specific alarm.
My first thought is to have a script that runs and creates or updates an SQL database table with all current tags that have an alarm configured. I noticed the unique Tag id that gets assigned to each tag in ignition and was thinking this would be perfect to have a column in the table that this id gets copied into to help identify each alarm tag. Then either each user would have their own database table with all the alarm tags and a column that signifies if they want to be notified if that alarm occurs or not. Or just have 1 database table with all alarm tags and a column added for each user and whether they want to receive the notification for that alarm or not.
It seemed like I would be able to do a database query in a calculated alarm notification pipeline, and look up that alarm in the database table and find out which users to send the alarm notification out to, whether that would be a separate table for each user or a single table.
Does this sound feasible? I’ve been reading through the 8.1 user manual at the scripting functions trying to see if its possible to comb through all the tags in an application, find the tags with an alarm configured, and copy the tags unique tag id into an SQL table.
Thanks!