|
-
April 8th, 2010, 11:48 PM
#1
UI Freeze while transmitting via RS232
Hi all,
I'm having a problem, my UI freeze while I transmit and receiving data thru RS232. The program works just that the UI freeze for a while. It return to normal after the Tx/Rx completed in RS232. I wonder why. I try many things like Update the UI thru invalidata and updatewindow method in the function that sends the data but it doesnt help at all. Pls help, tq.
-
April 9th, 2010, 03:51 AM
#2
Re: UI Freeze while transmitting via RS232
You should move your code for RS232 communications to the secondary thread(s)
Victor Nijegorodov
-
April 9th, 2010, 11:25 AM
#3
Re: UI Freeze while transmitting via RS232
Ditto. You need to create a worker thread for the transmitting/receiving of the data.
Viggy
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|