Call display page when alarm point trigger

In Niagara 4, is it possible to automatically switch or navigate to a PX page when a point goes into alarm?

Example: when Point A triggers an alarm (value = n4 alarm state), the UI should automatically navigate to a specific PX page that displays the location or object where the alarm occurs.

The easiest - but least elegant - way is to simply have a top layer covering each of your your px pages whose visibility is animated by a Boolean that goes true when you want the alarm page to show. This top layer would be the alarm page. I’d use a pxinclude set to ‘fill’ as that top layer. Ideally, through alarm ack’s or whatever, what is done on that page causes the Boolean logic result to go back to false and hide that layer again. Or, the px include itself responds to any first action on it as a hyperlink and does two things: (1) Navigates/loads the actual alarm page and (2) sets that Boolean back to false (to free up the px pages for other users to see.) That’s just a quick idea, in general, of how px can be used to give the ‘impression’ you want. You can probably imagine many other ways to achieve this using only native Niagara objects.

Beyond that you’d probably have to create a custom widget or servlet.

And, beytond that, I hope I am missing something and someone posts a cool solution that doesn’t require anything custom that is required to be modulized.

2 Likes