Re: need help with "SerialPort" module



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

---Scott.
.



Relevant Pages

  • Re: Open/write and read serial port (COM1) on iPAQ 2210
    ... hey you should try the compactframework newsgroup, ... they can help with all that hardware stuff. ... > Professional Edition (so handheld device programming should be no ... > No sample code on the Net, no hints, just nothing. ...
    (microsoft.public.dotnet.framework.aspnet.mobile)
  • Re: Looking for ANSI/VT100 code replacement.
    ... >> I think you need to give us more details and preferably some sample code ... What is the hardware you are running on? ... Intriguing. ... Peter Jeremy ...
    (freebsd-hackers)
  • problem with edk9.2
    ... I am trying to write values in to the slave registers through a ... c code.The problem here is that i am not getting a connection between ... hardware and software.Though the c code,I am not able to write into ... reason?or somebody please show some sample code. ...
    (comp.arch.fpga)
  • Re: OpenVMS Hardware Troubleshooting? (was: Re: walking into a war zone
    ... :unknown Dec Vax box somewhere up the road. ... I will assume a hardware ... operating system is OpenVMS VAX -- but again, ... typical command used for a quick peek at error activity, ...
    (comp.os.vms)
  • Re: DVI output, ATI or nVidia
    ... complaining that a vendor refuses to give full documentation for a piece ... it is a bad thing for a hardware maker not to give away its trade ... But I hardly think that the documentation of how to make some piece ... were no OSS 3d driver. ...
    (Fedora)