Before reverting to C, et al, can I use Ruby to do this?
I have a ccd camera which has a 4 pin serial interface (pwr, gnd, txd,
I have a board that provides a 9-pin rs232 connector which is used to
interface to it.
I want to control it with a notebook (Toshiaba Satellite) which has no
and 3 USB-2 connectors. I have a USB-R232 (9-pin male) cable which can
to the camera board. The cameral comes with a canned gui frontend app
interfaces to the camera and allows you to take pictures at different
but is basically just to verify that the system is working. I can only
run this software
on my old (circa 1999) desktop because it has a serial connector and
the software is
hardwired to use COM1. It's a simple windows program that I'm runnning
under Win 98,
and can also run under Linux (PCLinuxOS) using WINE. So I can take
verify that the camera works under different resolutions under both
I need to access the camera and take full control of its features and
Thus, I need to fully control the command interface to the camers,
sending/receiving commands (6 byte codes) and receiving images. This
controllnig the rs232 interface to the camera.
So, can anyone provide or direct me to code for controlling an old
rs232 serial port and a new
USB-RS232 serial connection?
Thanks in advance.