View Full Version : CAN failure!!!!!!!!
kuh-nig-its-EL
21-02-2012, 22:37
Okay this is vital to our robot and it's ship day. CAN runs perfectly when we run it from bdc-com. Now with any form of code it will not work. The example won't work and real code doesn't work. I can't find any other threads with solutions. The error we are seeing is MCOMM_CAN_Send.vi (insert number here) cant execute and that it's timing out. Please help.
Ethan Lopez
Did you enable the driver through the cRIO imaging tool? You need to set it to either the 2CAN plugin or the Serial plugin using that for it to work
kuh-nig-its-EL
21-02-2012, 23:07
Yes we have CAN enabled as a serial bridge
Anupam Goli
21-02-2012, 23:21
Do you have Console out enabled? What does your intialization code and wiring look like? 1 always has to be connected to the cRIO first.
kuh-nig-its-EL
21-02-2012, 23:28
We ran the example code and i did exactly as it instructed to run the code, i changed the IP to 10.19.39.2 and we have only one CAN jag and it is wired into the crio through a serial port and it has the terminator attached as well. I don't know about console out.
Alan Anderson
22-02-2012, 08:46
I don't know about console out.
Make sure it's off. The console's serial communication will interfere with the CAN serial communication. Are you using an older 8-slot or a newer 4-slot cRIO?
kuh-nig-its-EL
22-02-2012, 08:52
We are using the newer 4 slot crio. On the console out part, all i know is that it was switched to the left (not towards the modules).
Anupam Goli
22-02-2012, 11:32
Please tell me you have withheld your cRIO or have a backup. It would be very hard to debug code if you didn't. if you have, I would try and reimage the cRIO. On the 4 slot, the DIP switches are not hardware switches. Remember, when you are downloading code, have Console Out be on if you want console feedback, off if you don't need it. Make sure your CAN cables are correct. Also, are you using the BlackJaguar or the Grey/Tan one? Only the BlackJaguar has a CAN bus on it.
kuh-nig-its-EL
22-02-2012, 14:26
I will double check the the console out switch when i get a chance we do have a back up crio. We are using a black jag.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.