Go to Post FIRST teams are made of people - students and mentors. In my humble opinion, it doesn't make one iota of difference if the name of the sponsoring organization or the name of the school changes over time. - dlavery [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 04-02-2012, 16:50
pendragoner pendragoner is offline
Registered User
AKA: Thomas Bosler
FRC #4325 (Roborangers)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Cassopolis MI
Posts: 6
pendragoner is an unknown quantity at this point
Programming joystick buttons to move window motors for a arm.

This is my teams rookie year and i have been place as Head Programmer.

Our dream for our robot is to have a arm run by the window motors that raises and lowers on top of our robot. We have the arm all set up but have no idea how to get the arm to move. Both our joysticks are already used for other task so we need to use the buttons on our second joystick to change the position. We would like to also have fixed positions but that is not a necessity we just need it to move.

The window motors (2) are connected to the victor motor controllers in pwm port 6 with a y pwm cable.

Any other information needed?

Thanks in advanced!

Last edited by pendragoner : 04-02-2012 at 18:21.
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2012, 20:09
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: Programming joystick buttons to move window motors for a arm.

This question comes up often enough, I would think it would be easy to search for the answer. In case you can't hit on the right combination of keywords, this thread should help:

http://www.chiefdelphi.com/forums/sh...hreadid=101711
Reply With Quote
  #3   Spotlight this post!  
Unread 06-02-2012, 18:20
pendragoner pendragoner is offline
Registered User
AKA: Thomas Bosler
FRC #4325 (Roborangers)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Cassopolis MI
Posts: 6
pendragoner is an unknown quantity at this point
Re: Programming joystick buttons to move window motors for a arm.

Thank you very much i programmed it and it worked right away
__________________
Roborangers Revolution Begins...NOW!
Reply With Quote
  #4   Spotlight this post!  
Unread 06-02-2012, 18:36
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,349
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Programming joystick buttons to move window motors for a arm.

Quote:
Originally Posted by pendragoner View Post
Thank you very much i programmed it and it worked right away
Now the next question comes up. Did copying the code shown in the linked thread just get it working for you, or did you actually understand it enough to build and expand on it next time? I truly hope that latter.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #5   Spotlight this post!  
Unread 07-02-2012, 19:11
pendragoner pendragoner is offline
Registered User
AKA: Thomas Bosler
FRC #4325 (Roborangers)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Cassopolis MI
Posts: 6
pendragoner is an unknown quantity at this point
Re: Programming joystick buttons to move window motors for a arm.

I understood it once I figured out what the code is. I can easy now shift and mold this code to whatever needs to be controlled by buttons.
__________________
Roborangers Revolution Begins...NOW!
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 03:56.

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