Go to Post Our club visited the Seattle Regional this week and they all have the FRC bug now. May God have mercy on our souls... - Rick TYler [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 10-02-2010, 13:55
D Peterschick D Peterschick is offline
Aggies Robot Team Coach
FRC #2923 (Aggies)
Team Role: Teacher
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Rosalia, Washington
Posts: 2
D Peterschick is an unknown quantity at this point
Re: Joystick Button One-Shot (a.k.a. Rising Edge) Detection

Is there anyway to use a limit switch to stop a motor and then be able to restart with Joystick?
Reply With Quote
  #2   Spotlight this post!  
Unread 10-02-2010, 14:13
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,112
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: Joystick Button One-Shot (a.k.a. Rising Edge) Detection

Quote:
Originally Posted by D Peterschick View Post
Is there anyway to use a limit switch to stop a motor and then be able to restart with Joystick?
Do you mean to use the joystick to move the motor in the opposite direction, away from the limit? That's easy. Just have the limit switch keep the motor control value from going less* than zero.

Or do you mean to use the joystick to cause the motor to ignore the limit and go past it? You can do it, but it goes against the usual purpose of a limit switch, and I'd have to know more about the system before giving any advice.

(* or greater, depending on wiring)
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
Ellipse Finding/Edge Detection Example Code? brianc217 NI LabVIEW 3 20-01-2010 08:57
Full solenoid controll off of one joystick button? m3rc1l3ss NI LabVIEW 2 11-02-2009 02:06
joystick button furiousgeorge Programming 5 07-02-2009 15:57
Ganged Interrupt Edge Detection cprogrammer Programming 8 01-02-2008 10:52
More than one joystick from one port Jmoo Programming 3 26-06-2003 18:01


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

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