02-02-2012 12:01 PM
02-02-2012 01:00 PM
Easiest way is to use the "Unbundle" function to get the button you're looking for, and a "Select" function that to send a value to the motor when the button is pressed and 0 to the motor when the button is not pressed. The wire coming out of the select goes to the motor speed VI. Looks a bit like this (mocked up, on a computer that has LabVIEW but not the FRC tools):