Hi,
you cannot "interrupt" structures as is dictated by DATAFLOW…
(You can stop your while loop once all code inside has finished execution.)
You might use case structures to place code inside to be able to dis/enable its execution. Once you do this you should also think about state machines!
Best regards,
GerdW
using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019