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