Miscellaneous blocks

Miscellaneous blocks

Alert block

The Alert block allows you to add a message to the Audit Trail when certain conditions occur. The block can also display the message in an alert pop-up dialog. An alert can be triggered in one of two ways:

  • When it receives a TRUE value through its Boolean input port
  • When it receives a message through is discrete event message port

Note When you connect to one of the input ports, the other input port is removed.

When an algorithm is executed from the ADL Designer canvas in client-side simulation, an Alert block will not generate an actual audit trail message, a message box, or an email. Instead, the Alert block will generate the specified text in the Alert Tab of the Information Panel. However, if Sound is selected as the method of alert, the Alert block will generate the specified sound.

Block properties

To customize the block, update the Block Properties.

Property Description
Name Name to display beneath the block on the ADL canvas

Equation used to calculate the value of the block

If not yet defined, the field displays a Click to edit formula link that opens the Formula Builder.


Actions to take when the alert is triggered. You can select any number of the following actions:

  • Sound to play the specified sound
  • Audit Trail to write the message to the Audit Trail
Frequency (For Boolean alerts only) Number of seconds to wait before firing the same alert again, as long as the Alert block input is TRUE.
Color Background color for the text in the Audit Trail message.
Sound Sound to play then the Alert is triggered.