Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Can you increase the limit on number of NI-CAN messages?

There is a limit to the number of CAN objects that can be set up using the NI-CAN driver call ncConfigCANObj.

Is it possible to increase or otherwise work around this limit?

 

Below is the error message encountered when breaking the limit:

 

Error -1074388736 occurred at NI-CAN Configure
CAN Object
(ncConfigCANObj.vi)

Possible reason(s):
NI-CAN:  (Hex 0xBFF62100) Exceeded limit for total number of messages. Solution: For Channel API, decrease the
number of messages; For Frame API, decrease number of CAN Objects that receive data by using the Network
Interface to receive frames.

 

Any suggestions welcome.

 

Thanks,

Olof

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

Hello Olof,

 

Unfortunetely, there is now way to get around this limit.  Some of the reasons for this is that determinism starts becoming a problem if the number of objects increases.  You can see more information about this in this knowledgebase.

 

I would sugget to post your code and we can try to help you find ways of simplifying it and using less objects/messages.

 

Have a great week.

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