Go to Post Hehe, now I know how it feels to be mocked by legends. - Corey Balint [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 15-02-2010, 20:43
dag0620 dag0620 is offline
Because we're FiNE
AKA: David Givens
FRC #1071 (Team MAX)
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Wolcott, CT
Posts: 784
dag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond repute
Question Limit Switch Indicator on Dashboard.

So I was working on the Auto. Code for the robot when one of the Mentors told me that he wants me to figure out how to hook up the following scenario. After looking online, looking at the default code, and just playing around with it, I'm stuck!!!! So here’s the scenario....

Basically we have a limit switch that when rigged up to some other mechanics, goes true when the ball is in range to be kicked by our kicker. What I want is that once this limit switch turns true, I want a Boolean LED on the Dashboard to illuminate so that Drivers know a ball is within range of the Kicker. Any Ideas on how to do this?

Thank-you so much in advance!
__________________
David Givens
Alumnus Team Max 1071 ('13) | FIRST Volunteer | NE FIRST

Away making magic for a bit...
  #2   Spotlight this post!  
Unread 15-02-2010, 20:50
mobilegamer999 mobilegamer999 is offline
Registered User
FRC #3357 (Comets)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Michigan
Posts: 124
mobilegamer999 is a jewel in the roughmobilegamer999 is a jewel in the roughmobilegamer999 is a jewel in the rough
Re: Limit Switch Indicator on Dashboard.

are you using the standard dashboard that came on the netbook?
__________________
  #3   Spotlight this post!  
Unread 15-02-2010, 20:50
dag0620 dag0620 is offline
Because we're FiNE
AKA: David Givens
FRC #1071 (Team MAX)
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Wolcott, CT
Posts: 784
dag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond repute
Re: Limit Switch Indicator on Dashboard.

Quote:
Originally Posted by mobilegamer999 View Post
are you using the standard dashboard that came on the netbook?
Yes I am.
__________________
David Givens
Alumnus Team Max 1071 ('13) | FIRST Volunteer | NE FIRST

Away making magic for a bit...
  #4   Spotlight this post!  
Unread 15-02-2010, 22:04
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Limit Switch Indicator on Dashboard.

Then the indicator light for your DIO channel will light up when the switch is pressed. If you want to make it easier on them, make it a BIG light. I recommend using some physical LED that is always in their field of vision, its easier on the operator.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #5   Spotlight this post!  
Unread 15-02-2010, 22:33
chris1592's Avatar
chris1592 chris1592 is offline
Chris
no team
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2007
Location: Thailand
Posts: 48
chris1592 is a jewel in the roughchris1592 is a jewel in the roughchris1592 is a jewel in the rough
Re: Limit Switch Indicator on Dashboard.

The way we have it set up on our robot is when the switch is pushed down, the light turns off on our dashboard. When the switch is not pushed down, the light is a solid green. This allows our kicker to always be in the coked position.
  #6   Spotlight this post!  
Unread 15-02-2010, 23:10
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: Limit Switch Indicator on Dashboard.

The specific instructions vary depending on what language you are using, but overall theory is you add another indicator to the dashboard in LabVIEW (use the example dashboard project) and then modify the datatype for the dashboard and write the value to the indicator. In whatever language you use open the example dashboard and make the same change to the datatype. Sorry i can't help out much more.
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
  #7   Spotlight this post!  
Unread 16-02-2010, 09:49
dag0620 dag0620 is offline
Because we're FiNE
AKA: David Givens
FRC #1071 (Team MAX)
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Wolcott, CT
Posts: 784
dag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond repute
Re: Limit Switch Indicator on Dashboard.

Quote:
Originally Posted by Radical Pi View Post
The specific instructions vary depending on what language you are using, but overall theory is you add another indicator to the dashboard in LabVIEW (use the example dashboard project) and then modify the datatype for the dashboard and write the value to the indicator. In whatever language you use open the example dashboard and make the same change to the datatype. Sorry i can't help out much more.
Hey It's No problem. You've told me much more the I knew before.

FYI I am using LabView - I probably should have included that in the first post.
__________________
David Givens
Alumnus Team Max 1071 ('13) | FIRST Volunteer | NE FIRST

Away making magic for a bit...
Closed Thread


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
limit switch solomason519 Programming 9 09-02-2010 08:50
Limit Switch Code dnrobotics11 C/C++ 2 13-02-2009 16:22
Using a limit switch to limit motion ManicMechanic Programming 16 20-12-2007 00:54
limit switch wedellm Electrical 4 16-02-2007 13:01


All times are GMT -5. The time now is 21:25.

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