Go to Post I know that this might be a foreign concept but teams help each other out all the time. - Al Skierkiewicz [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 15-11-2010, 15:05
Team 3270 Team 3270 is offline
Registered User
FRC #3270
 
Join Date: Jan 2010
Location: Monroe, NC
Posts: 15
Team 3270 is an unknown quantity at this point
Control a motor without the use of the joystick

How can you control a motor without using a joystick. I need to know for one of my class exercises. What code would I need to use to figure out this problem.
Reply With Quote
  #2   Spotlight this post!  
Unread 15-11-2010, 15:10
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
Re: Control a motor without the use of the joystick

Look at the examples...the 'Motor Control Example' uses a simple slider control on the screen.
__________________
Jon Mittelman

Senior Judge Advisor New England & Israel 2014-2015
Infinite Loop Mentor 2011-2015
TechnoTicks Mentor 2000-2011
Championship Chairman's Award 2009 Team236 TechnoTicks
Judge 2010-2015 Championships
Senior Judge Advisor New England District Championship 2014-2015
Judge Advisor Tel Aviv Regional 2007-2015
Judge Advisor Pine Tree Regional 2013
Maine Regional Planning Committee
New England District Planning Committee
Lead Inspector Microsoft Tel Aviv Regional 2006-2008
Judge & Lead Inspector GM/Technion Tel Aviv Regional 2006
Judge UTC Hartford Regional 2006
Reply With Quote
  #3   Spotlight this post!  
Unread 15-11-2010, 16:10
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,347
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Control a motor without the use of the joystick

Quote:
Originally Posted by Team 3270 View Post
How can you control a motor without using a joystick. I need to know for one of my class exercises. What code would I need to use to figure out this problem.
Many of us here can point you in the right direction to find your answer. The problem is, we need to know what direction you need to go.
What I am asking for is more information on what you need to do with the motor. What do you expect it to do, what inputs can you provide if the joystick is not an option. That is the type of thing we need to know to help you.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #4   Spotlight this post!  
Unread 16-11-2010, 14:15
Team 3270 Team 3270 is offline
Registered User
FRC #3270
 
Join Date: Jan 2010
Location: Monroe, NC
Posts: 15
Team 3270 is an unknown quantity at this point
Re: Control a motor without the use of the joystick

I want to be able to control the motors through the inputs on the computer, not the joystick. I want to be able to go onto the driver station and use the inputs and controls on the screen to make the robot move forward and backwards.
Reply With Quote
  #5   Spotlight this post!  
Unread 16-11-2010, 20:04
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Control a motor without the use of the joystick

Oh, you mean you want to use the computer's GUI to control the robot?
I think your best option would be to use the Driver Station's simulation of the PSoC I/O.

While it would be nice to build an application to send whatever info you want to the robot, this is not allowed within the rules of FRC.
__________________
-- Marshal Horn
Reply With Quote
  #6   Spotlight this post!  
Unread 16-11-2010, 20:25
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
Re: Control a motor without the use of the joystick

Quote:
Originally Posted by Team 3270 View Post
How can you control a motor without using a joystick. I need to know for one of my class exercises. What code would I need to use to figure out this problem.

I still think you would be better off using a simple example and control it from your computer using the slider by simply selecting the RUN icon. Be sure and use the example project and make sure the IP address for the project is the same as the cRio is formatted for.

You can then control the robot from the motor control.vi's Front Panel by using the slider.
__________________
Jon Mittelman

Senior Judge Advisor New England & Israel 2014-2015
Infinite Loop Mentor 2011-2015
TechnoTicks Mentor 2000-2011
Championship Chairman's Award 2009 Team236 TechnoTicks
Judge 2010-2015 Championships
Senior Judge Advisor New England District Championship 2014-2015
Judge Advisor Tel Aviv Regional 2007-2015
Judge Advisor Pine Tree Regional 2013
Maine Regional Planning Committee
New England District Planning Committee
Lead Inspector Microsoft Tel Aviv Regional 2006-2008
Judge & Lead Inspector GM/Technion Tel Aviv Regional 2006
Judge UTC Hartford Regional 2006
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Joystick Read VI and Passing Variables to the Control Stealth NI LabVIEW 3 24-01-2010 12:59
Is it possible to use CAN, a camera, and the wireless without the 2Can adapter? Steven Sigley CAN 4 22-01-2010 16:50
Camera servo control off of the Joystick axes m3rc1l3ss NI LabVIEW 5 13-03-2009 20:00
Can any one help us with programing the encoder to control the motor by ticks? Must Be Drama NI LabVIEW 4 09-02-2009 20:54
Why use the RC to control Pan/Tilt Joe Hershberger Programming 15 30-01-2007 23:41


All times are GMT -5. The time now is 08:25.

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