View Single Post
  #5   Spotlight this post!  
Unread 03-22-2010, 11:22 AM
Lakedaimon's Avatar
Lakedaimon Lakedaimon is offline
Registered User
FRC #3012 (Spartans)
Team Role: Teacher
 
Join Date: Nov 2008
Rookie Year: 2003
Location: Cypress Lakes HS, Katy, TX
Posts: 23
Lakedaimon is an unknown quantity at this point
Re: cRIO upgrade v20 relay problems

Our code looks like this -

relay7.set(Relay.Value.kOn);
// delay half second
try { Thread.sleep(500);
} catch( InterruptedException e ){}
relay7.set(Relay.Value.kOff);

I think this should yield to the rest of the system and allow whatever needs to happen with the watchdog to happen, no?

Is there some code concerning the watchdog that we may not have changed like we should have?
__________________
Firmware is the most expensive thing in the universe. - Jack G. Ganssle
Reply With Quote