Go to Post We'll get through this as a community, this we know. - JaneYoung [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
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 12-02-2014, 09:58
spyla spyla is offline
Registered User
FRC #3616 (Phenomena)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: USA
Posts: 11
spyla is an unknown quantity at this point
Help: Control Jag in Labview with CAN

Hi this year we are trying to use CAN to control one of the Jag in labview. Flashed the Crio and and enabled CAN bridge. Tried running the CAN position control Encoder example. Nothing is happening.

I can connect to Jag using BDC-COMM-107 and run it fine. in the labview example i changed the Device ID to 6 which I got from BDC and changed the limits.

Is there anything I am missing?
__________________
spyla
Team 3616
Reply With Quote
  #2   Spotlight this post!  
Unread 12-02-2014, 12:08
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,558
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Help: Control Jag in Labview with CAN

Just to verify, did you run the Jaguar in Position mode with BDC-Comm?

Is the console out switch off on the cRIO?
Reply With Quote
  #3   Spotlight this post!  
Unread 12-02-2014, 12:12
spyla spyla is offline
Registered User
FRC #3616 (Phenomena)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: USA
Posts: 11
spyla is an unknown quantity at this point
Re: Help: Control Jag in Labview with CAN

yes ran the jag in position mode with BDC.

did not change the console switch on cRIO, not sure what it is currently, will check this evening, is that required for it work?
__________________
spyla
Team 3616
Reply With Quote
  #4   Spotlight this post!  
Unread 12-02-2014, 13:12
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,558
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Help: Control Jag in Labview with CAN

Quote:
Originally Posted by spyla View Post
did not change the console switch on cRIO, not sure what it is currently, will check this evening, is that required for it work?
Yes, with the console out switch on, console messages will be sent to the cRIO serial port, which will conflict with the CAN messages.
Reply With Quote
  #5   Spotlight this post!  
Unread 13-02-2014, 13:27
spyla spyla is offline
Registered User
FRC #3616 (Phenomena)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: USA
Posts: 11
spyla is an unknown quantity at this point
Re: Help: Control Jag in Labview with CAN

I put the latest firmware (107) on the jag and reflashed the cRIO and everything is working fine.
__________________
spyla
Team 3616
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 20:25.

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