I'm wanting to create a VI to control a dialog box that has the option of:
1) being used normally - i.e. the user presses a button to close the box; or
2) being turned off after a period of time without any user activity.
I've made an attempt with 'TwoButDialBoxWithTimer.vi' by using a case structure to control the different options. An Event Structure is used to to hold the 'Two Dialog Button' for option 2. However, when the Event Structure times-out in the 'TestDialBoxWithTimer.vi', the dialog box does not disappear.
I would be grateful if anyone could advise me on what I am doing wrong, please.
Solved! Go to Solution.
You have to create your own Dialog sub-VI. Just calling the Two-Button-Dialog within a subvi won't work, because the Two-Button-Dialog is blocking the execution of your "timer" sub-VI.
Thank you for your response.
I've now managed to get the message box up and running as required as per your suggestion.
Thanks for replying.