Event Types
Static events used to handle the User Interface events can be of two types:
Notify events
Those events trigger their case in the Event Structure once the event has happened. You can’t modify it.
They have a green arrow in the Edit Events configuration dialog. |
Filter events
Those events trigger their case in the Event Structure before the event is actually processed in the User Interface. This allows you to modify or even discard the event programatically.
They have a red arrow in the Edit Events configuration dialog and their names end with a ? .
|
In the following example, you can see different ways to interact with an event before actually processing it.
Example code: 02 - Event Types - Filtered.vi

Figure 1. Front Panel

Figure 2. Diagram
One of the most usually used filter events is the Panel Close? event. By discarding you can handle the stop of the program without using a Stop button in your User Interface.
|