LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hyperlinks in LabVIEW Front Panel?

Can I insert hyperlink on LabVIEW front panel that will go to a specific location (bookmark) in a Microsoft Word file? If not hyperlink, any other method? Thanks.
0 Kudos
Message 1 of 5
(6,804 Views)
Hi,
I think there is no direct way to solve your problem. Just a few ideas:
1. You can creat web browser ActiveX control on your FP. Then create an HTML file with the link to your Word file and open this HTML file in ActiveX control.
2. You can create Word ActiveX control and open your document there.

But in any case I don't know how to go to the bookmark inside Word document.

Good luck.

Oleg Chutko.
Message 2 of 5
(6,804 Views)
Hi,
You can have a boolean with a text or picture on it. When you click on the boolean, it will open the document.
The attached example uses a picture on a boolean to launch a web page.
Zvezdana S.
0 Kudos
Message 3 of 5
(6,804 Views)
Have a look at this labview bookmark hyperlink sample VI I wrote. Here, upon clicking the selected text, you can directly open a specific location (bookmark) of a Microsoft Word document. How it works? It's simple:

1. Create a transparent boolean over the text you want to link into Microsoft Word bookmark.
2. Use this boolean condition to activate the "Goto Bookmark.vi" (the bookmark hyperlink main engine).

Good Luck!
0 Kudos
Message 4 of 5
(6,804 Views)
> Can I insert hyperlink on LabVIEW front panel that will go to a
> specific location (bookmark) in a Microsoft Word file? If not
> hyperlink, any other method? Thanks.

LV doesn't have a hyperlink control, and part of the reason is that
there are many different ways to link. The UI portion can be any sort
of button, a list double click, or any other event that you decide on.
On the diagram, when the event has taken place, place the code that
follows the link. I suspect you want to open a connection to Word, then
open a connection to the document, then give back whatever Word uses for
a marker. I've never done this, but they probably have ways to do this
based on line number or name or a phrase search.

For other types of links, the ActiveX code wou
ld be similar, but with
different invoke or property steps. An HTML link would use the subVI to
open a URL that is in vi.lib, and there is also one for opening a pdf.

Greg McKaskle
0 Kudos
Message 5 of 5
(6,804 Views)