Re: [opensuse] howto - Read Data from Serial Port?
- From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 29 Feb 2008 00:04:19 -0600
Banning someone out of personal spite is uncalled for fascism wrote:
David C. Rankin wrote:Listmates,
A linux question. I have a phone system that will output call logs through an rs-232 cable. I would like to write a script that will read the data from the serial port and input it into a mysql table.
cat /dev/ttyS_ | data_storing_program
Thanks Theo, and Mr. fascism,
I will look at the python interface and definitely see if I can make the cat script work.
Another question, If I write a small script and "sleep" for 30 seconds or so during the loop to cut down on racing the loop, will that have any unintended consequences I should look out for?
--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] howto - Read Data from Serial Port?
- From: Curt Grimley
- Re: [opensuse] howto - Read Data from Serial Port?
- From: Banning someone out of personal spite is uncalled for fascism
- Re: [opensuse] howto - Read Data from Serial Port?
- From: Banning someone out of personal spite is uncalled for fascism
- Re: [opensuse] howto - Read Data from Serial Port?
- References:
- [opensuse] howto - Read Data from Serial Port?
- From: David C. Rankin
- [opensuse] howto - Read Data from Serial Port?
- Prev by Date: Re: [opensuse] openSUSE vs. SLED
- Next by Date: Re: [opensuse] openSUSE vs. SLED
- Previous by thread: Re: [opensuse] howto - Read Data from Serial Port?
- Next by thread: Re: [opensuse] howto - Read Data from Serial Port?
- Index(es):
Relevant Pages
|