Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: sending to & reading from serial port

by rob_au (Abbot)
on Jun 15, 2001 at 12:51 UTC ( #88730=note: print w/ replies, xml ) Need Help??


in reply to sending to & reading from serial port

I have found two modules which implement some very nice methods for handling serial port communications - These are:
 

  • Device::SerialPort - which implements its calls through termios library for *nix systems - I have used this module for some IVRS-type applications with little difficulty; and
  • Win32::SerialPort - which implements its calls through Win32 APIs for Windows systems

     
    It may be worth your while to have a look at these modules and some of the example code included in the module PODs to get a better idea about how you can implement your write and read calls to and from the serial port through Perl.
     
    Ooohhh, Rob no beer function well without!


    Comment on Re: sending to & reading from serial port

    Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Node Status?
    node history
    Node Type: note [id://88730]
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others imbibing at the Monastery: (4)
    As of 2015-07-29 04:19 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









      Results (260 votes), past polls