View Single Post
  #12   Spotlight this post!  
Unread 12-02-2012, 15:39
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

I believe this is how it should be setup, right?

Begin.vi
Click image for larger version

Name:	Begin.vi.png
Views:	240
Size:	4.7 KB
ID:	11869

Periodic Tasks.vi
Click image for larger version

Name:	Periodic Tasks.vi.png
Views:	175
Size:	1.5 KB
ID:	11870

Finish.vi
Click image for larger version

Name:	Finish.vi.png
Views:	162
Size:	2.3 KB
ID:	11871

This code should work assuming you're using DIO1 for the pressure switch and Relay 1 for the Compressor's Spike relay. Is this correct?
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364

Last edited by RyanN : 12-02-2012 at 15:42.
Reply With Quote