Hey everybody, I've just downloaded collection of source codes from http://optics.eee.nottingham.ac.uk/vxi11/. The main aim is to send command and get the responce from analyzer (linux command line). I was wondering if there is a way to grab the responce and play with it in PHP (making charts, etc.). I was thinking about the socket server/client, but I am not sure if this the right thing. Thanks, Petr
php.net/fsockopen That will allow you to retrieve a socket response if the application allows for it. If not, you can use system() in php and it will return output. From there, you can utilise a chart application, such as plotkit (www.liquidx.net/plotkit/), to manipulate the display of data that you've retrieved. I hope i've answered at least some of your question, but I've never wrote software that works in the way you're working on.