Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Error Message: The CAN Object name is invalid or unknown.

I am using CAN on a real-time desktop.  I imported the DBC file and downloaded it down to the real-time desktop pc.  I have a VI to talk to the CAN card.  I keep getting this message when I am trying to read and write to the CAN card.  Please can someone let me know what I am doing wrong?

 

NI-CAN Error.JPG

0 Kudos
Message 1 of 5
(7,047 Views)

Hello,

 

This error is stating that your VI cannot find the CAN object, whether that means that it is the CAN port, the interface or the Channel.  I believe that this is likely related to how you have configured/imported your dbc file and therefore your VI cannot find the channel you are specifying.  Please follow the exact procedure found in the link below and ensure that you addressing the correct channel and have spelled it correctly in your VI.

 

http://digital.ni.com/public.nsf/allkb/D2D8B947369F453986256F89006F40B0?OpenDocument 

 

 

Charley Dahan

Global Account Manager
0 Kudos
Message 2 of 5
(7,031 Views)

Thanks for your reply, but it appears that my CAN was set up for an extended bit header and not a standard bit header.  I just changed my CAN header to 29 bits in the VI instead of 11.

0 Kudos
Message 3 of 5
(7,022 Views)

Awesome!  Glad to here you were able to resolve your issue!

 

 

Charley Dahan

Global Account Manager
0 Kudos
Message 4 of 5
(7,020 Views)

I know you already solved your problem...

 

But I just wanted to add to those people that also see this problem when using CAN... sometimes is because you don't let the interface close correctly... so in order to fix this problem is by resetting your CAN objects by unplugging the usb cables from your computer...

0 Kudos
Message 5 of 5
(6,996 Views)