Go to Post I like to divide checklists like this into "stuff I have to do before applying power" and "stuff I'll find faster by watching it fail". - EricVanWyk [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 18-02-2012, 00:00
Team3763 Adam Team3763 Adam is offline
Lead Programmer
FRC #3763 (4H WildCards)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: North Carolina
Posts: 157
Team3763 Adam can only hope to improve
Button 1 turns motor on Button 2 turns motor off.

Like the title says, I need to know how to program both a single motor and the button functions so that Button 1 makes the motor run Clockwise, and button 2 makes the motor run Counterclockwise.


If anyone can provide examples that'd be great!
Reply With Quote
  #2   Spotlight this post!  
Unread 18-02-2012, 00:50
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Button 1 turns motor on Button 2 turns motor off.

Quote:
Originally Posted by Team3763 Adam View Post
Like the title says, I need to know how to program both a single motor and the button functions so that Button 1 makes the motor run Clockwise, and button 2 makes the motor run Counterclockwise.


If anyone can provide examples that'd be great!
See attachment to this post:

http://www.chiefdelphi.com/forums/sh...65&postcount=4



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 03:55.

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