View Single Post
  #1   Spotlight this post!  
Unread 03-12-2010, 04:09 PM
TheGrassyNull~ TheGrassyNull~ is offline
"-TheGrassyNull-"
FRC #3012
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Katy, Tx
Posts: 1
TheGrassyNull~ is an unknown quantity at this point
Exclamation cRIO upgrade v20 relay problems

The relay code behavior appears to have changed when we updated the cRio firmware from v19 to v20.

The relay is set into forward only mode. When a joystick button is pushed, the relay is turned "on" (sets it to kOn). Our code then sleeps for 500 ms, then turns the relay off (sets it to kOff).
Before the update to v20, this worked as expected. The relay light would turn green for half a second, then turn back to amber. Now, it only stays green for maybe a tenth of a second. We increased the sleep time to several seconds, but it is having no effect. It seems like the relay code is turning itself off. Any ideas about what could have happened?

Last edited by TheGrassyNull~ : 03-12-2010 at 04:23 PM.
Reply With Quote