Go to Post Don't be too distracted by the shiny robots, and the games they play. Enjoy them, but keep your eyes on the real prize(s). - gblake [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
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 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
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Routing Camera output via the cRIO taichichuan C/C++ 4 28-03-2016 11:13
Set computer to receive it's IP via DHCP? grosh FRC Control System 21 28-05-2010 16:33
CAN Jaguar code set up as a VxWorks Library taichichuan CAN 0 21-02-2010 22:16
Unable to set team number Erebos FRC Control System 4 27-01-2009 17:00
Can not set team number on DS TekClaz FRC Control System 2 23-12-2008 14:25


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

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