Click here to get back home

need help with "SerialPort" module

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
need help with "SerialPort" module sm 04-25-2006
Posted by sm on April 25, 2006, 11:34 pm
Please log in for more thread options


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



Posted by Scott W Gifford on April 25, 2006, 11:51 pm
Please log in for more thread options



> 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/Reader/Serial.pm
http://whereabouts.eecs.umich.edu/code/serialserver.pl

---Scott.

Similar ThreadsPosted
Need help with Win32::SerialPort August 13, 2004, 5:43 am
help on win32::serialport June 4, 2007, 5:12 pm
SerialPort error July 7, 2007, 10:58 pm
Please help on win32::serialport July 13, 2007, 12:41 pm
SerialPort write question October 28, 2004, 11:52 am
Serialport Read question October 28, 2004, 11:59 am
Loopback with Device::SerialPort? March 18, 2005, 1:24 pm
problem with Device::SerialPort November 30, 2005, 4:19 pm
lookfor failure in SerialPort November 30, 2005, 4:56 pm
problem in using win32::SerialPort September 7, 2007, 2:27 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap