|
Re: Button Programming: Is this right?
The attached picture is the basic idea of what we did to run a motor using two switches, with one switch signals Forward, the other signals reverse. All you then need to do is set the different speeds for the different cases. Use the joystick buttons instead of the boolean button. Then Wire the Pink wires from the Open_motor.vi to the Set_Speed.vi.
Let me know if it was helpful.
We are using are using a three way toggle switch with the driver station user I/O, and a similar program to do about the same thing, (run a motor Forward, Reverse and Neutral). We have been successful.
|