WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Serial
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

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...

  1. Not using hardware handshaking. You may be able to fix this. Maybe not

  2. Receive buffer is too small. I do not think this is the issue. The serial extender has a large receive buffer.

  3. 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.

  4. Baud rate is too fast for the system to keep up with it. Use lower baud rate.

  5. 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