LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Want to create a modal VI

I everybody,
I just need to display a modal VI, to inform the user when a device is not connected. And when the device is connected (don't know exactly when), the information user VI must close & comming back to the main VI. (Testing the device connection in parallel).
Thanks.
0 Kudos
Message 1 of 4
(2,487 Views)
You could create a vi with a front panel that displays your message and just a while loop in the diagram so it continuously runs. Then set to be modal under VI Properties>>Window Appearance. You can open and close it using the vi server from the main vi.
0 Kudos
Message 2 of 4
(2,487 Views)
The one-button dialog functions as a modal dialog. Time & Dialog >
One Button Dialog.

sm


GAP wrote in message news:<506500000008000000C82B0000-1000509150000@exchange.ni.com>...
> I everybody,
> I just need to display a modal VI, to inform the user when a device is
> not connected. And when the device is connected (don't know exactly
> when), the information user VI must close & comming back to the main
> VI. (Testing the device connection in parallel).
> Thanks.
0 Kudos
Message 3 of 4
(2,487 Views)
Yes, but how is he going to programmatically close it?
0 Kudos
Message 4 of 4
(2,487 Views)