06-18-2020 01:36 AM
Hello all,
I would like to get the pressed key by using Javascript.
I try this javascript code saved as key.js
In LabVIEW NXG, I add the JS Library Interface like this.
However, when I run the index.gviweb, I got this error
I don't know what wrong I have done. Please help me. I am very new with Javascript.
Thank you in advance.
06-18-2020 04:06 AM
Furthermore, how can we achieve the ID of control in Web VI?
For example, I would like to use this code. How can I replace the ("42") by the NI ID format like ni-control-id = '42'?
document.getElementById("42").innerHTML
Thank you in advance
08-02-2020 09:48 PM
Hi, I am working with similar things, I have found this link useful https://forums.ni.com/t5/LabVIEW/Using-Chart-js-in-LabVIEW-NXG-Web-Module/m-p/4049549, you could tr...