Click here to Skip to main content
15,879,348 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have a board consisting of four programmable sockets. I need to switch them at my choice. The board has a web browser interface based on its default ip address from where the sockets can be turned on or off. There is a javascript running behind the html page in web browser which is making the web page interactive. I have written a python code for tcp communication with the board. Firstly, I am also willing to do it in MATLAB if possible. Further, the web browser initially asks for a password when its IP is entered for the first time on every log on then obviously for every change of state of socket there is javascript command of "javascript: ChangeState('1')" if I want to switch socket 1 etc. Should I call javascript function in python and if so then how could I do that? Or is there any matlab solution. remember I have the python or matlab code for tcp-IP communication and javascript which is making the web page interactive and controlling the device. thanks and I am desperately waiting for good suggestions and ideas.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900