LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Clickable Link to a Web Site

Is there a way to add a link to a LabVIEW Front Panel so when you run the VI and click on the link, it will open a specified URL using the default browser?

Thanks!

0 Kudos
Message 1 of 7
(5,232 Views)

C:\Program Files\National Instruments\LabVIEW 2010\vi.lib\Platform\browser.llb\Open URL in Default Browser (path).vi

 

Not sure where it is in the palettes - I just snarfed the above path from my code.

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


Blog for (mostly LabVIEW) programmers: Tips And Tricks

Message 2 of 7
(5,227 Views)

To be more specific, you can have a disabled string control on the FP with the URL and then use a mouse down event on that string to call the VI.


___________________
Try to take over the world!
0 Kudos
Message 3 of 7
(5,219 Views)

This idea never gained much traction.

0 Kudos
Message 4 of 7
(5,210 Views)

Sounds like an ideal opportunity for a little XControl.

This would hide all the fluff required to make it highlight on mouse over and open a web-browsed on selection.

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 5 of 7
(5,207 Views)
Message 6 of 7
(5,199 Views)

Thank you - this is the best example yet. I've added the code that Steve Bird suggested above and here is the VI based on your example attached.

Thank you all!

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