LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

[LABVIEW NXG] How to use value signaling for Hyperlink control in WebVI?

Hello all,


I would like to make a value signaling to a hyperlink control which can redirect to another WebVI instead of pressing on that hyperlink control. How can I do that?

For example I create a Login panel, after login success, it will redirect to another WebVI.

 

Thank for all your supports.

 

0 Kudos
Message 1 of 2
(1,771 Views)

Hi anhduy92,

 

LabVIEW NXG 5.0 does not support manipulating a hyperlink control to trigger a page navigation. An alternative would be to use the JavaScript Library Interface (JSLI) to invoke a JavaScript function that is capable of redirecting the browser window to a new URL.

 

The example attached to the post LabVIEW NXG WebVI's accessing the query string in its URL includes a Set Window Location VI example that demonstrates how to use the JSLI to redirect a page to a new URL.


Milan
0 Kudos
Message 2 of 2
(1,647 Views)