David Cogo wrote:
Hello,
I am attempting to create a web server that will be attached to a pelco
video matrix switcher (9770) via a serial port. I want to setup
hyperlinks on the webserver that will feed ascii commands to the matrix
switch via the serial port. These commands will tell the switcher what
video ports to feed what monitor ports.
My questions are:
1. has anyone done this before?
Very similar.
2. Does anyone have scripts that i could use to do this?
Unfortunately, it's commercial software so I can't :|
3. I have read online that config of a mscomm32 file is necessary. Is
this true? If it is how does it play into the config?
The only config is done at runtime to set the port, speed, etc...
For the HTTP server, you can use a simple array of sockets accepting
connections. When you receive a header, parse it out as per the RFC and
send the commands to the switcher.
I suggest reading up on vbip.com and winsockvb.com.
An alternative is a COM server that is called by ASP scripts or similar
served out by IIS.
<advert>
I recommend switching to a digital CCTV system with capture cards so you
can do away with the "only see/record one at a time" concept.
see
www.icode.co.uk/icatcher/ :)
</advert>
--
Dean Earley (de*********@icode.co.uk)
i-Catcher CCTV Development Team
iCode Systems