View Single Post
  #2   Spotlight this post!  
Unread 18-02-2014, 09:38
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is online now
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,717
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: HELP: 2 Motors 1 Button in LabVIEW

The issue is, you have multiple values going into those motors at one time. If button 4 is not pressed and the trigger is pressed you are feeding both a value of 0 and a value of -1 into x motor at the same instant. You'll need to set the code up so you only have one set for each motor being used at any given time.
Reply With Quote