LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to check if a user has clicked on a digital control and changed its value?

Greetings !!!
I am looking for a simple way (without using Windows messages)of knowing if an user has clicked on a digital control and changed its value.
I have tried the key focus property; but I have to click twice to make it work.
If somebody knows a better solution; please let me know.

Thank you in advance for your help
0 Kudos
Message 1 of 3
(2,394 Views)
The simplest way may be to upgrade to 6.1 which has some event-driven capabilities. If that's not an option, you might want to look in the examples at Advanced>User Interface Development>User Interface Events for a way to monitor Booleans, rings, lists, and pull down menus.
0 Kudos
Message 2 of 3
(2,394 Views)
If you just want to know if the value has changed you can put it in a while loop and use shift registers to see if the value has changed.

Brian
0 Kudos
Message 3 of 3
(2,394 Views)