AMT Josh (Customer) asked a question.

Can the order of events in Event Manager be set? Want Message Box events last.

I have various tag enabled events that I would like to have an alarm, a message box and an email sent. When adding them all to the same event, the message box prevents the email from being sent until the user presses "OK" on the screen. From C-More help: "The Message Box is a Modal window; when the Message Box is displayed, it will stay displayed until the OK button is pressed. No other items on the screen can be selected. Other actions in the Sequence List will queue until the OK button in the Message Box is pressed".

 

I tried creating separate events for the message box and the emails but sometimes the emails are sent first, sometimes not. It seems to occur in an unpredictable order. Is there a different workaround anyone has found or a way to se the order the Event Manager processes the events?


  • ADC_HMI_PE (AutomationDirect)

    Events are executed in the order they were created. I do not think this can be changed, but you might try reordering them with the up/down buttons at the bottom of the event manager.

     

    The Actions within an event execute in the order of the tabs for the most part. If you want don't want the message box to hold up anything in the event, make it the last tab.

     

    Alternatively, use a Popup Window Object instead of the Message Box Action. It is much more flexible. It can be modal or modaless. You have more control over the way it looks. The only thing it will not do is prevent another Action from triggering.

    Expand Post
  • Durallymax (Customer)

    Create one alarm event, one pop-up window event (nicer than message box) and one email event.

    Control the rest in the PLC. Build the strings for email, alarm and message in PLC. Control timing in PLC. It's all much easier to control in the PLC and very easy to scale as you don't have to deal with flashing HMI or programming within Cmore.