11-18-2019 03:09 AM
Hi!
During Web Module VI development can't find an option to restart application. It can be done with F5 key. In this particular case application keyboard is not an available, only mouse is connected.
Is there any possibility to generate event by mouse click and refresh current page or go to another page (web address) according this event ?
Thanks a lot!
Solved! Go to Solution.
11-18-2019 09:04 AM
Hi IIvan,
There is not a built-in method but you can use the JavaScript Library Interface to call the Location.reload() method from your WebVI. I just tested and was able to refresh from a browser.
For more info, see below link and Call JavaScript From a WebVI shipping example. Tip: Be sure to set the Boolean control to false by default for the case structure below; my browser keep refreshing without it.
http://www.ni.com/documentation/en/labview-web-module/latest/manual/calling-js-functions-web-app/
Thanks,
Frank
11-18-2019 09:26 AM
Many thanks for the detailed description!
11-18-2019 09:44 AM
Happy to help!
Thanks,
Frank