ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HyperText Link in Front-panel...

Hi there!

Is there any way to display hypertext link onto front-panel project
where a click could open a browser to go to a site for example??
without ActiveX...

thanks a lot

Mesca
0 Kudos
Message 1 of 3
(2,911 Views)
Here's a simple way without Active X that will work in older revs of Labview as well as Labview 6.1.

Have a string control on your front panel for the operator to enter a URL. Have a button (with mechanical action latch when released) wired to a case. Inside the True case, call System Exec.vi with the command line "c:\Program Files\Internet Explorer\iexplore.exe" (including the quotes) concatenated with a space and then the contents of your string control.

If you want to use a browser other than Internet Explorer (or if your iexplore is installed somewhere else), just change the command line.

See the attached Labview 6.1 example.
0 Kudos
Message 2 of 3
(2,911 Views)
One way would be to just use a transparent Boolean with the text underlined. On the diagram, use the true condition to start the browser. There is a VI called Open URL in Browser that is in \help\_browser.llb.
0 Kudos
Message 3 of 3
(2,911 Views)