Solved

how to switch b/w event driven and polling serial (port) communication using Visual C++?

Posted on 2004-08-03
1
396 Views
Last Modified: 2013-11-20
I need event driven serial comm to emulate hyper-terminal. I also need to polling serial port to read/write the register value from a embedded module and display it by just one button click which means sending read command and receive the value and display it. How do I do it?
0
Comment
Question by:benlian888
1 Comment
 
LVL 86

Accepted Solution

by:
jkr earned 500 total points
ID: 11715885
Check out http://msdn.microsoft.com/library/en-us/dnfiles/html/msdn_serial.asp ("Serial Communications in Win32 ") - the sample that comes with the article (http://download.microsoft.com/download/4/7/2/47291d3a-b5b5-4447-8182-4b72b505a603/4918.exe) pretty much is like HyperTerm.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
mixString challenge 36 98
while loop over for loop 7 79
ffmpeg - "rtsp://...... Operation not permitted" 4 69
Thin secure Windows 10 5 48
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now