11-18-2008 03:47 AM
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
11-24-2008 09:52 AM
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.