LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hi


There is any way to create a link to the internet from a vi front panel ?
Regards
0 Kudos
Message 1 of 3
(2,667 Views)
One easy way is to use the 'System exec.vi' located in functions >> communication. Simply pass the path to internet explorer and the url to the command line input. For example: "c:\program files\internet explorer\iexplore.exe www.ni.com/labview" This will launch internet explorer and pull up the LabVIEW page at ni.com.

P.S. this will not work if you have a different path to internet explorer. And you may want to set wait until completion to false or your VI will wait until you close the internet explorer.
0 Kudos
Message 2 of 3
(2,667 Views)
By creating a link, I'm assuming that you mean displaying a web page from a URL on your front panel. I've got a VI that does just this. If you are using Windows, you can use an ActiveX container and load in the Internet Explorer page into your front panel. This allows you to dynamically change the URL and other items about your page through a property node.

First, an ActiveX container (in the ActiveX controls on the front panel) is put on the front panel. Right click on the ActiveX control and select Insert ActiveX Object. Select "Create a Contrl" from the drop down list, and then select Microsoft Web Browser from the list.

Mark
Message 3 of 3
(2,667 Views)