To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example shows an introduction to user events.
Description
This example also shows that events can be registered for more than once and that the data stream for each registration is queued.
One of the advantages of the User Event feature over the Queue Operations feature is that events that are generated can be handled by multiple event handlers/listeners.
The disadvantage of the User Event feature compared to the Queue Operations feature is that there is no way (that I could find) to determine how many events are still in the event queue waiting to be processed.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Very useful and well written. Thank you