Go to Post If you need more complicated control... make it more complicated yourself. ;) - Ryan M. [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 07-02-2012, 17:30
APrettyDucky's Avatar
APrettyDucky APrettyDucky is offline
AKA: Egor001, Minecrafter Supreme
FRC #3828 (12 Pretty Duckies)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Eveleth, Minnesota
Posts: 6
APrettyDucky is an unknown quantity at this point
Motor button programming

Hello, I am wondering how someone would program 2 different buttons on a joystick to tell a motor to go forwards and backwards.
Reply With Quote
  #2   Spotlight this post!  
Unread 07-02-2012, 17:38
kuh-nig-its-EL's Avatar
kuh-nig-its-EL kuh-nig-its-EL is offline
Registered User
FRC #1939
 
Join Date: Jan 2011
Location: US
Posts: 26
kuh-nig-its-EL is on a distinguished road
Re: Motor button programming

Use an unbundle by name coming out of the joystick get and choose which 2 buttons you would like. Now, using selects specify what values (power wise) you would like to go into the motor based upon which button has a true value.
Good luck.
Reply With Quote
  #3   Spotlight this post!  
Unread 07-02-2012, 17:46
APrettyDucky's Avatar
APrettyDucky APrettyDucky is offline
AKA: Egor001, Minecrafter Supreme
FRC #3828 (12 Pretty Duckies)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Eveleth, Minnesota
Posts: 6
APrettyDucky is an unknown quantity at this point
Re: Motor button programming

Quote:
Originally Posted by kuh-nig-its-EL View Post
Use an unbundle by name coming out of the joystick get and choose which 2 buttons you would like. Now, using selects specify what values (power wise) you would like to go into the motor based upon which button has a true value.
Good luck.
Yes, I have tried that before, but how do I wire both the selects into one Motor Set Output?
Reply With Quote
  #4   Spotlight this post!  
Unread 07-02-2012, 17:55
kuh-nig-its-EL's Avatar
kuh-nig-its-EL kuh-nig-its-EL is offline
Registered User
FRC #1939
 
Join Date: Jan 2011
Location: US
Posts: 26
kuh-nig-its-EL is on a distinguished road
Re: Motor button programming

This image should explain it. http://mail-attachment.googleusercon...a1LIs67pM0VafQ
Reply With Quote
  #5   Spotlight this post!  
Unread 07-02-2012, 18:10
APrettyDucky's Avatar
APrettyDucky APrettyDucky is offline
AKA: Egor001, Minecrafter Supreme
FRC #3828 (12 Pretty Duckies)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Eveleth, Minnesota
Posts: 6
APrettyDucky is an unknown quantity at this point
Re: Motor button programming

Quote:
Originally Posted by kuh-nig-its-EL View Post
Could you post that picture as a thumbnail or imgur link? My school's hyper-strict web filter won't allow me to see that.
Reply With Quote
  #6   Spotlight this post!  
Unread 07-02-2012, 18:15
kuh-nig-its-EL's Avatar
kuh-nig-its-EL kuh-nig-its-EL is offline
Registered User
FRC #1939
 
Join Date: Jan 2011
Location: US
Posts: 26
kuh-nig-its-EL is on a distinguished road
Re: Motor button programming

http://imgur.com/1gnPX

I hope that works.
Reply With Quote
  #7   Spotlight this post!  
Unread 07-02-2012, 18:16
APrettyDucky's Avatar
APrettyDucky APrettyDucky is offline
AKA: Egor001, Minecrafter Supreme
FRC #3828 (12 Pretty Duckies)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Eveleth, Minnesota
Posts: 6
APrettyDucky is an unknown quantity at this point
Re: Motor button programming

Quote:
Originally Posted by kuh-nig-its-EL View Post
http://imgur.com/1gnPX

I hope that works.
looks like imgur is blocked too.
Reply With Quote
  #8   Spotlight this post!  
Unread 07-02-2012, 18:27
kuh-nig-its-EL's Avatar
kuh-nig-its-EL kuh-nig-its-EL is offline
Registered User
FRC #1939
 
Join Date: Jan 2011
Location: US
Posts: 26
kuh-nig-its-EL is on a distinguished road
Re: Motor button programming

Hope this one works.
Attached Thumbnails
Click image for larger version

Name:	sad.png
Views:	312
Size:	167.9 KB
ID:	11793  
Reply With Quote
  #9   Spotlight this post!  
Unread 07-02-2012, 18:45
ehochstein's Avatar
ehochstein ehochstein is offline
Coach, Volunteer & Mentor
AKA: Evan Hochstein
FTC #5943 (ESGM)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Bloomington, Minnesota
Posts: 933
ehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant future
Re: Motor button programming

Ah! I have been having some problems with this as well, my team is switching to Labview from C++ this year and I had some problems with it. This cleared it right up!
__________________
Minnesota FIRST Senior Mentor | 2013-?

Stratasys Applications Engineering Technician | 2016-?

2009 Regional Win – 2470 @ 10k Lakes (Thanks 2826 and 1714)
2013 WFFA Recipient – 2470 @ 10K Lakes
2016 Ri3D: 'Snow Problem Reveal
2017 Ri3D: 'Snow Problem Reveal

The opinions expressed above are the personal opinions of the author and do not necessarily represent the views and opinions of any organization the author is affiliated with.
Reply With Quote
  #10   Spotlight this post!  
Unread 08-02-2012, 20:21
tmohall tmohall is offline
Registered User
AKA: Trevon Hall
FRC #3963 (urbanRobots)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Milwaukee, WI
Posts: 3
tmohall is an unknown quantity at this point
Send a message via MSN to tmohall
Re: Motor button programming

Quote:
Originally Posted by kuh-nig-its-EL View Post
It wanted me to log in to your schools email to see it
Reply With Quote
  #11   Spotlight this post!  
Unread 09-02-2012, 14:36
kuh-nig-its-EL's Avatar
kuh-nig-its-EL kuh-nig-its-EL is offline
Registered User
FRC #1939
 
Join Date: Jan 2011
Location: US
Posts: 26
kuh-nig-its-EL is on a distinguished road
Re: Motor button programming

Quote:
Originally Posted by tmohall View Post
It wanted me to log in to your schools email to see it
If that's the case ignore that link and use the thumbnail image.
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 22:24.

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