Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Problem with the joystick (http://www.chiefdelphi.com/forums/showthread.php?t=72589)

Asmos 21-01-2009 15:14

Problem with the joystick
 
Hello
I want to know if can you control two independets motor with only one joystick, programming with labview

can you please help me:confused:

TotalChaos 21-01-2009 15:32

Re: Problem with the joystick
 
Quote:

Originally Posted by Asmos (Post 805278)
I want to know if can you control two independets motor with only one joystick

I'm pretty sure you can! How exactly do you want to control them? Maybe a few more specifics would help us.

- Austin

EDIT - And welcome to ChiefDelphi! :D

Asmos 21-01-2009 15:43

Re: Problem with the joystick
 
I was thinking that it can work, but does anybody know how to program it in labview?:]

Bryan Herbst 21-01-2009 15:44

Re: Problem with the joystick
 
As Austin said, yes you can.

To drive "Arcade style" (one joystick- X axis controls turning, y controls forward/backward) , simply wire the two axises up to the arcade drive subVI. To get to the axises, simply right click the joystick get subVI's axis output (NOT the button output), and click unbundle by name.

You can also control two non-driving motors in pretty much the same way. First you open the motor, then use the motor set speed subVI. If you want each axis to control a different motor, wire one up to the X, and one to the Y. If you want one axis to control two motors, wire both motors to the single axis.

Asmos 21-01-2009 22:21

Re: Problem with the joystick
 
thank you man, you safe my life :D

Robert Cawthon 23-01-2009 09:40

Re: Problem with the joystick
 
Don't forget that you can also use the buttons to controll the motors if you have a fixed speed in mind. Also, with a little ingenuity, you can use different buttons to send different speeds to the same motor. :cool:


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

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