Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Edit Events Dialog Box

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Requires: Base Development System

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 and 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.
    • Event Sources Filter—Use the search box to show only event sources containing the text you enter.
  • 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.
    • Events Filter—Use the search box to show only events containing the text you enter.
  • Lock panel (defer processing of user actions) until the case for this event completesLocks 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.
  • Limit maximum instances of this event in event queue—Limits the number of times the event can occur in the event queue. If you specify to limit the instances of an event, the Event structure associated with the event queue handles only the number of events you specify and automatically discards older events as new events arrive.
    • Instances—Specifies how many instances of this event you want to keep in the event queue.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit