need help with "SerialPort" module
am 26.04.2006 05:34:13 von SM
Hi,
I need to write a very simple RS232 script that sends a string (command) to
my
hardware, and receives the messages sent back for my hardware. I found the
SerialPort_0.19 module
However, I have not found much of documentation regarding the module. I want
to know if
any one has sample code on how to do a simple send and simple receive. So, I
can use to get up to speed
quickly.........
Thanks in advance.
-sm
Re: need help with "SerialPort" module
am 26.04.2006 05:51:25 von Scott W Gifford
"sm" writes:
> I need to write a very simple RS232 script that sends a string
> (command) to my hardware, and receives the messages sent back for my
> hardware. I found the SerialPort_0.19 module However, I have not
> found much of documentation regarding the module. I want to know if
> any one has sample code on how to do a simple send and simple
> receive. So, I can use to get up to speed quickly.........
Here are two examples from code I've written:
http://search.cpan.org/src/GIFF/RFID-Base-0.004/lib/RFID/Rea der/Serial.pm
http://whereabouts.eecs.umich.edu/code/serialserver.pl
---Scott.