No. 1167 | Re: For CIE-M10 - How to get a pulse on an Output Port using HTML mode | 2013-03-13 | ||
---|---|---|---|---|
Hello. I am Lisa in charge of technical support. Please refer to the following source. [SCRIPT LANGUAGE=javascript] var url = location.href; var addr; addr = url.split("http://10.1.0.1/index.html?"); if(addr[1] != ""){ port = addr[1].split("="); if(port[1] == "1"){ portnumber = port[0]; setTimeout("resetThePort(portnumber)", 1000); } } function resetThePort(portnumber){ location.href = "http://10.1.0.1/index.html?"+portnumber+"=0"; } [/script] If you use this javascript function, the webpage work as pulse signal. It is very simple example solution. So, I think that you need to trim up of the source. If you need further technical support, do not hesitate to contact us. Have a nice day. Thank you. > Jacky RUEL wrote: > ------------------------------------ > Hello, > I am trying to implement in the HTML index page the way to get a pulse on an output port of the CIE-M10 but I did not succeed yet. If it is easy to call a Javascript function by cliking on the output port button, I did not find yet how set ou reset the output port in the javascript function and I have no many time to spend on that subject.. So could you help me?? I read a Q&A where Stan Bruyninckx found a solution.. It would be nice to get his Html index file available on your Sollae web site... > > Thanks for your Help > Best regards. Jacky |
Writer | Sollae Systems | Company | |
|
|||