LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HTML View in Labview?

Is there a way to show HTML view inside a *.vi front panel?  Not using an HTML report but displaying a normal looking HTML page inside Labview?  For example with a DataSocket return www.google.com.  In stead of getting what looks like HTML source you see the actual google webpage.


0 Kudos
Message 1 of 7
(6,850 Views)
Embed an IE ActiveX control.  That way you don't have to write your own web browser.  I'm not at a LV PC, but I believe there is a LabVIEW example that does this.  If not, there is an example on this website.
Message 2 of 7
(6,849 Views)

Very cool...The example in 8.5 Labview under the NI example finder is:  ActiveX Event Callback for IE.vi

Thanks for your help.  -SS



0 Kudos
Message 3 of 7
(6,842 Views)

Here is a simple example with explanation for others to use, I found the NI example a little involved. 

Sorry only an 8.5 example will be posted:  To create this *.vi follow these steps.  Under controls (right clicking and extending the menu with the double carrot at the bottom of the menu) on the front panel select .Net & ActiveX.  Select ActiveX container.  Once the container is placed on the front panel, right click it and select insert activeX Object.  Select Microsoft Web browser.  Right Click the front panel object and choose find terminal...interestingly enough double click doesn't cause normal operation of finding the object on the block digram.  To create the method node.  Right click the Web browser object in the block diagram and choose create method... and choose navigate.

Enjoy. -SS 



Message 4 of 7
(6,833 Views)

"...interestingly enough double click doesn't cause normal operation of finding the object on the block digram.  "

I find that to be the case for ActiveX containers.

Try double clicking on the very edge. I seem to remeber that sometimes works.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 7
(6,829 Views)
Tried it...doesn't seem to work?  -SS


0 Kudos
Message 6 of 7
(6,826 Views)

It works without running the .vi

0 Kudos
Message 7 of 7
(5,835 Views)