MessageBox

Description

The MessageBox library is used to create event based popups in Loupe UX applications. The popup has a prompt, an optional user input, and buttons. This library has two structures; one for creating a new message and one for interacting with the currently active popup.

Messages can be added with normal priority (added to the bottom of the queue) or high priority (added to the top). Messages can be removed based on a messageId that is returned when the message is created.

Modals from the Bootstrap library are required in order to see the pop-up on the HMI. Please see the Html section for example code.

Use Cases

MessageBox is used in, but is not limited to the following cases:

  • Machine operator confirmation popups
    • Jog motor confirmation
  • Alert popups
    • Disconnection notifications
    • Error alerts
    • Low fluid levels
    • Missing modules
    • Machine ready
  • Security and Access
  • Scenarios that require user input
    • Spindle speed

Overview

  • Usage
  • Code examples and screenshots of MessageBox

  • Functions
  • Descriptions and examples of MessageBox functions

  • Structures
  • Description of MessageBox Structures

  • Html Requirements
  • Html examples and requirements for use