Go to Post last year's tradition is this year's rule change! - EricH [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 24-02-2010, 15:12
grosh grosh is offline
Registered User
FRC #2147
 
Join Date: Feb 2008
Location: Spokane, WA
Posts: 100
grosh is an unknown quantity at this point
Joystick button to trigger pneumatic kicker?

Help!

Of course the robot wiring was completed at the last minute and the programmers only had about an hour to check there code. The good news is that most of there code worked flawlessly. The bad news is our pneumatic kicker did not operated as planned AND we shipped our robot yesterday so we can't debug the code.

Can someone look at our pneumatics program so we can determine if the error is our program and/or wiring before we get to our regional next week?

Specifics:

The compressor came on but the solenoid did not fire when the button was pressed.

We are using three double acting cylinders w/ three solenoids.

We want the cylinders retracted when the button is not pressed (this is what we think the false case should cause it to do).

We want the cylinders to extend when the button is pressed (this is what we think the true case should cause it to do).

Thanks- Any help would be appreciated.
Attached Thumbnails
Click image for larger version

Name:	pneumatics false.jpg
Views:	68
Size:	46.4 KB
ID:	8799  Click image for larger version

Name:	pneumatics true.jpg
Views:	55
Size:	50.7 KB
ID:	8800  
Reply With Quote
  #2   Spotlight this post!  
Unread 24-02-2010, 15:41
bstites82 bstites82 is offline
Registered User
AKA: Blake Stites
FRC #2164 (multiple)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Harrisonville
Posts: 12
bstites82 is an unknown quantity at this point
Re: Joystick button to trigger pneumatic kicker?

well you might try wiring a button to the little green questin mark on your case structure, other than that the logic seems sound
Reply With Quote
  #3   Spotlight this post!  
Unread 24-02-2010, 15:46
grosh grosh is offline
Registered User
FRC #2147
 
Join Date: Feb 2008
Location: Spokane, WA
Posts: 100
grosh is an unknown quantity at this point
Re: Joystick button to trigger pneumatic kicker?

Your right! I am at home sick today and don't have access to the programming laptop. The code I posted was recreate from memory. Our actual code does have the ?mark connected to button 8.
Reply With Quote
  #4   Spotlight this post!  
Unread 24-02-2010, 15:55
Speeder Speeder is offline
Registered User
AKA: Mr. Don
FRC #0316 (LuNaTeCs)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Salem County, NJ
Posts: 46
Speeder will become famous soon enough
Re: Joystick button to trigger pneumatic kicker?

Make sure you have the right 'getref' for the joystick connection.

Try assigning another button besides #8 in case the joystick button is bad.

One other observation, if you don't hold the button down for a moment you may not see any movement in the cylinders before it switches back to the 'false' case.

Last edited by Speeder : 24-02-2010 at 16:02.
Reply With Quote
  #5   Spotlight this post!  
Unread 24-02-2010, 16:04
grosh grosh is offline
Registered User
FRC #2147
 
Join Date: Feb 2008
Location: Spokane, WA
Posts: 100
grosh is an unknown quantity at this point
Re: Joystick button to trigger pneumatic kicker?

We probed the joystick button and it did cyle between true and false when the button was pressed.

How does the code look?

Should we add some delay?
Reply With Quote
  #6   Spotlight this post!  
Unread 24-02-2010, 16:16
Speeder Speeder is offline
Registered User
AKA: Mr. Don
FRC #0316 (LuNaTeCs)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Salem County, NJ
Posts: 46
Speeder will become famous soon enough
Re: Joystick button to trigger pneumatic kicker?

Delay is up to you and how you want the button to work. Code looks okay. For the 'True' case to work you have to hold the button down. As soon as you release the button, the loop becomes 'False'.
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
Team 1522's pneumatic kicker kornjones Robot Showcase 0 15-02-2010 20:59
pic: Pneumatic Kicker Rev_1 professor1212 Extra Discussion 6 17-01-2010 23:07
Joystick Trigger Programming dnrobotics11 C/C++ 7 09-02-2009 19:27
Programming the joystick trigger... pudgeball C/C++ 4 10-01-2009 10:25
360 Button, trigger, and joy stick? GMAdan Programming 4 16-01-2007 19:07


All times are GMT -5. The time now is 04:47.

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