kb:labview-frameworks:dqmh:design-decisions
Table of Contents
03 Design Decisions
Queues vs Events
-
events = public (external)
-
queues = local (internal)
-
easier to debug
-
Advantages of events
-
broadcast
-
doesn't matter if there are listeners (1 or more) or not
-
one event queue per listener
-
no listener - no queue
events in same queue (1 event structure) can have different data typeserrors are edit timeregister/unregister at runtimeStrict Message Typing
-
hard to search strings
-
easy to find VIs
-
easy to show which VIs are available (API)
API Testers
-
test modules individually, outside application
-
can sniff messages (also in .exe)
-
kb/labview-frameworks/dqmh/design-decisions.txt · Last modified: 2019/02/23 20:01 by joerg.hampel
-