80 likes | 188 Views
AMX Access. Isaac Sears, Owen Capobianco, Henry Jixinge, Michael Ian Price. Client Side. HTML with Javascript Javascript sends the button name every time the user clicks a button Key functionality: accessible on phones or tablets (as opposed to AMX web controller). WAMP Server.
E N D
AMX Access Isaac Sears, Owen Capobianco, Henry Jixinge, Michael Ian Price
Client Side • HTML with Javascript • Javascript sends the button name every time the user clicks a button • Key functionality: accessible on phones or tablets (as opposed to AMX web controller)
WAMP Server • Information sent from Javascript received by PHP on WAMP server • PHP relays data to Jython server running on a local port • WAMP server permanently running on computer in CS deparmtment
Jython Server • Jython Server listens for events on socket 8080 • Sends information received on 8080 to Sikuli script • Allows Sikuli to run continuously rather than rebooting on every command
Sikuli • Sikuli imported into Jython server as external library • Reflects button click events on client side onto a server-side mockup page (real AMX web controller went down this semester)
VIDEO DEMO https://www.youtube.com/watch?v=FLNT7dD1u4k
Misc Facts and Lessons Learned • Use of two servers to accomplish sikuli interaction • Double server interaction = lag • Don’t make a plan before you have the resources (e.g. AMX touch panel emulator) • Simple is better but provides no guarantees (e.g. Sikuli for clicking buttons abstraction)