Go to Post You really can't have a bad year. The only way you can is to come out of it and not learn anything. - Dan Petrovic [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-02-2011, 17:58
lucoytoa's Avatar
lucoytoa lucoytoa is offline
Programmer
AKA: Nicolas Xiong
FRC #2276 (STARS of Cypress)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Spring, TX
Posts: 20
lucoytoa is an unknown quantity at this point
Pneumatics Not Working

Can someone please take a look at our codes and tell us what may be the problem? We are not getting signal to the spikes. The spikes goes directly into the sidecar.
Attached Thumbnails
Click image for larger version

Name:	2276code2.jpg
Views:	72
Size:	101.7 KB
ID:	10026  Click image for larger version

Name:	2276.jpg
Views:	58
Size:	141.9 KB
ID:	10027  
  #2   Spotlight this post!  
Unread 08-02-2011, 18:51
Sean1038 Sean1038 is offline
Registered User
FRC #1038
 
Join Date: Jan 2010
Location: Liberty Township
Posts: 14
Sean1038 is an unknown quantity at this point
Re: Pneumatics Not Working

1) my team actually put the startcompressor.vi in teleop.vi since teleop is in a loop and it continuously runs instead of begin which runs once.
2) I would consider using the solenoid vis instead of the relays because you don't have to go through a spike.
3) you might have to experiment with the values you are sending to your solenoids-- our solenoid actuated with the values of "off" and "forward"
4) you might want to use a latch to control your solenoids because right now it only actuates while you're pressing button 2.
  #3   Spotlight this post!  
Unread 08-02-2011, 19:32
2611.Shooter 2611.Shooter is offline
Programmer
AKA: Andrew Lavery
FRC #2611 (Vectors)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2008
Location: jackson, MI
Posts: 43
2611.Shooter is infamous around these parts2611.Shooter is infamous around these parts
Re: Pneumatics Not Working

move all controls into main.vi, not the startup nodes though.

this will allow them to get an input more than once.
  #4   Spotlight this post!  
Unread 08-02-2011, 21:25
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,800
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Pneumatics Not Working

It looks like your Relay code in Teleop is using the wrong enumeration (see the red dots).
  • Delete the ennums and delete the one wire into the Relay Set.
  • Do a Create->Constant on the Relay Set input node to get the correct enum.
  • Copy and paste the enum to the places it's needed.
  • Now you can delete the enum connected to Relay Set and rewire the original Select back into it again.
If you do it right, then the red dots will disappear.

Are the Relay green/red LEDs on the sidecar lighting as you work the controls?


------------------
The compressor code goes in Begin. Please take it out of Teleop. Nothing else is required anywhere else.
It doesn't run just once. Start begins a background process that keeps going forever checking the pressure switch and turning the compressor on and off accordingly.


You should not be modifying Robot Main whatsoever.
Keep all your changes in the vi's under Team Code. That's why they call them that.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 08-02-2011 at 21:28.
  #5   Spotlight this post!  
Unread 13-02-2011, 16:28
lucoytoa's Avatar
lucoytoa lucoytoa is offline
Programmer
AKA: Nicolas Xiong
FRC #2276 (STARS of Cypress)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Spring, TX
Posts: 20
lucoytoa is an unknown quantity at this point
Re: Pneumatics Not Working

Quote:
Originally Posted by Mark McLeod View Post
It looks like your Relay code in Teleop is using the wrong enumeration (see the red dots).
  • Delete the ennums and delete the one wire into the Relay Set.
  • Do a Create->Constant on the Relay Set input node to get the correct enum.
  • Copy and paste the enum to the places it's needed.
  • Now you can delete the enum connected to Relay Set and rewire the original Select back into it again.
If you do it right, then the red dots will disappear.

Are the Relay green/red LEDs on the sidecar lighting as you work the controls?

------------------
The compressor code goes in Begin. Please take it out of Teleop. Nothing else is required anywhere else.
It doesn't run just once. Start begins a background process that keeps going forever checking the pressure switch and turning the compressor on and off accordingly.


You should not be modifying Robot Main whatsoever.
Keep all your changes in the vi's under Team Code. That's why they call them that.
Thank you for the information. It works!
__________________
FRC - STARS of Cypress, 2008, 2009, 2010
FTC - SOAR Club - 2011
FLL - DNAbots - 2009, 2010
BEST - STARS of Cypress - 2008, 2009, 2010
MATE - STARS of Cypress - 2008
MATE - SOAR Club - 2011
VEX - Discobots - 2010
Robofest - 2008
Houston: Energy City of the Future - RNKL Engineering - 2009
Closed Thread


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 16:30.

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