OpenNetCF.IO.Serial - DataReceived event stops working

A

anbeyon

Hi All

I'm looking for some tips on the OpenNetCF.IO.Serial class.

I'm using it to send ASCII based commands via serial port to my Target.
When I 1st run my target application all is fine I recieve commands
and everything works. After a while (not a specific time) the target
DataReceived event stops working!

Any ideas, pointers etc..... is there something I can check.

To make it work again I have to quit my target application and restart.

Thanks in advance

Anbeyon
 
G

Guest

Did you receive an errors? Was there an overflow? Any error condition? Is
the buffer full or empty? What's the memory state at the point of failure?

-Chris
 
A

anbeyon

Thanks Chris,

just after posting I used the error event and discovered that I am
getting the following error description;

"ArgumentOutOfRangeException"

I'm not too sure what that means - i thought perhaps I should have
seen an overrun or similar.

For now when I get the error I close and then re-open the port and all
seems OK although at one point last night ALL system event handling
seemed to stop. (maybe that's un related - I'll have to play.

Thanks for the reply.

Anbeyon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top