View unanswered posts | View active topics It is currently Wed May 22, 2013 12:50 pm



Reply to topic  [ 2 posts ] 
 timeout cause? 
Author Message

Joined: May 27, 2007
Posts: 689
Location: NC
Post timeout cause?
I have a script that reads a serial port (serialport X) But it gets timeout errors randomly.
Is there a way to figure out where in the script it hangs?


Fri Aug 14, 2009 8:02 am
Profile
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 11692
Location: Texas
Post Re: timeout cause?
The best approach is probably to add logging statements before and after any code that might hang.

_________________
Image


Fri Aug 14, 2009 9:02 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.