Go to Post GDC.... Come on. Counter-clockwise? ... I believe NASCAR might file a lawsuit! - Pavan Dave [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 29-05-2013, 09:54
rhsphoenix rhsphoenix is offline
Registered User
FRC #2224
 
Join Date: May 2013
Location: Michigan
Posts: 2
rhsphoenix is an unknown quantity at this point
[help] Add joystick button to pneumatics bumper

Competitions are over for out team, but we are adding things to our robot for the sake of learning how the code works, etc.

We did not write the code for our robot and are trying to figure out how to add a joystick button that activates a cylinder. We already have one button on this joystick that activates a cylinder, so we just copy and pasted the code and tried to change the bumper relay, but the leds on the bumper don't react to the new code, so I'm prettysure we did something wrong.

Any help is much appreciated and I can give any info needed.

P.s: I already checked websites with labview examples . . .
Attached Thumbnails
Click image for larger version

Name:	teleop.png
Views:	64
Size:	93.5 KB
ID:	14905  Click image for larger version

Name:	begin.png
Views:	57
Size:	122.1 KB
ID:	14906  Click image for larger version

Name:	finish.png
Views:	42
Size:	317.6 KB
ID:	14907  
Reply With Quote
  #2   Spotlight this post!  
Unread 29-05-2013, 10:15
AGPapa's Avatar
AGPapa AGPapa is offline
Registered User
AKA: Antonio Papa
FRC #5895
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Robbinsville, NJ
Posts: 323
AGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond repute
Re: [help] Add joystick button to pneumatics bumper

In Begin.vi set Duel Solenoid 3-4's module to "Solenoid Module 1" like Duel Solenoid 1-2 is.

The "Solenoid Module 2" option is only used if you have two pneumatic bumpers. Presumably you only have one; I don't think that I've ever seen a team use two.
__________________
Team 2590 Student [2011-2014]
Team 5684 Mentor [2015]
Team 5895 Mentor [2016-]
Reply With Quote
  #3   Spotlight this post!  
Unread 29-05-2013, 13:10
rhsphoenix rhsphoenix is offline
Registered User
FRC #2224
 
Join Date: May 2013
Location: Michigan
Posts: 2
rhsphoenix is an unknown quantity at this point
Re: [help] Add joystick button to pneumatics bumper

Quote:
Originally Posted by AGPapa View Post
In Begin.vi set Duel Solenoid 3-4's module to "Solenoid Module 1" like Duel Solenoid 1-2 is.

The "Solenoid Module 2" option is only used if you have two pneumatic bumpers. Presumably you only have one; I don't think that I've ever seen a team use two.
Okay, I made the correction. It's still not working though :/.
Reply With Quote
  #4   Spotlight this post!  
Unread 31-05-2013, 09:06
AGPapa's Avatar
AGPapa AGPapa is offline
Registered User
AKA: Antonio Papa
FRC #5895
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Robbinsville, NJ
Posts: 323
AGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond repute
Re: [help] Add joystick button to pneumatics bumper

I am not the most experienced in double solenoids (we always use single); so I may be missing something obvious. It looks like your code should work.

Could there be a wiring error? The Double Solenoid is called "Dual Solenoid 3-4" but it uses Solenoids 7 and 8. Is it wired to 7 and 8?

Do the other functions of that joystick work? Is the other solenoid is working as it is supposed to?
__________________
Team 2590 Student [2011-2014]
Team 5684 Mentor [2015]
Team 5895 Mentor [2016-]
Reply With Quote
  #5   Spotlight this post!  
Unread 31-05-2013, 09:29
rachelholladay's Avatar
rachelholladay rachelholladay is offline
Registered User
FRC #1912 (Team Combustion)
 
Join Date: Dec 2010
Rookie Year: 2006
Location: Slidell, Louisiana, USA
Posts: 540
rachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond repute
Re: [help] Add joystick button to pneumatics bumper

Odd as it may seem, when we program dual acting solenoids, we actually program them as two single acting solenoids and simply pair them together (think identical twins). We got the idea after having pnuematic trouble and turning to team 358's website for help. Below it the link. I would scroll down to "Double Solenoid Example" and "Double Solenoid Example - alternative implementation ". We've used the alternate style for years. The website also has a description of the mechanical pnematics set-up (along with almost everything else you could want to know about a robot) if you need to check your hardware.

http://team358.org/files/programming...2009-/LabVIEW/
__________________
Carnegie Mellon School of Computer Science Class of 2017
2012 Dean's List Winner, 2011 NWCIT Award of Aspirations in Computing National Winner

2014 - : FIRST Team 3504 Girls of Steel (Mentor)
2014 Engineering Inspiration

2006 - 2013: FIRST Team 1912 Combustion (Webmaster / Controls Capt / Beta Test Lead / Drive Capt / JrFLL Coach)
2013 Woodie Flowers Finalist for Wendy Holladay. 2010 - 2013 Regional Chairman's Award at the Bayou Regional. 2011 - 2012 Best Website at the Bayou Regional. 2010 - 2013 Beta Test Team for Hardware and LabVIEW. 2012 JrFLL State Expo Coordinator.
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 08:20.

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