home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / perl / 7623 < prev    next >
Encoding:
Text File  |  1992-12-29  |  1.0 KB  |  27 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!jmsun!meekj
  3. From: meekj@pt.Cyanamid.COM (Jon Meek)
  4. Subject: Need Help with DOS Perl and Serial Ports
  5. Message-ID: <1992Dec29.165822.11122@tigger.jvnc.net>
  6. Sender: news@tigger.jvnc.net (Zee News Genie)
  7. Nntp-Posting-Host: jmsun.pt.cyanamid.com
  8. Reply-To: meekj@pt.Cyanamid.COM
  9. Organization: American Cyanamid Company
  10. Date: Tue, 29 Dec 1992 16:58:22 GMT
  11. Lines: 14
  12.  
  13. I am trying to talk to an instrument via RS-232 using Perl on a PC. Is
  14. there something special that needs to be done to enable bidirectional
  15. communications on a serial port? (Maybe a magical ioctl?) The outgoing
  16. commands work, but I can not read data from the instrument.
  17.  
  18. I have tried two versions of DOS Perl: Perl 3 from JPL, and
  19. bcdos_perl-4.019, one returns garbage on a serial port read, the other
  20. hangs and gives a DOS I/O failure.
  21.  
  22. I have a program that talks to this instrument with no problems using
  23. Perl 4.035 on a Sun (but it has to run on a PC (: ).
  24.  
  25. Thank you, Jon Meek meekj@pt.Cyanamid.COM
  26.  
  27.