Go to Post Afterall, there's a thread for everything and everything in it's thread. - Molten [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 22-01-2011, 19:30
duane's Avatar
duane duane is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2003
Location: Vacaville
Posts: 98
duane is an unknown quantity at this point
Send a message via AIM to duane
Re: CAN Installation Details

Somehow, I didn't remember requiring the DS to be connected last year, but that was last year. Better notes this year for next year.

We had some success today and we have discovered at least one problem with the cRio. Ethernet port 2 does not work on the cRio. We cannot connect both the DS and the LabView computer at the same time. We have since connected Ethernet Port 1 to a hub and connected the both computers to the hub.

We can now download and run code from the LabView system after the robot is enabled with the DS.

However we are still having trouble with CAN. We can only address the first CAN Node. That is whatever CAN device is attached to the serial port works just fine. The other devices are not recognized (they continue to blink yellow).

Addressing the devices is a problem even with the BDC-COMM program. So it seems like wiring. We have gone through every possible combination of Jaguar, wire connection, and terminator. We've swapped all the different components (save the Jaguars) with parts from last years robot.

It seems like the serial to CAN translation is not occurring. The serial interface is working but the next device does not see any signal.

Is there any way to verify that the signal is on the bus?

We can get one Jaguar to work. Last year we had 10 all on CAN. I know this works. I must be missing something.
__________________
Duane Murphy
Mentor - Software
Vanden Vikings FIRST Team 701
http://www.vandenrobotics.com
Reply With Quote
  #2   Spotlight this post!  
Unread 22-01-2011, 19:41
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: CAN Installation Details

Port 2 on the cRIO is a separate NIC, and is on a separate subnet from port 1. You normally attach the camera to port 2, although if you have other devices that are supposed to be isolated to the robot, they can be connected via a hub. Port 1 is the outside port, and you should be able to have both the programming and DS laptops join the wireless AP on the robot. You can also wire both computer to the AP which is connected to port 1.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 22-01-2011, 19:51
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: CAN Installation Details

Quote:
Originally Posted by duane View Post
Somehow, I didn't remember requiring the DS to be connected last year, but that was last year. Better notes this year for next year.
It was required last year too.

Quote:
Originally Posted by duane View Post
We had some success today and we have discovered at least one problem with the cRio. Ethernet port 2 does not work on the cRio. We cannot connect both the DS and the LabView computer at the same time. We have since connected Ethernet Port 1 to a hub and connected the both computers to the hub.
Port 1 and Port 2 are on different networks. Both the deployment and the driver station packets need to be on the Port 1 network. You can use a camera or 2CAN or other Ethernet device on Port 2, just not the 2 functions you were trying.

Quote:
Originally Posted by duane View Post
However we are still having trouble with CAN. We can only address the first CAN Node. That is whatever CAN device is attached to the serial port works just fine. The other devices are not recognized (they continue to blink yellow).

Addressing the devices is a problem even with the BDC-COMM program. So it seems like wiring. We have gone through every possible combination of Jaguar, wire connection, and terminator. We've swapped all the different components (save the Jaguars) with parts from last years robot.

It seems like the serial to CAN translation is not occurring. The serial interface is working but the next device does not see any signal.
Make sure all your cables are straight through. Make sure you have 100 Ohm terminators installed. Make sure there aren't any shorts on the CAN bus (especially in the DB9 serial adapter).

Quote:
Originally Posted by duane View Post
Is there any way to verify that the signal is on the bus?
Sure, if you have a scope or a differential DAQ system.

-Joe
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 01:41.

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