Go to Post If FIRST isn't your life, then you're doing something wrong! - BandChick [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 08-03-2010, 18:58
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

The "easy" way to do this is probably to use Autonomous Independent and string together a sequence using the error terminals of each VI.

Use the Watchdog Delay & Feed VI for delays between events to keep the watchdog happy.

So you want to connect the error wires of the VIs in the sequence you want to run.

Ex.

Arcade Drive VI (Set to 1 for forward)
|
V
Watchdog Delay & Feed (Drive forward time)
|
V
Arcade Drive VI (Set to 0 for stop)
|
V
Solenoid Set (Set to 1 to extend)
|
V
Watchdog Delay & Feed (Wait for firing to finish)
|
V
Solenoid Set (Set to 0 to retract)

To repeat this sequence exactly you can either use a loop or you can just keep stringing elements onto the sequence, allowing you to make the sequence slightly different for the further iterations.

If this isn't clear enough, let me know and I can probably post up a sample VI for you.
__________________


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
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
need help with a rule! mahmosh Rules/Strategy 4 15-02-2009 13:56
Need help with IR as an Input AdmiralAllen Electrical 3 11-02-2008 14:22
Help with auton switching code farmer Programming 3 15-02-2005 15:30
hey need some help with writing a code please help me here magical hands Programming 9 01-01-2004 21:46
Need help with C++ Tton Programming 7 04-11-2003 19:15


All times are GMT -5. The time now is 22:00.

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