View Single Post
  #1   Spotlight this post!  
Unread 05-02-2012, 10:42
Peragore's Avatar
Peragore Peragore is offline
CEO of Black Magic
AKA: Philip Mulford
FRC #3373 (Team Robohawk)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: US
Posts: 50
Peragore is an unknown quantity at this point
cRIO Reading wrong ports

We're having a problem coding in WindRiver. All of our Relays are functional when we assign them to the first module, but do not function when assigned to the second module. We have the digital sidecar (with relays) plugged into module 2. Why is this happening? We could probably go through and assign the different relays ports until we got it right, but we'd like a good reason why this is happening, or a way to fix it without guess work.
Thanks for your help,

Team 3373
__________________


Code:
 
while (life){
  frcObsession = true;
  obs.ProgramAndObsess();
}
if (!life) life = true;