Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Victor 888 motor controllers?? (http://www.chiefdelphi.com/forums/showthread.php?t=113461)

Reggie335 13-02-2013 23:10

Victor 888 motor controllers??
 
Can you Program Two Victor 888 motor controllers To a Button On The Joystick

Mike AA 13-02-2013 23:12

Re: Victor 888 motor controllers??
 
Yes, or use a pwm Y cable.

Reggie335 13-02-2013 23:16

Re: Victor 888 motor controllers??
 
Quote:

Originally Posted by Mike AA (Post 1233043)
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

Re: Victor 888 motor controllers??
 
Quote:

Originally Posted by Reggie335 (Post 1233045)
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

Re: Victor 888 motor controllers??
 
Quote:

Originally Posted by cgmv123 (Post 1233058)
victor.set((joystick.getZ() + 1)/2);

in Java/C++.

My Team use LabView

cgmv123 13-02-2013 23:42

Re: Victor 888 motor controllers??
 
Quote:

Originally Posted by Reggie335 (Post 1233060)
My Team use LabView

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

Reggie335 13-02-2013 23:47

Re: Victor 888 motor controllers??
 
Quote:

Originally Posted by cgmv123 (Post 1233065)
That code still works, you just have to translate it.

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

Nirvash 14-02-2013 00:04

Re: Victor 888 motor controllers??
 
Quote:

Originally Posted by Reggie335 (Post 1233068)
Can you tell me how to do that????

This 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

Re: Victor 888 motor controllers??
 
Quote:

Originally Posted by Nirvash (Post 1233079)
This 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

Re: Victor 888 motor controllers??
 
Quote:

Originally Posted by Nirvash (Post 1233079)
This 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

Re: Victor 888 motor controllers??
 
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

Re: Victor 888 motor controllers??
 
nope, but the computer i'm using doesn't have a disk drive

cgmv123 14-02-2013 17:54

Re: Victor 888 motor controllers??
 
Quote:

Originally Posted by Reggie335 (Post 1233446)
nope, but the computer i'm using doesn't have a disk drive

He meant the hard drive or the local drive.


All times are GMT -5. The time now is 02:22.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi