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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
Thanks, I wish the same to U.
I have sent u the simple sample.
Check it out
Cheers,
VinExpert
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