Go to Post and the only thing i see as a disadvantage to those long hours of hard work is a little less time to spend with my girlfriend - h1n1is4pigs [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 11-02-2010, 17:05
Da Kid's Avatar
Da Kid Da Kid is offline
Registered User
FRC #2957
 
Join Date: Jan 2010
Location: Alden, MN
Posts: 33
Da Kid is an unknown quantity at this point
Buttons programming

could anyone show a full picture of a program that can run buttons? preferably one that runs 1 motor with 2 buttons?
Reply With Quote
  #2   Spotlight this post!  
Unread 11-02-2010, 21:38
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Buttons programming

Please be a little more specific. The phrase "runs 1 motor with 2 buttons" could mean many things, and I'd rather not guess at which one you intend. Describe exactly what you want to happen, and I'm sure I can help you find a way to do it.
Reply With Quote
  #3   Spotlight this post!  
Unread 12-02-2010, 12:29
Da Kid's Avatar
Da Kid Da Kid is offline
Registered User
FRC #2957
 
Join Date: Jan 2010
Location: Alden, MN
Posts: 33
Da Kid is an unknown quantity at this point
Re: Buttons programming

We want one button to make a motor go forward when pressed and another button to make the same motor go in reverse when pressed.
Reply With Quote
  #4   Spotlight this post!  
Unread 12-02-2010, 13:08
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Buttons programming

Is the motor stopped when no button is being pressed?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 12-02-2010, 13:19
Da Kid's Avatar
Da Kid Da Kid is offline
Registered User
FRC #2957
 
Join Date: Jan 2010
Location: Alden, MN
Posts: 33
Da Kid is an unknown quantity at this point
Re: Buttons programming

yes
Reply With Quote
  #6   Spotlight this post!  
Unread 12-02-2010, 14:16
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Buttons programming

What kind of motor? If it's not a CIM or FP, and if you always want to run it at full speed when it's active, you might want to control it using a Spike relay instead of a Jaguar or Victor speed controller.

And what do you want the motor to do when both buttons are pressed?
Reply With Quote
  #7   Spotlight this post!  
Unread 12-02-2010, 14:21
Da Kid's Avatar
Da Kid Da Kid is offline
Registered User
FRC #2957
 
Join Date: Jan 2010
Location: Alden, MN
Posts: 33
Da Kid is an unknown quantity at this point
Re: Buttons programming

it would be a cim motor and both buttons wouldn't be pressed at the same time. we're using it for our kicker.
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
Programming 2 buttons for a relay team877 NI LabVIEW 15 18-02-2011 00:18
Programming buttons help! Gomez NI LabVIEW 3 24-02-2009 21:15
programming buttons tyson2010 NI LabVIEW 2 12-02-2009 22:17
Help Programming Buttons LordFrz Programming 3 14-02-2008 13:55
Programming Extra Joystick Buttons Inverted Programming 2 08-02-2007 11:45


All times are GMT -5. The time now is 22:34.

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