Go to Post Dave's grammar is broken. - Madison [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 16-02-2010, 18:16
zip100 zip100 is offline
Registered User
FRC #0640
 
Join Date: Feb 2010
Location: New York
Posts: 31
zip100 is an unknown quantity at this point
labview help

Before when I had it wired without the multiply symbol I only had constant and when I booted that in to the robot it would go by itself every time the button is pressed and there was no joystick control as seen in pic

Now I redid it according to help from others and would this allow the joystick to be half as sensitive and let me control the robot with the joystick until button one is pressed to allow a turbo mode
Reply With Quote
  #2   Spotlight this post!  
Unread 16-02-2010, 18:23
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: labview help

The way you currently have it (in the second picture) the robot will run using the joystick up to full speed when button one is not pressed.

When button 1 is pressed the joystick controls will be scaled down by the constant (.75 in your picture).
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)

Last edited by Vikesrock : 16-02-2010 at 18:34.
Reply With Quote
  #3   Spotlight this post!  
Unread 16-02-2010, 18:25
zip100 zip100 is offline
Registered User
FRC #0640
 
Join Date: Feb 2010
Location: New York
Posts: 31
zip100 is an unknown quantity at this point
Re: labview help

In the first picture, when I press button 1 the robot moves forward in one direction and is not affected by moving the joysticks.
Reply With Quote
  #4   Spotlight this post!  
Unread 16-02-2010, 18:34
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: labview help

Quote:
Originally Posted by zip100 View Post
In the first picture, when I press button 1 the robot moves forward in one direction and is not affected by moving the joysticks.
Yes, this is because you are wiring a constant .5 into the Tank Drive VI. When I referred to the "way you have it" I was referring to the second picture.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #5   Spotlight this post!  
Unread 16-02-2010, 18:36
zip100 zip100 is offline
Registered User
FRC #0640
 
Join Date: Feb 2010
Location: New York
Posts: 31
zip100 is an unknown quantity at this point
Re: labview help

OK with the second picture it will run at full speed without button one being pressed but when pressed the joystick values get cut in half. Also should I leave the axis value unbundled outside the case structure.

Last edited by zip100 : 16-02-2010 at 18:38.
Reply With Quote
  #6   Spotlight this post!  
Unread 16-02-2010, 18:38
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: labview help

Quote:
Originally Posted by zip100 View Post
OK with the second picture it will run at full speed without button one being pressed but when pressed the joystick values get cut in half.
Right now they will be 3/4 when the button is pressed. If you change the constant on the multiply to .5 then they will be cut in half.

Yes, the Axis unbundle can remain outside the case structure. That is probably the most clear as the unbundled value is needed in both cases.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #7   Spotlight this post!  
Unread 16-02-2010, 18:40
zip100 zip100 is offline
Registered User
FRC #0640
 
Join Date: Feb 2010
Location: New York
Posts: 31
zip100 is an unknown quantity at this point
Re: labview help

How would I go about cutting the motor speed in half instead of messing with the joystick. The wheels and they slip and slide a lot with the power and are uncontrollable.
Reply With Quote
  #8   Spotlight this post!  
Unread 16-02-2010, 19:03
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: labview help

I'm not sure I understand what you want to do here. Why don't you want to modify the joystick inputs before they go into the Tank Drive VI, is there something about this approach that isn't the way you want?
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #9   Spotlight this post!  
Unread 16-02-2010, 19:07
zip100 zip100 is offline
Registered User
FRC #0640
 
Join Date: Feb 2010
Location: New York
Posts: 31
zip100 is an unknown quantity at this point
Re: labview help

Sorry for the confusion, I was asking will cutting the joystick values in half give me the same effect as cutting the motor speed in half. So the max motor speed is .5 instead of one. Which one do you think is more beneficial if the robot has to much power? If it is cutting the motor speed in half how would go about doing that?
Reply With Quote
  #10   Spotlight this post!  
Unread 16-02-2010, 19:11
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: labview help

Quote:
Originally Posted by zip100 View Post
Sorry for the confusion, I was asking will cutting the joystick values in half give me the same effect as cutting the motor speed in half. So the max motor speed is .5 instead of one. Which one do you think is more beneficial if the robot has to much power? If it is cutting the motor speed in half how would go about doing that?
Cutting the actual motor speed in half requires closed loop control using a sensor such as an encoder.

The code you have is the easy way to slow down your drive motors.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #11   Spotlight this post!  
Unread 16-02-2010, 19:11
zip100 zip100 is offline
Registered User
FRC #0640
 
Join Date: Feb 2010
Location: New York
Posts: 31
zip100 is an unknown quantity at this point
Re: labview help

Ok I will try it tomorrow and will report on how it went.
Reply With Quote
  #12   Spotlight this post!  
Unread 17-02-2010, 15:32
kws4000's Avatar
kws4000 kws4000 is offline
Team Mentor - Programming
AKA: Krazy Karl
FRC #2405 (Divided by Zero)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Fruitport, MI
Posts: 164
kws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the rough
Re: labview help

If you are looking for a permanent speed reduction, I would think that you can multiply the unbundled "Y" value before sending it anywhere by something less than 1, and that would send less than the maximum voltage to the motors.
__________________
Mentoring:
1) Educating students on the ability to learn and have fun at the same time.
2) Giving back to those who made you who you are.

2009-2011 Student 2405 Electrical/Programming & Asst. Captain
2012-???? Mentor 2405 Programming/Jack-of-all-Trades
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
Labview help pedro696 General Forum 14 06-02-2010 19:34
HELP!!!! we need help w/ compressors/pneumatics for teleop/autonomous in LABVIEW rokenboker NI LabVIEW 9 05-02-2010 17:10
Question|Help in LabVIEW Rafael2215 NI LabVIEW 2 20-01-2010 10:47
Labview Help, Rookie Joraus NI LabVIEW 8 07-02-2009 17:08
help: cannot get the picture in the labVIEW program .. (was: need help!! quickly!) liad LabView and Data Acquisition 8 18-01-2006 12:20


All times are GMT -5. The time now is 11:04.

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