|
-
Dec 20th, 2007, 04:31 PM
#1
Thread Starter
New Member
[2.0] Serial Port Fails to Receive Data
Hello.
I`ve encountered a problem where a SerialPort object fails to receive incoming data.
This data is certain to be arriving (when connected to a logging application, all messages are shown), yet the DataReceived event of the object does not get raised.
This problem may occur at the beginning of the application`s runtime, or at any point during the flow of the program.
I`m certain it isn`t related to event registration, since I only register to the event once at the beginning, and I never unregister at all.
Furthermore, a test has shown that, after the SerialPort stopped receiving communications, restarting the program caused an immediate rise of the DataReceived event, with the data being everything that was missed before.
This surely means that the data was "waiting" in some buffer even between executions.
I`m highly pressed on time at the moment, and would very much appreciate any light anyone can shed on the subject. Any and every lead would be welcomed.
I thank you dearly in advance,
- Kyre.
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
|