Go to Post Dash Board: Hey Robot, here is some new data. Dash Board: Robot, did you get that data yet? Hello? Robot: Yep! Thanks! Yep! Thanks! Yep! Thanks! Yep! Thanks! Yep! Thanks! Yep! Thanks!... Other Robots: Will you please shut up? - EricVanWyk [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 16-02-2012, 01:58
Luiz12 Luiz12 is offline
Registered User
FRC #4210
 
Join Date: Jan 2012
Location: South Gate
Posts: 45
Luiz12 is an unknown quantity at this point
Running loop with button..

Basically I want to press a button, let go, and I want the motors to run continuously until the limit switch is pressed and then roll back for 3.9 sec then stop. I gotten to that point as shown in the code below, but I haven't gotten to the point on the code below. I can run everything while holding the button but I just want to press and let go. This goes in my teleop.vi


When the center Case structure is true, its just a simple set output motor vi with a value of 1.
 


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


All times are GMT -5. The time now is 20:08.

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