Hardware Overrun Error
Question:
I am using the serial extender, and am running into a periodic problem where I receive a Hardware Overrun Error.
I know this is a pretty vague question, but can anyone provide some insight as to why this might happen?
- This the data that is returned when I set pCaptureOn
pcominfo("0#COM1","2") OK = 1
pgetbinary("0#COM1","1980488","3500") OK = 408
[ ***** HARDWARE OVERRUN ERROR ***** ]
pcominfo("0#COM1","2") OK = 0
Answer:
Basically the hardware overrun error is a result of data arriving at the serial port faster than Winbatch and the serial extender can offload it.
This can indicate...
- Not using hardware handshaking.
You may be able to fix this. Maybe not
- Receive buffer is too small. I do not think this is the issue. The serial extender has a large receive buffer.
- Some other process is chewing up *all* the cpu time and the serial extender is not getting any time to move characters from the hardware to the receive buffer.
- Baud rate is too fast for the system to keep up with it. Use lower baud rate.
- The best bet is to investigate the handshaking. That is *supposed* so solve problems like this.
Article ID: W16860
File Created: 2007:07:03:14:26:38
Last Updated: 2007:07:03:14:26:38