View Single Post
  #4   Spotlight this post!  
Unread 01-03-2009, 14:32
Caroline2399 Caroline2399 is offline
Registered User
FRC #2399 (Team HB)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Cleveland, OH
Posts: 9
Caroline2399 will become famous soon enough
Re: Automous Programming

Yeah, you will definitely want a time delay in there. The only tricky thing about using a normal one is that your watchdog will time out (I experienced some problems with that earlier this season). So, what you will want to do is insert one of those watchdog "delay and feed" VIs with the delay input set to however many seconds you want your code to run for.

It looks like in your first frame of the sequential loop you would want a constant set to 1 (or however many seconds you want it to run at each increment of .2) for the delay time, and set "N" to 7 or 8 depending on how many seconds you want it to take. Then repeat that same kind of format for the second frame.

Just as a side note, currently the last Watchdog delay and feed that you have outside of your sequential loop looks to me as if it is not going to be doing anything.

If you have any more questions feel free to PM me.
__________________
2399:

2009 Buckeye Regional: Delphi Driving Tomorrow's Technology Award winner
2009 Pittsburgh Regional: General Motors Industrial Design Award winner
2009 Pittsburgh Regional: Semi-Finalist (Thank you teams 2901 and 2614 for being absolutely AMAZING alliance partners!!!!)

Last edited by Caroline2399 : 01-03-2009 at 14:44.
Reply With Quote