Go to Post You can't please all the people all the time. The rationale of "lots of people don't like it" is not a reason to stop doing it. - Karthik [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 31-01-2011, 14:47
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
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
Reply With Quote
  #2   Spotlight this post!  
Unread 31-01-2011, 22:13
Jacob C. Jacob C. is offline
Engineer at CTR Electronics
FRC #4130 (The Blue Devils)
Team Role: Mentor
 
Join Date: Nov 2009
Rookie Year: 2009
Location: Richmond, MI
Posts: 13
Jacob C. is a glorious beacon of lightJacob C. is a glorious beacon of lightJacob C. is a glorious beacon of lightJacob C. is a glorious beacon of lightJacob C. is a glorious beacon of light
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.
__________________
FiM Volunteer
Since 2015: Controls Mentor for FRC 4130, The Blue Devils (Richmond, MI)
2009-2014: FRC Team 1718, The Fighting Pi

Full Disclosure: I am an Engineer for CTR Electronics
Reply With Quote
  #3   Spotlight this post!  
Unread 01-02-2011, 12:54
IisMathwizard's Avatar
IisMathwizard IisMathwizard is offline
Programming Mentor
AKA: Mathwizard
FRC #1248 (Titanium Allies)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Berea-Midpark High school
Posts: 60
IisMathwizard is an unknown quantity at this point
Re: Programming Motor

Quote:
Originally Posted by cilginbilgin View Post
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.
__________________

jRIO 2013 Project
Reply With Quote
  #4   Spotlight this post!  
Unread 02-02-2011, 07:46
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Thumbs up Re: Programming Motor

THANK YOU REALLY MUCH!!!
I ve solved the problem...
Reply With Quote
  #5   Spotlight this post!  
Unread 02-02-2011, 12:09
IisMathwizard's Avatar
IisMathwizard IisMathwizard is offline
Programming Mentor
AKA: Mathwizard
FRC #1248 (Titanium Allies)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Berea-Midpark High school
Posts: 60
IisMathwizard is an unknown quantity at this point
Re: Programming Motor

Well then.... GOOD LUCK!
See you at St. Louis
__________________

jRIO 2013 Project
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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