Re: read data from UART



Roman wrote:
) 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.

It depends a lot on what tools you have available, and what platform this
needs to run on. Reading searial ports is rather platform-dependent, but
on the other hand, tons of other people have already written programs to
do this for you. There's bound to be something you can use.


SaSW, Willem
--
Disclaimer: I am in no way responsible for any of the statements
made in the above text. For all I know I might be
drugged or something..
No I'm not paranoid. You all think I'm paranoid, don't you !
#EOT
.



Relevant Pages

  • Re: Same codebase for Windows CE 6 and desktop (Windows XP)?
    ... This includes a graphical user interface, reading data from the CAN bus, storing data in SQL CE, ... ... The primary target platform is Windows CE 6 with the .NET compact framework, but ideally, the same application should also run on the desktop under the .NET framework, especially the graphical user interface part for displaying measurement data. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Same codebase for Windows CE 6 and desktop (Windows XP)?
    ... The primary target platform is Windows CE 6 with the .NET compact ... Although reading data ... won't be from the CAN bus then, but from the COM port ... ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Same codebase for Windows CE 6 and desktop (Windows XP)?
    ... This includes a graphical user interface, reading data from the CAN bus, storing data in SQL CE, ... ... The primary target platform is Windows CE 6 with the .NET compact framework, but ideally, the same application should also run on the desktop under the .NET framework, especially the graphical user interface part for displaying measurement data. ... Visual Studio handles is as an solution for smart devices. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Same codebase for Windows CE 6 and desktop (Windows XP)?
    ... This includes a graphical user interface, reading data from the CAN bus, storing data in SQL CE, ... ... The primary target platform is Windows CE 6 with the .NET compact framework, but ideally, the same application should also run on the desktop under the .NET framework, especially the graphical user interface part for displaying measurement data. ... Visual Studio handles is as an solution for smart devices. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: read data from UART
    ... I need to implement application, reading data from standard serial port on PC and logging them to a file. ... With best regards, Roman Mashak. ... Try a ringbuffer pack of mine with FIFO support. ...
    (comp.programming)