View Single Post
  #1   Spotlight this post!  
Unread 08-05-2010, 20:41
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Set Jaguar device number via cRIO

EDIT: I've reposted this in the CAN forum here. Please delete this thread.

So I finally got the time to try out CAN. However, I can't seem to address my black Jaguar.
Here's the setup:
1 black jaguar, connected to cRIO via serial
1 120 ohm resistor between CAN_H and CAN_L
Here's the code I'm using:


The enumeration command returns one element with a value of 0. If I interrupt the CAN or serial communication in any way (unplugging a cable, removing the termination resistor, or removing power to the jaguar), it returns an empty array.
There's a couple documents saying that the default device number for a Jaguar is 1. Sounds like my results are a little strange.
Pressing the "user button" on the Jaguar doesn't have any effect on the return of the enumeration command.

Is there anything I'm doing wrong?
__________________
-- Marshal Horn

Last edited by kamocat : 08-05-2010 at 22:26.
Reply With Quote