![]() |
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! |
Re: Limit Switch Indicator on Dashboard.
are you using the standard dashboard that came on the netbook?
|
Re: Limit Switch Indicator on Dashboard.
Quote:
|
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.
|
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.
|
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.
|
Re: Limit Switch Indicator on Dashboard.
Quote:
FYI I am using LabView - I probably should have included that in the first post. |
| All times are GMT -5. The time now is 01:57. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi