Go to Post We score 8 out of 10 every match. Oh wait, that's just what it does in theory. ;) Man, I wish that theory worked. - Chriszuma [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 29-01-2010, 15:15
msk msk is offline
Registered User
FRC #2177
 
Join Date: Jan 2009
Location: Minnesota
Posts: 4
msk is an unknown quantity at this point
Already allocated ports for Relays?

My students had some weird stuff going on last night while trying to test out some of the code they wrote to turn a Relay on and off with a joystick button.

Code compiled and downloaded to the robot fine, but when enabled, the robot did nothing (even driving code that previously worked did nothing).

Switching over to the developer side, we noticed an allocation error for our Relay channel. It said that channel had already been used. We have it on the digital sidecar, using slot 6, channel 2. We have no other Relays connected, though do have Jaguars plugged into the other side of the sidecar. No where else in the code do we assign a Relay to the same channel.

Last year, we used C++ with pretty much the same code we are trying in Java now.

Any one else experience errors like this and know what we're missing?

Thanks.
Reply With Quote
 


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
90 Degree Ports for RC cardswin2005 Control System 2 10-03-2008 16:59
Calculating relays. VEN Electrical 3 24-04-2007 22:23
Programming relays railerobotics Programming 2 03-02-2006 15:00
pwms for relays reilly Motors 3 18-02-2005 15:02
SPIKE relays Andy Brockway Electrical 2 13-11-2002 13:22


All times are GMT -5. The time now is 08:51.

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