Go to Post Never underestimate the ability of a team of high school students and engineers to break expensive things. - Alan Anderson [more]
Home
Go Back   Chief Delphi > Technical > National Instruments LabVIEW and Data Acquisition
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 04-02-2009, 19:22
dr_jack3l dr_jack3l is offline
Registered User
FRC #2147
 
Join Date: Feb 2009
Location: Spokane
Posts: 3
dr_jack3l is an unknown quantity at this point
Speed Control

Hey, im currently doing a build in labview with 6 motors, 4 on 1 joystick and 2 on the other, and one of my motors is going too fast. Im trying to figure out how to set up a speed control so that I can set my speed manually on the motor, but I cant figure out how to set it correctly because If i set it up as as 'moter' rather than 'drive', I cant input my joystick. Could someone please help me?
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2009, 23:16
airnate airnate is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: southeastern CT
Posts: 93
airnate is a jewel in the roughairnate is a jewel in the roughairnate is a jewel in the rough
Re: Speed Control

You should be able to do what you want; i.e. manually control the motor using the joystick outputs and the motor SetSpeed.vi.

If you are starting from the Basic Robot Main you should be careful not to wire the Drive references from the RobotDrive.lvlib:Open2Motor.vi into the Motor vis. Contrary to its name, the Open2Motor opens a RobotDriveDevRef, which, if wired to a Motor vi like SetSpeed.vi will break the wire. This is because the SetSpeed.vi requires a MotorControlDevRef. You can get the MotorControlDevRef by calling something like Open Jaguar.vi

All of this may be irrelevant, as I am just guessing at what your problem is. Can you show us a picture of your code, or upload the code?

You didn't indicate what prevents you from doing what you're trying to do. Is the VI broken when you try to wire it a certain way?
Reply With Quote
  #3   Spotlight this post!  
Unread 13-02-2009, 18:09
dr_jack3l dr_jack3l is offline
Registered User
FRC #2147
 
Join Date: Feb 2009
Location: Spokane
Posts: 3
dr_jack3l is an unknown quantity at this point
Re: Speed Control

nothing is preventing me, I just can't figure it out. Where do I find that set speed vi?
Reply With Quote
  #4   Spotlight this post!  
Unread 14-02-2009, 14:35
airnate airnate is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: southeastern CT
Posts: 93
airnate is a jewel in the roughairnate is a jewel in the roughairnate is a jewel in the rough
Re: Speed Control

The motor palette has a SetSpeed.vi and it's it in

WPI Robotics Library->Actuators->MotorControl
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
can we control the amount of air to control the speed of the cylinder? Team2339 Pneumatics 22 11-02-2009 15:33
Drive Control, Wheel Speed Calibration, and Rapid Speed Changes 7-11number1 Programming 3 23-01-2008 20:36
Speed Control Sparks agndoggieboi General Forum 8 09-01-2007 08:26
switch speed control wayne 05 Programming 6 01-10-2003 09:35
speed control punarhero Technical Discussion 11 24-01-2002 18:03


All times are GMT -5. The time now is 18:35.

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