Control measurement devices and test equipment using JavaScript and WebSockets