Log in

View Full Version : Motor button programming


APrettyDucky
07-02-2012, 17:30
Hello, I am wondering how someone would program 2 different buttons on a joystick to tell a motor to go forwards and backwards.

kuh-nig-its-EL
07-02-2012, 17:38
Use an unbundle by name coming out of the joystick get and choose which 2 buttons you would like. Now, using selects specify what values (power wise) you would like to go into the motor based upon which button has a true value.
Good luck.

APrettyDucky
07-02-2012, 17:46
Use an unbundle by name coming out of the joystick get and choose which 2 buttons you would like. Now, using selects specify what values (power wise) you would like to go into the motor based upon which button has a true value.
Good luck.

Yes, I have tried that before, but how do I wire both the selects into one Motor Set Output?

kuh-nig-its-EL
07-02-2012, 17:55
This image should explain it. http://mail-attachment.googleusercontent.com/attachment/u/0?ui=2&ik=71316f1d90&view=att&th=1355a03ec491f122&attid=0.1&disp=inline&realattid=f_gydixvtm0&safe=1&zw&saduie=AG9B_P_2wdk16QMMUm2GoHgyU1NE&sadet=1328655192283&sads=BHMdejZIUGb4Ja1LIs67pM0VafQ

APrettyDucky
07-02-2012, 18:10
This image should explain it. http://mail-attachment.googleusercontent.com/attachment/u/0?ui=2&ik=71316f1d90&view=att&th=1355a03ec491f122&attid=0.1&disp=inline&realattid=f_gydixvtm0&safe=1&zw&saduie=AG9B_P_2wdk16QMMUm2GoHgyU1NE&sadet=1328655192283&sads=BHMdejZIUGb4Ja1LIs67pM0VafQ

Could you post that picture as a thumbnail or imgur link? My school's hyper-strict web filter won't allow me to see that.

kuh-nig-its-EL
07-02-2012, 18:15
http://imgur.com/1gnPX

I hope that works.

APrettyDucky
07-02-2012, 18:16
http://imgur.com/1gnPX

I hope that works.

looks like imgur is blocked too.

kuh-nig-its-EL
07-02-2012, 18:27
Hope this one works.

ehochstein
07-02-2012, 18:45
Ah! I have been having some problems with this as well, my team is switching to Labview from C++ this year and I had some problems with it. This cleared it right up!

tmohall
08-02-2012, 20:21
This image should explain it. http://mail-attachment.googleusercontent.com/attachment/u/0?ui=2&ik=71316f1d90&view=att&th=1355a03ec491f122&attid=0.1&disp=inline&realattid=f_gydixvtm0&safe=1&zw&saduie=AG9B_P_2wdk16QMMUm2GoHgyU1NE&sadet=1328655192283&sads=BHMdejZIUGb4Ja1LIs67pM0VafQ

It wanted me to log in to your schools email to see it

kuh-nig-its-EL
09-02-2012, 14:36
It wanted me to log in to your schools email to see it

If that's the case ignore that link and use the thumbnail image.