|
Re: Joystick Buttons?
your set speed to 0 would be in the false statement of the interior case statement.
This would make the motor stop when no buttons are pressed but if one or the other is, it will send that value.
-so I will walk you through it (I don't have Labview on this computer)
Open Motor
get button 5
___Case statement
_____true
________set speed to Right Crab speed inverse
_____false
________get button 4
________Case Statement
__________true
_____________set speed to Right Crab speed
__________false
_____________set speed to 0
__________________
ALWAYS a mechanical problem!
Last edited by rhoads2234 : 16-02-2009 at 16:27.
Reason: make the code clearer
|