You can use different loops with different timings.
One loop with a fixed timing for device controlling,
other loop for user interface (using "Wait for front
panel activity").
Or the mentioned case statement: use a loop with a
small timing value (10 to 50ms) and check for a
condition to start your device. Only when the condition
is set the case statement is executed.
Best regards,
Gerd
Best regards,
GerdW

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019