What's the meaning of PCAN_ERROR_QOVERRUN ?
Posted: Tue 18. Feb 2020, 03:26
Hi all
I'm currently spying a CAN network through USB PEAK PCAN-USB Pro FD interface. I developed a custom Python 3.x application that relies on the PCANBasic.dll library under Windows 10. I log all the CAN traffic that occurs on bus by polling (250 kbits/sec, 2 nodes). The bus is not heavy loaded.
In my log I keep the timestamp of each message as given by the API ie : 1) milliseconds, 2) "milliseconds overflow", and 3) microseconds.
- milliseconds overflow is always 0...
- most of the time I can log all messages. According to the timestamps given by the PCAN-USB Pro FD I can even log 2 messages separated only by ~230 microseconds.
BUT it happens sometimes that I get the PCAN_ERROR_QOVERRUN error. In API code it's commented as "Receive queue was read too late".
I'm currently spying a CAN network through USB PEAK PCAN-USB Pro FD interface. I developed a custom Python 3.x application that relies on the PCANBasic.dll library under Windows 10. I log all the CAN traffic that occurs on bus by polling (250 kbits/sec, 2 nodes). The bus is not heavy loaded.
In my log I keep the timestamp of each message as given by the API ie : 1) milliseconds, 2) "milliseconds overflow", and 3) microseconds.
- milliseconds overflow is always 0...
- most of the time I can log all messages. According to the timestamps given by the PCAN-USB Pro FD I can even log 2 messages separated only by ~230 microseconds.
BUT it happens sometimes that I get the PCAN_ERROR_QOVERRUN error. In API code it's commented as "Receive queue was read too late".