Beefy Boxes and Bandwidth Generously Provided by pair Networks httptech
Problems? Is your data what you think it is?
 
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 musing on the Monastery: (5)
    As of 2014-04-19 21:19 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      April first is:







      Results (483 votes), past polls