Event Handling: Difference between revisions
Appearance
Created page with "== Overview == The Event Structure in LabVIEW executes code in response to a software interrupt. The most common use-case is to respond to user interaction with a user-inte..." |
Category reorg |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{see also|Functions Palette/Programming/Structures/Event Structure}} | |||
== Overview == | == Overview == | ||
Line 12: | Line 13: | ||
== Using Events to Respond to User Defined Events == | == Using Events to Respond to User Defined Events == | ||
[[Category:Programming Elements]] |
Latest revision as of 21:14, 17 June 2020
Overview
The Event Structure in LabVIEW executes code in response to a software interrupt.
The most common use-case is to respond to user interaction with a user-interface through typical input (keyboard, mouse, touch), but it can also be used to respond to events that are programmatically generated elsewhere in the software.
One event structure can be registered to respond to multiple events. Each event can execute a unique frame of the structure. A single frame can be registered to handle multiple events.
There are best-practices when using an Event Structure related to when/how it blocks and when the data flow 'reads' the user-interface element that generated the event.