View Single Post
  #15   Spotlight this post!  
Unread 12-02-2012, 16:45
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Compressor Control Loop: Relay Index is Invalid; also, Robot Drive not Running fa

Quote:
Originally Posted by Mark McLeod View Post
That looks correct, and it's worked for me when I've used it.
Your Driver Station reports the cRIO image version to be v43?
No conflicts for DIO 1 or Relay 1?
It was the newest version, not sure which. It was last weekend when we messed with it. I setup the cRIO for them using the latest software though.

Quote:
Originally Posted by Alan Anderson View Post
Team 1410 apparently fixed their "relay index is invalid" problem by using a good 37-pin cable between the cRIO digital module and the Digital Sidecar. I don't know why that would make a difference, unless the faulty cable was somehow keeping the module from working.
We did have one of the bad cables, and the electrical guy tried to fix it, but ended up breaking one of the clips that holds the connector together. We're using one of the old ones from last year now, so no worries there.

Anyway, we're using this code right now, which works perfectly.

Begin.vi
Click image for larger version

Name:	New Begin.vi.png
Views:	290
Size:	7.1 KB
ID:	11872

Periodic Task.vi
Click image for larger version

Name:	New Periodic Tasks.vi.png
Views:	285
Size:	8.7 KB
ID:	11873

Finish.vi
Click image for larger version

Name:	New Finish.vi.png
Views:	207
Size:	3.1 KB
ID:	11874

I'm assuming this is legal for use in competition as long as we can demonstrate that the compressor shuts off at ~120PSI, and we have the pressure relief valve installed. I'm not going to lie. I skimmed the rules when they first came out. Being a college mentor is hard. I dedicate what time I have to help out the teams I mentor. I don't remember any of the rules saying you have to use their compressor code, but I'm not 100% sure.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364

Last edited by RyanN : 12-02-2012 at 16:55.
Reply With Quote