comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Sending data to the serial port (Linux)?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Sending data to the serial port (Linux)? [message #37614 is a reply to message #37529] Wed, 07 January 2004 07:32 Go to previous message
Pepijn Kenter is currently offline  Pepijn Kenter
Messages: 31
Registered: April 2002
Member
> Yes I solved it with awk yesterday. I still have to try if
> cat foobar /dev/ttyS0 does the right thing, I will try that
> this evening. Will perl be an easy alternative if this simple
> solution fails?
>

Reformatting the data can also be done in perl but since you have solved
that problem in awk, there is no need to use perl.

Sending your formatted data to the serial port can be done in the (bash)
shell. If you encounter problems (e.g. wrong file permissions) try to
solve it from the shell; I don't think using perl will help you.

Don't forget the '>' character:
cat foobar > /dev/ttyS0

Pepijn Kenter.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: loading startup file
Next Topic: Maximum likelihood question (ENVI)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Tue Oct 21 09:51:42 PDT 2025

Total time taken to generate the page: 0.64171 seconds