Pop Up Indicator

Hi,
I have this project in Ignition Perspective where I have 2 HMI Stations, on which I have a pop up and when the pop up is opened triggers an indicator to be on, but if I open the same pop up on these 2 stations at the same time the indicator is on, but if I close one of them the indicator turns off because on the close command of the pop up I set It to turn it off. Is there a way to keep that signal On while one of the pop up is still open?

I'll appreciate any help on this.
Regards

It sounds backwards to me. A more typical application might open the popup if the indicator is on, not the other way around.

Can you describe the application some more? What is the indicator (lamp?) tell the user? Is it a warning that someone is in manual mode or something like that?

It sounds like you'll need to manage a registry of open Popups for this scenario if you can't find a better alternative.

Each Popup would be responsible for adding its pageId to a custom list in session props. Each Popup would also be responsible for removing the pageId from the list. Each page would need to also remove itself as part of the Page Shutdown Event. Your Popups would also have to not display a close icon, forcing users to use custom UI to close the Popup because use of the close icon would not remove the page ID from the registry.

The pop up Is for a motor application, when the pop up is open I write to a tag x in the plc then I read that x tag in the hmi, with that tag on I can read some values from the PLC, but if the tag goes off I stop receiving this information

If you are trying to reduce unnecessary network traffic when nobody is watching the motor then maybe you should used leased mode on the tags. You could set the tags to read slowly for general use and set a fast read rate on the leased mode.

Now the OPC server will only read at the leased rate if a view is displaying those tags. You can then forget about trying to detect if a popup is open.

(Someone correct me if I'm missing some insight into this topic!)

1 Like