Go to Post Winning or losing on the field has nothing to do with this success. - E. Wood [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 20-04-2009, 13:24
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,113
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: Joystick Button Issues

Quote:
Originally Posted by pyr0b0y View Post
For the motors I have them programmed to Button 3 and Button 4. I have double checked my code numerous times and the code is correct because I try the same motor with the trigger button. I have also replaced the motor to see if the motor was faulty, but that was not it either. Whenever I press the button to make the motor go forward, it starts for a spilt second, then gets stuck and stutters its way around; the same happens when I try to go backwards.
This behavior is consistent with a specific programming error. Check your software to make sure that only buttons 3 and 4 are controlling the motor. What happens if you try pressing the trigger at the same time as one of the other buttons? You might have another spot somewhere in the code where the unpressed trigger is turning the motor off.
Reply With Quote
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Joystick Button Press dboisvert C/C++ 6 07-03-2009 11:09
joystick button furiousgeorge Programming 5 07-02-2009 15:57
Programming a joystick button... programmr Programming 2 05-01-2009 16:13
Joystick Button programming Bharat Nain Programming 5 18-02-2005 11:48
Joystick Button Deference cibressus53 Electrical 3 01-11-2004 09:38


All times are GMT -5. The time now is 21:45.

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