Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Programming joystick buttons to move window motors for a arm. (http://www.chiefdelphi.com/forums/showthread.php?t=101968)

pendragoner 04-02-2012 16:50

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!

Alan Anderson 04-02-2012 20:09

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

pendragoner 06-02-2012 18:20

Re: Programming joystick buttons to move window motors for a arm.
 
Thank you very much i programmed it and it worked right away

billbo911 06-02-2012 18:36

Re: Programming joystick buttons to move window motors for a arm.
 
Quote:

Originally Posted by pendragoner (Post 1121184)
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.

pendragoner 07-02-2012 19:11

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.


All times are GMT -5. The time now is 11:34.

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