Go to Post i met ANDY BAKER and D.J... they are awesome! - Arefin Bari [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 06-02-2011, 15:09
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: Making Joystick buttons control moters

Here are two similar, common ways to do this in Labview. The first way uses two Select statements and allows you to later change the motor power in both directions if you decide you don't want full power. You can also replace one of the select statements with a Boolean to Integer conversion.
Attached Thumbnails
Click image for larger version

Name:	Buttons2.jpg
Views:	151
Size:	23.7 KB
ID:	10006  Click image for larger version

Name:	Buttons.jpg
Views:	121
Size:	21.6 KB
ID:	10007  
__________________


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
  #2   Spotlight this post!  
Unread 06-02-2011, 15:17
Slothbron's Avatar
Slothbron Slothbron is offline
Registered User
AKA: Nathan
FRC #3216 (Missoula Robotics Team)
Team Role: Engineer
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Montana
Posts: 35
Slothbron is an unknown quantity at this point
Re: Making Joystick buttons control moters

Quote:
Originally Posted by Vikesrock View Post
Here are two similar, common ways to do this in Labview. The first way uses two Select statements and allows you to later change the motor power in both directions if you decide you don't want full power. You can also replace one of the select statements with a Boolean to Integer conversion.
I will give this a try and see if it does what i want it to. Thanks
__________________
MRT 3216
2010- Salt lake City Highest Rookie Team seed
Reply With Quote
  #3   Spotlight this post!  
Unread 07-02-2011, 21:03
Slothbron's Avatar
Slothbron Slothbron is offline
Registered User
AKA: Nathan
FRC #3216 (Missoula Robotics Team)
Team Role: Engineer
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Montana
Posts: 35
Slothbron is an unknown quantity at this point
Re: Making Joystick buttons control moters

Quote:
Originally Posted by Vikesrock View Post
Here are two similar, common ways to do this in Labview. The first way uses two Select statements and allows you to later change the motor power in both directions if you decide you don't want full power. You can also replace one of the select statements with a Boolean to Integer conversion.
Just got done with robotics meeting and this worked great just what I needed.
__________________
MRT 3216
2010- Salt lake City Highest Rookie Team seed
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 09:13.

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