Quote:
Originally Posted by garrettg
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.