Skip to content

Commit 70dbd24

Browse files
adding event sources section
1 parent 1bdcf1a commit 70dbd24

8 files changed

+32
-1
lines changed
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,35 @@
11
= Event Sources
22
:page-toclevels: 1
33

4-
== User Interface
4+
== User Interface
5+
6+
The first source of events, you come across when starting with {lv} are the events generated by the UI when a user of your application use the mouse or the keybard.
7+
8+
Example code: 01a - Event Sources - User Interface.vi
9+
10+
.Front Panel
11+
image::03-event-sources-ui-fp.png[]
12+
13+
.Diagram
14+
image::04-event-sources-ui-dg.png[]
15+
16+
== User Events a.k.a Custom Events
17+
18+
The User Events are probably the worst named {lv} feature.
19+
Behind this name, you'll find the way to create and generate events programatically
20+
21+
NOTE: This source of events is the corner stones of many event driven architectures. The https://www.dqmh.org[DQMH framework] is probably one of the most popular framework based on the {lv} user event feature.
22+
23+
Example code: 01b - Event Sources - Custom Events.vi
24+
25+
.Front Panel
26+
image::05-event-sources-user-event-fp.png.png[]
27+
28+
.Diagram
29+
image::06-event-sources-user-event-dg.png.png[]
30+
31+
== Callback
32+
33+
== Daqmx
34+
35+
IMPORTANT: This example requieres the NI Daqmx driver to be executed.

0 commit comments

Comments
 (0)