Nextion WHILE problem

I am showing data from a load cell on the display, I use a WHILE to get the data constantly, the problem is that when the WHILE is running the other buttons on the display do not work.

How can I close WHILE?
codigo

Use an if instead of a while. While is blocking, the only thing that can get you out of it is changing the value of, in your case, “o”.

You could also add this to your while loop.
nexLoop(<nameofyourlistenlist>);