Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Programming Motor (http://www.chiefdelphi.com/forums/showthread.php?t=90599)

cilginbilgin 31-01-2011 14:47

Programming Motor
 
I've just made some changes in Teleop.vi to make motor work but I'm if it is correct or if I missed anything. I don't know how to connect ''MotorGet'' to ''Set'' or ''Get''. Can you please help me.



Uploaded with ImageShack.us






Uploaded with ImageShack.us

Jacob C. 31-01-2011 22:13

Re: Programming Motor
 
I'm not exactly sure what you are trying to do with the motors, but I can tell you this:

With how you have it set up right now, the Motor Get Output is unnecessary. This subVI would only be used if you need to see what speed the motor is running at, but not to set it. To get the motors to run you only need to use the Motor Set Output.

Also, if you are using one of the joysticks from the Kit of Parts to run arcade drive, you should have axis 1 connected to the x-axis node of arcade drive, and axis 2 should be connected to the y-axis node of arcade drive (instead of axis 3).

I hope this helps, good luck with your robot. If you have any other questions about LabView, feel free to ask.

IisMathwizard 01-02-2011 12:54

Re: Programming Motor
 
Quote:

Originally Posted by cilginbilgin (Post 1012528)
I've just made some changes in Teleop.vi to make motor work but I'm if it is correct or if I missed anything. I don't know how to connect ''MotorGet'' to ''Set'' or ''Get''. Can you please help me.



Why do you need the throttle hooked up to the y value? Are you trying to set up a basic motor set-up? If so, you should just have the y axis hookup to the y input.

cilginbilgin 02-02-2011 07:46

Re: Programming Motor
 
THANK YOU REALLY MUCH!!!
I ve solved the problem...

IisMathwizard 02-02-2011 12:09

Re: Programming Motor
 
Well then.... GOOD LUCK! :)
See you at St. Louis


All times are GMT -5. The time now is 23:29.

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