LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open an *.html page from a vi



velectro wrote:

If I actually can visualize an html file, that is on the cRIO, and the browser are running on my pc, why a link from the VI (as www.html.it) must open a browser on the cRIO and not on client PC?


Because the VI is running on the cRIO, not the PC. When you click "inside the VI", whatever reaction happens in your code will happen inside the cRIO, not the computer. The PC will only reflect what is happening on the cRIO.

However, I do have an idea now - if you will edit the HTML file and add a link inside it, that link will be active on the PC, not the cRIO. The link itself won't appear inside the image of the VI, but over or under it, and it will be there all the time, but it will work on the PC. To do this, you should add the line <a href="url">link text</a> to the HTML document where you have a placeholder for text going before or after the VI's image. This will cause your browser to render it as a hyperlink. The words in red should be replaced with your own data.


___________________
Try to take over the world!
0 Kudos
Message 11 of 12
(1,088 Views)
Actually we have this link on the top bord of the page, over VI. But we would like to create a link in every tab of the VI. But if you say, I see that you have a deep experience,  that is impossible we remain we will please ourselves of this html link over VI.
 
Tanks a lot
0 Kudos
Message 12 of 12
(1,083 Views)