Log in

View Full Version : LabVIEW, have throttle run motor?


jman4747
02-10-2013, 16:42
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.

Ether
02-10-2013, 17:07
Would something like this (http://www.chiefdelphi.com/forums/attachment.php?attachmentid=15251&stc=1&d=1380747974) do what you want?

jman4747
02-10-2013, 17:26
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.

Ether
02-10-2013, 17:32
The only other thing I was worried about with this section of the code was ... if I needed to put an algorithm in between the axis 3 output and the set motor

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