Go to Post I thanked the tradesmen on our team the same way i do ever year with a handshake and a "thanks for helping us guys", - Mike Schroeder [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-02-2012, 22:37
kuh-nig-its-EL's Avatar
kuh-nig-its-EL kuh-nig-its-EL is offline
Registered User
FRC #1939
 
Join Date: Jan 2011
Location: US
Posts: 26
kuh-nig-its-EL is on a distinguished road
Exclamation CAN failure!!!!!!!!

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
Reply With Quote
  #2   Spotlight this post!  
Unread 21-02-2012, 23:00
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
Re: CAN failure!!!!!!!!

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
__________________
I'm right 90% of the time, so why worry about the other 3%?
Reply With Quote
  #3   Spotlight this post!  
Unread 21-02-2012, 23:07
kuh-nig-its-EL's Avatar
kuh-nig-its-EL kuh-nig-its-EL is offline
Registered User
FRC #1939
 
Join Date: Jan 2011
Location: US
Posts: 26
kuh-nig-its-EL is on a distinguished road
Re: CAN failure!!!!!!!!

Yes we have CAN enabled as a serial bridge
Reply With Quote
  #4   Spotlight this post!  
Unread 21-02-2012, 23:21
Anupam Goli's Avatar
Anupam Goli Anupam Goli is offline
PCH Q&A co-founder/Scouting Mentor
AKA: noops
FRC #1648 (G3 Robotics)
Team Role: Mentor
 
Join Date: Dec 2010
Rookie Year: 2008
Location: Atlanta, Georgia
Posts: 1,242
Anupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond repute
Re: CAN failure!!!!!!!!

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.
__________________
Team 1002: 2008-2012
Team 1648: 2012-2016
Georgia Tech Class of 2016
Reply With Quote
  #5   Spotlight this post!  
Unread 21-02-2012, 23:28
kuh-nig-its-EL's Avatar
kuh-nig-its-EL kuh-nig-its-EL is offline
Registered User
FRC #1939
 
Join Date: Jan 2011
Location: US
Posts: 26
kuh-nig-its-EL is on a distinguished road
Re: CAN failure!!!!!!!!

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.
Reply With Quote
  #6   Spotlight this post!  
Unread 22-02-2012, 08:46
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: CAN failure!!!!!!!!

Quote:
Originally Posted by kuh-nig-its-EL View Post
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?
Reply With Quote
  #7   Spotlight this post!  
Unread 22-02-2012, 08:52
kuh-nig-its-EL's Avatar
kuh-nig-its-EL kuh-nig-its-EL is offline
Registered User
FRC #1939
 
Join Date: Jan 2011
Location: US
Posts: 26
kuh-nig-its-EL is on a distinguished road
Re: CAN failure!!!!!!!!

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).
Reply With Quote
  #8   Spotlight this post!  
Unread 22-02-2012, 11:32
Anupam Goli's Avatar
Anupam Goli Anupam Goli is offline
PCH Q&A co-founder/Scouting Mentor
AKA: noops
FRC #1648 (G3 Robotics)
Team Role: Mentor
 
Join Date: Dec 2010
Rookie Year: 2008
Location: Atlanta, Georgia
Posts: 1,242
Anupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond repute
Re: CAN failure!!!!!!!!

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.
__________________
Team 1002: 2008-2012
Team 1648: 2012-2016
Georgia Tech Class of 2016
Reply With Quote
  #9   Spotlight this post!  
Unread 22-02-2012, 14:26
kuh-nig-its-EL's Avatar
kuh-nig-its-EL kuh-nig-its-EL is offline
Registered User
FRC #1939
 
Join Date: Jan 2011
Location: US
Posts: 26
kuh-nig-its-EL is on a distinguished road
Re: CAN failure!!!!!!!!

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.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:13.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi