LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make the message board will automatically disappear after a expected time without any clicks OK or cancel

I am building an appliacation ( a demo program). When my application running, a message board appears , after a short time I want it to disappear without any clicks at OK or Cancel button. That's all.
0 Kudos
Message 1 of 3
(3,264 Views)
easiest way around: check attachements.
you can create your own messager as a subvi that you call and show front panel when called. in this subvi you can customise it to look like a message.
-----------------------------------------------------------------------------------------------------
... And here's where I keep assorted lengths of wires...
Download All
0 Kudos
Message 2 of 3
(3,257 Views)
here is a little more elaborate way of doing it. check that both the main prog and the message diagram looks a little different.
in this case the vi is dynamically called, but the front panel of the message has to be closed by itslef, unrelated to the main prog.
one advantage of this approach is that the main prog can continue all his tasks without waiting for the message to close. otherwise one would have to wait until finish of subvi, then close front panel, then continue rest of program (e.g. next loop iteration if the call was within a loop).
-----------------------------------------------------------------------------------------------------
... And here's where I keep assorted lengths of wires...
Download All
0 Kudos
Message 3 of 3
(3,251 Views)