Concepts: Notification

Notifications are used to send synchronous messages to several reactors. In analogy to the commands, notifications are also uniquely named. In addition, notifications can be parameterized.

In order to send notifications, the EPLAN.EPLAN21.NOTIFICATION.SEND command is used. This command determines whether there are registered handles for the respective notification and informs them.

In order to be able to receive notifications, a handler function is registered via the eplRegisterNotificationHandler function. At the same time you can store a long value, which is also transferred whenever the handler function is called up. Therefore user-defined data can be transferred together with the handler function.

Notifications are used whenever registered clients (AddIns, dialogs, ...) are to be informed by an event (e.g. Progress, Update view, Selection changed,...).

Notifications should not be used to carry out an user interaction during the execution of a command.