kamocat
08-05-2010, 20:41
EDIT: I've reposted this in the CAN forum here (http://www.chiefdelphi.com/forums/showthread.php?p=961074). 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:
http://content.screencast.com/users/kamocat/folders/Jing/media/85288e82-5aec-49ba-bcaf-4783421baaec/Set%20device%20number.png
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?
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:
http://content.screencast.com/users/kamocat/folders/Jing/media/85288e82-5aec-49ba-bcaf-4783421baaec/Set%20device%20number.png
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?