This example dynamically generates user events to concatenate a string, and to stop the program.
A dynamically generated event may be used to control the behavior of code executing in a parallel process. This example uses two parallel loops. Before either loop begins, a reference to the two user events is created. This reference is sent to the Event Structure of the top loop. The user events are generated in the bottom loop and handled by the Event Structure in the top loop.
In order to register the user events with the Event Structure the Dynamic Events Terminal must be visible. To enable the Dynamic Events Terminal, right-click on the border of the Event Structure and select Show Dynamic Event Terminals.
- LabVIEW 2012 (or compatible)
Steps to Implement or Execute Code
- Download and Run the VI in LabVIEW
- Enter text in the text control labeled, "String to Add"
- Click GO
Additional Information or References
**This document has been updated to meet the current required format for the NI Code Exchange.**