Interface Panel Numeric updown value update issue
Posted: Thu Feb 14, 2019 9:58 pm
Hi,
I'm working on an interface panel with some tools. My current issue is with a "Numeric up down" tool.
I've attached the Arduino code file and the Megunolink interface panel file.
I'm using the Numeric up down tool to define a 'loop' variable. The loop, when executed should monitor a temperature sensor and print the values to the serial window.
I'm using a button named "RUN" to transmit a character which uses a switch case and triggers the concerned loop.
Here, my loop variable should be a pre-selected value. I select the loop variable value and hit Run. The loop then executes for so many number of times and then stops.
Instead of the above flow, when I select the loop variable and click Run, the loop variable won't update and still runs for the default number of times. I have tried a lot of things and searched the forum and the documentation but no use. I think I'm missing a piece of code to update the Loop variable in the main loop function. Please help. Thanks.
I'm working on an interface panel with some tools. My current issue is with a "Numeric up down" tool.
I've attached the Arduino code file and the Megunolink interface panel file.
I'm using the Numeric up down tool to define a 'loop' variable. The loop, when executed should monitor a temperature sensor and print the values to the serial window.
I'm using a button named "RUN" to transmit a character which uses a switch case and triggers the concerned loop.
Here, my loop variable should be a pre-selected value. I select the loop variable value and hit Run. The loop then executes for so many number of times and then stops.
Instead of the above flow, when I select the loop variable and click Run, the loop variable won't update and still runs for the default number of times. I have tried a lot of things and searched the forum and the documentation but no use. I think I'm missing a piece of code to update the Loop variable in the main loop function. Please help. Thanks.