Hi Nap,
just do what you want to do! 😄
Well, to be more serious:
What about checking the state of the button (or switch) in your application? Wait till the state changes...
Best regards,
GerdW
using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019