To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI uses VI Server to add a subVI to a subpanel and then to abort and run the subVI on demand.
Description
One use case for this VI may be (as in this example) if your subVI contains an Event Structure. When an Event Structure is loaded, it registers for each event, and will not unregister for those events until the VI finishes execution. This method would allow you to use an Event Structure for a portion of your program, and then to discontinue use for a second portion.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Snippet
**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.