09-24-2013 11:20 PM
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
Solved! Go to Solution.
09-25-2013
02:44 AM
- last edited on
11-06-2024
04:28 PM
by
Content Cleaner
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
09-25-2013 05:29 AM
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)
09-25-2013 08:50 AM
Sorry, didn't see the 2009 in your post. Attached as LV 2009
10-15-2013 04:44 AM
Dear Phillip Brooks,
Thanks for the solution
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
10-15-2013 04:45 AM
Thanks Kate
10-15-2013 09:03 AM
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
10-16-2013
05:29 AM
- last edited on
11-06-2024
04:29 PM
by
Content Cleaner
You can use a built-in LabVIEW function to escape a string:
https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/vi-lib/wsapi/vis/escape-http-url-vi.html