Go to Post Too many hours of robotics and too little sleep causes me to forget things.... - AdamHeard [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 28-01-2014, 11:27
akash992391 akash992391 is offline
Registered User
AKA: Akash
FRC #4684
Team Role: Programmer
 
Join Date: Nov 2012
Rookie Year: 2013
Location: yonkers
Posts: 76
akash992391 is on a distinguished road
Help with Pneumatics.

Hello guys, this is our first time using pneumatics. Right now we are stuck on the compressor. Can anyone show us the wiring/labVIEW programming for the compressor? We are using a Double Solenoid and we have 1 pneumatic cylinder. All we want is to control the cylinder to shoot forward/reverse.
Reply With Quote
  #2   Spotlight this post!  
Unread 28-01-2014, 11:34
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Help with Pneumatics.

Are you familiar with the examples that are built in to the LabVIEW environment? You'll find them under the Support tab on the Getting Started screen. The Compressor With Cylinder example should give you what you need.
Reply With Quote
  #3   Spotlight this post!  
Unread 28-01-2014, 11:48
Ben Martin's Avatar
Ben Martin Ben Martin is offline
Long Distance Mentor
FRC #0225 (TechFire)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: York, PA
Posts: 460
Ben Martin has a reputation beyond reputeBen Martin has a reputation beyond reputeBen Martin has a reputation beyond reputeBen Martin has a reputation beyond reputeBen Martin has a reputation beyond reputeBen Martin has a reputation beyond reputeBen Martin has a reputation beyond reputeBen Martin has a reputation beyond reputeBen Martin has a reputation beyond reputeBen Martin has a reputation beyond reputeBen Martin has a reputation beyond repute
Re: Help with Pneumatics.

team358.org has a great whitepaper on how FRC pneumatic systems work, including the LabVIEW code you asked for.
__________________
TechFire 225 -- Website -- Facebook
2015 & 2016 MAR Champions
Past teams: 234, 1747
Reply With Quote
  #4   Spotlight this post!  
Unread 28-01-2014, 15:01
akash992391 akash992391 is offline
Registered User
AKA: Akash
FRC #4684
Team Role: Programmer
 
Join Date: Nov 2012
Rookie Year: 2013
Location: yonkers
Posts: 76
akash992391 is on a distinguished road
Re: Help with Pneumatics.

Is the compressor supposed to turn on as soon as the robot is turned on?
Reply With Quote
  #5   Spotlight this post!  
Unread 28-01-2014, 15:02
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,795
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: Help with Pneumatics.

Not until the robot is Enabled at the Driver Station.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #6   Spotlight this post!  
Unread 28-01-2014, 15:57
Qbot2640's Avatar
Qbot2640 Qbot2640 is offline
Registered User
AKA: Terry McHugh
FRC #2640 (Hotbotz)
Team Role: Mentor
 
Join Date: Sep 2012
Rookie Year: 2012
Location: Reidsville, NC
Posts: 473
Qbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond repute
Re: Help with Pneumatics.

Quote:
Originally Posted by akash992391 View Post
Is the compressor supposed to turn on as soon as the robot is turned on?
Quote:
Originally Posted by Mark McLeod View Post
Not until the robot is Enabled at the Driver Station.
Also - the compressor will come on when the stored air side pressure drops below the point set to turn it on. If you run the robot, and it ends fully charged with air, then it is probable that the compressor will not come on the next time you run until you use some of the air. (Unless there is a leak, of course.)
__________________

2012 Palmetto Regional Winners (Thanks 2059, 2815, and 287).
2012 Newton 14th Seed
2013 Chesapeake Regional Imagery Award Winners
2014 North Carolina Regional Imagery Award Winners
2014 Greater DC Regional Team Spirit Award Winners
2015 North Carolina Regional Finalists (Thanks 3971 and 587)
Reply With Quote
  #7   Spotlight this post!  
Unread 28-01-2014, 18:04
akash992391 akash992391 is offline
Registered User
AKA: Akash
FRC #4684
Team Role: Programmer
 
Join Date: Nov 2012
Rookie Year: 2013
Location: yonkers
Posts: 76
akash992391 is on a distinguished road
Unhappy Re: Help with Pneumatics.

Oh thank you so much guys. Really big help. Our compressor is working properly now. The next problem/step is controlling the Double Solenoid(Electric Valve Festo). We've tried programming it and when we pull the trigger on the joystick, the light turns on, but only on one side of the Double Solenoid. Also, how would you program it to switch where the air comes out of. So we can make the Cylinder/Pneumatic go forward and retract, with the pull of the trigger.
Reply With Quote
  #8   Spotlight this post!  
Unread 28-01-2014, 19:37
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Help with Pneumatics.

Did you look at the LabVIEW example? It shows exactly how to program a double solenoid so you can extend a cylinder with one signal and retract it with another. If you want to extend it while the trigger is pressed and retract it while the trigger is released, you can use the trigger through a NOT function to control the retract.

Last edited by Alan Anderson : 28-01-2014 at 19:39.
Reply With Quote
  #9   Spotlight this post!  
Unread 28-01-2014, 20:17
akash992391 akash992391 is offline
Registered User
AKA: Akash
FRC #4684
Team Role: Programmer
 
Join Date: Nov 2012
Rookie Year: 2013
Location: yonkers
Posts: 76
akash992391 is on a distinguished road
Re: Help with Pneumatics.

We have the compressor and the solenoid set up exactly how the example wants us to. But when we deploy the example code, on FRC driver station- the robot code won't turn green. How do you deploy the example? "Compression with cylinder"
Reply With Quote
  #10   Spotlight this post!  
Unread 28-01-2014, 22:50
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Help with Pneumatics.

The examples don't get deployed. You set the IP address of the RT CompactRIO Target (right-click it and choose Properties, then change the 10.0.0.2 in the General section to match your team number), then you just Run the example vi. It connects to the cRIO and sends the necessary code over, maintaining the connection so you can use the vi's front panel.
Reply With Quote
Reply


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 09:50.

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