To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI Demonstrates how to dynamically create right click user menu for one control or indicator.
Description
It is easy to create one user right click menu for control (or indicator) in edit mode. But this menu is static and can't evaluate during time.
This example show you how do that with events and how dynamically modify it.
Note: Like menu is dynamically created, it isn't saved in control (like in edit mode) and is completely recreate each time you right click on control. For this reason, it is unnecessary to delete user menu items between two right click actions.
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.