06-28-2010 11:41 AM
I am trying to view a remote front panel through a Web Browser object on a local VI. I have followed all the steps for setting up the web server and publishing the remote VI, and I'm able to view and control the remote VI using a separate browser window on my local computer. When I try to view the remote VI through a Web Browser ActiveX control on a local VI, it will not show the front panel. It shows the title, header, footer, and border, but where the front panel should be it's blank and just says ATL 9.00 in the middle. I've searched for this and found a few references to it being an ActiveX error, but I haven't found it anywhere in reference to LabVIEW.
I've tried this on 3 different computers: 2 with Windows 7 x64, 1 with Windows XP x86, and all with LabVIEW 9.0. This is a big problem for what we're trying to develop and I greatly appreciate any help anyone can give. And just as a small suggestion to any developer who might read this - doing this would be much simpler if it were possible to view remote panels on a subpanel using the VI Server.
06-29-2010 04:32 PM
Hey jwkelly,
I did some searching too and found this about the ATL 9.00 error that you mentioned. What ActiveX commands are you using to view the VI? IT appears that the OnDraw command could be a bit troublesome as described in the post above.
Logan H
06-29-2010 04:42 PM
Thanks, but I don't know how I would overwrite the OnDraw function for it. I'm just using the standard LabView Web Browser object (right click on the front panel, go to .NET and ActiveX and then to Web Browser). I was fairly certain I had seen people doing this before without any issues so I thought it would have to be a simple fix or something rather obvious that I'm doing wrong.
06-30-2010 04:31 PM
Hey jwkelly,
I'd like to try to recreate this on my machine, would you mind attaching your code. If this happens over on this end too then a bug report can be filed.
Thanks
Logan H
07-01-2010 09:31 AM - edited 07-01-2010 09:34 AM
Any instance of viewing a remote panel through an embedded web browser object produces the error for me. So something as simple as the attached test.vi viewed by browser.vi causes the problem. The text (title, header, footer) still shows up fine, but where the front panel should be is just a blank box with ATL 9.00 in it. Sometimes I have to move the scroll bars for ATL 9.00 to appear and before that it's just a blank box. The problem also freezes LabVIEW most of the time and then I have to restart the entire computer (not just LabVIEW) before the embedded web browser object will work again to even view a normal web page. Also, after the error has occurred if the computer hasn't been restarted then trying to delete the web browser object from the block diagram crashes LabVIEW. Thanks again for your help.
07-01-2010 09:34 AM - edited 07-01-2010 09:35 AM
double post (and I don't see how to delete it, sorry)
07-02-2010 03:44 PM
jwkelly,
I opened test.vi, saved it as an HTML, set up a webserver, and loaded it using the browser.vi without seeing the ATL 9.00 error. This was in LabVIEW 2009 and on a Windows XP 32bit machine.
I'm not really able to recreate this so I'm beginning to think that its ActiveX version related or network permissions.
Logan H
07-02-2010 05:20 PM
Thanks for testing it. If you have Windows 7 x64 available to test it on that might reproduce it. I think it might be the case that when I tested on Windows XP x86 that the browser (test.vi) was on the Windows XP computer but the web server (and test.vi) was still on one of the Windows 7 x64 computer. I'll make sure I test everything locally on the Windows XP computer when I get back to the lab but that won't be for a few days.
07-03-2010 08:11 AM
Are you able to find a solution to this problem. We too are facing the same problem ie ATL 9.0. It additional it shows "Setting Up Plug-in Window" in place of ATL 9.0. This is causing a big trouble. Appreciate if you can share any solution you got.
07-03-2010 08:46 AM
I checked it with labVIEW 8.5 the problem doesn't exist. I suspect the there may be some issue with LabVIEW 2009 ActiveX. I doubly checked by keeping the vi to be published developed in LabVIEW 2009 and the LabVIEW web browser in LabVIEW 8.5 and found it to be working.