|
Re: Constant running motor
You need to remove the '0' you have at the top (and leave the terminal disconnected).
If you look inside the Joystick "Get Values" function, you will see that the value received from the joystick is divided by this value. And since you cannot divide by 0, LabVIEW calls this infinity. Finally it puts it in the 1 to -1 range, so it will always output '1', which is full speed forward.
__________________
Programming in LabVIEW? Try VI Snippets!
FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
|