View Single Post
  #2   Spotlight this post!  
Unread 21-03-2010, 18:10
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Help with timing

Several ways:

You can tie the two actions together through a Time Delay vi (Programming -> Timing palette)

You can use a flat sequence structure (Programming -> Structures palette)

You can use a State machine (http://frcmastery.com/try-me/state-machines/)

You'll want to use a State Machine if you're implementing this in Teleop.
The others can be used if this is a stand-alone task that can be independently implemented in Periodic Tasks.vi
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 21-03-2010 at 18:19.
Reply With Quote