Re: Serial port reading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message -----
From: "Hernan Rohner" <hhrohner@xxxxxxxxxxxxx>
To: <psyche-list@xxxxxxxxxx>
Sent: Monday, April 28, 2003 12:24 PM
Subject: RE: Serial port reading


> John: thanks for your reply. Sorry, but i totally misexpressed myself.
>
> What you said is totally right, the data I'm getting ascii data through an
> RS232 port.
> Now the thing i have to do is the box you're telling me, that is, since I
> couldn't find any hardware that makes the conversion between RS232 and
LPT,
> i have to do it myself with my linux box and some software to open the
RS232
> port, read, close and then send that data to the LPT port (open, write,
> close).
>
> The thing is that I wish to find out is which scripting language would be
> the easiest to do that.
> Thanks a lot
> Regards

Ok, I don't know if you can deal with any delay in your data feed or not.
If you can, I've used some print spoolers in that past (mid 90's) that did
serial to parallel conversions.  Also check out this link:
http://www.telebyteusa.com/catalog/products/109A.htm for Telebyte's model
109A bi-directional parallel to serial converter...I believe it's also got a
small buffer which could introduce some delay.  Also Lantronix makes some
boxes that convert RS232 to ethernet, you could read the data right off your
LAN.

As far as language, I'm not a programmer but I'd guess a simple C program
that polled the parallel port for data and wrote said data to a text file
wouldn't be too difficult.

John Guynn



-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux