Search found 3 matches

by kh1234567890
Wed Oct 07, 2009 4:09 pm
Forum: Coding Questions
Topic: Serial Port Timeout Detection
Replies: 6
Views: 3449

Re: Serial Port Timeout Detection

Neat !

Thanks, I'll try that.

[Edit]
Works fine, just needed a short delay in the Repeat loop to stop the thread hoarding the processor.
Thanks again.

kh
by kh1234567890
Wed Oct 07, 2009 11:45 am
Forum: Coding Questions
Topic: Serial Port Timeout Detection
Replies: 6
Views: 3449

Re: Serial Port Timeout Detection

Thanks for the replies.

So when the serial port 'times out' after an interval set by SerialPortTimeouts it just closes and disappears ?

I was hoping for something more useful - I suppose it is back to the kludge of using the API timer to periodically check if any characters have appeared in the ...
by kh1234567890
Mon Oct 05, 2009 9:27 pm
Forum: Coding Questions
Topic: Serial Port Timeout Detection
Replies: 6
Views: 3449

Serial Port Timeout Detection

How do you detect that a timeout had occurred using the in-built PB 4.32 serial port functions ?

There are no obvious clues in the documentation. :(