Quote:
Originally Posted by Kevin Sevcik
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.