LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2 button dialog that times out if no selection

I have a ATE setup that runs a temperature test over various degrees. I would like to be able to start the test when I leave for the day. It takes about 5hrs to complete. In my program I am using a two-buttom dialog that asks if I want to do another test at the completion of a tests to insure global data is accurate per UUT. But I would like the dialog box to time-out at a set time and turn the program off (of course store the data) if there is no response. I can't figure out how to get a timer/clock to run while the two-button dialog is waiting for a response. Any ideas.
0 Kudos
Message 1 of 5
(3,344 Views)
Hi,
a simple workaround is this: instead of using the dialog box, create a pop-up sub-vi with the same appearance, and actually the same function.
With this you can easily check when it is called and you can programatically close it generating a timeout.
I hope I have been clear enough,
Alberto
0 Kudos
Message 2 of 5
(3,344 Views)
Thanks for your reply. I made the dialog box with time-out earlier, thanks. I was just wondering if there was a way around the 2 button dialog function.
0 Kudos
Message 3 of 5
(3,344 Views)
I wrote a two-button dialog with a timeout. I am not sure if this is helpful, but give it a try.
0 Kudos
Message 4 of 5
(3,344 Views)
Try this...




Copyright © 2004-2024 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 4.0 License.
0 Kudos
Message 5 of 5
(3,344 Views)