ADL®

Alert Block

The Alert Block allows you to add a message to the Audit Trail when certain conditions occur. 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. 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 settings

To change default block settings, double-click the block to open the Block Editor.

Setting Description
Name Name to display beneath the block on the ADL canvas
Formula

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.

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.
Action

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

  • Audit Trail to write the message to the Audit Trail

    Note: Currently, you cannot uncheck Audit Trail.

Sound Sound to play the specified sound
Audit Trail Color Color to display as the background color for the the message in the Audit Trail.
BodyColor Background color of the block
Description Optional text to explain how the block is used