To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example shows how the dynamic event registration can be used to detect a value change event for any control on the front panel.
Description
This can be used to execute code only when the user modifies values on the front panel. The example also demonstrates that information about which control is modified can be obtained from the CtlRef event data.
Requirements
Software:
Steps to Implement or Execute Code
1. Run VI.
2. Change the values of any front panel objects.
Additional Information or Resources
**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.
Thanks for the great example! It appears that it does not catch change events if the control on a tab control.
Is there any updates? Also searching a way for catch change event of any control inside a tab control.
Got it. Wire the property node of TabControl-Pages (index it or index with a for loop)-CtlsOnPage to the input of input of Reg Events.