Go to Post I had a life before FIRST - I just can't remember what it was. - Tom Ore [more]
Home
Go Back   Chief Delphi > Technical > Pneumatics
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 09-02-2014, 20:34
DangitDrBob DangitDrBob is offline
Registered User
FRC #4135
 
Join Date: Jan 2014
Location: Modesto, CA
Posts: 6
DangitDrBob is an unknown quantity at this point
Compressor will not start!

Hello! Team 4135 Programmer here.

We are having issues with our compressor. It will not start when we tell it to with our program. We are using C++ and Wind River to program it. We do not get any errors when compiling the program, and our robot does everything else that it is supposed to. We have the Vex Spike relay plugged into the compressor and the digital side car relay port 1. The Pressure Switch is plugged into the digital side car Digital I/O port 1. All of the code that pertains to the compressor is as follows (but in the right spots):

Compressor Ac; //Declaring the compressor
Ac(1,1), //Digital I/O port 1, Relay port 1
Ac.Start(); //Run the compressor

If you want the whole code I have attached it in a .txt file so that you can see the whole thing. We have tried to program the compressor purely as a relay ( Relay Ac; Ac(1); Ac.Set(Relay:: kOn); ) The Spike relay does not change colors from the default red/orange when we run the program. We have tested the Spike relay and its fuse and both are working properly. We have tried swapping all of the wires involved. The Digital Side Car's power lights are lighting up (all three), but the LED lights next to the relay port are NOT lighting up. We tested the compressor by hooking it up directly to a battery and it worked. We have tried using a brand new Digital Side Car but to no avail. We think think the problem may be with DSC, the cRIO or something in that area. Any suggestions would be greatly appreciated!! Thanks!
Attached Files
File Type: txt 2014RobotCode.txt (3.2 KB, 34 views)
 


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 05:35.

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