View Single Post
  #8   Spotlight this post!  
Unread 12-03-2012, 09:58
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,073
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Infinite loop means no control

Quote:
Originally Posted by tux View Post
No toggle meant that the autonomous code just kept on running in a loop waiting for the switch to toggle.
...
You absolutely must check which mode you are in during every loop. Failure to do so may mean that your program will not change modes when the field changes mode.
...
I think this is an issue no matter which programming method is used, but I'm not really sure.
I'm not a LabVIEW guru, but I was under the impression that "getting stuck in autonomous" is not an issue with the FRC LabVIEW framework, because it automatically shuts down autonomous at the end of the autonomous period.

Could a knowledgeable LabVIEW person please comment?


Reply With Quote