View Single Post
  #5   Spotlight this post!  
Unread 22-11-2015, 09:05
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 508
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: LabVIEW Noob... Joystick POV hats help!

Sorry, I did not read the whole post or look at the code, now that I have, your mistake is you have multiple motor outputs in multiple loops, so some loops are telling the motor to turn on, some are turning it to turn off, you never know which command is last processed before and updated to the actual hardware.

There is one motor, there needs to be one motor set, then your program needs to control what speed you are telling it to run.

EDIT......

From your description, it sounds like you want to control 4 motors that are not on the driveline, but you RefNums are the same, I also can not see your begin, you need 4 different motor set refnums with unique names.
__________________
The sooner we get behind schedule, the more time we have to catch up.


Last edited by tr6scott : 22-11-2015 at 09:15.