Log in

View Full Version : Victor 888 motor controllers??


Reggie335
13-02-2013, 23:10
Can you Program Two Victor 888 motor controllers To a Button On The Joystick

Mike AA
13-02-2013, 23:12
Yes, or use a pwm Y cable.

Reggie335
13-02-2013, 23:16
Yes, or use a pwm Y cable.

Thank and is there any kind of way for us to change the speed of our motor using the Dial on our Controller Attack 3 Joystick (fc13-123)

cgmv123
13-02-2013, 23:31
Thank and is there any kind of way for us to change the speed of our motor using the Dial on our Controller Attack 3 Joystick (fc13-123)

victor.set((joystick.getZ() + 1)/2);

in Java/C++.

Reggie335
13-02-2013, 23:34
victor.set((joystick.getZ() + 1)/2);

in Java/C++.

My Team use LabView

cgmv123
13-02-2013, 23:42
My Team use LabView

That code still works, you just have to translate it.

Reggie335
13-02-2013, 23:47
That code still works, you just have to translate it.

Can you tell me how to do that????

Nirvash
14-02-2013, 00:04
Can you tell me how to do that????

This (http://i.imgur.com/VpAIZZ5.png) should do what cgmv123 had in Labview, I also added a bit that will have Button 1 control if the motor is On(With output from throttle) or off. Given that you were asking about setting a motor from a button in the first post.

Reggie335
14-02-2013, 00:18
This (http://i.imgur.com/VpAIZZ5.png) should do what cgmv123 had in Labview, I also added a bit that will have Button 1 control if the motor is On(With output from throttle) or off. Given that you were asking about setting a motor from a button in the first post.

Thank For The Help.:D

Reggie335
14-02-2013, 14:27
This (http://i.imgur.com/VpAIZZ5.png) should do what cgmv123 had in Labview, I also added a bit that will have Button 1 control if the motor is On(With output from throttle) or off. Given that you were asking about setting a motor from a button in the first post.

where do you go to,to find the button vi to program the 888 motor controllers ?

Nirvash
14-02-2013, 15:02
The button VI in the image will be in WPI Robotics Library >Robot Drive>Joysticks.

Also, a neat thing with the image I linked, is that you should be able to drag it into your VI and it should load as code.

Reggie335
14-02-2013, 17:28
now i just did that and its not turning into code :/

Nirvash
14-02-2013, 17:35
Huh, that is odd, did you save the file to disk first?

Reggie335
14-02-2013, 17:49
nope, but the computer i'm using doesn't have a disk drive

cgmv123
14-02-2013, 17:54
nope, but the computer i'm using doesn't have a disk drive

He meant the hard drive or the local drive.

Nirvash
14-02-2013, 17:57
Yea that, sorry for that. It wont work if you drag the image from a web browser, but if you drag the file from a folder on your computer, it will.

Reggie335
14-02-2013, 18:08
i don't know

Reggie335
14-02-2013, 18:20
I just want to know what to go to, to get the button label that's connected to the joystick get

Mark McLeod
14-02-2013, 18:40
I just want to know what to go to, to get the button label that's connected to the joystick get
Hover the cursor over the output node on the Joystick Get that's called "Buttons."
Right-click and choose Cluster, Class, Variant -> Unbundle by name (the first choice)
Place the icon on the block diagram
Wire the empty icon to the button node on the Joystick Get