View Single Post
  #36   Spotlight this post!  
Unread 15-03-2010, 17:04
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: Autonomous runs during Teleop

Quote:
Originally Posted by garrettg View Post
So I should replace auto indep in robot main with the iteritive VI, and then that code should work?
Greg could tell you with more certainty than I can, but yes that is what appears to be wrong with the code. The Autonomous Independent VI is called from inside the Get Competition Mode VI by the default code when the mode in Begin is set to Independent and is aborted by the same VI when the mode is switched away from Autonomous.

Because your call was separate it was not being aborted by the Get Competition Mode VI.

Ether,
I will look around and see if this is spelled out in any documentation I have at the moment or not. I learned a lot of this through reading the comments that are in the default code and poking around inside some of the VIs such as the Get Competition Mode VI.
__________________


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