08-17-2011 02:21 PM
LV2009, WIn7. Using Remote panels to display front panel on client with IE9 browser. It usually connects properly and then seems to work normally; able to view/control. If the browser is closed however, then upon reconnection Labview on the server PC crashes and closes every time, with the "connection lost" message in the browser window. Any ideas on this one? Sometimes it won't even connect the first time either.
Overall this doesn't seem too solid at all--is it easier to just use remote desktop in windows 7?
08-19-2011 12:47 PM
Hi Beck,
So the PC that is running your LV software ends up crashing with that error upon reconnection?
Does this crash happen if you disconnect from the remote panel before closing the browser, opening it, then reestablishing the connection?
Try creating a new simple project, and run the remote front panels. Does that exhibit the same behaviors? (crash, can't connect first time, etc)
Regards,
08-20-2011 07:43 PM
Hello Che, I don't see an option to disconnect before closing broswer. Is it R Click>Close Panel? That is greyed out for some reason. Or do I have to add code on the server program to close connection programatically? I also tried a simple test program and it does behave properly: I can close/re-open a browser session without problems. My main program does have a very large front panel with dozens of controls. But it does work without latency, etc when it works...
08-24-2011 06:00 PM
Hi Beck,
I meant Right click >> Release Control of VI. We have seen behaviors where sometimes when the front panel contains too many front panels and indicators, it causes instability sometimes. We recommend an alternative, Web Services. The advantage of web services is that you can access these VI's with any web client, such as your mobile phone.
But, keep me updated, and we can work from there.
Regards,
08-26-2011 06:57 AM
Ok thanks for the reply. I thought I had isolated the issue as being only when closing the browser before releasing control did it crash. But after trying it a few more times, eventually it crashes even if control is released first. To be clear, it seems perfectly stable while operating, but rather *after* disconnecting, closing browser, then when trying to reconnect, the front panel will come up for a second or two, then the server Labview crashes. Also it seems if I leave the LV application running too long (a few min.?) I can't connect to it. So I have to make a client connection early on for it to work. It might be network related? I think the client PC is on a VPN and the server isn't but I'm not sure.
I looked at Web services but that seems like a lot of development when all I need is to see the front panel remotely.
08-29-2011 01:57 PM
Hi Beck45,
Since we're able to get a simpler Vi to run correctly and reliably, we'll examine your current setup. Please see this DevZone Article
http://zone.ni.com/devzone/cda/tut/p/id/3277
It describes many things that can cause Remote Front Panels to become unstable. For instance, sending over large arrays, taking too much bandwidth, using property nodes (overflow and disconnects clients), ActiveX. Is your VI performing any of these functions?
Regards,