Link to home
Start Free TrialLog in
Avatar of drodgers
drodgers

asked on

Polling a serial connection and updating a SDI FormView.

I have a serial connection that I would like to poll in my SDI application.
How can I run my polling function in the background to update the controls on my dialog view?
Can you please direct me to where I can find information about this or where I could find some example?

Thank you for your help with this.
Avatar of Vinayak Kumbar
Vinayak Kumbar

Hi,

U can create a thread for monitoring the serial port. Then it will keep on monitoring the port, whenever a message comes, that can display tha data into the edit box of the dialog. I can give U the sample code ( if u give me ur emailID.)

Also ckeck it out in
http://codeguru.developer.com/network/commspy.shtml
and
http://www.sysinternals.com/portmon.htm

Try them out.
VinExpert
ASKER CERTIFIED SOLUTION
Avatar of Vinayak Kumbar
Vinayak Kumbar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of drodgers

ASKER

Thank you again VinExpert for your help.  I would like to look at your sample application if you don't mind.  My email address is dionrodgers@hotmail.com.  I wish you a warm holiday.
Hi,

Thanks, I wish the same to U.
I have sent u the simple sample.
Check it out

Cheers,
VinExpert