Add listener() or a callback function to app designer?
39 views (last 30 days)
I want to sense something continuously in my GUI (along with other functionalities of the GUI like all other buttons have different functionalities). I was wondering how to add a listener to my GUI. I would be using a read function to read a bit state of my microcontroller. However, the app designer architecture is not allowing me to edit all the part of the code and hence I am not sure how to proceed with making a function which can continuously sense() one input and then if any other button is pressed then the GUI should enter into the button_callback() function di the job and get back to the sense() function. In other words, I want all the other stuff of my GUI to be as an interrupt and one of the main parts of the code should be the sense() function.
Please let me know your inputs.
Thanks, in advance!