LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

hyperlink to a html report

Solved!
Go to solution

Hi ,

 

I`m using LV2009.

 

I have simulated a test report of a test board and generated a HTML report in the VI. The generated HTML report is saved in the file in some folder in the hard drive.

All I wann is the hyperlink to the HTML report in the front panel.

 

I saw few posts in the forum on the hyperlink but majority dealt with the excel sheets.

 

Looking forward for your solutions.

 

Regards,

Manoj

0 Kudos
Message 1 of 8
(3,180 Views)

I don't think you can put a hyperlink directly on frontpanel, but you can program a button or other control to open your report on IE as shown in http://zone.ni.com/devzone/cda/epd/p/id/3741 

0 Kudos
Message 2 of 8
(3,157 Views)

You can use a string indicator and the Mouse Down event to open a URL using the system's default browser.

 

Example "About" box VI with URL below (LV 2012)

 

 

0 Kudos
Message 3 of 8
(3,145 Views)
Solution
Accepted by topic author Manoj90

Sorry, didn't see the 2009 in your post. Attached as LV 2009

 

About.png

 

 

 

 

Message 4 of 8
(3,134 Views)

Dear Phillip Brooks,

 

Thanks for the solution Smiley Happy

 

I want to extend my VI.

I`m thinking of publishing my VI using web publishing tool. Before publishing labview will ask for the header text and the footer text right?

In the header text, I`m thinking of inserting the hyperlink for the report in the header text, but for that

1. I need to generate the report and save it in the default NI Local web server i.e "C:\Program (x86)\NI\Labview 2009\Local\www" and give this address in the header text.

2. While generating the report, I need to give the above the link in the path but LV is showing error as "no space allowed in the path" ie between the Program and (x86).

 

Looking forward for the solutions.

 

Regrds,

Manoj

0 Kudos
Message 5 of 8
(3,085 Views)

Thanks KateSmiley Happy

0 Kudos
Message 6 of 8
(3,083 Views)

Hi

Spaces are not allowed in web URL's, replace all spaces with %20 i.e. escape your string and you should be good to go

 

Mike

0 Kudos
Message 7 of 8
(3,075 Views)
0 Kudos
Message 8 of 8
(3,056 Views)