I want the user to press "ok" or "cancel" in a dialog box. And if they don't press anything after 1 minute, I want it automatically to submit cancel. Does anyone have a VI, or know where I can get a VI that does this. Thanks in advance
Attached is one way to do it...if you feed the dialog VI with a timeout larger than zero seconds it will timeout after the given number of seconds.
Using Next multiple instead of checking the actual time does make it slightly inaccurate, but I guess it won't matter whether it times out after 59,5 seconds one time and 60,2 seconds the next...