Requires: Base Package
Right-click the Event structure and select Edit Events Handled by This Case from the shortcut menu to display this dialog box. You also can right-click the Event structure and select Add Event Case or Duplicate Event Case from the shortcut menu to display this dialog box.
Use this dialog box to configure events. Event handling in LabVIEW is different from handling events in other programming languages. Before you configure events for the Event structure, review the caveats and recommendations for using events in LabVIEW.
This dialog box includes the following components:
- Event case—Lists the number and name of all cases for the Event structure. You can select a case from this pull-down menu and edit the events for that case. When you switch to a different case, the Event structure on the block diagram updates to display the case you selected.
- Event Specifiers—Lists the event source and event name of all the events the current case of the Event structure handles. The Event Sources and Events sections of the dialog box highlight the event source and event name you select in Event Specifiers. Clicking an item in Event Sources or Events changes the highlighted item in the Event Specifiers section of the dialog box. Click the + Add Event Specifier and X Remove buttons to add or remove an event from this list.
- Event Source—Lists the event source such as Application, VI, Dynamic, or Control.
- Event—Lists the event name of all events the current case of the Event structure handles.
- Add Event—Adds a new event for the current case to handle.
- Remove—Removes the selected event from the Event Specifiers list.
- Event Sources—Lists the event sources, sorted by class, you can configure to generate events.
- Events—Lists the events available for the event source you select in the Event Source and Event section of the dialog box. Notify events have a green glyph next to them, and filter events have a red glyph next to them. Refer to the Event Reference topic for more information about available events.
- Lock front panel (defer processing of user actions) until this event case completes—Locks the front panel when this event occurs, deferring processing of further user action until all Event structures finish handling this event. You can turn this option off for notify events but not for filter events.
|Caution Make sure your Event structure is in a loop which executes often to ensure your user interface is responsive. If no Event structure executes to handle an event and front panel locking is enabled, the user interface of the VI becomes unresponsive.|