LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I close a remote front panel by closing only the browser window?

I control a remote front panel in a browser (from the client PC). If I don't use the 'close' - button in my program to end the remote front panel, but instead of this the 'x' of the browser window (in the right bottom corner), my program won't be close, it continues on the server. Do you know how to end a VI by closing only the browser windows?

Thanks for any help!
wolfe
0 Kudos
Message 1 of 6
(3,163 Views)
You might want to look at the shipping example called RemotePanelMethods-Server.vi. I haven't tried any of this but it looks like you could modify the example so that after a connection is gotten and then lost, the main VI could be stopped.
Message 2 of 6
(3,163 Views)
Hi Dennis,

where can I find the shipping example ?
0 Kudos
Message 3 of 6
(3,163 Views)
Help>Find Examples. Select the search tab and enter remote in the keyword box.
0 Kudos
Message 4 of 6
(3,163 Views)
I found the examples. Thanks.
But I could not find a solution yet. Now I know how to end a VI by clicking on the x of the VIwindow.
My problem is, to end a VI by clicking on the x of the BROWSER window after I loaded and controlled a remote panel VI in a browser (e.g. IE).
If you have any ideas ... I'd be happy.

Thanks for your help.
0 Kudos
Message 5 of 6
(3,163 Views)
In the example, do you see the section labeled "Poll for Remote Panel Connections..."? I would think you could do the inverse since you want to know when the connection is broken by closing IE.
0 Kudos
Message 6 of 6
(3,163 Views)