View Single Post
  #1   Spotlight this post!  
Unread 14-03-2014, 07:53
chip1264 chip1264 is offline
Registered User
FRC #3224
 
Join Date: Jan 2014
Location: United States
Posts: 1
chip1264 is an unknown quantity at this point
Spike relay only works in reverse

We have a window motor connected to a spike relay and our Labview code is able to manipulate it in both directions but when we flash the cRio and load our Java code, the relay only runs in reverse.

We have tried multiple scenarios trying to track down the issue and these have included: changing the constructor (new relay(1); new relay(1,1); new relay(1,1,kBoth), we have changed the code and replaced the kReverse, which works, to kForward. We have even verified that kForward has a value of 2 by outputing the value to the dashboard.

When we watch the relay, reverse does turn the LED red but forward never changes to green.

Team 3224
Lion Hit Squad
Reply With Quote