Go to Post Yo GDC I'm happy for you and I'm gonna let you finish, but Aim High was the best FRC game of all time! - Brandon Zalinsky [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Events   CD-Media   CD-Spy   FRC-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 02-07-2009, 12:12 PM
star_lancer's Avatar
star_lancer star_lancer is offline
Programming Addict
AKA: Mike Berney
FRC #2346 (CRASH)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Kansas City
Posts: 30
star_lancer is a jewel in the roughstar_lancer is a jewel in the roughstar_lancer is a jewel in the rough
Send a message via AIM to star_lancer Send a message via Yahoo to star_lancer
how to program a pneumatic cylinder in labview

could someone tell me how to program cylinders in labview?
I will have multiple cylinders, but programming one will do.
We plan on using buttons to fire them.
__________________
If you found anything I said helpful, please click the scales next to my post. I really appreciate those reputation points.
Team 2346 - Build, test, panic, repeat.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-07-2009, 06:07 PM
Luke Pike's Avatar
Luke Pike Luke Pike is offline
Programmer
FRC #1501 (THRUST)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Huntington
Posts: 114
Luke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to all
Send a message via Skype™ to Luke Pike
Re: how to program a pneumatic cylinder in labview

The Cylinders should be controlled by solenoids. Use the Solenoid Open vi to open one and use the Solenoid Get/Set vi's to control it. You can wire a joystick button directly into a Solenoid Set vi to control it if you wish.
__________________
Twitter Profile
Reply With Quote
  #3   Spotlight this post!  
Unread 02-08-2009, 04:19 PM
pyr0b0y pyr0b0y is offline
Programmer/Electrical
AKA: Josh
FRC #0253 (Mills Robotics Team)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2004
Location: Millbrae
Posts: 78
pyr0b0y is an unknown quantity at this point
Send a message via AIM to pyr0b0y
Re: how to program a pneumatic cylinder in labview

so when programming to operate the canisters, you dont need to use the compressor? i tried the solenoid open -> solenoid get/set -> close. i then have joysitck open-> joystick get-> button 1-> connected to solenoid set. will this fill the canister, and how do i go about programming for the pistons? if you can, can u post a picture of what it looks like? thx!
Reply With Quote
  #4   Spotlight this post!  
Unread 02-08-2009, 05:49 PM
Luke Pike's Avatar
Luke Pike Luke Pike is offline
Programmer
FRC #1501 (THRUST)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Huntington
Posts: 114
Luke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to all
Send a message via Skype™ to Luke Pike
Re: how to program a pneumatic cylinder in labview

What I described was for controling just a solenoids. To operate the compressor, you need to use the Compressor Open vi, specify a relay channel and the pressure switch channel, the you need to start it with the Compressor Start vi. Make sure you have all the pneumatics set up correctly. If it is, it will fill the canisters by itself until it's up to pressure.
__________________
Twitter Profile
Reply With Quote
  #5   Spotlight this post!  
Unread 02-08-2009, 06:33 PM
pyr0b0y pyr0b0y is offline
Programmer/Electrical
AKA: Josh
FRC #0253 (Mills Robotics Team)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2004
Location: Millbrae
Posts: 78
pyr0b0y is an unknown quantity at this point
Send a message via AIM to pyr0b0y
Re: how to program a pneumatic cylinder in labview

so if i add a compressor start, it will automaticlly start the compressor and fill the canisters when i deploy? then i dont need an actual control for it???or is it better if i wire it to a button on the joystick? is it possible you can post a picture of the basic structure? it would help me out a lot
Reply With Quote
  #6   Spotlight this post!  
Unread 02-08-2009, 10:32 PM
Luke Pike's Avatar
Luke Pike Luke Pike is offline
Programmer
FRC #1501 (THRUST)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Huntington
Posts: 114
Luke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to all
Send a message via Skype™ to Luke Pike
Re: how to program a pneumatic cylinder in labview

Sure. The compressor should be wired into a spike relay on the electrical panel, which should be wired into one of the relay ports on the sidecar. The pressure switch should be wired into a digital I/O on the sidecar. The attached image shows code that will start the compressor, fill up the canisters, and stop itself once the canisters get full. Once the pressure gets low again, it will run until it is full.

Now you can code solenoids and the cylinders will have air from the compressor to run.

Also, here's another post of mine showing both the compressor and two solenoids being used: http://www.chiefdelphi.com/forums/sh...367#post813367
Attached Thumbnails
Click image for larger version

Name:	compressor example.PNG
Views:	1107
Size:	2.5 KB
ID:	7371  
__________________
Twitter Profile
Reply With Quote
  #7   Spotlight this post!  
Unread 11-12-2011, 04:13 PM
Sheik Rahaman Sheik Rahaman is offline
Registered User
FRC #3748
 
Join Date: Nov 2011
Location: United States
Posts: 6
Sheik Rahaman is an unknown quantity at this point
Re: how to program a pneumatic cylinder in labview

hey can you post a picture of how you would control the solenoids?
Reply With Quote
  #8   Spotlight this post!  
Unread 11-13-2011, 08:48 AM
plnyyanks's Avatar
plnyyanks plnyyanks is offline
I do stuff.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #1418 (Vae Victus)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: Washington, DC
Posts: 700
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: how to program a pneumatic cylinder in labview

How's this? Just use Solenoid Set.vi and give it either a boolean or enum to set the solenoid to either on or off.
Attached Thumbnails
Click image for larger version

Name:	Untitled.png
Views:	787
Size:	3.0 KB
ID:	11066  Click image for larger version

Name:	Untitled1.png
Views:	591
Size:	14.4 KB
ID:	11067  
__________________
Phil Lopreiato
"It's a hardware problem"
Check out FRC Notebook - for keeping track of your thoughts at competitions (perfect for volunteers and scouters)
Reply With Quote
  #9   Spotlight this post!  
Unread 11-14-2011, 02:48 PM
Sheik Rahaman Sheik Rahaman is offline
Registered User
FRC #3748
 
Join Date: Nov 2011
Location: United States
Posts: 6
Sheik Rahaman is an unknown quantity at this point
Re: how to program a pneumatic cylinder in labview

great thanks!
Reply With Quote
  #10   Spotlight this post!  
Unread 02-10-2012, 06:18 PM
sebehr sebehr is offline
Registered User
FRC #0236
 
Join Date: Jan 2012
Location: Connecticut
Posts: 2
sebehr is an unknown quantity at this point
Re: how to program a pneumatic cylinder in labview

Here's a site that I've found that has helped out team a lot. Team 358 has a bunch of simple of examples.

http://team358.org/files/programming...2009-/LabVIEW/
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you program joystick buttons in LabVIEW? darkpheonix NI LabVIEW 10 04-13-2014 09:20 AM
How to program relay in labVIEW? frcchile NI LabVIEW 1 01-16-2009 12:36 PM
Pneumatic Cylinder yanksrock777 Technical Discussion 2 02-20-2007 10:01 AM
Pneumatic cylinder size bruss6 Pneumatics 8 02-16-2007 03:37 PM
Pneumatic Cylinder Length billy Technical Discussion 2 01-10-2003 07:30 AM


All times are GMT -5. The time now is 10:09 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi