View Single Post
  #7   Spotlight this post!  
Unread 09-03-2010, 00:26
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Need help with timing auton

Here's an updated version which will control the double solenoid for kicking and reflects Greg's comment that -1 is usually forward.

The program will follow the black and yellow error wire through the VI from left to right.

The main thing you will have to change to use this VI will be the refnum values on the far left of the code. You need to identify the appropriate refnum names from Begin.VI and replace the names in this sample.

The other thing you will probably want to change is the delays for each action.

The sample in this post drives, fires, retracts, drives, fires and retracts. Some copy-pasting and wiring should allow the addition of a third sequence if desired.
Attached Files
File Type: vi SampleAuto.vi (15.4 KB, 13 views)
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote