Go to Post Pit Tools Distraction=bad - Lil' Lavery [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 17-03-2009, 18:04
assaf2b assaf2b is offline
Registered User
FRC #3075
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Israel
Posts: 17
assaf2b is a jewel in the roughassaf2b is a jewel in the roughassaf2b is a jewel in the rough
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.
Reply With Quote
 


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
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


All times are GMT -5. The time now is 10:36.

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