View Single Post
  #1   Spotlight this post!  
Unread 17-01-2014, 21:19
Invictus3593's Avatar
Invictus3593 Invictus3593 is offline
time you like wasting is not wasted
FRC #3593 (Team Invictus)
Team Role: Leadership
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Tulsa, OK
Posts: 318
Invictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really nice
Relay Set toggling between Indexes?

During testing we noticed we are getting error "-44040: invalid relay index"

Upon further investigation, we noticed that inside our compressor control loop (in periodic tasks) the WPI_RelaySet.vi is somehow toggling between relay 1, 2, and 3 by itself and also switching between forward, reverse and off relay modes.

I probed the inputs to this subvi inside the compressor control vi, everything is perfect. RelaySet should be getting Relay 1 as the index and forward as the relay mode, but probing inside RelaySet, even the controls are toggling uncontrollably.

We do use two other relays (solenoids) but they're on totally different controls. I checked and we don't have the same relay set anywhere else in the project.

Anyone know what's going on? This is causing us headaches and lots of frustration ....
__________________
Per Audacia Ad Astra
Reply With Quote