Go to Post It really is disconcerting to hear those chains rattling above your head. I think their effect was psychological more than anything else. - Greg Marra [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 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
 


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


All times are GMT -5. The time now is 03:40.

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