Available Events

The following table lists the available LabVIEW events. Events are grouped into three classes: VI, Application, and Control.

Note  If you configure the same event, such as Key Press, on a control and a VI, the event occurs on the VI first and then occurs on the control.
EventClassTypeDescription
Key DownVIFilterGenerated when the user performs keystrokes on the keyboard. This event detects all key presses that occur anywhere on the front panel, such as typing text in a string control or pressing <Ctrl>, <Shift>, and so on. If you want to detect a key down event only on a specific control, use the Key Down event in the Control class. Details
Key RepeatVIFilterGenerated at regular intervals when the user presses and holds a key anywhere on the front panel. Details
Key UpVINotifyGenerated when the user releases a key on the keyboard. Details
Menu Selection (App)VIFilterGenerated when the user makes a menu selection from the pull-down menu in LabVIEW, for example Help»Show Context Help. Details
Menu Selection (User)VINotifyGenerated when the user makes a menu selection from a user-defined menu, such as mymenu.rtm, which has a user-defined menu tag.

Menu selections with APP tags generate Menu Selection (App) Events. Details
Mouse DownVIFilterGenerated when the user clicks the mouse button. Details
Mouse MoveVINotifyGenerated when the user moves the mouse. Details
Mouse UpVINotifyGenerated when the user releases the mouse button. Details
Panel ClosingVIFilterGenerated when the user tries to interactively close the front panel on a VI by selecting the Close item in the File menu or by clicking the close glyph on the window border. Details
Application ExitingApplicationFilterGenerated when the user tries to exit LabVIEW. Details
TimeoutApplicationNotifyOccurs when the Event structure times out. Wire a value to the timeout terminal on the Event structure border to specify when the Event structure should time out in milliseconds. Details
Key DownControlFilterGenerated on a control that has keyboard focus. Details
Key RepeatControlFilterGenerated when the user presses and holds a key in a front panel control. Details
Key UpControlNotifyGenerated when the user releases a key on the keyboard in a specific control on the front panel. Details
Mouse DownControlFilterGenerated when the user clicks the mouse button on a specific control. Details
Mouse UpControlNotifyGenerated when the user releases the mouse button on a specific control. Details
Value ChangedControlNotifyGenerated when the user changes the value of a control. Details