Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Overflow in the CAN communication chip

Hi,

 

I received this error from a CAN Read vi :

This error -1074388920 occurs in : CAN Read (Multi-Chan Single-Samp 1D Dbl).vi

- NI-CAN:  (Hex 0xBFF62048) Overflow in the CAN communication chip.  This error occurs when frames are received back-to-back for long periods.  Solutions: Set Series 2 Filter Mode to filter out frames; Dedicate entire CAN card to receive high busload (transmit with 2nd card, receive another network with 2nd card instead and 2nd port).

 

The can communication is initialised with no frequency, so it gets each new frame. We use only one interface of the can CARD, so we can't add a 2nd card for high busload problem.

We try to put the filter mode parameter to Series 2 in the can init, but nothing change, perhaps I made a mistake here.

 

The loop which gets data from can runs at 200Hz. Our hardware send data to this interface at an higher frequency. But with our initialisation type of the can, we should get the last read value?

 

Our Hardware & Software:

Labview RT 8.0

Ni-CAN 2.3.2

Use of a PXI with an MXI-4 card in the RT target.

PXI-8461 Series 2 CAN card

 

If someone have any advice...

 

Best Regards

Julien

 

0 Kudos
Message 1 of 2
(6,529 Views)

Hi Julien,

 

First off, I would upgrade to the latest driver that supports your LabVIEW version.  In this case, I believe it is version 2.5.2.

 

Then, I would look at the Series2 filter mode example from the example finder (its in the frame API folder, but the same settings can be used in the channel API...its just a nice tutorial like example to look at).  It sounds like you enabled filtering, but if you did not change the default mask/comparator, you will receive everything...so even though the filters are enabled, they are not doing anything.

 

Let me know if that helps.

O. Proulx
National Instruments
www.ni.com/support
0 Kudos
Message 2 of 2
(6,397 Views)