View Single Post
  #11   Spotlight this post!  
Unread 10-02-2013, 00:29
cdizzle cdizzle is offline
Registered User
FRC #2367
 
Join Date: Oct 2012
Location: Bay Area, CA
Posts: 42
cdizzle is an unknown quantity at this point
Re: Window Motor Problem?

Quote:
Originally Posted by Kevin Sevcik View Post
I'm having difficulty parsing what you're doing. You've wired two buttons to one case block? Are you having one button that turns the motor on/off and the second one that picks the direction? I think it'd be a lot clearer if you posted the VI or a screenshot of it.
I'm really sorry, but my code's all at the lab, so this is the best that can do for now, but I'll try to explain it as well as I can.

I have 2 case blocks. One case block is wired to button 3 on our joystick. When that case is true, it sets the motor speed to -0.9. That one works smoothly. I also have another case block which is wired to button 4 on our joystick. When that case is true, it sets the motor speed to 0.9. When I press that button, the motor moves in the right direction, but it stops and jerks forward and then stops again. Note that I haven't put anything in the false part of the case blocks.

Thanks so much for your help and once again I'm really sorry that I can't post a screen shot right now.
Reply With Quote