View Single Post
  #4   Spotlight this post!  
Unread 18-01-2014, 08:58
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
Re: Relay Set toggling between Indexes?

Quote:
Are you actually having a problem, or just trying to find out why that error message is printing?
This is a big problem because it's only that specific RelaySet that throws errors and it makes Teleop run and abort at the same rate of change of the index. During teleop, it also makes the relay light on the sidecar toggle between red and green very quickly and following no pattern. We only have one compressor also. The other RelaySets for the solenoids work fine.

Because Teleop runs/stops at the same rate as the change in relay index in this compressorloop, I'm led to believe this Relay vi is the problem.

Quote:
The error string should contain an ASCII call stack. It list the lowest node or VI->calling VI->calling VI->etc.
The call stack leads like this: ...Periodic Tasks.vi>CompressorControlLoop.vi>WPI_RelaySet.vi> RelayCache.vi
The error meassage reads: "The relay index is invalid"

The sporadic toggling of which relay index is the correct one begins in Relay set, starting with the controls; i mean sporadic in the most literal sense.
__________________
Per Audacia Ad Astra

Last edited by Invictus3593 : 18-01-2014 at 09:04.
Reply With Quote