LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

embedded web browser viewing remote front panel

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.

0 Kudos
Message 1 of 34
(6,137 Views)

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

National Instruments
Applications Engineer
0 Kudos
Message 2 of 34
(6,104 Views)

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.

0 Kudos
Message 3 of 34
(6,100 Views)

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

National Instruments
Applications Engineer
0 Kudos
Message 4 of 34
(6,082 Views)

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.

Download All
0 Kudos
Message 5 of 34
(6,069 Views)

double post (and I don't see how to delete it, sorry)

0 Kudos
Message 6 of 34
(6,066 Views)

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

National Instruments
Applications Engineer
0 Kudos
Message 7 of 34
(6,045 Views)

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.

0 Kudos
Message 8 of 34
(6,040 Views)

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.

0 Kudos
Message 9 of 34
(6,020 Views)

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.

0 Kudos
Message 10 of 34
(6,015 Views)