View Single Post
  #4   Spotlight this post!  
Unread 11-02-2010, 15:17
OSU_Springer OSU_Springer is offline
Babcock & Wilcox - Engineer
AKA: Bill Springer
FRC #0677 (Murphy's Outlaws)
Team Role: Engineer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Columbus, Ohio
Posts: 10
OSU_Springer is an unknown quantity at this point
Re: Issue with Solenoid Timing. VI Included.

I'm guessing, since you have your timed sequence built within your teleop, what is happening is that your teleop VI gets to the timed sequence and executes that loop. The problem is, while the loop is executing, the system never runs another iteration until that loop is done. That being said, what you need to do is move the timed sequence outside of the teleop vi. You will have to pull information from either the periodic tasks from main.vi, or have some way to pull time data from the cRio and compare the start time of the solenoid to the current time, and based on that have the solenoid go false if the time is greater than the period you're looking for.

Hope this is helpful.
Reply With Quote