read data from UART
- From: "Roman Mashak" <mrv@xxxxxxxx>
- Date: Wed, 28 Nov 2007 18:51:55 -0800
Hello,
I need to implement application [this is not a homework], reading data from
standard serial port on PC and logging them to a file. Is there any classic
way to do that? I heard ring buffer would be useful, are there any hints on
this subject to read about?
Also, I believe it'd better to use threads - one to read data, another to
write the log? Is it correct concept, ot not? I'd be glad to get some links
to read.
Thanks.
With best regards, Roman Mashak. E-mail: mrv@xxxxxxxx
.
- Follow-Ups:
- Re: read data from UART
- From: Sjouke Burry
- Re: read data from UART
- From: gw7rib
- Re: read data from UART
- From: Willem
- Re: read data from UART
- Prev by Date: Re: read data from UART
- Next by Date: ignore
- Previous by thread: Re: WHERE DOES SPACE BEGIN BEFORE SPACE EXISTS =?ISO-8859-15?Q?_??_(QUIT_HURTING_BY_OTHER_KMD_USA)_..._MASS_PRODUCTION?= OF SPACE HAPPENS BY VORTICES OF SUPERSUPERSUPERSUPERSUPERMASSIVE BLACK HOLES THAT ARE AT LEAST 1 MILLION TIMES THE SIZE OF THE BIGGEST OF CURRENTLY KNOWN BLACK HOLES ..... WHERE DOES SPACE BEGIN BEFORE SPACE =?ISO-8859-15?Q?_EXISTS_??_EVIDENCE_PROOF_NEVER_OPINION_OF_WHERE_SPACE_?= STARTS, BEGINS, ORIGINATES FROM, IN SUPERSUPERSUPERSUPERSUPERSUPERMASSIVE BLACK HOLES AS PHYSICAL ABUSED BY EXCEPT KMD SINCE 1/21/2001 FROM USA...... (RAPED BY EXCEPT KMD INTELLECT FROM USA AND UN SINCE 1/21/2001 DUE TO PHYSICAL ABUSE BY EXCEPT KMD BRAIN OF KMD AND COMMUNICATIONS MADE BY KMD SINCE 1/21/2001) ... NON-SALES A N D SUPPOSED TO BE POSTED IN alt.fan.u2 AND alt.testing.testing AND alt.fan.madonna AND alt.fan.u2 AND alt.religion.christian.roman-catholic AND alt.religion.christian.baptist AS ILLEGALLY SEARCHED AND SEIZED WITHOUT WARRANT SINCE YEAR 2003) ..... Effective January 1, 0000 until infinity:PLEASE READ EVERY ELECTRONIC MAIL AND NEWSGROUP POST MADE BY KENNETH MARTIN DOLAN, SOCIAL SECURITY NUMBER 317-84-6287 IN U2MUSICALFAN IN GOOGLE.COM NEWSGROUPS AND u2-rocks IN YAHOO.COM NEWSGROUPS AND madonna-ray-of-light IN YAHOO.COM NEWSGROUPS ....
- Next by thread: Re: read data from UART
- Index(es):
Relevant Pages
|