ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error Dialogue on a Timer

Solved!
Go to solution

I am writing software that will not be constantly monitored.  On various errors, I am popping up a dialogue box which describes the error and asks if the user wants to "Retry" (button 1) the previous operation or "Quit" (button 2).  I would like to show that dialogue box for a few seconds, then automatically choose the "Retry" option and close the dialogue box if no user input is detected.  Does anyone have an example of a good way to do that?  Thanks.

Forbes Black
Lapsed CLAD, LV 5 - LV 2022 (Yeah, I'm that old...)
0 Kudos
Message 1 of 3
(2,729 Views)
Solution
Accepted by diarmaede

The default dialogue box won't do what you need.

 

I would just do a simple VI with an event structure with 10s or something wired into the "timeout".

Message 2 of 3
(2,728 Views)

Good solution!  Works like a charm.  Thanks.

Forbes Black
Lapsed CLAD, LV 5 - LV 2022 (Yeah, I'm that old...)
0 Kudos
Message 3 of 3
(2,694 Views)