Link to home
Start Free TrialLog in
Avatar of joncolby
joncolby

asked on

web based controll of rs232 and sending rs232 codes from a web page

I want to make a web based controll that has buttons and when I click a certian button, it sends its corosponding code to a particular com port.
My first experiement will be to try to controll my benq 8700 projector via its rs232 port. I have already aquired the 8700 rs232 controll codes from benq.
now I just want to make a web based front end that will run on the computer that is connected to the 8700.

Any and all help will be greatly appreciated.

I am sure that many others could learn from this post after it gets some 'seasoned' answers.

-Jon Colby
Avatar of Leviter
Leviter
Flag of Netherlands image

There are a couple of ways you can achieve this, but none are 'straight off the shelf'. It cannot be done directly, but you can either:

* Make an applet that connects to a 'service' that interprets commands sent from the applet to the service, which in its turn writes commands to the RS232
* Create a cgi script that interprets the commands given from the browser and puts commands over the RS232

Remember that when you create such a thing, that there will be some network latency... so your commands will not be processed right away!
Avatar of joncolby
joncolby

ASKER

how do I create a cgi script to do that ?
ASKER CERTIFIED SOLUTION
Avatar of gnudiff
gnudiff

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial