To download NI software, including the products shown below, visit ni.com/downloads.
This example demonstrates how to add a custom menu item to the Full-Featured UI, and enable it only for users with certain privileges.
Most menu items in the full-featured TestStand User Interface are populated dynamically when the user selects the menu item. However, you can add additional custom menu items by following these steps:
If the menu item should only be enabled for users with certain privileges, you can modify the User Changed Callback.vi, which executed whenever a new user logs into TestStand. This event is registered in the Configure Event Callbacks.vi. In this example, the menu is enabled only for users with the Configure privilege.
Adding Custom Run-Time Menu Items - TS2014.zip
TestStand 2014 or Compatible
LabVIEW 2015 or Compatible
Adding Custom Run-Time Menu Items - TS2016.zip
TestStand 2016 or Compatible
LabVIEW 2016 or Compatible
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.