|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Timed Button
Hi,
Our competition starts tomorrow morning, and the robot had already passed all inspections and worked as expected on the field. However, there is still one thing that we're missing. (skip to bold part if you deem the following information unnecessary) We're using a conveyor which leads to a canon, and as things currently stand, if both the conveyor's and the canon's motors work, any ball that is collected is immediately shot. We don't want that. What we want is to be able to collect the balls, store them in the conveyor, and move them up to the canon when a button is pressed. And so, we made a little switch between the conveyor and the canon which can rotate a full 360 degrees, and would like it to always be inactive, unless a certain button is pressed. When this happens, the switch should rotate half-a-spin (180 degrees). Problem is, I don't know how to code such a thing in LabView. Physical sensors are out of the question as we're already done with building the robot. The solution I'm looking for should be based on time. I can find how long it takes the switch to complete half-a-spin at full speed. What I can't do is manage to make it into a program. So, if you've been lazy enough to skip through the post (which is perfectly fine), or don't understand anything, here's what I need to do step by step, but am having trouble doing so: When a button is hit, one motor needs to be active for a certain period of time, stop, and prepare for another button hit. This should work even if the button is held, not necessarily tapped. Any sort of help is appreciated. Thanks in advance, #3075, rookie team Last edited by assaf2b : 17-03-2009 at 18:06. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Button input? | RyanCool435 | Programming | 3 | 31-01-2009 08:57 |
| Capture webcamera images at timed intervals? | NoodleKnight | IT / Communications | 7 | 12-09-2004 03:42 |
| Button Making | PureMachine4 | Rumor Mill | 58 | 16-04-2004 16:00 |
| Triping Timed Fuses | Joe Canavan | Electrical | 2 | 21-02-2002 09:34 |
| Button Bar | Adrian Wong | CD Forum Support | 8 | 04-06-2001 20:27 |