10-27-2003 02:08 AM
11-07-2003 03:06 PM
03-16-2004 01:43 AM
09-14-2004 09:29 AM
12-13-2005 09:50 PM
12-14-2005 03:03 AM
12-14-2005 11:12 AM
12-14-2005 12:02 PM
05-10-2006 01:15 PM
I have had this problem as well with a Dell Latitude laptop running XP. An external application dumps data at 38400 baud out the serial port - typically about 100 Kbyte records. About 60% of the time the transfer would fail with the Overrun error. I tried all the suggestions in this thread (increasing the system buffer size, lowering the bytes for flow control etc., decreasing the amount of time between serial port reads and nothing seemed to help).
Since the applicaiton worked flawlessly on my development system I suspected the laptop. I found another laptop ( a more recent Dell), loaded the VISA run-time and the Labview Run Time Engine and that solved the problem. The takeaway that I took from this frustrating episode is that some PCs will have unreliable behavior. I was unable to determine if it was related to how the laptop was configured (hardware or software) or related to a weak serial port hardware on the PC.
The way it looked to me was that the system had ample time to service the serial port until the overrun occurred. So my gut reaction is that some unkown Windows action (hard drive, network, other driver etc.) is doing something that is blocking me for a couple hundred milliseconds - and I'm dead.
05-11-2006 08:07 AM