LabVIEW, have throttle run motor?

Have been trying to have my kop joystick throttle (axis 3) to vary the “set output” for my shooter motor if button 2 is pressed and boutton 3 is not pressed. As for boutton three when it is pressed the shooter should be and so far has been, running at %90 (.9 in LV). what am I doing wrong in these case structures?

*In the one photo B=bouton.

B2 on.JPG


All off.JPG


B2 on.JPG

All off.JPG

*Would something like this do what you want?

*





Thanks that looks good. I,ll try it and see. The only other thing I was worried about with this section of the code was if the axis 3’s output numbers were 0-1 or not and if I needed to put an algorithm in between the axis 3 output and the set motor input so set motor did the right thing with it.

If so, break the wire at the red arrow and insert your code there.

*