Serial Port Write-Read Threaded function
I am developing a tool using VC++.net 2008, which is connected(using Serial Port) with a PC Board.
When I am Writing ( a Command) to the Processor(on Board) it gives certain datas and Read by my tool.This data is taking for further process. This Write-Read function is threaded and continuously do in every seconds. Initially both process has worked. But Data Write is not processing after first second.(problem is not in code-I've excluded Read process n ithas worked)
Do I clear any buffer or Serial Settings before this Write-read Application.Any experienced plz. help 2 fix it???(source code plz....)
Re: Serial Port Write-Read Threaded function
Are you using native VC++ or some .NET technology (like CLI and so on)? If latter - then ask it in the Managed C++ and C++/CLI forum.
Originally Posted by arunkr6
If the former - show your code (don't forget using Code tags)
If your App is a MFC one - see the Serial Port I/O