Go to Post There is a fine line between genius and insanity, watch your step! - Al Skierkiewicz [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-02-2011, 17:36
Shrubadub's Avatar
Shrubadub Shrubadub is offline
Shrubadub
FRC #2656 (Quasics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Monroeville Pa
Posts: 26
Shrubadub is an unknown quantity at this point
Time loops

How do you make the robot drive forward for like 5 secs in auto without using a gyro or an accelerator.
__________________
Reply With Quote
  #2   Spotlight this post!  
Unread 19-02-2011, 17:52
stormyweathers stormyweathers is offline
Registered User
FRC #3653
 
Join Date: Feb 2011
Location: US
Posts: 10
stormyweathers is an unknown quantity at this point
Re: Time loops

you could make a while loop, and a timer.
set the break condition to be equal to 5, and output the timer (in seconds) to check the break condition.
You can check out the framework auto ind VI to see how to make the timer properly
Reply With Quote
  #3   Spotlight this post!  
Unread 19-02-2011, 18:30
Shrubadub's Avatar
Shrubadub Shrubadub is offline
Shrubadub
FRC #2656 (Quasics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Monroeville Pa
Posts: 26
Shrubadub is an unknown quantity at this point
Re: Time loops

Thank you very much
__________________
Reply With Quote
Reply


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:29.

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