Scripting an Alarm

I am still new to ignition and I am using the perspective 8.1 module. I was wondering if I would be able to script something in the onActionPerformed to trigger alarm so that if they pressed the button they would automatically send an email to a specific rooster.

I tried doing an individual memory tag of just 1 or 0 to send the alarm and email through a pipeline but seems very repetitive and not really what I am trying to do.

Any advice if I can do a scripting or other methods?

If you just want to send an email, just send an email:
https://docs.inductiveautomation.com/display/DOC81/system.net.sendEmail

No need to write to a tag and trigger an alarm pipeline.

1 Like

Sounds great I will look into that. The only thing is I want some users to be able to see all the active "alarms" that sent emails to see what they need to address first depending on priority from other users.